Game Development Community

Quicksand for TGE1.5.2

by Kevin Lee · in General Discussion · 01/08/2008 (3:57 pm) · 5 replies

I was wondering if anyone has used the quicksand in TGE1.5.2 and would care to show me the settings that they used or point me to an area of documentation that talks about the water block and using the quicksand.

Thanks in advance

#1
01/08/2008 (4:18 pm)
Actually this is a good question, the lava settings work fine, these i have tested and there is a example for that in the demos. Look for the green pool of water in one of the demos, i think its thelighting kit, damage is set up in the player.cs file. As for the quicksand and the other 2-3 settings, there isnt much in the way of example. Example whats the difference between stagnant water and normal water from a code point of view?

tdn.garagegames.com/wiki/WorldBuilding/MissionEditor/WaterBlock This is the best i could find.

Liquid types
Until this section is further explained, please look to your SDK examples.

This goes back to the known documentation issue.
#2
01/08/2008 (6:00 pm)
I haven't looked exhaustively, but a quick glance at the source suggests that stagnantWater isn't treated any different than other water, except that the liquid type gets passed back as the last arg of onEnterLiquid(), so script could do something special, if it wanted..
#3
01/08/2008 (6:06 pm)
Nod thats right, there is a whole list of water block types, only i think 3 are defined, it doesnt make any sense to have other waterblock types.. then remove them at some point. Its not very logical, and some of the items are practical by label, ie the quicksand.
#4
01/09/2008 (6:50 am)
Could you use any waterBlock and just adjust the player's buoyancy to give the illusion of the player slowly sinking.
#5
01/09/2008 (11:21 pm)
As Brian Batchelor said. That is what I did for quicksand in MultiMayhem's forest level. Use some nice sand like textures for the water and mess around with the settings. If you also want the player to die in it you could look at how lava is handled in the script, or put down a trigger below the sand which will start applying damage to the player once he is below the sand.