Game Development Community

RTS Buildings renderImage

by Nathan Bowhay - ESAL · in Torque Game Engine · 09/30/2006 (2:13 pm) · 1 replies

How is the RTSBuilding being rendered?

I am guessing that it is inheriting everything from RTS unit. If that is the case then I should be able to open mCloakTexture and mCloakLevel to the console and be able to set them.

What I am trying to do is make a setOverrideTexture for RTSBuilding and it is not seeming to work.

Any help would be great. Even if it is just explaining how it is currently being rendered without having a renderImage or renderObject function.

#1
09/30/2006 (2:31 pm)
Just look at the RTSBuilderMarker--it does exactly what you want to do. setOverrideTexture is used to make the building green during building placement.