Files
OpenRA/mods/ra/rules/ships.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

260 lines
4.4 KiB
YAML

SS:
Inherits: ^Ship
Buildable:
Queue: Ship
BuildPaletteOrder: 50
Prerequisites: spen
BuiltAt: spen
Owner: soviet
Hotkey: b
Valued:
Cost: 950
Tooltip:
Name: Submarine
Description: Submerged anti-ship unit armed with \ntorpedoes.\n Strong vs Ships\n Weak vs Everything\n Special Ability: Submerge
Health:
HP: 250
Armor:
Type: Light
Mobile:
ROT: 4
Speed: 5
RevealsShroud:
Range: 6
-TargetableUnit:
TargetableSubmarine:
TargetTypes: Ground, Water
CloakedTargetTypes: Underwater
RenderUnit:
Cloak:
InitialDelay: 0
CloakDelay: 50
CloakSound: subshow1.aud
UncloakSound: subshow1.aud
Armament:
Weapon: TorpTube
LocalOffset: -4,0,0,0,0, 4,0,0,0,0
FireDelay: 2
AttackFrontal:
Selectable:
Bounds: 38,38
Chronoshiftable:
IronCurtainable:
RepairableNear:
-DetectCloaked:
AutoTarget:
InitialStance: HoldFire
AttackMove:
MSUB:
Inherits: ^Ship
Buildable:
Queue: Ship
BuildPaletteOrder: 60
Prerequisites: spen,stek
BuiltAt: spen
Owner: soviet
Hotkey: m
Valued:
Cost: 2400
Tooltip:
Name: Missile Submarine
Description: Submerged anti-ground unit armed with \nlong-range ballistic missiles.\n Strong vs Buildings\n Weak vs Everything\n Special Ability: Submerge
Health:
HP: 400
Armor:
Type: Light
Mobile:
ROT: 3
Speed: 3
RevealsShroud:
Range: 6
RenderUnit:
-TargetableUnit:
TargetableSubmarine:
TargetTypes: Ground, Water
CloakedTargetTypes: Underwater
Cloak:
InitialDelay: 0
CloakDelay: 100
CloakSound: subshow1.aud
UncloakSound: subshow1.aud
Armament:
Weapon: SubMissile
FireDelay: 2
AttackFrontal:
Selectable:
Bounds: 44,44
Chronoshiftable:
IronCurtainable:
RepairableNear:
-DetectCloaked:
AutoTarget:
InitialStance: HoldFire
AttackMove:
DD:
Inherits: ^Ship
Buildable:
Queue: Ship
BuildPaletteOrder: 70
Prerequisites: syrd,dome
BuiltAt: syrd
Owner: allies
Hotkey: r
Valued:
Cost: 1000
Tooltip:
Name: Destroyer
Description: Fast multi-role ship. \n Strong vs Submarines, Aircraft\n Weak vs Infantry, Tanks
Health:
HP: 400
Armor:
Type: Heavy
Mobile:
ROT: 7
Speed: 6
RevealsShroud:
Range: 6
Turreted:
ROT: 7
Offset: 0,-8,0,-3
Armament@PRIMARY:
Weapon: Stinger
LocalOffset: -4,0,0,0,-20, 4,0,0,0,20
Armament@SECONDARY:
Weapon: DepthCharge
AttackTurreted:
Selectable:
Bounds: 38,38
RenderUnitTurreted:
AutoTarget:
Chronoshiftable:
IronCurtainable:
RepairableNear:
DetectCloaked:
Range: 4
RenderDetectionCircle:
CA:
Inherits: ^Ship
Buildable:
Queue: Ship
BuildPaletteOrder: 100
Prerequisites: syrd,atek
BuiltAt: syrd
Owner: allies
Hotkey: c
Valued:
Cost: 2400
Tooltip:
Name: Cruiser
Description: Very slow long-range ship. \n Strong vs Buildings\n Weak vs Ships, Submarines
Health:
HP: 800
Armor:
Type: Heavy
Mobile:
ROT: 2
Speed: 2
RevealsShroud:
Range: 7
Turreted@PRIMARY:
Turret: primary
Offset: 0,17,0,-2
ROT: 3
Turreted@SECONDARY:
Turret: secondary
Offset: 0,-17,0,-2
ROT: 3
Armament@PRIMARY:
Turret: primary
Weapon: 8Inch
LocalOffset: -4,-5,0,0,0, 4,-5,0,0,0
Recoil: 4
RecoilRecovery: 0.8
Armament@SECONDARY:
Turret: secondary
Weapon: 8Inch
LocalOffset: -4,-5,0,0,0, 4,-5,0,0,0
Recoil: 4
RecoilRecovery: 0.8
AttackTurreted:
Selectable:
Bounds: 44,44
RenderUnitTurreted:
AutoTarget:
Chronoshiftable:
IronCurtainable:
RepairableNear:
LST:
Inherits: ^Ship
Buildable:
Queue: Ship
BuildPaletteOrder: 30
Owner: allies,soviet
Hotkey: t
Valued:
Cost: 700
Tooltip:
Name: Transport
Description: General-purpose naval transport.\nCan carry infantry and tanks.\n Unarmed
Health:
HP: 350
Armor:
Type: Heavy
Mobile:
ROT: 10
Speed: 8
RevealsShroud:
Range: 6
RenderUnit:
Cargo:
Types: Infantry, Vehicle
MaxWeight: 5
PipCount: 5
IronCurtainable:
RepairableNear:
AttackMove:
JustMove: true
PT:
Inherits: ^Ship
Buildable:
Queue: Ship
BuildPaletteOrder: 50
Prerequisites: syrd
BuiltAt: syrd
Owner: allies
Hotkey: g
Valued:
Cost: 500
Tooltip:
Name: Gunboat
Description: Light scout & support ship. \n Strong vs Ships, Submarines\n Weak vs Aircraft
Health:
HP: 200
Armor:
Type: Heavy
Mobile:
ROT: 7
Speed: 9
RevealsShroud:
Range: 7
Turreted:
ROT: 7
Offset: 0,-6,0,-1
Armament@PRIMARY:
Weapon: 2Inch
Armament@SECONDARY:
Weapon: DepthCharge
AttackTurreted:
Selectable:
Bounds: 32,32
RenderUnitTurreted:
AutoTarget:
Chronoshiftable:
IronCurtainable:
RepairableNear: