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

362 lines
6.3 KiB
YAML

^MCV:
Inherits: ^Vehicle
Buildable:
Queue: Armor
BuildPaletteOrder: 110
Hotkey: m
Valued:
Cost: 2000
Tooltip:
Name: Mobile Construction Vehicle
Description: Deploys into another Construction Yard\n Unarmed
Icon: mcvicon
Selectable:
Priority: 3
Bounds: 42,42
Health:
HP: 600
Armor:
Type: Light
Mobile:
Speed: 6
Crushes: crate, infantry
RevealsShroud:
Range: 4
MustBeDestroyed:
BaseBuilding:
-AttackMove:
Explodes:
Weapon: UnitExplodeScale
EmptyWeapon: UnitExplodeScale
Transforms:
TransformSounds: BUILD1.aud
LeavesHusk:
HuskActor: MCV.Husk
MCV.Husk:
Inherits: ^Husk
Health:
HP: 175
Tooltip:
Name: Destroyed Mobile Construction Vehicle
Icon: missiletankicon
RenderUnit:
Image: DMCV
HARVESTER:
Inherits: ^Vehicle
Buildable:
Queue: Armor
Prerequisites: Heavy Factory,Spice Refinery
Owner: atreides, harkonnen, ordos
BuiltAt: heavya, heavyh, heavyo
BuildPaletteOrder: 10
Hotkey: h
Valued:
Cost: 1000
Tooltip:
Name: Spice Harvester
Description: Collects Spice for processing\n Unarmed
Icon: harvestericon
Selectable:
Priority: 7
Bounds: 42,42
Harvester:
PipCount: 7
Capacity: 14
Resources: Spice
UnloadTicksPerBale: 15
# How far away from our linked refinery to find resources (in cells):
SearchFromProcRadius: 24
# How far away from last harvest order location to find more resources (in cells):
SearchFromOrderRadius: 12
Health:
HP: 600
Armor:
Type: Heavy
Mobile:
Speed: 6
Crushes: crate, infantry
RenderUnit:
Image: HARVESTER
RevealsShroud:
Range: 4
Explodes:
Weapon: UnitExplodeScale
EmptyWeapon: UnitExplodeScale
-AttackMove:
LeavesHusk:
HuskActor: Harvester.Husk
HARVESTER.Husk:
Inherits: ^Husk
Health:
HP: 150
Tooltip:
Name: Destroyed Spice Harvester
Icon: harvestericon
RenderUnit:
Image: HARVESTER
HARVESTER.starport:
Inherits: HARVESTER
Buildable:
Queue: Starport
BuiltAt: starporta, starporth, starporto
Valued:
Cost: 895
^TRIKE:
Inherits: ^Vehicle
Buildable:
Queue: Vehicle
BuildPaletteOrder: 15
Hotkey: w
Valued:
Cost: 250
Tooltip:
Name: Scout Trike
Description: Fast Scout\n Strong vs Infantry
Icon: trikeicon
Selectable:
Bounds: 24,24
Health:
HP: 100
Armor:
Type: Light
Mobile:
ROT: 9
Speed: 12
RevealsShroud:
Range: 8
RenderUnit:
WithMuzzleFlash:
Armament:
Weapon: M60mg
LocalOffset: 0,-6,0,-3, 0
AttackFrontal:
AutoTarget:
InitialStance: Defend
Explodes:
Weapon: UnitExplodeTiny
EmptyWeapon: UnitExplodeTiny
#Cargo:
# Types: Infantry
# MaxWeight: 1
# PipCount: 1
# UnloadFacing: 220
QUAD:
Inherits: ^Vehicle
Buildable:
Queue: Vehicle
Prerequisites: Light Factory
Owner: atreides, harkonnen, ordos
BuiltAt: lighta, lighth, lighto
BuildPaletteOrder: 20
Hotkey: q
Valued:
Cost: 400
Tooltip:
Name: Missile Quad
Description: Missile Scout\n Strong vs Vehicles\n Weak vs Infantry
Icon: quadicon
Health:
HP: 125
Armor:
Type: Light
Mobile:
ROT: 8
Speed: 10
RevealsShroud:
Range: 7
RenderUnit:
Image: QUAD
Armament:
Weapon: QuadRockets
LocalOffset: 0,-3,0,-2,0 #-4
AttackFrontal:
AutoTarget:
InitialStance: Defend
Explodes:
Weapon: UnitExplodeTiny
EmptyWeapon: UnitExplodeTiny
Selectable:
Bounds: 24,24
QUAD.starport:
Inherits: QUAD
Buildable:
Queue: Starport
BuiltAt: starporta, starporth, starporto
Valued:
Cost: 295
^COMBAT:
Inherits: ^Tank
Buildable:
Queue: Armor
BuildPaletteOrder: 25
Hotkey: c
Valued:
Cost: 700
Tooltip:
Name: Combat Tank
Description: Main Battle Tank\n Strong vs Tanks\n Weak vs Infantry, Aircraft\n \n Atreides: +Range\n Harkonnen: +Health\n Ordos: +Speed
Health:
HP: 325
Armor:
Type: Heavy
Mobile:
Speed: 7
Crushes: crate, infantry
RevealsShroud:
Range: 6
Turreted:
ROT: 6
AlignWhenIdle: true
Armament:
Weapon: 90mm
Recoil: 4
RecoilRecovery: 0.8
LocalOffset: 0,-2,0,-3,0
AttackTurreted:
RenderUnitTurreted:
AutoTarget:
InitialStance: Defend
Explodes:
Weapon: UnitExplodeSmall
EmptyWeapon: UnitExplodeSmall
Selectable:
Bounds: 30,30
^COMBAT.Husk:
Inherits: ^Husk
Health:
HP: 100
ThrowsParticle@turret:
Anim: turret
Spread: 3,3
Speed: 6
AnimKey: turret
SIEGETANK:
Inherits: ^Tank
Buildable:
Queue: Armor
Prerequisites: Heavy Factory,Outpost
Owner: atreides, harkonnen, ordos
BuiltAt: heavya, heavyh, heavyo
BuildPaletteOrder: 30
Hotkey: t
Valued:
Cost: 850
Tooltip:
Name: Siege Tank
Description: Siege Artillery\n Strong vs Infantry, Buildings\n Weak vs Tanks, Aircraft
Icon: siegetankicon
Health:
HP: 85
Armor:
Type: Light
Mobile:
Speed: 5
ROT: 3
Crushes: crate, infantry
RevealsShroud:
Range: 5
Turreted:
ROT: 3
Armament:
Weapon: 155mm
Recoil: 7
RecoilRecovery: 0.45
LocalOffset: 0,-4,0,-7,0
AttackFrontal:
RenderUnitTurreted:
Image: SIEGETANK
Explodes:
Weapon: UnitExplodeScale
EmptyWeapon: UnitExplodeScale
AutoTarget:
InitialStance: Defend
Selectable:
Bounds: 30,30
LeavesHusk:
HuskActor: Siegetank.Husk
SIEGETANK.Husk:
Inherits: ^Husk
Tooltip:
Icon: siegetankicon
ThrowsParticle@turret:
Anim: turret
Spread: 3,3
Speed: 6
AnimKey: turret
RenderUnit:
Image: SIEGETANK
SIEGETANK.starport:
Inherits: SIEGETANK
Buildable:
Queue: Starport
BuiltAt: starporta, starporth, starporto
Valued:
Cost: 594
MISSILETANK:
Inherits: ^Tank
Valued:
Cost: 1000
Tooltip:
Name: Rocket Tank
Description: Rocket Artillery\n Strong vs Vehicles, Buildings\n Weak vs Infantry, Aircraft
Icon: missiletankicon
Buildable:
Queue: Armor
Prerequisites: Heavy Factory,High Tech Facility
Owner: atreides, harkonnen
BuiltAt: heavya, heavyh
BuildPaletteOrder: 40
Hotkey: r
Mobile:
Speed: 6
ROT: 3
Health:
HP: 110
Armor:
Type: Light
RevealsShroud:
Range: 6
RenderUnit:
Image: MISSILETANK
Armament:
Weapon: 227mm
LocalOffset: 3,5,0,-4,0, -6,5,0,-4,0
AttackFrontal:
AutoTarget:
InitialStance: Defend
Explodes:
Weapon: UnitExplodeScale
EmptyWeapon: UnitExplodeScale
Selectable:
Bounds: 30,30
LeavesHusk:
HuskActor: Missiletank.Husk
MISSILETANK.Husk:
Inherits: ^Husk
Tooltip:
Icon: missiletankicon
RenderUnit:
Image: MISSILETANK
MISSILETANK.starport:
Inherits: MISSILETANK
Buildable:
Queue: Starport
Owner: atreides, harkonnen, ordos
BuiltAt: starporta, starporth, starporto
Valued:
Cost: 699