Files
OpenRA/mods/ts/rules/gdi-infantry.yaml
reaperrr 3455d98289 Refactored TS infantry sequences
They now make heavy use of inheritance to cut down duplication. Most infantry in TS uses the Minigunner (E1) sequences, only that some frames are empty (civ2 shoot animation, for example) or used for a different purpose (panic anims for civilians, crippled legs for cyborgs).

To make this inheritance a bit easier, the attack sequences were renamed to a generic 'attack', rather than 'shoot' or 'throw', and split off to a separate abstract default inherited only by infantry with valid attack frames.
2016-06-05 21:24:03 +02:00

135 lines
2.5 KiB
YAML

E2:
Inherits: ^Soldier
Buildable:
Queue: Infantry
BuildPaletteOrder: 20
Prerequisites: ~gapile
Valued:
Cost: 200
Tooltip:
Name: Disc Thrower
Description: Infantry armed with special explosive discs.\n Strong vs Buildings, Infantry\n Weak vs Vehicles, Aircraft
Health:
HP: 150
Mobile:
Speed: 56
Armament:
Weapon: Grenade
LocalOffset: 0,0,555
FireDelay: 5
AttackFrontal:
Voice: Attack
WithInfantryBody:
AttackSequence: attack
ProducibleWithLevel:
Prerequisites: barracks.upgraded
MEDIC:
Inherits: ^Soldier
Valued:
Cost: 600
Tooltip:
Name: Medic
Description: Heals nearby infantry.\n Unarmed
Buildable:
Queue: Infantry
BuildPaletteOrder: 70
Prerequisites: ~gapile
Voiced:
VoiceSet: Medic
RevealsShroud:
Range: 6c0
Mobile:
Speed: 56
Health:
HP: 125
Crushable:
CrushSound: squishy2.aud
Armament:
Weapon: Heal
TargetStances: Ally
ForceTargetStances: None
Cursor: heal
OutsideRangeCursor: heal
AttackFrontal:
WithInfantryBody:
AttackSequence: heal
SelfHealing:
Delay: 60
Passenger:
PipType: Red
JUMPJET:
Inherits: ^Soldier
Valued:
Cost: 600
Tooltip:
Name: Jumpjet Infantry
Description: Airborne soldier.\n Strong vs Infantry, Aircraft\n Weak vs Vehicles
Buildable:
Queue: Infantry
BuildPaletteOrder: 40
Prerequisites: ~gapile, garadr
Voiced:
VoiceSet: JumpJet
Mobile:
Speed: 56
Health:
HP: 120
Armor:
Type: Light
Passenger:
PipType: Green
RevealsShroud:
Range: 6c0
Armament:
Weapon: JumpCannon
-Crushable:
AttackFrontal:
Voice: Attack
WithInfantryBody:
AttackSequence: attack
-TakeCover:
ProducibleWithLevel:
Prerequisites: barracks.upgraded
GHOST:
Inherits: ^Soldier
Valued:
Cost: 1750
Tooltip:
Name: Ghost Stalker
Description: Elite commando infantry, armed with\na railgun and C4.\n Strong vs Infantry, Buildings\n Weak vs Vehicles, Aircraft\n Special Ability: Destroy Building with C4\nMaximum 1 can be trained.
Buildable:
Queue: Infantry
BuildPaletteOrder: 50
Prerequisites: ~gapile, gatech
BuildLimit: 1
Voiced:
VoiceSet: Ghost
Armor:
Type: Light
Mobile:
Speed: 56
Health:
HP: 200
PoisonedByTiberium:
Weapon: TiberiumHeal
Passenger:
RevealsShroud:
Range: 6c0
Armament:
Weapon: LtRail
LocalOffset: 85,0,384
Crushable:
CrushSound: squishy2.aud
AttackFrontal:
Voice: Attack
Demolition:
DetonationDelay: 45
Voice: Attack
WithInfantryBody:
AttackSequence: attack
ProducibleWithLevel:
Prerequisites: barracks.upgraded