Files
OpenRA/mods/ra/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

524 lines
9.0 KiB
YAML

DOG:
Inherits: ^Infantry
Buildable:
Queue: Infantry
BuildPaletteOrder: 30
Prerequisites: barr
Owner: soviet
Hotkey: o
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: 7
RevealsShroud:
Range: 5
Armament:
Weapon: DogJaw
AttackLeap:
CanAttackGround: no
RenderInfantry:
IdleAnimations: idle1,idle2
IgnoresDisguise:
E1:
Inherits: ^Infantry
Buildable:
Queue: Infantry
BuildPaletteOrder: 10
Owner: allies,soviet
Hotkey: i
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
Hotkey: g
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
Hotkey: r
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
Hotkey: t
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
Hotkey: e
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:
TakeCover:
-AutoTarget:
AttackMove:
JustMove: true
-RenderInfantry:
RenderInfantryProne:
IdleAnimations: idle1,idle2
SPY:
Inherits: ^Infantry
Buildable:
Queue: Infantry
BuildPaletteOrder: 60
Prerequisites: dome, tent
Owner: allies
Hotkey: p
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: Cash, SupportPower, Exploration
-AutoTarget:
AttackMove:
JustMove: true
-RenderInfantry:
RenderSpy:
IdleAnimations: idle1,idle2
Armament:
Weapon: SilencedPPK
AttackFrontal:
E7:
Inherits: ^Infantry
Buildable:
Queue: Infantry
BuildPaletteOrder: 110
Prerequisites: techcenter
Owner: allies
Hotkey: y
BuildLimit: 1
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\n\nMaximum 1 can be trained
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
E8:
Inherits: ^Infantry
Buildable:
Queue: Infantry
BuildPaletteOrder: 110
Prerequisites: stek
Owner: soviet
Hotkey: v
BuildLimit: 1
Valued:
Cost: 1800
Tooltip:
Name: Volkov
Description: Elite commando cyborg, armed with \nmodular cannons and grenade launcher.\n Strong vs Vehicles, Infantry\n Weak vs Aircraft\n\nMaximum 1 can be trained
Selectable:
Voice: VolkovVoice
Bounds: 12,17,0,-9
Health:
HP: 200
Armor:
Type: Cybernetic
Mobile:
Speed: 5
Crushes: atmine, crate
RevealsShroud:
Range: 4
Passenger:
PipType: Red
Armament@PRIMARY:
Weapon: VolkAT
Armament@SECONDARY:
Weapon: VolkNapalm
AttackFrontal:
TakeCover:
-RenderInfantry:
RenderInfantryProne:
IdleAnimations: idle1
CrushableInfantry:
CrushSound: crunchy2.aud
RepairableNear:
Buildings: fix
CloseEnough: 1
MEDI:
Inherits: ^Infantry
Buildable:
Queue: Infantry
BuildPaletteOrder: 20
Owner: allies
Prerequisites: tent
Hotkey: m
Valued:
Cost: 300
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
Hotkey: c
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
-RenderInfantry:
RenderInfantryPanic:
ScaredyCat:
DELPHI:
Inherits: ^Infantry
Selectable:
Voice: CivilianMaleVoice
Bounds: 12,17,0,-9
Valued:
Cost: 10
Tooltip:
Name: Agent Delphi
Health:
HP: 25
Mobile:
Speed: 5
RevealsShroud:
Range: 2
-AutoTarget:
AttackMove:
JustMove: true
ProximityCaptor:
Types: CivilianInfantry
-RenderInfantry:
RenderInfantryPanic:
ScaredyCat:
CHAN:
Inherits: ^CivInfantry
Tooltip:
Name: Agent Chan
GNRL:
Inherits: ^CivInfantry
Tooltip:
Name: General
THF:
Inherits: ^Infantry
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
SHOK:
Inherits: ^Infantry
Buildable:
Queue: Infantry
Prerequisites: stek,tsla
Owner: soviet
Hotkey: l
Valued:
Cost: 500
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:
SNIPER:
Inherits: ^Infantry
Valued:
Cost: 700
Tooltip:
Icon: snipericon
Name: Sniper
Description: Elite sniper infantry unit.\n Strong vs Infantry\n Weak vs Vehicles
Buildable:
Queue: Infantry
BuildPaletteOrder: 50
Owner: soviet
Prerequisites: dome
Hotkey: n
Selectable:
Bounds: 12,17,0,-6
Mobile:
Speed: 4
Health:
HP: 200
Passenger:
PipType: Red
RevealsShroud:
Range: 6
AutoTarget:
InitialStance: HoldFire
Armament:
Weapon: Sniper
AttackFrontal:
TakeCover:
-RenderInfantry:
RenderInfantryProne:
IdleAnimations: idle1,idle2
Cloak:
InitialDelay: 250
CloakDelay: 120
CloakSound:
UncloakSound:
UncloakOnMove: yes
Captures:
CaptureTypes: civilianbuilding
AllowAllies: true