Changing Terrain Textures in game
by Jonathon Schad · in Torque Game Engine · 04/23/2008 (1:35 pm) · 6 replies
Is there a way that you can change the terrain texture at a certain x,y coordinate when not in the Mission Editor? I want to be able to change the texture at a place on the terrain through script. I looked through the code for the Mission Editor on this but couldn't make any sense of it. How would you do this or can anyone point me in the right direction?
About the author
#2
04/30/2008 (2:47 pm)
Im assuming that just painting a different texture while in the mission editor wouldnt be sufficient
#3
05/01/2008 (7:57 am)
I'd be interested in this as well. It would do wonders for things like burn marks (explosions), weather effects, etc.
#4
05/03/2008 (11:47 am)
Well for explosions and weather effects I think you can just use decals but the links for them I can't seem to access
#5
05/07/2008 (3:58 pm)
Does anybody have any clue on how to do this? My idea would be to write a consoleMethod in the engine code that can be called from script to change the texture. I just don't really know how to do this. Any help would be greatly appreciated.
#6
05/27/2008 (5:36 am)
With A:FX it'd be a matter of minutes. It has lots of examples as well. It's awesome.
Torque Owner Jonathon Schad