Author Topic: (WIP) QuickSand variants  (Read 1556 times)

Legacy_ShadowM

  • Hero Member
  • *****
  • Posts: 1373
  • Karma: +0/-0
(WIP) QuickSand variants
« on: June 07, 2016, 05:11:07 am »


               

First Pass.


Video



               
               

               
            

Legacy_PLUSH HYENA of DOOM

  • Hero Member
  • *****
  • Posts: 995
  • Karma: +0/-0
(WIP) QuickSand variants
« Reply #1 on: June 07, 2016, 06:24:37 am »


               

Interesting.


Any thoughts as yet on an "Aaargh! I'm sinking into the ground!" animation for having a Creature model actually vanish into it realistically?



               
               

               
            

Legacy_ShadowM

  • Hero Member
  • *****
  • Posts: 1373
  • Karma: +0/-0
(WIP) QuickSand variants
« Reply #2 on: June 08, 2016, 03:28:18 am »


               


Interesting.


Any thoughts as yet on an "Aaargh! I'm sinking into the ground!" animation for having a Creature model actually vanish into it realistically?




That why I was looking for a set of placable walkmesh adjustments. Since they weren't, I started to make my own. Just have to match them up with the quicksand placables sizing.


Like in this example


Video


               
               

               
            

Legacy_PLUSH HYENA of DOOM

  • Hero Member
  • *****
  • Posts: 995
  • Karma: +0/-0
(WIP) QuickSand variants
« Reply #3 on: June 08, 2016, 04:10:33 am »


               

Very interesting.



               
               

               
            

Legacy_3RavensMore

  • Hero Member
  • *****
  • Posts: 1153
  • Karma: +0/-0
(WIP) QuickSand variants
« Reply #4 on: June 08, 2016, 01:20:59 pm »


               

That really looks quite good.  Not sure if this is possible, but spawning/destorying a succession of placables each with a progressively deeper walkmeshs to simulate being pulled under might be an interesting effect as well.  Think of it as a real trap that the pc stuck in and has to find a way out of--or helped out of--in a set amount of time. 



               
               

               
            

Legacy_ShadowM

  • Hero Member
  • *****
  • Posts: 1373
  • Karma: +0/-0
(WIP) QuickSand variants
« Reply #5 on: June 10, 2016, 01:20:10 am »


               


That really looks quite good.  Not sure if this is possible, but spawning/destorying a succession of placables each with a progressively deeper walkmeshs to simulate being pulled under might be an interesting effect as well.  Think of it as a real trap that the pc stuck in and has to find a way out of--or helped out of--in a set amount of time. 




If only the engine could do this or we had a function to recalculate the walkmesh of a specific tile after spawn/destruction, but at this point we do not have that. Shadoow seem to have a few tileset functions in nwnx_patch but nothing that can do this yet. If we could get this then we have dynamic walkmeshes, with elevator effects, quicksand effects, bridges fixed-unfixed dynamically etc... The way the engine works it bakes the walkmeshes first, we lucky it seem to bake placable walkmeshes placed in the toolset too. After the module starts though any changes with the placable walkmesh (destroy/create) are ignored(well at least under the primary walkmesh). Placable walkmeshes have to be set to static but there are tricks to working with static placables with scripts, but until the first issue is fixed it not that big of deal. So you can have placed quicksand with dips in a module, you just have to place them in the toolset and cannot create them randomly/dynamically for example. Anyhow I will make three sized hole placables to match up with the three sizes of quicksand I have made.


               
               

               
            

Legacy_Failed.Bard

  • Hero Member
  • *****
  • Posts: 1409
  • Karma: +0/-0
(WIP) QuickSand variants
« Reply #6 on: June 10, 2016, 09:18:41 pm »


               

  PLCs with walkmeshes are recalculated serverside when they're placed, but clientside on area entry, which is why they work best static placed.


 


 Having the quicksand adjustable by walkmesh PLC should still work, however, so long as the height of it is adjusted when no PCs are present in the area.  Having it be "safe" to cross one time, but deeper the next and then requiring a scripted save/check/etc... to escape.



               
               

               
            

Legacy_ShadowM

  • Hero Member
  • *****
  • Posts: 1373
  • Karma: +0/-0
(WIP) QuickSand variants
« Reply #7 on: June 10, 2016, 11:51:15 pm »


               

