Game Development Community

T3D 3.6.1 Setting up lava/poison waterblocks - is this possible?

by Gibby · in Torque 3D Professional · 10/31/2014 (2:31 pm) · 3 replies

Per the title, is it possible to use the waterblock to simulate lava or poison liquids? There doesn't seem to be any way to change the surface texture in waterBlock or waterPlane...

#1
11/01/2014 (8:25 am)
Yes, you can change the texture of the water and change the color to any other, but under the water, I doubt that this effect will be sufficient only on the surface ...
I already tried to do it in the editor, but I do not remember exactly how, on this you will have to play with the settings that would to find out how.
#2
11/02/2014 (5:12 am)
You change the waterblock type in the editor to lava. (if this hasn't changed) It will actually kill your player fairly quickly.
#3
11/02/2014 (8:59 am)
Waterblock types are not supported in T3D like they were in TGE/TGEa -- the watery system(s) are different. Once you change the surface textures you can also change the underwater fog color. However that (underwater) isn't very lava like. The 'lava' watertype in TGE/TGEa instakilled through a switch that checked for watertype in the player's onEnterWaterblock method. A kill trigger or making use of the onEnter (or onSubmerged -- not sure of that last one -- callbacks) in a similar manner to apply damage will easily substitute for the damage-over-time kill that the old (TGE) lava had. Same principle for poison/acid/etc pools.