Rules updated to unhardcode cloak diable on criticalHP

Rules updated for CNC mod (uncloak on critical HP)

STNK, stealth crate are affected

Rules updated for D2K mod (uncloak on critical HP)

Saboteur, fremen, stealth raider affected

Rules updated for RA mod (uncloak on critical HP)

Affects
Hijacker, sniper, sub, msub, hbox, stnk.
Mines are not affected, they are not exactly "stealth".
Hijackers and snipers aren't machines and should be able to hide
themselves even when they are wounded but for least surprise to
players, uncloaking stays as well.

Rules updated for TS mod (uncloak on critical HP)

Only affects STNK.
Things that are cloak generators will stay cloaked even when critical
HP! The cloak generation mechanism is by the cloak generator!
This commit is contained in:
forcecore
2017-02-11 19:16:48 -06:00
parent 28ce32d8fa
commit 53e7cf0ef1
9 changed files with 48 additions and 1 deletions

View File

@@ -508,6 +508,10 @@ HIJACKER:
UncloakOn: Attack, Unload, Infiltrate, Demolish, Move
CloakTypes: Cloak, Hijacker
IsPlayerPalette: true
RequiresCondition: !uncloak
GrantConditionOnDamageState@UNCLOAK:
Condition: uncloak
ValidDamageStates: Critical
Mobile:
Speed: 85
@@ -589,6 +593,10 @@ SNIPER:
UncloakSound:
UncloakOn: Attack, Unload, Infiltrate, Demolish, Move
IsPlayerPalette: true
RequiresCondition: !uncloak
GrantConditionOnDamageState@UNCLOAK:
Condition: uncloak
ValidDamageStates: Critical
DetectCloaked:
CloakTypes: Cloak, Hijacker
Range: 6c0

View File

@@ -36,6 +36,10 @@ SS:
UncloakSound: subshow1.aud
CloakedCondition: underwater
Palette: submerged
RequiresCondition: !uncloak
GrantConditionOnDamageState@UNCLOAK:
Condition: uncloak
ValidDamageStates: Critical
Armament:
Weapon: TorpTube
LocalOffset: 0,-171,0, 0,171,0
@@ -93,6 +97,10 @@ MSUB:
UncloakSound: subshow1.aud
CloakedCondition: underwater
Palette: submerged
RequiresCondition: !uncloak
GrantConditionOnDamageState@UNCLOAK:
Condition: uncloak
ValidDamageStates: Critical
Armament@PRIMARY:
Weapon: SubMissile
LocalOffset: 0,-171,0, 0,171,0

View File

@@ -626,6 +626,10 @@ HBOX:
InitialDelay: 125
CloakDelay: 60
IsPlayerPalette: true
RequiresCondition: !uncloak
GrantConditionOnDamageState@UNCLOAK:
Condition: uncloak
ValidDamageStates: Critical
Turreted:
TurnSpeed: 255
-QuantizeFacingsFromSequence:

View File

@@ -779,6 +779,10 @@ STNK:
CloakSound: appear1.aud
UncloakSound: appear1.aud
IsPlayerPalette: true
RequiresCondition: !uncloak
GrantConditionOnDamageState@UNCLOAK:
Condition: uncloak
ValidDamageStates: Critical
DetectCloaked:
Range: 7c0
-MustBeDestroyed: