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

521 lines
8.9 KiB
YAML

MCV:
Inherits: ^Vehicle
Valued:
Cost: 2000
Tooltip:
Name: Mobile Construction Vehicle
Icon: mcvicnh
Description: Deploys into another Construction Yard.\n Unarmed
Buildable:
BuildPaletteOrder: 100
Prerequisites: fix
Owner: gdi,nod
Selectable:
Priority: 3
Mobile:
Speed: 4
Health:
HP: 750
Armor:
Type: Light
RevealsShroud:
Range: 8
Transforms:
IntoActor: fact
Offset:-1,-1
Facing: 108
TransformSounds: constru2.aud, hvydoor1.aud
NoTransformSounds: deploy1.aud
RenderUnit:
MustBeDestroyed:
AttackMove:
JustMove:true
BaseBuilding:
LeavesHusk:
HuskActor: MCV.Husk
-GainsExperience:
-AcceptsCloakCrate:
Explodes:
Weapon: UnitExplodeSmall
EmptyWeapon: UnitExplodeSmall
HARV:
Inherits: ^Tank
Valued:
Cost: 1200
Tooltip:
Name: Harvester
Icon: harvicnh
Description: Collects Tiberium for processing.\n Unarmed
Buildable:
BuildPaletteOrder: 10
Prerequisites: proc
Owner: gdi,nod
Selectable:
Priority: 7
Bounds: 36,36
Harvester:
Resources: Tiberium, BlueTiberium
PipCount: 5
Capacity: 15
# How far away from our linked proc (refinery) to find resources (in cells):
SearchFromProcRadius: 24
# How far away from last harvest order location to find more resources (in cells):
SearchFromOrderRadius: 12
Mobile:
Speed: 6
Health:
HP: 600
Armor:
Type: Heavy
RevealsShroud:
Range: 4
RenderUnit:
AttackMove:
JustMove:true
LeavesHusk:
HuskActor: HARV.Husk
-GainsExperience:
APC:
Inherits: ^Tank
Valued:
Cost: 700
Tooltip:
Name: Armored Personnel Carrier
Icon: apcicnh
Description: Armored infantry transport and mobile AA\n Strong vs Aircraft\n Weak vs Tanks, Infantry
Buildable:
BuildPaletteOrder: 30
Prerequisites: pyle
Owner: gdi
Mobile:
ROT: 8
Speed: 9
Health:
HP: 200
Armor:
Type: Heavy
RevealsShroud:
Range: 7
Turreted:
ROT: 10
Armament@PRIMARY:
Weapon: APCGun
LocalOffset: 2,-2,0,-7,0, -2,-2,0,-7,0
Armament@SECONDARY:
Weapon: APCGun.AA
LocalOffset: 2,-2,0,-7,0, -2,-2,0,-7,0
AttackTurreted:
WithMuzzleFlash:
RenderUnitTurreted:
AutoTarget:
Cargo:
Types: Infantry
MaxWeight: 5
PipCount: 5
UnloadFacing: 220
LeavesHusk:
HuskActor: APC.Husk
ARTY:
Inherits: ^Tank
Valued:
Cost: 600
Tooltip:
Name: Artillery
Icon:artyicnh
Description: Long-range artillery.\n Strong vs Infantry, Buildings\n Weak vs Tanks, Aircraft
Buildable:
BuildPaletteOrder: 40
Prerequisites: hq
Owner: nod
Mobile:
ROT: 2
Speed: 6
Health:
HP: 75
Armor:
Type: Light
RevealsShroud:
Range: 9
Armament:
Weapon: ArtilleryShell
LocalOffset: 0,-7,0,-3,0
AttackFrontal:
RenderUnit:
Explodes:
AutoTarget:
InitialStance: Defend
LeavesHusk:
HuskActor: ARTY.Husk
FTNK:
Inherits: ^Tank
Valued:
Cost: 800
Tooltip:
Name: Flame Tank
Icon: ftnkicnh
Description: Heavily armored flame-throwing vehicle.\n Strong vs Infantry, Buildings\n Weak vs Aircraft
Buildable:
BuildPaletteOrder: 50
Prerequisites: hq
Owner: nod
Mobile:
ROT: 7
Speed: 8
Health:
HP: 350
Armor:
Type: Light
RevealsShroud:
Range: 5
Armament:
Weapon: BigFlamer
LocalOffset: 5,-5,3,2,0, -5,-5,3,2,0
AttackFrontal:
RenderUnit:
AutoTarget:
WithMuzzleFlash:
Explodes:
Weapon: FlametankExplode
EmptyWeapon: FlametankExplode
LeavesHusk:
HuskActor: FTNK.Husk
BGGY:
Inherits: ^Vehicle
Valued:
Cost: 300
Tooltip:
Name: Nod Buggy
Icon: bggyicnh
Description: Fast scout & anti-infantry vehicle.\n Strong vs Infantry\n Weak vs Tanks, Aircraft
Buildable:
BuildPaletteOrder: 20
Prerequisites: afld
Owner: nod
Mobile:
ROT: 12
Speed: 12
Health:
HP: 120
Armor:
Type: Light
RevealsShroud:
Range: 7
Turreted:
ROT: 10
Offset: 0,1,0,-3
Armament:
Weapon: MachineGun
AttackTurreted:
WithMuzzleFlash:
RenderUnitTurreted:
AutoTarget:
LeavesHusk:
HuskActor: BGGY.Husk
BIKE:
Inherits: ^Vehicle
Valued:
Cost: 500
Tooltip:
Name: Recon Bike
Icon: bikeicnh
Description: Fast scout vehicle, armed with \nrockets.\n Strong vs Vehicles, Aircraft\n Weak vs Infantry
Buildable:
BuildPaletteOrder: 30
Prerequisites: afld
Owner: nod
Mobile:
ROT: 12
Speed: 15
TerrainSpeeds:
Clear: 70
Rough: 35
Road: 100
Tiberium: 35
BlueTiberium: 35
Beach: 35
Health:
HP: 120
Armor:
Type: Light
RevealsShroud:
Range: 8
Armament:
Weapon: BikeRockets
LocalOffset: -4,0,0,-2,25, 4,0,0,-2,-25
AttackFrontal:
RenderUnit:
AutoTarget:
LeavesHusk:
HuskActor: BIKE.Husk
JEEP:
Inherits: ^Vehicle
Valued:
Cost: 400
Tooltip:
Name: Hum-Vee
Icon: jeepicnh
Description: Fast scout & anti-infantry vehicle.\n Strong vs Infantry\n Weak vs Tanks, Aircraft
Buildable:
BuildPaletteOrder: 20
Prerequisites: weap
Owner: gdi
Mobile:
ROT: 11
Speed: 11
Health:
HP: 160
Armor:
Type: Light
RevealsShroud:
Range: 8
Turreted:
ROT: 10
Offset: 0,2,0,-4
Armament:
Weapon: MachineGun
AttackTurreted:
WithMuzzleFlash:
RenderUnitTurreted:
AutoTarget:
LeavesHusk:
HuskActor: JEEP.Husk
LTNK:
Inherits: ^Tank
Valued:
Cost: 600
Tooltip:
Name: Light Tank
Icon: ltnkicnh
Description: Light Tank, good for scouting.\n Strong vs Light Vehicles\n Weak vs Tanks, Aircraft
Buildable:
BuildPaletteOrder: 40
Prerequisites: hq
Owner: nod
Mobile:
ROT: 7
Speed: 8
Health:
HP: 300
Armor:
Type: Heavy
RevealsShroud:
Range: 6
Turreted:
ROT: 5
Armament:
Weapon: 70mm
Recoil: 2
RecoilRecovery: 0.4
LocalOffset: 0,3,0,-2,0
AttackTurreted:
RenderUnitTurreted:
AutoTarget:
LeavesHusk:
HuskActor: LTNK.Husk
Explodes:
Weapon: UnitExplodeSmall
EmptyWeapon: UnitExplodeSmall
MTNK:
Inherits: ^Tank
Valued:
Cost: 800
Tooltip:
Name: Medium Tank
Icon: mtnkicnh
Description: General-Purpose GDI Tank.\n Strong vs Tanks, Light Vehicles\n Weak vs Infantry, Aircraft
Buildable:
BuildPaletteOrder: 40
Prerequisites: hq
Owner: gdi
Mobile:
Speed: 6
Health:
HP: 400
Armor:
Type: Heavy
RevealsShroud:
Range: 6
Turreted:
ROT: 5
Armament:
Weapon: 120mm
Recoil: 3
RecoilRecovery: 0.6
LocalOffset: 0,0,0,-1,0
AttackTurreted:
RenderUnitTurreted:
AutoTarget:
LeavesHusk:
HuskActor: MTNK.Husk
Explodes:
Weapon: UnitExplodeSmall
EmptyWeapon: UnitExplodeSmall
Selectable:
Bounds: 28,28
HTNK:
Inherits: ^Tank
Valued:
Cost: 1500
Tooltip:
Name: Mammoth Tank
Icon: htnkicnh
Description: Heavily armored GDI Tank.\n Strong vs Everything
Buildable:
BuildPaletteOrder: 60
Prerequisites: eye
Owner: gdi
Mobile:
Crushes: wall, heavywall, crate, infantry
Speed: 3
Health:
HP: 600
Armor:
Type: Heavy
RevealsShroud:
Range: 6
Turreted:
ROT: 2
Armament@PRIMARY:
Weapon: 120mmDual
LocalOffset: -5,-5,0,-10,0, 5,-5,0,-10,0
Recoil: 4
RecoilRecovery: 1
Armament@SECONDARY:
Weapon: MammothMissiles
LocalOffset: -9,2,0,0,25, 9,2,0,0,-25
Recoil: 1
AttackTurreted:
RenderUnitTurreted:
AutoTarget:
SelfHealing:
Ticks: 10
HealIfBelow: 50%
DamageCooldown: 200
LeavesHusk:
HuskActor: HTNK.Husk
Explodes:
Weapon: UnitExplodeSmall
EmptyWeapon: UnitExplodeSmall
Selectable:
Bounds: 34,34,0,-3
MSAM:
Inherits: ^Tank
Valued:
Cost: 1200
Tooltip:
Name: Rocket Launcher
Icon: msamicnh
Description: Long range artillery.\n Strong vs Infantry, Buildings\n Weak vs Tanks, Aircraft
Buildable:
BuildPaletteOrder: 50
Prerequisites: hq
Owner: gdi
Mobile:
Speed: 8
Health:
HP: 120
Armor:
Type: Light
RevealsShroud:
Range: 10
Turreted:
ROT: 255
Offset: 0,6,0,-3
Armament:
Weapon: 227mm
LocalOffset: 3,-5,0,0,0, -3,-5,0,0,0
AttackFrontal:
RenderUnitTurretedAim:
AutoTarget:
LeavesHusk:
HuskActor: MSAM.Husk
MLRS:
Inherits: ^Tank
Valued:
Cost: 750
Tooltip:
Name: Surface-to-Air Missile Launcher
Icon: mlrsicnh
Description: Powerful anti-air unit.\nCannot attack ground units.
# Buildable:
# BuildPaletteOrder: 70
# Prerequisites: hq
# Owner: nod
Mobile:
Speed: 6
Health:
HP: 120
Armor:
Type: Light
RevealsShroud:
Range: 10
Turreted:
ROT: 5
Offset: 0,3,0,-3
AlignWhenIdle: true
Armament@PRIMARY:
Weapon: Patriot
LocalOffset: -4,0,0,0,0
Armament@SECONDARY:
Weapon: Patriot
LocalOffset: 4,0,0,0,0
AttackTurreted:
RenderUnitTurretedAim:
AutoTarget:
Explodes:
Weapon: UnitExplodeSmall
EmptyWeapon: UnitExplodeSmall
RenderRangeCircle:
LeavesHusk:
HuskActor: MLRS.Husk
STNK:
Inherits: ^Vehicle
Valued:
Cost: 900
Tooltip:
Name: Stealth Tank
Icon: stnkicnh
Description: Missile tank that can bend light around \nitself to become invisible\n Strong vs Infantry, Aircraft\n Weak vs Tanks
Buildable:
BuildPaletteOrder: 90
Prerequisites: tmpl
Owner: nod
Mobile:
ROT: 8
Speed: 10
Crushes: crate, infantry
Health:
HP: 150
Armor:
Type: Light
RevealsShroud:
Range: 7
Cloak:
InitialDelay: 80
CloakDelay: 80
CloakSound: trans1.aud
UncloakSound: trans1.aud
Armament:
Weapon: 227mm.stnk
LocalOffset: 1,-5,0,-3,0, -1,-5,0,-3,0
AttackFrontal:
RenderUnit:
AutoTarget:
InitialStance: HoldFire
TargetableUnit:
LeavesHusk:
HuskActor: STNK.Husk