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

233 lines
4.1 KiB
YAML

E1:
Inherits: ^Infantry
Valued:
Cost: 100
Tooltip:
Name: Minigunner
Description: General-purpose infantry.\n Strong vs Infantry\n Weak vs Vehicles
Icon: e1icnh
Buildable:
BuildPaletteOrder: 10
Owner: gdi, nod
Selectable:
Bounds: 12,17,0,-6
Mobile:
Speed: 4
Health:
HP: 50
Armament:
Weapon: M16
AttackFrontal:
RenderInfantryProne:
IdleAnimations: idle1,idle2,idle3,idle4
DetectCloaked:
Range: 2
E2:
Inherits: ^Infantry
Valued:
Cost: 160
Tooltip:
Name: Grenadier
Description: Infantry armed with grenades. \n Strong vs Buildings, Infantry\n Weak vs Vehicles
Icon: e2icnh
Buildable:
BuildPaletteOrder: 40
Prerequisites: hq
Owner: gdi
Selectable:
Bounds: 12,17,0,-6
Mobile:
Speed: 5
Health:
HP: 50
Armament:
Weapon: Grenade
LocalOffset: 0,0,0,-10,0
FireDelay: 15
AttackFrontal:
RenderInfantryProne:
IdleAnimations: idle1,idle2
Explodes:
Weapon: GrenadierExplode
EmptyWeapon: GrenadierExplode
Chance: 50
DetectCloaked:
Range: 2
E3:
Inherits: ^Infantry
Valued:
Cost: 300
Tooltip:
Name: Rocket Soldier
Description: Anti-tank/Anti-aircraft infantry. \n Strong vs Tanks, Aircraft\n Weak vs Infantry
Icon: e3icnh
Buildable:
BuildPaletteOrder: 20
Owner: nod, gdi
Selectable:
Bounds: 12,17,0,-6
Mobile:
Speed: 3
Health:
HP: 45
Armament:
Weapon: Rockets
LocalOffset: 1,-6,0,-8,0
FireDelay: 5
AttackFrontal:
RenderInfantryProne:
IdleAnimations: idle1,idle2
DetectCloaked:
Range: 2
E4:
Inherits: ^Infantry
Valued:
Cost: 200
Tooltip:
Name: Flamethrower
Description: Advanced Anti-infantry unit.\n Strong vs Infantry, Buildings\n Weak vs Vehicles
Icon: e4icnh
Buildable:
BuildPaletteOrder: 40
Owner: nod
Prerequisites: hq
Selectable:
Bounds: 12,17,0,-6
Mobile:
Speed: 5
Health:
HP: 90
Armament:
Weapon: Flamethrower
LocalOffset: 0,-2,2,-4,0
FireDelay: 3
AttackFrontal:
WithMuzzleFlash:
RenderInfantryProne:
IdleAnimations: idle1,idle2
DetectCloaked:
Range: 2
E5:
Inherits: ^Infantry
Valued:
Cost: 300
Tooltip:
Name: Chem Warrior
Description: Advanced Anti-infantry unit.\n Strong vs Infantry\n Weak vs Vehicles
Icon: e5icnh
Buildable:
BuildPaletteOrder: 50
Owner: nod
Prerequisites: tmpl
Selectable:
Bounds: 12,17,0,-6
Mobile:
Speed: 4
TerrainSpeeds:
Tiberium: 80
PathingCost: 80
BlueTiberium: 80
PathingCost: 80
Health:
HP: 90
Armament:
Weapon: Chemspray
LocalOffset: 0,-2,2,-9,0
FireDelay: 3
AttackFrontal:
WithMuzzleFlash:
-PoisonedByTiberium:
RenderInfantryProne:
IdleAnimations: idle1,idle2
DetectCloaked:
Range: 2
E6:
Inherits: ^Infantry
Valued:
Cost: 500
Tooltip:
Name: Engineer
Description: Infiltrates and captures enemy structures.\n Strong vs Nothing\n Weak vs Everything
Icon: e6icnh
Buildable:
BuildPaletteOrder: 30
Owner: gdi,nod
Selectable:
Bounds: 12,17,0,-6
Mobile:
Speed: 4
Health:
HP: 25
Passenger:
PipType: Yellow
EngineerRepair:
Captures:
CaptureTypes: building, husk
-AutoTarget:
AttackMove:
JustMove: true
RenderInfantryProne:
IdleAnimations: idle1,idle2
-GainsExperience:
RMBO:
Inherits: ^Infantry
Valued:
Cost: 1000
Tooltip:
Icon: rmboicnh
Name: Commando
Description: Elite sniper infantry unit.\n Strong vs Infantry, Buildings\n Weak vs Vehicles
Buildable:
BuildPaletteOrder: 50
Owner: gdi
Prerequisites: eye
Selectable:
Bounds: 12,17,0,-6
Voice: CommandoVoice
Mobile:
Speed: 5
Health:
HP: 200
Passenger:
PipType: Red
RevealsShroud:
Range: 6
AutoTarget:
ScanRadius: 5
C4Demolition:
C4Delay: 45
Armament:
Weapon: Sniper
AttackFrontal:
RenderInfantryProne:
IdleAnimations: idle1,idle2,idle3
AnnounceOnBuild:
AnnounceOnKill:
DetectCloaked:
Range: 2
PVICE:
Inherits:VICE
-AttackWander
Mobile:
Crushes: crate
Buildable:
Queue: Biolab
BuildPaletteOrder: 40
Owner: gdi, nod
# Prerequisites: bio
Tooltip:
Description: Mutated abomination that spits liquid tiberium.\n Strong vs Infantry, Buildings\n Weak vs Aircraft
Icon: viceicnh
DrawLineToTarget:
Selectable:
Voice: DinoVoice
ActorLostNotification:
Notification: unitlost.aud