Just a quick question. In maps with returnable objects you can see the object in red color, half transparent at the return point. How is this done, that is have the object red and half transparent at the retun point ? Do you need a second md3 with red, half transparent texture that is set to default at spawn and invisible at death, then the real object set to default? Or is this done by ET, like for example when destructing object it gets white and half transparent.
I have been reading some tutorials and threads but not got much wiser on this point.
Returnable objects
White and transparent thing when constructing works with a simple scripting command
setstate *targetname_of_the-entity* underconstruction
That red box and the normal box by the trigger_flagonly_multiple (capture point) is usually made out of 2 misc_gamemodels and setstating them invisible/default. Altho you could always use remapshader too.
Check some scripts from standard maps and you will see.
That is what I thought, thanks.
The returnable object on my map is working fine, I can take it and drop it, no problems there.
However I have no idea how to make md3 or how to make alpha shaders, but if anyone can help me out with half transparent red image and shader for it I would appreciate it. Then I could just add an orgin, brush and make it dissapear when the object is returned and the real model appear.