Add hospital heal indicators to RA.

This commit is contained in:
Paul Chote
2018-05-20 16:25:05 +00:00
committed by reaperrr
parent 6359d32946
commit 74971cfbb1
2 changed files with 39 additions and 3 deletions

View File

@@ -145,6 +145,24 @@
RequiresCondition: rank-elite RequiresCondition: rank-elite
ZOffset: 256 ZOffset: 256
^InfantryExperienceHospitalOverrides:
WithDecoration@RANK-1:
BlinkInterval: 32
BlinkPatterns:
hospitalheal: On, Off
WithDecoration@RANK-2:
BlinkInterval: 32
BlinkPatterns:
hospitalheal: On, Off
WithDecoration@RANK-3:
BlinkInterval: 32
BlinkPatterns:
hospitalheal: On, Off
WithDecoration@RANK-ELITE:
BlinkInterval: 32
BlinkPatterns:
hospitalheal: On, Off
^IronCurtainable: ^IronCurtainable:
WithColoredOverlay@IRONCURTAIN: WithColoredOverlay@IRONCURTAIN:
RequiresCondition: invulnerability RequiresCondition: invulnerability
@@ -290,7 +308,8 @@
^Infantry: ^Infantry:
Inherits@1: ^ExistsInWorld Inherits@1: ^ExistsInWorld
Inherits@2: ^GainsExperience Inherits@2: ^GainsExperience
Inherits@3: ^SpriteActor Inherits@3: ^InfantryExperienceHospitalOverrides
Inherits@4: ^SpriteActor
Inherits@bounty: ^GlobalBounty Inherits@bounty: ^GlobalBounty
Huntable: Huntable:
OwnerLostAction: OwnerLostAction:
@@ -344,9 +363,22 @@
HealIfBelow: 100 HealIfBelow: 100
DamageCooldown: 125 DamageCooldown: 125
RequiresCondition: hospitalheal RequiresCondition: hospitalheal
GrantConditionOnPrerequisite: GrantConditionOnPrerequisite@HOSPITAL:
Condition: hospitalheal Condition: hospital
Prerequisites: hosp Prerequisites: hosp
GrantConditionOnDamageState@HOSPITAL:
Condition: damaged
ValidDamageStates: Light, Medium, Heavy, Critical
GrantCondition@HOSPITAL:
RequiresCondition: hospital && damaged
Condition: hospitalheal
WithDecoration@REDCROSS:
Image: pips
Sequence: medic
ReferencePoint: Bottom, Right
RequiresCondition: hospitalheal
BlinkInterval: 32
BlinkPattern: Off, On
DeathSounds@NORMAL: DeathSounds@NORMAL:
DeathTypes: DefaultDeath, BulletDeath, SmallExplosionDeath, ExplosionDeath DeathTypes: DefaultDeath, BulletDeath, SmallExplosionDeath, ExplosionDeath
DeathSounds@BURNED: DeathSounds@BURNED:

View File

@@ -101,6 +101,7 @@ pips:
Offset: 9, 5 Offset: 9, 5
medic: medic:
Start: 20 Start: 20
Offset: 15, 1
#ready: #ready:
# Start: 3 # Start: 3
#hold: #hold:
@@ -429,6 +430,8 @@ fire:
ZOffset: 1023 ZOffset: 1023
rank: rank:
Defaults:
Offset: 0, 3
rank-veteran-1: rank-veteran-1:
rank-veteran-2: rank-veteran-2:
Start: 1 Start: 1
@@ -436,6 +439,7 @@ rank:
Start: 2 Start: 2
rank-elite: rank-elite:
Start: 3 Start: 3
Offset: 1, 3
iconchevrons: iconchevrons:
veteran: veteran: