From cfee4405c79c6b8196a6686eb109cdfd2f4fe1a8 Mon Sep 17 00:00:00 2001 From: Paul Chote Date: Wed, 28 Jul 2010 22:26:30 +1200 Subject: [PATCH] ra too --- mods/ra/civilian.yaml | 3 +- mods/ra/defaults.yaml | 4 +- mods/ra/infantry.yaml | 18 +++++--- mods/ra/structures.yaml | 99 +++++++++++++++++++++++++++-------------- mods/ra/system.yaml | 6 ++- mods/ra/vehicles.yaml | 75 ++++++++++++++++++++----------- 6 files changed, 134 insertions(+), 71 deletions(-) diff --git a/mods/ra/civilian.yaml b/mods/ra/civilian.yaml index 1421da9540..01498599e3 100644 --- a/mods/ra/civilian.yaml +++ b/mods/ra/civilian.yaml @@ -7,7 +7,8 @@ FCOM: Capturable: true HP: 400 Armor: wood - Sight: 10 + RevealsShroud: + Range: 10 Bib: V01: diff --git a/mods/ra/defaults.yaml b/mods/ra/defaults.yaml index ba8fa942ea..fea61d91b7 100644 --- a/mods/ra/defaults.yaml +++ b/mods/ra/defaults.yaml @@ -40,7 +40,8 @@ Category: Infantry Unit: Armor: none - Sight: 4 + RevealsShroud: + Range: 4 Mobile: Crushes: apmine TerrainTypes: Clear, Rough, Road, Tree, Water, Rock, Wall, Ore, Beach, River @@ -104,7 +105,6 @@ BuildSounds: placbldg.aud Capturable: false BaseNormal: no - Sight: 0 DamagedSound: sandbag2.aud DestroyedSound: sandbag2.aud Adjacent: 7 diff --git a/mods/ra/infantry.yaml b/mods/ra/infantry.yaml index dd3f54e6f8..5a0f0fd552 100644 --- a/mods/ra/infantry.yaml +++ b/mods/ra/infantry.yaml @@ -13,8 +13,9 @@ DOG: Bounds: 12,17,-1,-4 Unit: HP: 12 - Sight: 5 Speed: 7 + RevealsShroud: + Range: 5 AutoTarget: AttackLeap: PrimaryWeapon: DogJaw @@ -139,8 +140,9 @@ SPY: Bounds: 12,17,0,-9 Unit: HP: 25 - Sight: 5 Speed: 4 + RevealsShroud: + Range: 5 Passenger: ColorOfCargoPip: Yellow RenderSpy: @@ -164,8 +166,9 @@ E7: Bounds: 12,17,0,-9 Unit: HP: 100 - Sight: 6 Speed: 5 + RevealsShroud: + Range: 6 C4Demolition: C4Delay: .03 AttackBase: @@ -188,8 +191,9 @@ MEDI: Bounds: 12,17,0,-9 Unit: HP: 80 - Sight: 3 Speed: 4 + RevealsShroud: + Range: 3 Passenger: ColorOfCargoPip: Yellow AutoHeal: @@ -208,8 +212,9 @@ C1: Description: Technician Unit: HP: 20 - Sight: 2 Speed: 4 + RevealsShroud: + Range: 2 AttackBase: PrimaryWeapon: Pistol @@ -223,7 +228,8 @@ C2: Description: Technician Unit: HP: 20 - Sight: 2 Speed: 4 + RevealsShroud: + Range: 2 AttackBase: PrimaryWeapon: Pistol diff --git a/mods/ra/structures.yaml b/mods/ra/structures.yaml index 4e969429e2..c69dc7542d 100644 --- a/mods/ra/structures.yaml +++ b/mods/ra/structures.yaml @@ -17,7 +17,8 @@ MSLO: Dimensions: 2,1 HP: 400 Armor: heavy - Sight: 5 + RevealsShroud: + Range: 5 IronCurtainable: GAP: @@ -43,7 +44,8 @@ GAP: Capturable: true HP: 1000 Armor: wood - Sight: 10 + RevealsShroud: + Range: 10 IronCurtainable: SPEN: @@ -68,7 +70,8 @@ SPEN: HP: 1000 Armor: light WaterBound: yes - Sight: 4 + RevealsShroud: + Range: 4 ProductionSurround: Produces: Ship IronCurtainable: @@ -97,7 +100,8 @@ SYRD: HP: 1000 Armor: light WaterBound: yes - Sight: 4 + RevealsShroud: + Range: 4 ProductionSurround: Produces: Ship IronCurtainable: @@ -124,7 +128,8 @@ IRON: Capturable: true HP: 400 Armor: wood - Sight: 10 + RevealsShroud: + Range: 10 Bib: IronCurtainable: IronCurtain: @@ -149,7 +154,8 @@ PDOX: Capturable: true HP: 400 Armor: wood - Sight: 10 + RevealsShroud: + Range: 10 Bib: Chronosphere: Duration: 180 @@ -175,7 +181,8 @@ TSLA: Dimensions: 1,2 HP: 400 Armor: heavy - Sight: 8 + RevealsShroud: + Range: 8 RenderBuildingCharge: AttackTesla: PrimaryWeapon: TeslaZap @@ -204,7 +211,8 @@ AGUN: Dimensions: 1,2 HP: 400 Armor: heavy - Sight: 6 + RevealsShroud: + Range: 6 Turreted: ROT: 15 InitialFacing: 224 @@ -236,7 +244,8 @@ DOME: Capturable: true HP: 1000 Armor: wood - Sight: 10 + RevealsShroud: + Range: 10 Bib: ProvidesRadar: IronCurtainable: @@ -256,7 +265,8 @@ PBOX: Power: -15 HP: 400 Armor: wood - Sight: 6 + RevealsShroud: + Range: 6 AttackOmni: PrimaryWeapon: Vulcan AutoTarget: @@ -278,7 +288,8 @@ HBOX: Power: -15 HP: 600 Armor: wood - Sight: 6 + RevealsShroud: + Range: 6 AttackOmni: PrimaryWeapon: Vulcan AutoTarget: @@ -300,7 +311,8 @@ GUN: Power: -40 HP: 400 Armor: heavy - Sight: 7 + RevealsShroud: + Range: 7 Turreted: ROT: 12 InitialFacing: 50 @@ -327,7 +339,8 @@ FTUR: Power: -20 HP: 400 Armor: heavy - Sight: 6 + RevealsShroud: + Range: 6 AttackOmni: PrimaryWeapon: FireballLauncher PrimaryOffset: 0,0,12,8 @@ -352,7 +365,8 @@ SAM: Dimensions: 2,1 HP: 400 Armor: heavy - Sight: 5 + RevealsShroud: + Range: 5 Turreted: ROT: 30 InitialFacing: 0 @@ -382,7 +396,8 @@ ATEK: Capturable: true HP: 400 Armor: wood - Sight: 10 + RevealsShroud: + Range: 10 Bib: IronCurtainable: GpsLaunchSite: @@ -404,7 +419,8 @@ WEAP: Capturable: true HP: 1000 Armor: light - Sight: 4 + RevealsShroud: + Range: 4 Bib: RenderWarFactory: RallyPoint: @@ -421,7 +437,8 @@ FACT: Capturable: true HP: 1000 Armor: heavy - Sight: 5 + RevealsShroud: + Range: 5 Bib: Production: Produces: Building,Defense @@ -451,7 +468,8 @@ PROC: Capturable: true HP: 900 Armor: wood - Sight: 6 + RevealsShroud: + Range: 6 Bib: OreRefinery: OreRefineryDockAction: @@ -482,7 +500,8 @@ SILO: Capturable: true HP: 300 Armor: wood - Sight: 4 + RevealsShroud: + Range: 4 RenderBuildingOre: StoresOre: PipCount: 5 @@ -508,7 +527,8 @@ HPAD: Capturable: true HP: 800 Armor: wood - Sight: 5 + RevealsShroud: + Range: 5 Bib: Production: SpawnOffset: 0,-4 @@ -534,7 +554,8 @@ AFLD: Capturable: true HP: 1000 Armor: heavy - Sight: 7 + RevealsShroud: + Range: 7 Production: Produces: Plane BelowUnits: @@ -558,7 +579,8 @@ POWR: Capturable: true HP: 400 Armor: wood - Sight: 4 + RevealsShroud: + Range: 4 Bib: IronCurtainable: @@ -580,7 +602,8 @@ APWR: Capturable: true HP: 700 Armor: wood - Sight: 4 + RevealsShroud: + Range: 4 Bib: IronCurtainable: @@ -602,7 +625,8 @@ STEK: Capturable: true HP: 600 Armor: wood - Sight: 4 + RevealsShroud: + Range: 4 Bib: IronCurtainable: @@ -624,7 +648,8 @@ BARR: Capturable: true HP: 800 Armor: wood - Sight: 5 + RevealsShroud: + Range: 5 Bib: RallyPoint: Production: @@ -649,7 +674,8 @@ TENT: Capturable: true HP: 800 Armor: wood - Sight: 5 + RevealsShroud: + Range: 5 Bib: RallyPoint: Production: @@ -670,7 +696,8 @@ KENN: Power: -10 HP: 400 Armor: wood - Sight: 4 + RevealsShroud: + Range: 4 RallyPoint: Production: Produces: Infantry @@ -694,7 +721,8 @@ FIX: Capturable: true HP: 800 Armor: wood - Sight: 5 + RevealsShroud: + Range: 5 BelowUnits: Reservable: RallyPoint: @@ -717,7 +745,8 @@ FACF: Capturable: true BaseNormal: no HP: 30 - Sight: 4 + RevealsShroud: + Range: 4 Bib: RenderBuilding: Image: FACT @@ -742,7 +771,8 @@ WEAF: Capturable: true BaseNormal: no HP: 30 - Sight: 4 + RevealsShroud: + Range: 4 Bib: RenderWarFactory: RenderBuilding: @@ -774,7 +804,8 @@ SYRF: Adjacent: 8 HP: 30 WaterBound: yes - Sight: 4 + RevealsShroud: + Range: 4 RenderBuilding: Image: SYRD Fake: @@ -792,7 +823,8 @@ SPEF: Adjacent: 8 HP: 30 WaterBound: yes - Sight: 4 + RevealsShroud: + Range: 4 RenderBuilding: Image: SPEN Fake: @@ -818,7 +850,8 @@ DOMF: Capturable: true BaseNormal: no HP: 30 - Sight: 4 + RevealsShroud: + Range: 4 Bib: RenderBuilding: Image: DOME diff --git a/mods/ra/system.yaml b/mods/ra/system.yaml index 38bdfb9513..1167f229a1 100644 --- a/mods/ra/system.yaml +++ b/mods/ra/system.yaml @@ -252,14 +252,16 @@ CAMERA: Aircraft: Unit: HP:1000 - Sight: 10 TargetType: special + RevealsShroud: + Range: 10 FLARE: Unit: HP:1000 - Sight: 3 TargetType: special + RevealsShroud: + Range: 3 RenderFlare: Image: smokland HiddenUnderFog: diff --git a/mods/ra/vehicles.yaml b/mods/ra/vehicles.yaml index 4f5ba46c23..60f113be43 100644 --- a/mods/ra/vehicles.yaml +++ b/mods/ra/vehicles.yaml @@ -6,7 +6,6 @@ BADR: HP: 60 Armor: light ROT: 5 - Sight: 0 Speed: 16 Plane: RenderUnit: @@ -26,7 +25,6 @@ BADR.bomber: HP: 60 Armor: light ROT: 5 - Sight: 0 Speed: 16 Plane: LimitedAmmo: @@ -50,8 +48,9 @@ V2RL: Unit: HP: 150 Armor: light - Sight: 5 Speed: 7 + RevealsShroud: + Range: 5 AttackBase: PrimaryWeapon: SCUD RenderUnitReload: @@ -72,8 +71,9 @@ V2RL: Unit: HP: 300 Armor: heavy - Sight: 4 Speed: 9 + RevealsShroud: + Range: 4 Turreted: ROT: 5 AttackTurreted: @@ -99,8 +99,9 @@ V2RL: Unit: HP: 400 Armor: heavy - Sight: 5 Speed: 8 + RevealsShroud: + Range: 5 Turreted: ROT: 5 AttackTurreted: @@ -126,8 +127,9 @@ V2RL: Unit: HP: 550 Armor: heavy - Sight: 5 Speed: 6 + RevealsShroud: + Range: 5 Turreted: ROT: 5 AttackTurreted: @@ -153,8 +155,9 @@ V2RL: Unit: HP: 750 Armor: heavy - Sight: 6 Speed: 3 + RevealsShroud: + Range: 6 Turreted: ROT: 2 AttackTurreted: @@ -188,8 +191,9 @@ ARTY: HP: 75 Armor: light ROT: 2 - Sight: 5 Speed: 6 + RevealsShroud: + Range: 5 AttackBase: PrimaryWeapon: 155mm RenderUnit: @@ -213,8 +217,9 @@ HARV: Unit: HP: 600 Armor: heavy - Sight: 4 Speed: 6 + RevealsShroud: + Range: 4 RenderUnit: MCV: @@ -231,8 +236,9 @@ MCV: Unit: HP: 600 Armor: light - Sight: 4 Speed: 6 + RevealsShroud: + Range: 4 TransformsOnDeploy: TransformsInto: fact Offset:-1,-1 @@ -256,8 +262,9 @@ JEEP: HP: 150 Armor: light ROT: 10 - Sight: 8 Speed: 12 + RevealsShroud: + Range: 8 Turreted: ROT: 10 AttackTurreted: @@ -279,8 +286,9 @@ APC: Unit: HP: 200 Armor: heavy - Sight: 5 Speed: 10 + RevealsShroud: + Range: 5 AttackBase: PrimaryWeapon: M60mg PrimaryOffset: 0,0,0,-4 @@ -306,8 +314,9 @@ MNLY.AP: Unit: HP: 100 Armor: heavy - Sight: 5 Speed: 9 + RevealsShroud: + Range: 5 RenderUnit: Image: MNLY Minelayer: @@ -329,8 +338,9 @@ MNLY.AT: Unit: HP: 100 Armor: heavy - Sight: 5 Speed: 9 + RevealsShroud: + Range: 5 RenderUnit: Image: MNLY Minelayer: @@ -344,8 +354,9 @@ TRUK: Unit: HP: 110 Armor: light - Sight: 3 Speed: 10 + RevealsShroud: + Range: 3 RenderUnit: SS: @@ -362,8 +373,9 @@ SS: HP: 120 Armor: light ROT: 4 - Sight: 6 Speed: 5 + RevealsShroud: + Range: 6 RenderUnit: Cloak: InitialDelay: .4 @@ -392,8 +404,9 @@ MSUB: HP: 200 Armor: light ROT: 3 - Sight: 6 Speed: 3 + RevealsShroud: + Range: 6 RenderUnit: Cloak: InitialDelay: .4 @@ -421,8 +434,9 @@ DD: HP: 400 Armor: heavy ROT: 7 - Sight: 6 Speed: 6 + RevealsShroud: + Range: 6 Turreted: ROT: 7 AttackTurreted: @@ -449,8 +463,9 @@ CA: HP: 800 Armor: heavy ROT: 2 - Sight: 7 Speed: 2 + RevealsShroud: + Range: 7 Turreted: ROT: 3 AttackTurreted: @@ -479,8 +494,9 @@ LST: HP: 350 Armor: heavy ROT: 10 - Sight: 6 Speed: 14 + RevealsShroud: + Range: 6 RenderUnit: Cargo: PassengerTypes: Foot,Wheel,Track @@ -502,8 +518,9 @@ PT: HP: 200 Armor: heavy ROT: 7 - Sight: 7 Speed: 9 + RevealsShroud: + Range: 7 Turreted: ROT: 7 AttackTurreted: @@ -531,8 +548,9 @@ MIG: Armor: light InitialFacing: 192 ROT: 5 - Sight: 12 Speed: 20 + RevealsShroud: + Range: 12 AttackPlane: PrimaryWeapon: Maverick SecondaryWeapon: Maverick @@ -562,8 +580,9 @@ YAK: Armor: light InitialFacing: 192 ROT: 5 - Sight: 10 Speed: 16 + RevealsShroud: + Range: 10 AttackPlane: PrimaryWeapon: ChainGun SecondaryWeapon: ChainGun @@ -592,8 +611,9 @@ TRAN: Armor: light InitialFacing: 20 ROT: 5 - Sight: 12 Speed: 12 + RevealsShroud: + Range: 12 Helicopter: RearmBuildings: hpad RenderUnitRotor: @@ -620,8 +640,9 @@ HELI: Armor: light InitialFacing: 20 ROT: 4 - Sight: 12 Speed: 16 + RevealsShroud: + Range: 12 AttackHeli: PrimaryWeapon: Hellfire SecondaryWeapon: Hellfire @@ -651,8 +672,9 @@ HIND: Armor: light InitialFacing: 20 ROT: 4 - Sight: 12 Speed: 12 + RevealsShroud: + Range: 12 AttackHeli: PrimaryWeapon: ChainGun PrimaryOffset: -5,0,0,2 @@ -671,7 +693,6 @@ U2: HP: 2000 Armor: heavy ROT: 7 - Sight: 0 Speed: 40 Plane: RenderUnit: