Heyas... I'd like a Gadget that could be invoked via COB that would cause all of a Unit's surfaces to alpha fade to clear (i.e., gradually disappear). I'm going to use it for certain units in PURE, where I want them to die, do a death animation, and then fade away, instead of leaving a Corpse.
Any help on this would be great.
Gadget Request: Fade to Clear
Moderator: Moderators
Well my Simbase sdd uses ALPHA_THRESHOLD to achieve fading fairly well for the commander, if you want to avoid going through the whole deal of lua rendering
s/deal/ordeal 
Argh: you'd have to use LuaRules to call Spring.SetUnitNoDraw(), and
then draw the unit yourself with the alpha level you want. Drawing it
yourself with the alpha might take a little work depending on what the
engine calls do (you might need to do it "raw draw" style, using your own
setup).

Argh: you'd have to use LuaRules to call Spring.SetUnitNoDraw(), and
then draw the unit yourself with the alpha level you want. Drawing it
yourself with the alpha might take a little work depending on what the
engine calls do (you might need to do it "raw draw" style, using your own
setup).