Use Armament.ReloadingCondition on RA V2

The new property makes the AmmoPool work-around obsolete.
This commit is contained in:
reaperrr
2018-05-15 03:28:08 +02:00
committed by Paul Chote
parent e4738ce722
commit 1408fb74b2
4 changed files with 5 additions and 13 deletions

View File

@@ -305,8 +305,6 @@ ARTY:
V2RL: V2RL:
Health: Health:
HP: 10000 HP: 10000
ReloadAmmoPool:
Delay: 280
4TNK: 4TNK:
Health: Health:

View File

@@ -146,6 +146,7 @@ FLAK-23:
SCUD: SCUD:
Range: 7c0 Range: 7c0
ReloadDelay: 280
Projectile: Bullet Projectile: Bullet
Arm: 10 Arm: 10
TrailImage: smokey TrailImage: smokey

View File

@@ -24,21 +24,14 @@ V2RL:
Range: 4c0 Range: 4c0
Armament: Armament:
Weapon: SCUD Weapon: SCUD
PauseOnCondition: !ammo ReloadingCondition: reloading
AutoTarget: AutoTarget:
ScanRadius: 10 ScanRadius: 10
AmmoPool:
Ammo: 1
PipCount: 0
AmmoCondition: ammo
ReloadAmmoPool:
Delay: 240
Count: 1
AttackFrontal: AttackFrontal:
WithFacingSpriteBody: WithFacingSpriteBody:
RequiresCondition: ammo RequiresCondition: !reloading
WithFacingSpriteBody@EMPTY: WithFacingSpriteBody@EMPTY:
RequiresCondition: !ammo RequiresCondition: reloading
Sequence: empty-idle Sequence: empty-idle
SelectionDecorations: SelectionDecorations:
Explodes: Explodes:

View File

@@ -319,7 +319,7 @@ SubMissileAA:
SCUD: SCUD:
Inherits: ^AntiGroundMissile Inherits: ^AntiGroundMissile
ReloadDelay: 0 ReloadDelay: 240
Range: 10c0 Range: 10c0
MinRange: 4c0 MinRange: 4c0
Report: missile1.aud Report: missile1.aud