diff --git a/mods/ra/mod.yaml b/mods/ra/mod.yaml index 8d7e73fb86..29a184e8fd 100644 --- a/mods/ra/mod.yaml +++ b/mods/ra/mod.yaml @@ -38,6 +38,7 @@ Rules: mods/ra/rules/civilian.yaml mods/ra/rules/trees.yaml mods/ra/rules/aircraft.yaml + mods/ra/rules/ships.yaml Sequences: mods/ra/sequences.yaml diff --git a/mods/ra/rules/ships.yaml b/mods/ra/rules/ships.yaml new file mode 100644 index 0000000000..d0d0da522e --- /dev/null +++ b/mods/ra/rules/ships.yaml @@ -0,0 +1,230 @@ +SS: + Inherits: ^Ship + Buildable: + Queue: Ship + BuildPaletteOrder: 50 + Prerequisites: spen + BuiltAt: spen + Owner: soviet + 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: 2.0 + CloakSound: subshow1.aud + UncloakSound: subshow1.aud + AttackFrontal: + PrimaryWeapon: TorpTube + PrimaryLocalOffset: -4,0,0,4,0,0 + FireDelay: 2 + Selectable: + Bounds: 38,38 + Chronoshiftable: + IronCurtainable: + RepairableNear: + -DetectCloaked: + +MSUB: + Inherits: ^Ship + Buildable: + Queue: Ship + BuildPaletteOrder: 60 + Prerequisites: spen,stek + BuiltAt: spen + Owner: soviet + 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: 2.0 + CloakSound: subshow1.aud + UncloakSound: subshow1.aud + AttackFrontal: + PrimaryWeapon: SubMissile + FireDelay: 2 + Selectable: + Bounds: 44,44 + Chronoshiftable: + IronCurtainable: + RepairableNear: + -DetectCloaked: + +DD: + Inherits: ^Ship + Buildable: + Queue: Ship + BuildPaletteOrder: 70 + Prerequisites: syrd + BuiltAt: syrd + Owner: allies + 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 + AttackTurreted: + PrimaryWeapon: Stinger + SecondaryWeapon: DepthCharge + PrimaryOffset: 0,-8,0,-3 + PrimaryLocalOffset: -4,0,-20,4,0,20 + 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 + 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: + ROT: 3 + AttackTurreted: + PrimaryWeapon: 8Inch + SecondaryWeapon: 8Inch + PrimaryOffset: 0,17,0,-2 + SecondaryOffset: 0,-17,0,-2 + PrimaryLocalOffset: -4,-5,0,4,-5,0 + SecondaryLocalOffset: -4,-5,0,4,-5,0 + Recoil: 4 + Selectable: + Bounds: 44,44 + RenderUnitTurreted: + AutoTarget: + Chronoshiftable: + IronCurtainable: + RepairableNear: + +LST: + Inherits: ^Ship +# Buildable: +# Queue: Ship +# BuildPaletteOrder: 30 +# Owner: allies,soviet + 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: 14 + RevealsShroud: + Range: 6 + RenderUnit: + Cargo: + Types: Infantry, Vehicle + Passengers: 5 + IronCurtainable: + RepairableNear: + AttackMove: + JustMove: true + +PT: + Inherits: ^Ship + Buildable: + Queue: Ship + BuildPaletteOrder: 50 + Prerequisites: syrd + BuiltAt: syrd + Owner: allies + 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 + AttackTurreted: + PrimaryWeapon: 2Inch + SecondaryWeapon: DepthCharge + PrimaryOffset: 0,-6,0,-1 + Selectable: + Bounds: 32,32 + RenderUnitTurreted: + AutoTarget: + Chronoshiftable: + IronCurtainable: + RepairableNear: + diff --git a/mods/ra/rules/vehicles.yaml b/mods/ra/rules/vehicles.yaml index 13d5876eb9..87c75c4386 100644 --- a/mods/ra/rules/vehicles.yaml +++ b/mods/ra/rules/vehicles.yaml @@ -411,236 +411,6 @@ TRUK: SupplyTruck: Payload: 500 -SS: - Inherits: ^Ship - Buildable: - Queue: Ship - BuildPaletteOrder: 50 - Prerequisites: spen - BuiltAt: spen - Owner: soviet - 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: 2.0 - CloakSound: subshow1.aud - UncloakSound: subshow1.aud - AttackFrontal: - PrimaryWeapon: TorpTube - PrimaryLocalOffset: -4,0,0,4,0,0 - FireDelay: 2 - Selectable: - Bounds: 38,38 - Chronoshiftable: - IronCurtainable: - RepairableNear: - -DetectCloaked: - -MSUB: - Inherits: ^Ship - Buildable: - Queue: Ship - BuildPaletteOrder: 60 - Prerequisites: spen,stek - BuiltAt: spen - Owner: soviet - 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: 2.0 - CloakSound: subshow1.aud - UncloakSound: subshow1.aud - AttackFrontal: - PrimaryWeapon: SubMissile - FireDelay: 2 - Selectable: - Bounds: 44,44 - Chronoshiftable: - IronCurtainable: - RepairableNear: - -DetectCloaked: - -DD: - Inherits: ^Ship - Buildable: - Queue: Ship - BuildPaletteOrder: 70 - Prerequisites: syrd - BuiltAt: syrd - Owner: allies - 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 - AttackTurreted: - PrimaryWeapon: Stinger - SecondaryWeapon: DepthCharge - PrimaryOffset: 0,-8,0,-3 - PrimaryLocalOffset: -4,0,-20,4,0,20 - 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 - 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: - ROT: 3 - AttackTurreted: - PrimaryWeapon: 8Inch - SecondaryWeapon: 8Inch - PrimaryOffset: 0,17,0,-2 - SecondaryOffset: 0,-17,0,-2 - PrimaryLocalOffset: -4,-5,0,4,-5,0 - SecondaryLocalOffset: -4,-5,0,4,-5,0 - Recoil: 4 - Selectable: - Bounds: 44,44 - RenderUnitTurreted: - AutoTarget: - Chronoshiftable: - IronCurtainable: - RepairableNear: - -LST: - Inherits: ^Ship -# Buildable: -# Queue: Ship -# BuildPaletteOrder: 30 -# Owner: allies,soviet - 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: 14 - RevealsShroud: - Range: 6 - RenderUnit: - Cargo: - Types: Infantry, Vehicle - Passengers: 5 - IronCurtainable: - RepairableNear: - AttackMove: - JustMove: true - -PT: - Inherits: ^Ship - Buildable: - Queue: Ship - BuildPaletteOrder: 50 - Prerequisites: syrd - BuiltAt: syrd - Owner: allies - 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 - AttackTurreted: - PrimaryWeapon: 2Inch - SecondaryWeapon: DepthCharge - PrimaryOffset: 0,-6,0,-1 - Selectable: - Bounds: 32,32 - RenderUnitTurreted: - AutoTarget: - Chronoshiftable: - IronCurtainable: - RepairableNear: - 1TNK.Husk: Inherits: ^Husk Tooltip: