From e7d1407458ef72adde46a53091bc77f07b0563f3 Mon Sep 17 00:00:00 2001 From: Chris Forbes Date: Wed, 13 Jan 2010 10:13:55 +1300 Subject: [PATCH] fixed turret InitialFacing and ROT --- RulesConverter/Program.cs | 5 +++++ aftermath.yaml | 1 + ra.yaml | 13 +++++++++++++ 3 files changed, 19 insertions(+) diff --git a/RulesConverter/Program.cs b/RulesConverter/Program.cs index abfef1565a..0adc47da5f 100644 --- a/RulesConverter/Program.cs +++ b/RulesConverter/Program.cs @@ -144,6 +144,11 @@ namespace RulesConverter { "Minelayer", new PL { { "Mine", "Primary" } } }, + + { "Turreted", new PL { + { "ROT", "ROT" }, + { "InitialFacing", "InitialFacing" } } + }, }; traitMap["RenderUnit"] = traitMap["RenderBuilding"]; diff --git a/aftermath.yaml b/aftermath.yaml index 60f7a3fc79..5a844c5c9a 100644 --- a/aftermath.yaml +++ b/aftermath.yaml @@ -8,6 +8,7 @@ STNK: Mobile: MovementType: Track Turreted: + ROT: 5 AttackTurreted: PrimaryWeapon: APTusk Recoil: 2 diff --git a/ra.yaml b/ra.yaml index 9c64aa11c4..896b76af13 100644 --- a/ra.yaml +++ b/ra.yaml @@ -40,6 +40,7 @@ V2RL: Mobile: MovementType: Track Turreted: + ROT: 5 AttackTurreted: PrimaryWeapon: 75mm Recoil: 2 @@ -65,6 +66,7 @@ V2RL: Mobile: MovementType: Track Turreted: + ROT: 5 AttackTurreted: PrimaryWeapon: 90mm Recoil: 3 @@ -90,6 +92,7 @@ V2RL: Mobile: MovementType: Track Turreted: + ROT: 5 AttackTurreted: PrimaryWeapon: 105mm Recoil: 3 @@ -115,6 +118,7 @@ V2RL: Mobile: MovementType: Track Turreted: + ROT: 5 AttackTurreted: PrimaryWeapon: 120mm PrimaryLocalOffset: -4,-5,0,4,-5,0 @@ -254,6 +258,7 @@ JEEP: Sight: 6 Speed: 10 Turreted: + ROT: 10 AttackTurreted: PrimaryWeapon: M60mg PrimaryOffset: 0,0,0,-2 @@ -397,6 +402,7 @@ DD: Speed: 6 WaterBound: yes Turreted: + ROT: 7 AttackTurreted: PrimaryWeapon: Stinger PrimaryOffset: 0,-8,0,-3 @@ -424,6 +430,7 @@ CA: Speed: 4 WaterBound: yes Turreted: + ROT: 5 AttackTurreted: PrimaryWeapon: 8Inch PrimaryOffset: 0,17,0,-2 @@ -475,6 +482,7 @@ PT: Speed: 9 WaterBound: yes Turreted: + ROT: 7 AttackTurreted: PrimaryWeapon: 2Inch PrimaryOffset: 0,-6,0,-1 @@ -784,6 +792,8 @@ GUN: InitialFacing: 50 Sight: 6 Turreted: + ROT: 12 + InitialFacing: 50 RenderBuildingTurreted: AttackTurreted: PrimaryWeapon: TurretGun @@ -813,6 +823,8 @@ AGUN: InitialFacing: 224 Sight: 6 Turreted: + ROT: 15 + InitialFacing: 224 RenderBuildingTurreted: AttackTurreted: PrimaryWeapon: ZSU-23 @@ -892,6 +904,7 @@ SAM: Crewed: yes Sight: 5 Turreted: + ROT: 30 RenderBuildingTurreted: AttackTurreted: PrimaryWeapon: Nike