rey
  • rey
  • 52.5% (Neutral)
  • Major Topic Starter
9 years ago
is there some parameter in Stealth block for unit that can delay visbility?
say i have unit that is stealthed and has option forbidding stealth while moving = is there a possibility to make this unit become visible not instantly when it starts to move, but after 1 second?
Sponsor
zzc
  • zzc
  • 50.25% (Neutral)
  • Major
9 years ago
Your unit should have this module

StealthUpdate
[This module allows the use of SoundStealthOn and SoundStealthOff parameters on the object and is hardcoded to display MESSAGE:StealthNeutralized when the object has been discovered]
        UseRiderStealth             = [Yes/No]
		StealthDelay = [integer, milliseconds]
		MoveThresholdSpeed = [integer]
		StealthForbiddenConditions = [Status Bit types]
		HintDetectableConditions = [Status Bit types]
		FriendlyOpacityMin = [percentage]
		FriendlyOpacityMax = [percentage]
		PulseFrequency = [integer, milliseconds]
		RevealDistanceFromTarget = [real number]
        ForbiddenStatus  = [Status Bit types]
        RequiredStatus = [Status Bit types]
		OrderIdleEnemiesToAttackMeUponReveal = [Yes/No]
		InnateStealth = [Yes/No]
        EnemyDetectionEvaEvent = [Entry from Eva.ini]
        OwnDetectionEvaEvent = [Entry from Eva.ini]
        GrantedBySpecialPower = [Yes/No]      


End

change this one
StealthDelay = [integer, milliseconds]

to what number you like.

60 000 milisec = 60 real sec

so your 1 real sec should be 1000 milisec

StealthDelay = 1000
rey
  • rey
  • 52.5% (Neutral)
  • Major Topic Starter
9 years ago

StealthDelay = 1000

Originally Posted by: zzc 

hm.. just to be clear= this parameter allow unit to stay invisible for period time, when StealthForbid takes action?(say unit starts to move)
zzc
  • zzc
  • 50.25% (Neutral)
  • Major
9 years ago
I am of the opinion that StealthDelay is the time taken when changing states - from stealth to visible and also vis versa. I dont tinker with that line so much so I can only offer what I understand from experience.

You can try looking at existing units with stealth and increasing the StealthDelay number to test.

Come to think, the unit behavior you want has an example in china listening outpost - it is stealthed when not moving. Try looking at it.
rey
  • rey
  • 52.5% (Neutral)
  • Major Topic Starter
9 years ago

I am of the opinion that StealthDelay is the time taken when changing states

Come to think, the unit behavior you want has an example in china listening outpost - it is stealthed when not moving. Try looking at it.

Originally Posted by: zzc 

same for me, i feel like that parameter is about state change. i need unit to stay stealthed for longer but not to stay visible. will have to test.
Listening Outpost is only about stealthed while deployed, nothing more to reserch.

rey
  • rey
  • 52.5% (Neutral)
  • Major Topic Starter
9 years ago
maybe smb else knows a way?
for ex i have a unit that can be stealthed only while standing still. i need to make it keep stealth for 2 seconds after it starts moving.