Page 1 of 1
Stealth
Posted: Thu Nov 29, 2007 7:43 am
by REivEN
Can somebody tell me if it is possible to give a unit stealth all the time just like a skin ?
Re: Stealth
Posted: Thu Nov 29, 2007 9:20 am
by Master Fionwë
Yes it is. You have to activate it yourself upon spawning in, but it will stay present all the time unless you deactivate it. Somewhere in the modding section I posted a cloaking device odf, I think Maveritchell did one as well in the same thread, either of them work.
Re: Stealth
Posted: Thu Nov 29, 2007 9:24 am
by Caleb1117
If you got the unit mesh to allow for an alpha channel, though hex editing, or XSI, then you could cover the whole texture with one, and in theory they would be forever invisible.
Re: Stealth
Posted: Thu Nov 29, 2007 11:09 am
by Maveritchell
Caleb1117 wrote:If you got the unit mesh to allow for an alpha channel, though hex editing, or XSI, then you could cover the whole texture with one, and in theory they would be forever invisible.
That won't give them stealth, though, since AI will still be able to "see" them.
Re: Stealth
Posted: Thu Nov 29, 2007 6:27 pm
by Taivyx
Code: Select all
InvisibilityTrigger = "Toggle"
InvisibilityPersistTime = "1.0"
InvisibilityMax = "1.0"
InvisibilityMin = "0.3"
SpeedForInvisibilityMax = "6.5" // normal run
SpeedForInvisibilityMin = "9.5" // full sprint
InvisibilityIncRate = "0.6"
InvisibilityDecRate = "0.9"
There are the invisibility lines in the weapon odf.
I've thought of something.
What would happen if you placed those lines in the unit's odf, then changed some values around?
For example, InvisibilityTrigger = "Always" or something like that, maybe OnSpawn, or whatever.
Then these:
Code: Select all
SpeedForInvisibilityMax = "6.5" // normal run
SpeedForInvisibilityMin = "9.5" // full sprint
InvisibilityIncRate = "0.6"
InvisibilityDecRate = "0.9"
Can be changed accordingly