Files
OpenRA/mods/ra-classic/rules/infantry.yaml
Paul Chote 0167bbfbaa Move weapon/turret definitions out of AttackBase.
Weapons are now defined with the Armament trait
and turret parameters live in Turreted.
This has the side effect of allowing any number
and distribution of weapons and turrets.
2013-03-24 11:58:45 +13:00

393 lines
6.9 KiB
YAML

DOG:
Inherits: ^Infantry
Buildable:
Queue: Infantry
BuildPaletteOrder: 30
Prerequisites: kenn
Owner: soviet
Valued:
Cost: 200
Tooltip:
Name: Attack Dog
Description: Anti-infantry unit. Not fooled by the \nSpy's disguise.\n Strong vs Infantry\n Weak vs Vehicles
Selectable:
Voice: DogVoice
Bounds: 12,17,-1,-4
Health:
HP: 12
Mobile:
Speed: 4
RevealsShroud:
Range: 5
AutoTarget:
Armament:
Weapon: DogJaw
AttackLeap:
CanAttackGround: no
RenderInfantry:
IdleAnimations: idle1,idle2
IgnoresDisguise:
E1:
Inherits: ^Infantry
Buildable:
Queue: Infantry
BuildPaletteOrder: 10
Owner: allies,soviet
Valued:
Cost: 100
Tooltip:
Name: Rifle Infantry
Description: General-purpose infantry.\n Strong vs Infantry\n Weak vs Vehicles
Selectable:
Bounds: 12,17,0,-9
Health:
HP: 50
Mobile:
Speed: 4
Armament:
Weapon: M1Carbine
AttackFrontal:
TakeCover:
-RenderInfantry:
RenderInfantryProne:
IdleAnimations: idle1,idle2
E2:
Inherits: ^Infantry
Buildable:
Queue: Infantry
BuildPaletteOrder: 10
Owner: soviet
Prerequisites: barr
Valued:
Cost: 160
Tooltip:
Name: Grenadier
Description: Infantry armed with grenades. \n Strong vs Buildings, Infantry\n Weak vs Vehicles
Selectable:
Bounds: 12,17,0,-9
Health:
HP: 50
Mobile:
Speed: 5
Armament:
Weapon: Grenade
LocalOffset: 0,0,0,-13,0
FireDelay: 15
AttackFrontal:
TakeCover:
-RenderInfantry:
RenderInfantryProne:
IdleAnimations: idle1,idle2
Explodes:
Weapon: UnitExplodeSmall
Chance: 50
E3:
Inherits: ^Infantry
Buildable:
Queue: Infantry
BuildPaletteOrder: 20
Owner: allies,soviet
Valued:
Cost: 300
Tooltip:
Name: Rocket Soldier
Description: Anti-tank/Anti-aircraft infantry.\n Strong vs Tanks, Aircraft\n Weak vs Infantry
Selectable:
Bounds: 12,17,0,-9
Health:
HP: 45
Mobile:
Speed: 3
Armament@PRIMARY:
Weapon: RedEye
LocalOffset: 0,0,0,-13,0
Armament@SECONDARY:
Weapon: Dragon
LocalOffset: 0,0,0,-13,0
AttackFrontal:
TakeCover:
-RenderInfantry:
RenderInfantryProne:
IdleAnimations: idle1,idle2
E4:
Inherits: ^Infantry
Buildable:
Queue: Infantry
BuildPaletteOrder: 60
Prerequisites: ftur
Owner: soviet
Valued:
Cost: 300
Tooltip:
Name: Flamethrower
Description: Advanced Anti-infantry unit.\n Strong vs Infantry, Buildings\n Weak vs Vehicles
Selectable:
Bounds: 12,17,0,-9
Health:
HP: 40
Mobile:
Speed: 3
Armament:
Weapon: Flamer
LocalOffset: 0,-10,0,-8,0
FireDelay: 8
AttackFrontal:
TakeCover:
-RenderInfantry:
RenderInfantryProne:
IdleAnimations: idle1,idle2
E6:
Inherits: ^Infantry
Buildable:
Queue: Infantry
BuildPaletteOrder: 50
Owner: soviet,allies
Valued:
Cost: 500
Tooltip:
Name: Engineer
Description: Infiltrates and captures enemy structures.\n Strong vs Nothing\n Weak vs Everything
Selectable:
Voice: EngineerVoice
Bounds: 12,17,0,-9
Health:
HP: 25
Mobile:
Speed: 4
Passenger:
PipType: Yellow
EngineerRepair:
Captures:
Sabotage: yes
TakeCover:
-AutoTarget:
AttackMove:
JustMove: true
-RenderInfantry:
RenderInfantryProne:
IdleAnimations: idle1,idle2
SPY:
Inherits: ^Infantry
Buildable:
Queue: Infantry
BuildPaletteOrder: 60
Prerequisites: dome, tent
Owner: allies
Valued:
Cost: 500
SpyToolTip:
Name: Spy
Description: Infiltrates enemy structures to gather \nintelligence. Exact effect depends on the \nbuilding infiltrated.\n Strong vs Nothing\n Weak vs Everything\n Special Ability: Disguised
Selectable:
Voice: SpyVoice
Bounds: 12,17,0,-9
Health:
HP: 25
Mobile:
Speed: 4
RevealsShroud:
Range: 5
Passenger:
PipType: Yellow
TakeCover:
Spy:
Infiltrates:
InfiltrateTypes: SupportPower, Exploration
-AutoTarget:
AttackMove:
JustMove: true
-RenderInfantry:
RenderSpy:
IdleAnimations: idle1,idle2
THF:
Inherits: ^Infantry
Buildable:
Queue: Infantry
BuildPaletteOrder: 60
Prerequisites: techcenter, tent
Owner: allies
Valued:
Cost: 400
Tooltip:
Name: Thief
Description: Steals enemy credits.\n Strong vs Nothing\n Weak vs Everything\n
Selectable:
Voice: ThiefVoice
Bounds: 12,17,0,-9
Health:
HP: 25
Mobile:
Speed: 4
RevealsShroud:
Range: 5
Passenger:
PipType: Yellow
Infiltrates:
InfiltrateTypes: Cash
TakeCover:
-AutoTarget:
AttackMove:
JustMove: true
E7:
Inherits: ^Infantry
Buildable:
Queue: Infantry
BuildPaletteOrder: 110
Prerequisites: techcenter
Owner: allies,soviet
Valued:
Cost: 1200
Tooltip:
Name: Tanya
Description: Elite commando infantry, armed with \ndual pistols and C4.\n Strong vs Infantry, Buildings\n Weak vs Vehicles\n Special Ability: Destroy Building with C4
Selectable:
Voice: TanyaVoice
Bounds: 12,17,0,-9
Health:
HP: 100
Mobile:
Speed: 5
RevealsShroud:
Range: 6
C4Demolition:
C4Delay: 45
Passenger:
PipType: Red
Armament@PRIMARY:
Weapon: Colt45
Armament@SECONDARY:
Weapon: Colt45
AttackFrontal:
TakeCover:
-RenderInfantry:
RenderInfantryProne:
IdleAnimations: idle1,idle2
MEDI:
Inherits: ^Infantry
Buildable:
Queue: Infantry
BuildPaletteOrder: 20
Owner: allies
Prerequisites: tent
Valued:
Cost: 800
Tooltip:
Name: Medic
Description: Heals nearby infantry.\n Strong vs Nothing\n Weak vs Everything
Selectable:
Voice: MedicVoice
Bounds: 12,17,0,-9
Health:
HP: 80
Mobile:
Speed: 4
RevealsShroud:
Range: 3
Passenger:
PipType: Yellow
AutoHeal:
Armament:
Weapon: Heal
AttackMedic:
TakeCover:
-AutoTarget:
AttackMove:
JustMove: true
-RenderInfantry:
RenderInfantryProne:
IdleAnimations: idle1,idle2
MECH:
Inherits: ^Infantry
Buildable:
Queue: Infantry
BuildPaletteOrder: 70
Owner: allies
Prerequisites: fix
Valued:
Cost: 800
Tooltip:
Name: Mechanic
Description: Repairs nearby vehicles.\n Strong vs Nothing\n Weak vs Everything
Selectable:
Voice: MechanicVoice
Bounds: 12,17,0,-9
Health:
HP: 80
Mobile:
Speed: 4
RevealsShroud:
Range: 3
Passenger:
PipType: Yellow
AutoHeal:
Armament:
Weapon: Repair
AttackMedic:
TakeCover:
-AutoTarget:
AttackMove:
JustMove: true
-RenderInfantry:
RenderInfantryProne:
IdleAnimations: idle1,idle2
EINSTEIN:
Inherits: ^Infantry
Selectable:
Voice: EinsteinVoice
Bounds: 12,17,0,-9
Valued:
Cost: 10
Tooltip:
Name: Prof. Einstein
Health:
HP: 25
Mobile:
Speed: 5
RevealsShroud:
Range: 2
-AutoTarget:
AttackMove:
JustMove: true
ProximityCaptor:
Types:CivilianInfantry
SHOK:
Inherits: ^Infantry
Buildable:
Queue: Infantry
Prerequisites: tsla
Owner: soviet
Valued:
Cost: 900
Tooltip:
Name: Tesla Trooper
Description: Infantry with tesla coils\n Strong vs Infantry\n Weak vs Vehicles
Selectable:
Voice: ShokVoice
Bounds: 12,17,0,-9
Health:
HP: 80
Mobile:
Speed: 3
RevealsShroud:
Range: 4
Armament:
Weapon: PortaTesla
LocalOffset: 0,-10,0,-8,0
AttackFrontal:
TakeCover:
-RenderInfantry:
RenderInfantryProne:
IdleAnimations: idle1,idle2
-CrushableInfantry: