Files
OpenRA/mods/d2k/rules/infantry.yaml
2015-09-10 19:23:05 +01:00

225 lines
4.2 KiB
YAML

light_inf:
Inherits: ^Infantry
Buildable:
Queue: Infantry
BuildPaletteOrder: 10
Valued:
Cost: 100
Tooltip:
Name: Light Infantry
Description: General-purpose infantry\n Strong vs Infantry\n Weak vs Vehicles, Artillery
Health:
HP: 50
Mobile:
Speed: 53
Armament:
Weapon: LMG
AttackFrontal:
WithInfantryBody:
AttackSequence: shoot
AttractsWorms:
Intensity: 120
engineer:
Inherits: ^Infantry
Buildable:
Queue: Infantry
BuildPaletteOrder: 50
Prerequisites: upgrade.barracks, ~techlevel.medium
Valued:
Cost: 500
Tooltip:
Name: Engineer
Description: Infiltrates and captures enemy structures\n Strong vs Buildings\n Weak vs Everything
Health:
HP: 25
Mobile:
Speed: 53
Passenger:
PipType: Yellow
EngineerRepair:
ExternalCaptures:
Type: building
Captures:
CaptureTypes: husk
-AutoTarget:
AttractsWorms:
Intensity: 180
Voiced:
VoiceSet: EngineerVoice
trooper:
Inherits: ^Infantry
Buildable:
Queue: Infantry
BuildPaletteOrder: 20
Prerequisites: upgrade.barracks, ~techlevel.medium
Valued:
Cost: 250
Tooltip:
Name: Trooper
Description: Anti-tank/Anti-aircraft infantry\n Strong vs Tanks, Aircraft\n Weak vs Infantry, Artillery
Health:
HP: 45
Mobile:
Speed: 42
Armament:
Weapon: Bazooka
LocalOffset: 0,0,555
AttackFrontal:
WithInfantryBody:
AttackSequence: shoot
AttractsWorms:
Intensity: 180
medic:
Inherits: ^Infantry
Buildable:
Queue: Infantry
BuildPaletteOrder: 60
Prerequisites: ~barracks.medics, upgrade.barracks, ~techlevel.high
Valued:
Cost: 500
Tooltip:
Name: Medic
Description: Heals nearby infantry\n Strong vs Nothing\n Weak vs Everything
Health:
HP: 60
Mobile:
Speed: 42
AutoHeal:
Armament:
Weapon: Heal
AttackMedic:
Cursor: ability
OutsideRangeCursor: ability
WithInfantryBody:
AttackSequence: heal
Passenger:
PipType: Blue
-AutoTarget:
AttractsWorms:
Intensity: 180
Voiced:
VoiceSet: EngineerVoice
fremen:
Inherits: ^Infantry
Valued:
Cost: 800
Tooltip:
Name: Fremen
Description: Elite sniper infantry unit\n Strong vs Infantry\n Weak vs Vehicles\n Special Ability: Invisibility
Buildable:
Queue: Infantry
BuildPaletteOrder: 100
Prerequisites: ~barracks.atreides, palace, ~techlevel.high
Mobile:
Speed: 53
Health:
HP: 70
Passenger:
RevealsShroud:
Range: 7c0
AutoTarget:
ScanRadius: 7
Armament@PRIMARY:
Weapon: Fremen_S
Armament@SECONDARY:
Weapon: Fremen_L
AttackFrontal:
WithInfantryBody:
AttackSequence: shoot
Cloak:
InitialDelay: 250
CloakDelay: 250
CloakSound: STEALTH1.WAV
UncloakSound: STEALTH2.WAV
-MustBeDestroyed:
Voiced:
VoiceSet: FremenVoice
grenadier:
Inherits: ^Infantry
Buildable:
Queue: Infantry
BuildPaletteOrder: 80
Prerequisites: ~barracks.atreides, upgrade.barracks, high_tech_factory, ~techlevel.medium
Valued:
Cost: 160
Tooltip:
Name: Grenadier
Description: Infantry armed with grenades. \n Strong vs Buildings, Infantry\n Weak vs Vehicles
Health:
HP: 50
Mobile:
Speed: 53
Armament:
LocalOffset: 0,0,555
Weapon: grenade
FireDelay: 15
AttackFrontal:
WithInfantryBody:
AttackSequence: throw
IdleSequences: idle
Explodes:
Weapon: UnitExplodeSmall
EmptyWeapon: UnitExplodeSmall
AttractsWorms:
Intensity: 180
sardaukar:
Inherits: ^Infantry
Buildable:
Queue: Infantry
BuildPaletteOrder: 80
Prerequisites: ~barracks.harkonnen, palace, ~techlevel.high
Valued:
Cost: 400
Tooltip:
Name: Sardaukar
Description: Elite assault infantry\n Strong vs Infantry, Vehicles\n Weak vs Artillery
Health:
HP: 100
Mobile:
Speed: 42
RevealsShroud:
Range: 6c0
WithInfantryBody:
AttackSequence: shoot
Armament@PRIMARY:
Weapon: M_LMG
Armament@SECONDARY:
Weapon: M_HMG
AttackFrontal:
AttractsWorms:
Intensity: 180
Voiced:
VoiceSet: GenericVoice
saboteur:
Inherits: ^Infantry
Buildable:
Queue: Infantry
BuildPaletteOrder: 100
Prerequisites: ~barracks.ordos, palace, ~techlevel.high
Valued:
Cost: 800
Tooltip:
Name: Saboteur
Description: Sneaky infantry, armed with explosives\n Strong vs Buildings\n Weak vs Everything\n Special Ability: destroy buildings
Health:
HP: 100
Mobile:
Speed: 64
RevealsShroud:
Range: 7c0
C4Demolition:
C4Delay: 45
-AutoTarget:
AttractsWorms:
Intensity: 120
Voiced:
VoiceSet: SaboteurVoice