Files
OpenRA/mods/ra-classic/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
9.1 KiB
YAML

V2RL:
Inherits: ^Vehicle
Buildable:
Queue: Vehicle
BuildPaletteOrder: 40
Prerequisites: weap,dome
Owner: soviet
Valued:
Cost: 700
Tooltip:
Name: V2 Rocket
Description: Long-range rocket artillery.\n Strong vs Infantry, Buildings\n Weak vs Tanks, Aircraft
Health:
HP: 150
Armor:
Type: Light
Mobile:
Speed: 7
RevealsShroud:
Range: 5
Armament:
Weapon: SCUD
AttackFrontal:
RenderUnitReload:
AutoTarget:
Explodes:
Weapon: SCUD
EmptyWeapon: SCUD
1TNK:
Inherits: ^Tank
Buildable:
Queue: Vehicle
BuildPaletteOrder: 40
Owner: allies
Valued:
Cost: 700
Tooltip:
Name: Light Tank
Description: Light Tank, good for scouting.\n Strong vs Light Vehicles\n Weak vs Tanks, Aircraft
Health:
HP: 300
Armor:
Type: Heavy
Mobile:
Speed: 9
Crushes: wall, atmine, crate, infantry
RevealsShroud:
Range: 4
Turreted:
ROT: 5
Armament:
Weapon: 25mm
Recoil: 2
RecoilRecovery: 0.5
AttackTurreted:
RenderUnitTurreted:
AutoTarget:
Explodes:
Weapon: UnitExplodeSmall
EmptyWeapon: UnitExplodeSmall
2TNK:
Inherits: ^Tank
Buildable:
Queue: Vehicle
BuildPaletteOrder: 60
Owner: allies
Valued:
Cost: 800
Tooltip:
Name: Medium Tank
Description: Allied Main Battle Tank.\n Strong vs Tanks, Light Vehicles\n Weak vs Infantry, Aircraft
Health:
HP: 400
Armor:
Type: Heavy
Mobile:
Speed: 8
Crushes: wall, atmine, crate, infantry
RevealsShroud:
Range: 5
Turreted:
ROT: 5
Armament:
Weapon: 90mm
Recoil: 3
RecoilRecovery: 0.9
AttackTurreted:
RenderUnitTurreted:
AutoTarget:
Explodes:
Weapon: UnitExplodeSmall
EmptyWeapon: UnitExplodeSmall
Selectable:
Bounds: 30,30
3TNK:
Inherits: ^Tank
Buildable:
Queue: Vehicle
BuildPaletteOrder: 40
Owner: soviet
Valued:
Cost: 950
Tooltip:
Name: Heavy Tank
Description: Soviet Main Battle Tank, with dual cannons\n Strong vs Tanks, Light Vehicles\n Weak vs Infantry, Aircraft
Health:
HP: 400
Armor:
Type: Heavy
Mobile:
Speed: 7
Crushes: wall, atmine, crate, infantry
RevealsShroud:
Range: 5
Turreted:
ROT: 5
Armament:
Weapon: 105mm
Recoil: 3
RecoilRecovery: 0.9
LocalOffset: 2,0,0,0,0, -2,0,0,0,0
AttackTurreted:
RenderUnitTurreted:
AutoTarget:
Explodes:
Weapon: UnitExplodeSmall
EmptyWeapon: UnitExplodeSmall
Selectable:
Bounds: 30,30
4TNK:
Inherits: ^Tank
Buildable:
Queue: Vehicle
BuildPaletteOrder: 100
Prerequisites: weap,stek
Owner: soviet
Valued:
Cost: 1700
Tooltip:
Name: Mammoth Tank
Description: Big and slow tank, with anti-air capability.\n Strong vs Tanks, Aircraft\n Weak vs Infantry
Health:
HP: 600
Armor:
Type: Heavy
Mobile:
Speed: 4
Crushes: wall, atmine, crate, infantry
RevealsShroud:
Range: 6
Turreted:
ROT: 2
Armament@PRIMARY:
Weapon: 120mm
LocalOffset: -4,-5,0,0,0, 4,-5,0,0,0
Recoil: 4
RecoilRecovery: 0.7
Armament@SECONDARY:
Weapon: MammothTusk
LocalOffset: -7,2,0,0,25, 7,2,0,0,-25
AttackTurreted:
RenderUnitTurreted:
AutoTarget:
Explodes:
Weapon: UnitExplodeSmall
EmptyWeapon: UnitExplodeSmall
SelfHealing:
Step: 1
Ticks: 1
HealIfBelow: 50%
DamageCooldown: 200
Selectable:
Bounds: 44,38,0,-4
ARTY:
Inherits: ^Tank
Buildable:
Queue: Vehicle
BuildPaletteOrder: 80
Owner: allies
Valued:
Cost: 600
Tooltip:
Name: Artillery
Description: Long-range artillery.\n Strong vs Infantry, Buildings\n Weak vs Tanks, Aircraft
Health:
HP: 75
Armor:
Type: Light
Mobile:
ROT: 2
Speed: 6
RevealsShroud:
Range: 5
Armament:
Weapon: 155mm
AttackFrontal:
RenderUnit:
Explodes:
Weapon: UnitExplode
Chance: 75
AutoTarget:
HARV:
Inherits: ^Vehicle
Buildable:
Queue: Vehicle
BuildPaletteOrder: 10
Prerequisites: proc
Owner: allies,soviet
Valued:
Cost: 1400
Tooltip:
Name: Ore Truck
Description: Collects Ore and Gems for processing.\n Unarmed
Selectable:
Priority: 7
Bounds: 42,42
Harvester:
Capacity: 20
Resources: Ore,Gems
UnloadTicksPerBale: 1
# 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
Health:
HP: 600
Armor:
Type: Heavy
Mobile:
Speed: 6
Crushes: wall, atmine, crate, infantry
RevealsShroud:
Range: 4
RenderHarvester:
-AttackMove:
GpsDot:
String:Harvester
Explodes:
Weapon: UnitExplodeSmall
EmptyWeapon: UnitExplodeSmall
MCV:
Inherits: ^Vehicle
Buildable:
Queue: Vehicle
BuildPaletteOrder: 110
Prerequisites: fix
Owner: allies,soviet
Valued:
Cost: 2500
Tooltip:
Name: Mobile Construction Vehicle
Description: Deploys into another Construction Yard.\n Unarmed
Selectable:
Priority: 3
Bounds: 42,42
Health:
HP: 600
Armor:
Type: Light
Mobile:
Speed: 6
Crushes: wall, atmine, crate, infantry
RevealsShroud:
Range: 4
Transforms:
IntoActor: fact
Offset:-1,-1
Facing: 96
TransformSounds: placbldg.aud, build5.aud
NoTransformSounds: nodeply1.aud
RenderUnit:
MustBeDestroyed:
Explodes:
Weapon: UnitExplodeSmall
EmptyWeapon: UnitExplodeSmall
BaseBuilding:
-AttackMove:
JEEP:
Inherits: ^Vehicle
Buildable:
Queue: Vehicle
BuildPaletteOrder: 30
Owner: allies
Valued:
Cost: 600
Tooltip:
Name: Ranger
Description: Fast scout & anti-infantry vehicle.\n Strong vs Infantry\n Weak vs Tanks, Aircraft
Health:
HP: 150
Armor:
Type: Light
Mobile:
ROT: 10
Speed: 10
RevealsShroud:
Range: 6
Turreted:
ROT: 10
Offset: 0,0,0,-2
Armament:
Weapon: M60mg
AttackTurreted:
WithMuzzleFlash:
RenderUnitTurreted:
Explodes:
Weapon: UnitExplodeSmall
EmptyWeapon: UnitExplodeSmall
AutoTarget:
APC:
Inherits: ^Tank
Buildable:
Queue: Vehicle
BuildPaletteOrder: 50
Owner: allies
Valued:
Cost: 800
Tooltip:
Name: Armored Personnel Carrier
Description: Tough infantry transport.\n Strong vs Infantry, Light Vehicles\n Weak vs Tanks, Aircraft
Health:
HP: 200
Armor:
Type: Heavy
Mobile:
Speed: 10
Crushes: wall, atmine, crate, infantry
RevealsShroud:
Range: 5
Armament:
Weapon: M60mg
LocalOffset: 0,0,0,-4,0
AttackFrontal:
RenderUnit:
WithMuzzleFlash:
AutoTarget:
Explodes:
Weapon: UnitExplodeSmall
EmptyWeapon: UnitExplodeSmall
Cargo:
Types: Infantry
MaxWeight: 5
PipCount: 5
UnloadFacing: 220
MNLY.AP:
Inherits: ^Tank
Buildable:
Queue: Vehicle
BuildPaletteOrder: 30
Prerequisites: fix
Owner: soviet
Valued:
Cost: 800
Tooltip:
Name: Minelayer (Anti-Personnel)
Icon: MNLYICON
Description: Lays mines to destroy unwary enemy units.\n Unarmed
Health:
HP: 100
Armor:
Type: Heavy
Mobile:
Speed: 9
Crushes: wall, atmine, crate, infantry
RevealsShroud:
Range: 5
RenderUnit:
Image: MNLY
Minelayer:
Mine: MINP
MineImmune:
LimitedAmmo:
Ammo: 5
AttackMove:
JustMove: true
Explodes:
Weapon: UnitExplodeSmall
EmptyWeapon: UnitExplodeSmall
MNLY.AT:
Inherits: ^Tank
Buildable:
Queue: Vehicle
BuildPaletteOrder: 30
Prerequisites: fix
Owner: allies
Valued:
Cost: 800
Tooltip:
Name: Minelayer (Anti-Tank)
Icon: MNLYICON
Description: Lays mines to destroy unwary enemy units.\n Unarmed
Health:
HP: 100
Armor:
Type: Heavy
Mobile:
Speed: 9
Crushes: wall, atmine, crate, infantry
ROT:
RevealsShroud:
Range: 5
RenderUnit:
Image: MNLY
Minelayer:
Mine: MINV
MineImmune:
LimitedAmmo:
Ammo: 3
AttackMove:
JustMove: true
Explodes:
Weapon: UnitExplodeSmall
EmptyWeapon: UnitExplodeSmall
TTNK:
Inherits: ^Tank
Buildable:
Queue: Vehicle
Prerequisites: tsla
Owner: soviet
Valued:
Cost: 1500
Tooltip:
Name: Tesla Tank
Description: Tank with mounted tesla coil.\n Strong vs Infantry.\n Weak vs Tanks
Health:
HP: 110
Armor:
Type: Light
Mobile:
Speed: 8
Crushes: wall, atmine, crate, infantry
RevealsShroud:
Range: 7
Armament:
Weapon: TTankZap
LocalOffset: 0,0,0,-5,0
AttackFrontal:
RenderUnitSpinner:
Selectable:
Bounds: 28,28,0,0
AutoTarget:
Explodes:
Weapon: UnitExplodeSmall
EmptyWeapon: UnitExplodeSmall
DTRK:
Inherits: ^Vehicle
Buildable:
Queue: Vehicle
BuildPaletteOrder: 140
Prerequisites: stek
Owner: soviet
Valued:
Cost: 2500
Tooltip:
Name: Demolition Truck
Description: Demolition Truck, actively armed with explosives.\n Strong vs Everything\n Weak vs Everything
Health:
HP: 50
Armor:
Type: Light
Mobile:
Speed: 6
RevealsShroud:
Range: 3
RenderUnit:
AttackMove:
JustMove: yes
Explodes:
Weapon: MiniNuke
EmptyWeapon: MiniNuke
DemoTruck:
-IronCurtainable:
Chronoshiftable:
ExplodeInstead: yes
CTNK:
Inherits: ^Vehicle
Buildable:
Queue: Vehicle
BuildPaletteOrder: 140
Prerequisites: atek
Owner: allies
Valued:
Cost: 1200
Tooltip:
Name: Chrono Tank
Description: Chrono Tank, teleports to areas within range.\n Strong vs Vehicles, Buildings\n Weak vs Tanks
Selectable:
Bounds: 28,28
Health:
HP: 260
Armor:
Type: Light
Mobile:
Speed: 8
RevealsShroud:
Range: 6
RenderUnit:
AutoTarget:
Armament@PRIMARY:
Weapon: ChronoTusk
LocalOffset: -4,0,0,0,0, -4,0,0,0,0
Armament@SECONDARY:
Weapon: ChronoTusk
LocalOffset: 4,0,0,0,25, 4,0,0,0,-25
AttackFrontal:
ChronoshiftDeploy:
EmptyWeapon: UnitExplodeSmall