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

313 lines
4.9 KiB
YAML

BADR:
ParaDrop:
LZRange: 4
Inherits: ^Plane
Health:
HP: 60
Armor:
Type: Light
Plane:
ROT: 5
Speed: 16
RenderUnit:
WithShadow:
IronCurtainable:
Cargo:
MaxWeight: 10
-Selectable:
Tooltip:
Name: Badger
FallsToEarth:
Spins: no
Moves: yes
Explosion: UnitExplode
SmokeTrailWhenDamaged@0:
Offset: 11, -11
Interval: 2
SmokeTrailWhenDamaged@1:
Offset: -11, -11
Interval: 2
-EjectOnDeath:
-GpsDot:
BADR.bomber:
CarpetBomb:
Range: 3
Weapon: ParaBomb
Inherits: ^Plane
Health:
HP: 60
Armor:
Type: Light
Plane:
ROT: 5
Speed: 16
LimitedAmmo:
Ammo: 7
RenderUnit:
Image: badr
WithShadow:
IronCurtainable:
-Selectable:
Tooltip:
Name: Badger
FallsToEarth:
Spins: no
Moves: yes
Explosion: UnitExplode
SmokeTrailWhenDamaged@0:
Offset: 11, -11
Interval: 2
SmokeTrailWhenDamaged@1:
Offset: -11, -11
Interval: 2
-EjectOnDeath:
-GpsDot:
MIG:
Inherits: ^Plane
Buildable:
Queue: Plane
BuildPaletteOrder: 100
Prerequisites: afld
BuiltAt: afld
Owner: soviet
Valued:
Cost: 1200
Tooltip:
Name: Mig Attack Plane
Description: Fast Ground-Attack Plane.\n Strong vs Buildings\n Weak vs Infantry, Light Vehicles
Health:
HP: 50
Armor:
Type: Light
RevealsShroud:
Range: 12
Armament:
Weapon: Maverick
LocalOffset: -15,0,0,0,-10, 15,0,0,0,6
AttackPlane:
FacingTolerance: 20
Plane:
InitialFacing: 192
ROT: 5
Speed: 20
RearmBuildings: afld
RenderUnit:
WithShadow:
LimitedAmmo:
Ammo: 3
IronCurtainable:
ReturnOnIdle:
Selectable:
Bounds: 44,40,0,0
FallsToEarth:
Spins: no
Moves: yes
Explosion: UnitExplode
SmokeTrailWhenDamaged:
Offset: 0,-20,0,-4
Interval: 2
YAK:
Inherits: ^Plane
Buildable:
Queue: Plane
BuildPaletteOrder: 50
Prerequisites: afld
BuiltAt: afld
Owner: soviet
Valued:
Cost: 800
Tooltip:
Name: Yak Attack Plane
Description: Anti-Tanks & Anti-Infantry Plane.\n Strong vs Infantry, Tanks\n Weak vs Buildings
Health:
HP: 60
Armor:
Type: Light
RevealsShroud:
Range: 10
Armament@PRIMARY:
Weapon: ChainGun
LocalOffset: -5,-6,0,0,0
Armament@SECONDARY:
Weapon: ChainGun
LocalOffset: 5,-6,0,0,0
AttackPlane:
FacingTolerance: 20
Plane:
RearmBuildings: afld
InitialFacing: 192
ROT: 5
Speed: 16
RenderUnit:
WithShadow:
LimitedAmmo:
Ammo: 15
PipCount: 6
ReloadTicks: 11
IronCurtainable:
ReturnOnIdle:
WithMuzzleFlash:
FallsToEarth:
Spins: no
Moves: yes
Explosion: UnitExplode
SmokeTrailWhenDamaged:
Offset: 0, -20
Interval: 2
TRAN:
Inherits: ^Helicopter
Buildable:
Queue: Plane
BuildPaletteOrder: 110
Prerequisites: hpad
BuiltAt: hpad
Owner: soviet
Valued:
Cost: 1200
Tooltip:
Name: Transport Helicopter
Description: Fast Infantry Transport Helicopter.\n Unarmed
Health:
HP: 90
Armor:
Type: Light
RevealsShroud:
Range: 12
Helicopter:
RearmBuildings: hpad
InitialFacing: 0
ROT: 5
Speed: 12
LandableTerrainTypes: Clear,Rough,Road,Ore,Beach
RenderUnit:
WithRotor@PRIMARY:
Offset: 0,14,0,-8
WithRotor@SECONDARY:
Id: rotor_2
Offset: 0,-14,0,-5
WithShadow:
Cargo:
Types: Infantry
MaxWeight: 5
PipCount: 5
IronCurtainable:
FallsToEarth:
Explosion: UnitExplode
HELI:
Inherits: ^Helicopter
Buildable:
Queue: Plane
BuildPaletteOrder: 90
Prerequisites: hpad
BuiltAt: hpad
Owner: allies
Valued:
Cost: 1200
Tooltip:
Name: Longbow
Description: Helicopter AG Missiles.\n Strong vs Tanks\n Weak vs Infantry
Health:
HP: 225
Armor:
Type: Heavy
RevealsShroud:
Range: 12
Armament:
Weapon: HellfireAG
LocalOffset: -5,0,0,2,0
AttackHeli:
FacingTolerance: 20
Helicopter:
RearmBuildings: hpad
LandWhenIdle: false
InitialFacing: 20
ROT: 4
Speed: 16
RenderUnit:
WithRotor:
Offset: 0,0,0,-2
WithShadow:
LimitedAmmo:
Ammo: 6
IronCurtainable:
FallsToEarth:
Explosion: UnitExplode
SmokeTrailWhenDamaged:
Offset: 0,-10
HIND:
Inherits: ^Helicopter
Buildable:
Queue: Plane
BuildPaletteOrder: 90
Prerequisites: hpad
BuiltAt: hpad
Owner: soviet
Valued:
Cost: 1200
Tooltip:
Name: Hind
Description: Helicopter with Chainguns.\n Strong vs Infantry, Light Vehicles.\n Weak vs Tanks
Health:
HP: 225
Armor:
Type: Heavy
RevealsShroud:
Range: 10
Armament@PRIMARY:
Weapon: ChainGun
LocalOffset: -5,-2,0,2,0
Armament@SECONDARY:
Weapon: ChainGun
LocalOffset: 5,-2,0,2,0
AttackHeli:
FacingTolerance: 20
Helicopter:
RearmBuildings: hpad
LandWhenIdle: false
InitialFacing: 20
ROT: 4
Speed: 12
RenderUnit:
WithRotor:
WithShadow:
LimitedAmmo:
Ammo: 12
PipCount: 6
ReloadTicks: 8
IronCurtainable:
Selectable:
Bounds: 38,32,0,0
WithMuzzleFlash:
FallsToEarth:
Explosion: UnitExplode
SmokeTrailWhenDamaged:
Offset: 0,-10
U2:
Inherits: ^Plane
Health:
HP: 2000
Armor:
Type: Heavy
Plane:
ROT: 7
Speed: 40
RenderUnit:
WithShadow:
IronCurtainable:
-Selectable:
FallsToEarth:
Spins: no
Moves: yes
Explosion: UnitExplode
SmokeTrailWhenDamaged:
Offset: 0,-25
Interval: 2