In my testing of this, with placable walkmesh that are under the tileset walkmesh. It seem the tileset walkmesh still overrides the placable walkmesh even when it created and pc is in another area and enters the area with the created placable walkmesh. I maybe have my setup wrong and when I release the assets you can do you own testing, correct my scripting setup. Maybe it works with above tileset walkmeshes, like with TheOneBlackRider tower set example, have not ran any tests with that.  Thanks '<img'> Well off to finish the sizing and then off to placable/effects of green slime which sounds fun '<img'>



               
               

               
            

Legacy_Quevy

  • Jr. Member
  • **
  • Posts: 92
  • Karma: +0/-0
(WIP) QuickSand variants
« Reply #8 on: June 11, 2016, 09:26:49 am »


               

You could create 3 positioned identical with three different walkmesh, a script that creates and destroys them in sequence would give idea of sinking.



               
               

               
            

Legacy_ShadowM

  • Hero Member
  • *****
  • Posts: 1373
  • Karma: +0/-0
(WIP) QuickSand variants
« Reply #9 on: June 11, 2016, 05:58:41 pm »


               

I just explained how that would not work, I get a video together that better explains all this to everyone and break it down when I post it. '<img'>



               
               

               
            

Legacy_ShadowM

  • Hero Member
  • *****
  • Posts: 1373
  • Karma: +0/-0
(WIP) QuickSand variants
« Reply #10 on: June 11, 2016, 06:46:43 pm »


               

Ok here the video


Video


Ok I break it down


In the scene the elf is standing next to a trigger, marked off with the meat placables, the trigger creates a walkmesh placable in another area. This is to test is the walkmesh will load when the pc enter the other area like Failed.Bard said in the other post, I had hoped this worked.


The pc then goes to the other area and walks to the script created walkmesh placables(marked by the visual plant in it corner so we know it was created) and you can see the walkmesh is not loading and the tileset walkmesh is overriding it.


The pc next goes to a placed walkmesh in the toolset and the placable walkmesh is working fine.


The pc then goes to a second trigger this trigger destroys the placable walkmeshes of level 1 deepness, you will notice that the walkmesh that was placed in the toolset does not delete, because the pc has to leave the area for the walkmesh placable that was placed in the toolset to be updated.


The pc leaves the area and comes back and you see that it has updated the deletion of the placable, there is a second placable walkmesh at the same spot that is deeper and you see the pc walking into that.


 


So if I wanted a sinking effect, I would have to delete the upper level, transfer the pc out of area and back in again delete next level and repeat. (very little immerson for the pc) have all three placeable walk meshes at the same area and placed with the toolset and not scripted in.


 


I think I just have the one level of depth and use script to stick them(maybe spasm animation on them) and have them use custom feats to get out and/or use rope items that can be used on them from other pcs to get them out and if they fail, knock them down so they look like they went under or jump them to quicksand area.



               
               

               
            

Legacy_Quevy

  • Jr. Member
  • **
  • Posts: 92
  • Karma: +0/-0
(WIP) QuickSand variants
« Reply #11 on: June 12, 2016, 07:04:02 am »


               


I just explained how that would not work, I get a video together that better explains all this to everyone and break it down when I post it. '<img'>




my fault, I had little time and I responded before reading all '<img'>


               
               

               
            

Legacy_ShadowM

  • Hero Member
  • *****
  • Posts: 1373
  • Karma: +0/-0
(WIP) QuickSand variants
« Reply #12 on: June 12, 2016, 02:34:41 pm »


               

It all good '<img'>



               
               

               
            

Legacy_Frith5

  • Hero Member
  • *****
  • Posts: 595
  • Karma: +0/-0
(WIP) QuickSand variants
« Reply #13 on: June 12, 2016, 09:30:57 pm »


               

One could, I suppose, create a 'sinking' custom animation?


               
               

               
            

Legacy_ShadowM

  • Hero Member
  • *****
  • Posts: 1373
  • Karma: +0/-0
(WIP) QuickSand variants
« Reply #14 on: June 13, 2016, 06:01:19 am »


               


One could, I suppose, create a 'sinking' custom animation?




Sorry for the late reply, my cousin was borrowing my computer most of the night and went and watched some e3 coverage. I wish I could do this too, but it another engine limitation. If static the placable walkmesh will ignore animations(in game) and if non-static will ignore the walkmesh of the placable. I did a test on this to confirm this. I not sure on full tilesets running animations, did someone have a tile with a windmill running animation?