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

170 lines
2.9 KiB
YAML

RIFLE:
Inherits: ^Infantry
Buildable:
Queue: Infantry
BuildPaletteOrder: 10
Owner: atreides,harkonnen,ordos
Hotkey: r
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: 5
Armament:
Weapon: M1Carbine
AttackFrontal:
TakeCover:
-RenderInfantry:
RenderInfantryProne:
IdleAnimations: idle1,idle2
ENGINEER:
Inherits: ^Infantry
Buildable:
Queue: Infantry
BuildPaletteOrder: 50
Owner: atreides,harkonnen,ordos
Hotkey: e
Valued:
Cost: 500
Tooltip:
Name: Engineer
Description: Infiltrates and captures enemy structures\n Strong vs Nothing\n Weak vs Everything
Selectable:
Bounds: 12,17,0,0
Voice: EngineerVoice
Health:
HP: 25
Mobile:
Speed: 5
Passenger:
PipType: Yellow
EngineerRepair:
Captures:
#TakeCover:
-AutoTarget:
AttackMove:
JustMove: true
BAZOOKA:
Inherits: ^Infantry
Buildable:
Queue: Infantry
BuildPaletteOrder: 20
Owner: atreides,harkonnen,ordos
Hotkey: t
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: 4
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
MEDIC:
Inherits: ^Infantry
Buildable:
Queue: Infantry
BuildPaletteOrder: 60
Owner: atreides,ordos
Prerequisites: research
Hotkey: m
Valued:
Cost: 500
Tooltip:
Name: Medic
Description: Heals nearby infantry\n Strong vs Nothing\n Weak vs Everything
Icon: thumpericon
Selectable:
Bounds: 12,17,0,0
Voice: EngineerVoice
Health:
HP: 60
Mobile:
Speed: 4
AutoHeal:
Armament:
Weapon: Heal
AttackMedic:
Passenger:
PipType: Blue
-AutoTarget:
AttackMove:
JustMove: true
RenderInfantry:
Image: THUMPER
#THUMPER:
# Inherits: ^Infantry
# Buildable:
# Queue: Infantry
# BuildPaletteOrder: 50
# Owner: atreides,harkonnen,ordos
# Valued:
# Cost: 400
# Tooltip:
# Name: Thumper
# Description: Attracts sandsworm through vibrations\n Strong vs Nothing\n Weak vs Everything
# Selectable:
# Bounds: 12,17,0,0
# Health:
# HP: 25
# Mobile:
# Speed: 4
# Passenger:
# -AutoTarget:
# AttackMove:
# JustMove: true
# Transforms:
# IntoActor: thumping
# Offset:1,1
# Facing: 1
#
#THUMPING:
# Inherits: ^Building
# Building:
# Power: 0
# Footprint: x
# Dimensions: 1,1
# TerrainTypes: Sand, Dune
# Health:
# HP: 25
# Armor:
# Type: None
# RevealsShroud:
# Range: 5
# Valued:
# Cost: 400
# Tooltip:
# Name: Thumper
# -Capturable:
# -CapturableBar:
# -Sellable:
# -GivesBuildableArea:
# FreeActor:
# Actor: SANDWORM
# SpawnOffset: 1,2
# Facing: 1