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

177 lines
2.9 KiB
YAML

^CARRYALL:
Inherits: ^Helicopter
Valued:
Cost: 1200
Tooltip:
Name: Carryall
Description: Fast drop ship.\n Unarmed
Icon: carryallicon
Health:
HP: 250
Armor:
Type: Light
RevealsShroud:
Range: 12
Helicopter:
InitialFacing: 0
ROT: 4
Speed: 20
LandableTerrainTypes: Sand, Rock, Transition, Spice, Dune
RepairBuildings: repair
RearmBuildings: starporta,starporto,starporth
MinimalLandAltitude: 25
SmokeTrailWhenDamaged@0:
Offset: 15, -12
Interval: 3
SmokeTrailWhenDamaged@1:
Offset: -15, -12
Interval: 3
RenderUnit:
RenderCargo:
RelativeAltitude: 20
WithShadow:
Cargo:
Types: Vehicle
MaxWeight: 1
PipCount: 1
minimalUnloadAltitude: 25
FallsToEarth:
Spins: no
Moves: yes
Explosion: UnitExplodeScale
FRIGATE:
ParaDrop:
LZRange: 1
Inherits: ^Plane
Tooltip:
Name: Frigate
Description: Supply spacecraft
Plane:
ROT: 5
Speed: 30
RepairBuildings: repair
RearmBuildings: starporta,starporto,starporth
Health:
HP: 500
-TargetableAircraft:
-AppearsOnRadar:
Armor:
Type: Heavy
RenderUnit:
Image: frigate
WithShadow:
Cargo:
MaxWeight: 20
PipCount: 10
Invulnerable:
-Selectable:
-GainsExperience:
FlyAwayOnIdle:
ORNI:
Inherits: ^Helicopter
Valued:
Cost: 1000
Tooltip:
Name: Ornithopter
Description: Helicopter Gunship with Chainguns.\n Strong vs Infantry, Light Vehicles.\n Weak vs Tanks
Health:
HP: 150
Armor:
Type: Light
RevealsShroud:
Range: 10
Armament:
Weapon: ChainGun
LocalOffset: -5,-2,0,2,0
AttackHeli:
FacingTolerance: 20
Helicopter:
LandWhenIdle: false
InitialFacing: 20
ROT: 6
Speed: 30
RepairBuildings: repair
RearmBuildings: starporta,starporto,starporth
RenderUnit:
WithShadow:
Selectable:
Bounds: 38,32,0,0
FallsToEarth:
Spins: no
Moves: yes
Explosion: UnitExplodeScale
SmokeTrailWhenDamaged:
Offset: 0,-10
ORNI.bomber:
CarpetBomb:
Range: 3
Weapon: Napalm
Inherits: ^Plane
Health:
HP: 100
Armor:
Type: Light
Plane:
ROT: 5
Speed: 35
RepairBuildings: repair
RearmBuildings: starporta,starporto,starporth
LimitedAmmo:
Ammo: 5
RenderUnit:
Image: orni
WithShadow:
-Selectable:
-GainsExperience:
Tooltip:
Name: Ornithopter
FallsToEarth:
Spins: no
Moves: yes
Explosion: UnitExplodeScale
SmokeTrailWhenDamaged:
Offset: 0,-10
CARRYALL.infantry:
ParaDrop:
LZRange: 5
Inherits: ^Plane
Health:
HP: 200
Armor:
Type: Light
Plane:
ROT: 4
Speed: 25
RepairBuildings: repair
RearmBuildings: starporta,starporto,starporth
SmokeTrailWhenDamaged@0:
Offset: 15, -12
Interval: 3
SmokeTrailWhenDamaged@1:
Offset: -15, -12
Interval: 3
RenderUnit:
Image: carryall
WithShadow:
Cargo:
MaxWeight: 5
Types: Infantry
-Selectable:
-GainsExperience:
Tooltip:
Name: Carryall
FallsToEarth:
Spins: no
Moves: yes
Explosion: UnitExplodeScale
BADR:
Inherits: CARRYALL.infantry
ParaDrop:
LZRange: 4
Tooltip:
Name: Crate Carryall