Files
OpenRA/mods/d2k/rules/infantry.yaml
2015-04-26 14:29:12 +03:00

247 lines
4.6 KiB
YAML

rifle:
Inherits: ^Infantry
Buildable:
Queue: Infantry
BuildPaletteOrder: 10
Valued:
Cost: 100
Tooltip:
Name: Rifleman
Description: General-purpose infantry\n Strong vs Infantry\n Weak vs Vehicles, Artillery
Selectable:
Bounds: 12,17,0,0
Health:
HP: 50
Mobile:
Speed: 53
Armament:
Weapon: LMG
AttackFrontal:
TakeCover:
DamageModifiers:
Prone50Percent: 50
DamageTriggers: TriggerProne
AttractsWorms:
Intensity: 120
engineer:
Inherits: ^Infantry
Buildable:
Queue: Infantry
BuildPaletteOrder: 50
Prerequisites: radar, ~techlevel.medium
Valued:
Cost: 500
Tooltip:
Name: Engineer
Description: Infiltrates and captures enemy structures\n Strong vs Buildings\n Weak vs Everything
Selectable:
Bounds: 12,17,0,0
Voice: EngineerVoice
Health:
HP: 25
Mobile:
Speed: 53
Passenger:
PipType: Yellow
EngineerRepair:
ExternalCaptures:
Type: building
Captures:
CaptureTypes: husk
-AutoTarget:
AttractsWorms:
Intensity: 180
bazooka:
Inherits: ^Infantry
Buildable:
Queue: Infantry
BuildPaletteOrder: 20
Prerequisites: radar, ~techlevel.medium
Valued:
Cost: 250
Tooltip:
Name: Trooper
Description: Anti-tank/Anti-aircraft infantry\n Strong vs Tanks, Aircraft\n Weak vs Infantry, Artillery
Selectable:
Bounds: 12,17,0,0
Health:
HP: 45
Mobile:
Speed: 42
Armament:
Weapon: Bazooka
LocalOffset: 128,0,256
AttackFrontal:
TakeCover:
DamageModifiers:
Prone50Percent: 50
DamageTriggers: TriggerProne
AttractsWorms:
Intensity: 180
medic:
Inherits: ^Infantry
Buildable:
Queue: Infantry
BuildPaletteOrder: 60
Prerequisites: ~barracks.medics, ~techlevel.high
Valued:
Cost: 500
Tooltip:
Name: Medic
Description: Heals nearby infantry\n Strong vs Nothing\n Weak vs Everything
Selectable:
Bounds: 12,17,0,0
Voice: EngineerVoice
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
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: 85
Prerequisites: ~barracks.atreides, palace, ~techlevel.high
Selectable:
Bounds: 12,17,0,0
Voice: FremenVoice
Mobile:
Speed: 53
Health:
HP: 70
Passenger:
RevealsShroud:
Range: 7c0
AutoTarget:
ScanRadius: 7
Armament@PRIMARY:
Weapon: Sniper
Armament@SECONDARY:
Weapon: Slung
AttackFrontal:
TakeCover:
DamageModifiers:
Prone50Percent: 50
DamageTriggers: TriggerProne
Cloak:
InitialDelay: 250
CloakDelay: 250
CloakSound: STEALTH1.WAV
UncloakSound: STEALTH2.WAV
-MustBeDestroyed:
grenadier:
Inherits: ^Infantry
Buildable:
Queue: Infantry
BuildPaletteOrder: 10
Prerequisites: ~barracks.atreides, ~techlevel.medium
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,0
Health:
HP: 50
Mobile:
Speed: 53
Armament:
Weapon: Grenade
LocalOffset: 0,0,555
FireDelay: 15
AttackFrontal:
TakeCover:
DamageModifiers:
Prone50Percent: 50
DamageTriggers: TriggerProne
WithInfantryBody:
IdleSequences: idle
Explodes:
Weapon: UnitExplodeSmall
Chance: 100
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 asssault infantry\n Strong vs Infantry, Vehicles\n Weak vs Artillery
Selectable:
Bounds: 12,17,0,0
Voice: GenericVoice
Health:
HP: 100
Mobile:
Speed: 42
RevealsShroud:
Range: 6c0
TakeCover:
DamageModifiers:
Prone50Percent: 50
DamageTriggers: TriggerProne
Armament@PRIMARY:
Weapon: Vulcan
Armament@SECONDARY:
Weapon: Slung
AttackFrontal:
AttractsWorms:
Intensity: 180
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
Selectable:
Voice: SaboteurVoice
Bounds: 12,17,0,0
Health:
HP: 100
Mobile:
Speed: 64
RevealsShroud:
Range: 7c0
C4Demolition:
C4Delay: 45
-AutoTarget:
AttractsWorms:
Intensity: 120