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

195 lines
3.1 KiB
YAML

TRAN:
Inherits: ^Helicopter
Valued:
Cost: 750
Tooltip:
Name: Chinook Transport
Icon:tranicnh
Description: Fast Infantry Transport Helicopter.\n Unarmed
Buildable:
BuildPaletteOrder: 10
Prerequisites: hpad
BuiltAt: hpad
Owner: gdi,nod
Selectable:
Bounds: 41,41
Helicopter:
RearmBuildings: hpad
LandWhenIdle: true
ROT: 5
Speed: 15
InitialFacing: 0
LandableTerrainTypes: Clear,Rough,Road,Ore,Beach
Health:
HP: 90
Armor:
Type: Light
RevealsShroud:
Range: 8
RenderUnit:
WithRotor@PRIMARY:
Offset: 0,14,0,-4
WithRotor@SECONDARY:
Id: rotor_2
Offset: 0,-14,0,-2
WithShadow:
Cargo:
Types: Infantry
MaxWeight: 10
PipCount: 10
FallsToEarth:
Explosion: HeliCrash
Explodes:
Weapon: HeliExplode
EmptyWeapon: HeliExplode
HELI:
Inherits: ^Helicopter
Valued:
Cost: 1200
Tooltip:
Name: Apache Longbow
Icon: heliicnh
Description: Helicopter Gunship with Chainguns.\n Strong vs Infantry, Light Vehicles\n Weak vs Tanks
Buildable:
BuildPaletteOrder: 20
Prerequisites: hpad, hq
BuiltAt: hpad
Owner: nod
Selectable:
Bounds: 30,24
Helicopter:
RearmBuildings: hpad
ROT: 4
Speed: 20
Health:
HP: 125
Armor:
Type: Light
RevealsShroud:
Range: 8
Armament@PRIMARY:
Weapon: HeliAGGun
LocalOffset: -5,-3,0,2,0, 5,-3,0,2,0
Armament@SECONDARY:
Weapon: HeliAGGun
LocalOffset: -5,-3,0,2,0, 5,-3,0,2,0
AttackHeli:
FacingTolerance: 20
LimitedAmmo:
Ammo: 10
PipCount: 5
Reloads:
Count: 10
Period: 200
RenderUnit:
WithRotor:
Offset: 0,0,0,-2
WithMuzzleFlash:
WithShadow:
FallsToEarth:
Explosion: HeliCrash
AutoTarget:
Explodes:
Weapon: HeliExplode
EmptyWeapon: HeliExplode
ORCA:
Inherits: ^Helicopter
Valued:
Cost: 1200
Tooltip:
Name: Orca
Icon: orcaicnh
Description: Helicopter Gunship with AG Missiles.\n Strong vs Buildings, Tanks\n Weak vs Infantry
Buildable:
BuildPaletteOrder: 20
Prerequisites: hpad, hq
BuiltAt: hpad
Owner: gdi
Selectable:
Bounds: 30,24
Helicopter:
RearmBuildings: hpad
ROT: 4
Speed: 20
Health:
HP: 100
Armor:
Type: Light
RevealsShroud:
Range: 8
Armament@PRIMARY:
Weapon: OrcaAGMissiles
LocalOffset: -4,-10,0,5,0, 4,-10,0,5,0
Armament@SECONDARY:
Weapon: OrcaAAMissiles
LocalOffset: -4,-10,0,5,0, 4,-10,0,5,0
AttackHeli:
FacingTolerance: 20
LimitedAmmo:
Ammo: 10
PipCount: 5
Reloads:
Count: 2
Period: 100
RenderUnit:
WithShadow:
FallsToEarth:
Explosion: HeliCrash
AutoTarget:
Explodes:
Weapon: HeliExplode
EmptyWeapon: HeliExplode
C17:
ParaDrop:
LZRange: 1
Inherits: ^Plane
Tooltip:
Name: Supply Aircraft
Plane:
ROT: 5
Speed: 35
Health:
HP: 25
Armor:
Type: Heavy
RenderUnit:
WithShadow:
Cargo:
# Types: Infantry, Vehicle
MaxWeight: 10
PipCount: 10
Invulnerable:
-Selectable:
-TargetableUnit:
-GainsExperience:
FlyAwayOnIdle:
A10:
Inherits: ^Plane
Tooltip:
Name: A10 Bomber
Icon: a10icnh
Plane:
ROT: 4
Speed: 40
Health:
HP: 150
Armor:
Type: Heavy
RevealsShroud:
Range: 8
RenderUnit:
WithShadow:
LimitedAmmo:
Ammo: 10
CarpetBomb:
Weapon: Napalm
Range: 3
-Selectable:
-GainsExperience:
FlyAwayOnIdle: