From 70dc053c5fff820bb9fccb386cd20f874f50d6ea Mon Sep 17 00:00:00 2001 From: Punsho Date: Tue, 16 Jul 2019 18:06:45 +0300 Subject: [PATCH] RA balance changes --- mods/ra/rules/aircraft.yaml | 2 -- mods/ra/rules/defaults.yaml | 24 ++++++++------------- mods/ra/rules/infantry.yaml | 19 +++++------------ mods/ra/rules/misc.yaml | 4 +--- mods/ra/rules/ships.yaml | 2 -- mods/ra/rules/structures.yaml | 18 +++++++--------- mods/ra/rules/vehicles.yaml | 35 +++++++++++++------------------ mods/ra/weapons/ballistics.yaml | 2 +- mods/ra/weapons/missiles.yaml | 2 +- mods/ra/weapons/smallcaliber.yaml | 2 ++ mods/ra/weapons/superweapons.yaml | 2 +- 11 files changed, 41 insertions(+), 71 deletions(-) diff --git a/mods/ra/rules/aircraft.yaml b/mods/ra/rules/aircraft.yaml index 7ea5989c25..e0f73800c0 100644 --- a/mods/ra/rules/aircraft.yaml +++ b/mods/ra/rules/aircraft.yaml @@ -87,7 +87,6 @@ MIG: BuildAtProductionType: Plane BuildPaletteOrder: 50 Prerequisites: ~afld, stek, ~techlevel.high - BuildDurationModifier: 50 Description: Fast Ground-Attack Plane.\n Strong vs Buildings, Vehicles\n Weak vs Infantry, Aircraft Valued: Cost: 2000 @@ -277,7 +276,6 @@ HELI: BuildAtProductionType: Helicopter BuildPaletteOrder: 40 Prerequisites: ~hpad, atek, ~techlevel.high - BuildDurationModifier: 50 Description: Helicopter gunship armed\nwith multi-purpose missiles.\n Strong vs Buildings, Vehicles, Aircraft\n Weak vs Infantry Valued: Cost: 2000 diff --git a/mods/ra/rules/defaults.yaml b/mods/ra/rules/defaults.yaml index a113e56221..7074b44868 100644 --- a/mods/ra/rules/defaults.yaml +++ b/mods/ra/rules/defaults.yaml @@ -100,20 +100,9 @@ ReloadDelayMultiplier@RANK-ELITE: RequiresCondition: rank-elite Modifier: 75 - InaccuracyMultiplier@RANK-1: - RequiresCondition: rank-veteran == 1 - Modifier: 90 - InaccuracyMultiplier@RANK-2: - RequiresCondition: rank-veteran == 2 - Modifier: 80 - InaccuracyMultiplier@RANK-3: - RequiresCondition: rank-veteran == 3 - Modifier: 70 - InaccuracyMultiplier@RANK-ELITE: - RequiresCondition: rank-elite - Modifier: 50 SelfHealing@ELITE: - Step: 200 + Step: 0 + PercentageStep: 5 Delay: 100 HealIfBelow: 100 DamageCooldown: 125 @@ -123,6 +112,7 @@ Sequence: rank-veteran-1 Palette: effect ReferencePoint: Bottom, Right + ValidStances: Ally, Enemy, Neutral RequiresCondition: rank-veteran == 1 ZOffset: 256 WithDecoration@RANK-2: @@ -130,6 +120,7 @@ Sequence: rank-veteran-2 Palette: effect ReferencePoint: Bottom, Right + ValidStances: Ally, Enemy, Neutral RequiresCondition: rank-veteran == 2 ZOffset: 256 WithDecoration@RANK-3: @@ -137,6 +128,7 @@ Sequence: rank-veteran-3 Palette: effect ReferencePoint: Bottom, Right + ValidStances: Ally, Enemy, Neutral RequiresCondition: rank-veteran == 3 ZOffset: 256 WithDecoration@RANK-ELITE: @@ -144,6 +136,7 @@ Sequence: rank-elite Palette: effect ReferencePoint: Bottom, Right + ValidStances: Ally, Enemy, Neutral RequiresCondition: rank-elite ZOffset: 256 @@ -442,6 +435,9 @@ MapEditorData: Categories: Infantry EdibleByLeap: + DetectCloaked: + CloakTypes: Cloak + Range: 1c0 ^Soldier: Inherits: ^Infantry @@ -456,8 +452,6 @@ WithInfantryBody: IdleSequences: idle1,idle2 StandSequences: stand,stand2 - DetectCloaked: - CloakTypes: Thief AttackFrontal: ^CivInfantry: diff --git a/mods/ra/rules/infantry.yaml b/mods/ra/rules/infantry.yaml index 7251191248..5157442e87 100644 --- a/mods/ra/rules/infantry.yaml +++ b/mods/ra/rules/infantry.yaml @@ -5,7 +5,7 @@ DOG: BuildAtProductionType: Dog BuildPaletteOrder: 50 Prerequisites: ~kenn, ~techlevel.infonly - Description: Anti-infantry unit.\nCan detect cloaked units and spies.\n Strong vs Infantry\n Weak vs Vehicles, Aircraft + Description: Anti-infantry unit.\nCan detect spies.\n Strong vs Infantry\n Weak vs Vehicles, Aircraft Valued: Cost: 200 Tooltip: @@ -61,8 +61,6 @@ DOG: Modifier: 150 RequiresCondition: run IgnoresDisguise: - DetectCloaked: - CloakTypes: Cloak, Thief Voiced: VoiceSet: DogVoice -TakeCover: @@ -297,7 +295,7 @@ SPY: BuildAtProductionType: Soldier BuildPaletteOrder: 90 Prerequisites: ~!infantry.england, dome, ~tent, ~techlevel.medium - Description: Infiltrates enemy structures for intel or\nsabotage. Exact effect depends on the\nbuilding infiltrated.\nLoses disguise when attacking.\nCan detect cloaked units and spies.\n Strong vs Infantry\n Weak vs Vehicles, Aircraft\n Special Ability: Disguised + Description: Infiltrates enemy structures for intel or\nsabotage. Exact effect depends on the\nbuilding infiltrated.\nLoses disguise when attacking.\nCan detect spies.\n Strong vs Infantry\n Weak vs Vehicles, Aircraft\n Special Ability: Disguised Valued: Cost: 500 -Tooltip: @@ -337,8 +335,6 @@ SPY: ZOffset: 256 RequiresCondition: disguise IgnoresDisguise: - DetectCloaked: - CloakTypes: Cloak, Thief Armament: Weapon: SilencedPPK AttackMove: @@ -368,7 +364,7 @@ E7: BuildPaletteOrder: 120 Prerequisites: ~tent, atek, ~techlevel.high BuildLimit: 1 - Description: Elite commando infantry. Armed with\ndual pistols and C4.\nCan detect cloaked units.\nMaximum 1 can be trained.\n Strong vs Infantry, Buildings\n Weak vs Vehicles, Aircraft\n Special Ability: Destroy Building with C4 + Description: Elite commando infantry. Armed with\ndual pistols and C4.\nMaximum 1 can be trained.\n Strong vs Infantry, Buildings\n Weak vs Vehicles, Aircraft\n Special Ability: Destroy Building with C4 Valued: Cost: 1200 Tooltip: @@ -407,8 +403,6 @@ E7: RequiresCondition: produced Voice: Build AnnounceOnKill: - DetectCloaked: - CloakTypes: Cloak, Thief Voiced: VoiceSet: TanyaVoice ProducibleWithLevel: @@ -564,7 +558,7 @@ THF: Queue: Infantry BuildAtProductionType: Soldier BuildPaletteOrder: 110 - Prerequisites: ~barr, fix, ~techlevel.medium + Prerequisites: ~barr, dome, ~techlevel.medium Description: Steals enemy credits.\nHijacks enemy vehicles.\n Unarmed Valued: Cost: 500 @@ -598,7 +592,7 @@ THF: InitialDelay: 250 CloakDelay: 120 UncloakOn: Attack, Unload, Infiltrate, Demolish, Move - CloakTypes: Cloak, Thief + CloakTypes: Cloak IsPlayerPalette: true PauseOnCondition: cloak-force-disabled GrantConditionOnDamageState@UNCLOAK: @@ -700,9 +694,6 @@ SNIPER: GrantConditionOnDamageState@UNCLOAK: Condition: cloak-force-disabled ValidDamageStates: Critical - DetectCloaked: - CloakTypes: Cloak, Thief - Range: 6c0 -MustBeDestroyed: ProducibleWithLevel: Prerequisites: barracks.upgraded diff --git a/mods/ra/rules/misc.yaml b/mods/ra/rules/misc.yaml index 863fff97be..01a53f2dec 100644 --- a/mods/ra/rules/misc.yaml +++ b/mods/ra/rules/misc.yaml @@ -170,9 +170,6 @@ camera.spyplane: Inherits: CAMERA EditorOnlyTooltip: Name: (support power proxy camera) - DetectCloaked: - Range: 10c0 - CloakTypes: Cloak, Thief SONAR: Inherits: camera.spyplane @@ -181,6 +178,7 @@ SONAR: -RevealsShroud: DetectCloaked: CloakTypes: Underwater + Range: 10c0 FLARE: Immobile: diff --git a/mods/ra/rules/ships.yaml b/mods/ra/rules/ships.yaml index 5f352e359a..ecc5ef9e34 100644 --- a/mods/ra/rules/ships.yaml +++ b/mods/ra/rules/ships.yaml @@ -75,7 +75,6 @@ MSUB: BuildAtProductionType: Submarine BuildPaletteOrder: 60 Prerequisites: ~spen, stek, ~techlevel.high - BuildDurationModifier: 50 Description: Submerged anti-ground siege unit\nwith anti-air capabilities.\nCan detect other submarines.\n Strong vs Buildings, Ground units, Aircraft\n Weak vs Naval units\n Special Ability: Submerge Valued: Cost: 2000 @@ -199,7 +198,6 @@ CA: BuildAtProductionType: Boat BuildPaletteOrder: 50 Prerequisites: ~syrd, atek, ~techlevel.high - BuildDurationModifier: 50 Description: Very slow long-range ship.\n Strong vs Buildings, Ground units\n Weak vs Naval units, Aircraft Valued: Cost: 2400 diff --git a/mods/ra/rules/structures.yaml b/mods/ra/rules/structures.yaml index 688328f1d6..40d3f0b644 100644 --- a/mods/ra/rules/structures.yaml +++ b/mods/ra/rules/structures.yaml @@ -631,7 +631,7 @@ DOME: Queue: Building BuildPaletteOrder: 90 Prerequisites: proc, ~techlevel.medium - Description: Provides an overview\nof the battlefield.\nCan detect cloaked units.\nRequires power to operate. + Description: Provides an overview\nof the battlefield.\nRequires power to operate. Valued: Cost: 1800 Tooltip: @@ -661,10 +661,6 @@ DOME: RequiresCondition: !jammed && !disabled InfiltrateForExploration: Types: SpyInfiltrate - DetectCloaked: - Range: 10c0 - RequiresCondition: !disabled - RenderDetectionCircle: Power: Amount: -40 ProvidesPrerequisite@buildingname: @@ -1213,7 +1209,7 @@ PROC: DecorationBounds: 72,70,0,-2 SelectionDecorations: Targetable: - TargetTypes: Ground, Structure, C4, DetonateAttack, ThiefInfiltrate + TargetTypes: Ground, Structure, C4, DetonateAttack, ThiefInfiltrate, SpyInfiltrate Health: HP: 90000 Armor: @@ -1238,7 +1234,7 @@ PROC: Facing: 64 InfiltrateForCash: Percentage: 50 - Types: ThiefInfiltrate + Types: SpyInfiltrate, ThiefInfiltrate Notification: CreditsStolen WithBuildingBib: WithIdleOverlay@TOP: @@ -1474,7 +1470,7 @@ AFLD: Icon: spyplane ChargeInterval: 3750 Description: Spy Plane - LongDesc: Reveals an area of the map\nand cloaked enemy units. + LongDesc: Reveals an area of the map. SelectTargetSpeechNotification: SelectTarget EndChargeSpeechNotification: SpyPlaneReady CameraActor: camera.spyplane @@ -1785,7 +1781,7 @@ KENN: Prerequisites: anypower, ~structures.soviet, ~techlevel.infonly Description: Trains Attack Dogs. Valued: - Cost: 100 + Cost: 200 Tooltip: Name: Kennel -GivesBuildableArea: @@ -1982,7 +1978,7 @@ SBAG: Prerequisites: fact, ~structures.allies, ~techlevel.low Description: Stops infantry and light vehicles.\nCan be crushed by tanks. Valued: - Cost: 50 + Cost: 30 CustomSellValue: Value: 0 Tooltip: @@ -2006,7 +2002,7 @@ FENC: Prerequisites: fact, ~structures.soviet, ~techlevel.low Description: Stops infantry and light vehicles.\nCan be crushed by tanks. Valued: - Cost: 50 + Cost: 30 CustomSellValue: Value: 0 Tooltip: diff --git a/mods/ra/rules/vehicles.yaml b/mods/ra/rules/vehicles.yaml index 8bd614e385..900c53116b 100644 --- a/mods/ra/rules/vehicles.yaml +++ b/mods/ra/rules/vehicles.yaml @@ -190,8 +190,7 @@ V2RL: Queue: Vehicle BuildPaletteOrder: 180 Prerequisites: fix, stek, ~vehicles.soviet, ~techlevel.high - BuildDurationModifier: 50 - Description: Big and slow tank, with anti-air capability.\nCan crush concrete walls.\nCan detect cloaked units.\n Strong vs Vehicles, Infantry, Aircraft\n Weak vs Nothing + Description: Big and slow tank, with anti-air capability.\nCan crush concrete walls.\n Strong vs Vehicles, Infantry, Aircraft\n Weak vs Nothing Valued: Cost: 2000 Tooltip: @@ -207,7 +206,7 @@ V2RL: Speed: 50 Locomotor: heavytracked RevealsShroud: - Range: 7c0 + Range: 6c0 RevealGeneratedShroud: False RevealsShroud@GAPGEN: Range: 4c0 @@ -239,8 +238,6 @@ V2RL: SelectionDecorations: ProducibleWithLevel: Prerequisites: vehicles.upgraded - DetectCloaked: - Range: 6c0 Selectable: DecorationBounds: 44,38,0,-4 @@ -443,7 +440,7 @@ APC: UpdatesPlayerStatistics: AddToArmyValue: true Health: - HP: 30000 + HP: 35000 Armor: Type: Heavy Mobile: @@ -485,7 +482,7 @@ MNLY: Selectable: Priority: 5 Health: - HP: 15000 + HP: 30000 Armor: Type: Heavy Mobile: @@ -546,10 +543,9 @@ MGG: Queue: Vehicle BuildPaletteOrder: 150 Prerequisites: atek, ~vehicles.england, ~techlevel.high - BuildDurationModifier: 50 Description: Regenerates the shroud nearby, \nobscuring the area.\n Unarmed Valued: - Cost: 1200 + Cost: 1000 Tooltip: Name: Mobile Gap Generator UpdatesPlayerStatistics: @@ -586,8 +582,7 @@ MRJ: Queue: Vehicle BuildPaletteOrder: 140 Prerequisites: atek, ~vehicles.allies, ~techlevel.high - BuildDurationModifier: 50 - Description: Jams nearby enemy radar domes\nand deflects incoming missiles.\nCan detect cloaked units.\n Unarmed + Description: Jams nearby enemy radar domes\nand deflects incoming missiles.\n Unarmed Health: HP: 22000 Armor: @@ -611,8 +606,6 @@ MRJ: Range: 5c0 DeflectionStances: Neutral, Enemy RenderJammerCircle: - DetectCloaked: - Range: 6c0 TTNK: Inherits: ^TrackedVehicle @@ -622,7 +615,6 @@ TTNK: Queue: Vehicle BuildPaletteOrder: 170 Prerequisites: tsla, stek, ~vehicles.russia, ~techlevel.high - BuildDurationModifier: 50 Description: Tank with mounted Tesla coil.\n Strong vs Infantry, Vehicles, Buildings\n Weak vs Aircraft Valued: Cost: 1350 @@ -632,7 +624,7 @@ TTNK: UpdatesPlayerStatistics: AddToArmyValue: true Health: - HP: 45000 + HP: 40000 Armor: Type: Light Mobile: @@ -676,7 +668,7 @@ FTRK: Type: Light Mobile: TurnSpeed: 10 - Speed: 128 + Speed: 118 RevealsShroud: Range: 6c0 RevealGeneratedShroud: False @@ -821,6 +813,9 @@ QTNK: SelectionDecorations: MadTank: DeployedCondition: deployed + WithRangeCircle: + Color: FFFF0080 + Range: 7c0 Targetable: TargetTypes: Ground, MADTank, Vehicle Selectable: @@ -835,15 +830,15 @@ STNK: BuildPaletteOrder: 130 Prerequisites: atek, ~vehicles.france, ~techlevel.high BuildDurationModifier: 50 - Description: Lightly armored infantry transport which\ncan cloak. Armed with anti-ground missiles.\nCan detect cloaked units.\n Strong vs Light armor\n Weak vs Infantry, Tanks, Aircraft + Description: Lightly armored infantry transport which\ncan cloak. Armed with anti-ground missiles.\n Strong vs Light armor\n Weak vs Infantry, Tanks, Aircraft Valued: - Cost: 1350 + Cost: 1000 Tooltip: Name: Phase Transport UpdatesPlayerStatistics: AddToArmyValue: true Health: - HP: 30000 + HP: 35000 Armor: Type: Light Mobile: @@ -880,8 +875,6 @@ STNK: GrantConditionOnDamageState@UNCLOAK: Condition: cloak-force-disabled ValidDamageStates: Critical - DetectCloaked: - Range: 7c0 -MustBeDestroyed: ProducibleWithLevel: Prerequisites: vehicles.upgraded diff --git a/mods/ra/weapons/ballistics.yaml b/mods/ra/weapons/ballistics.yaml index 58bc6c9086..06979122bd 100644 --- a/mods/ra/weapons/ballistics.yaml +++ b/mods/ra/weapons/ballistics.yaml @@ -31,7 +31,7 @@ 25mm: Inherits: ^Cannon ReloadDelay: 21 - Range: 4c0 + Range: 4c768 Report: cannon2.aud Projectile: Bullet Speed: 853 diff --git a/mods/ra/weapons/missiles.yaml b/mods/ra/weapons/missiles.yaml index 03ecdc5ca7..3e964fe337 100644 --- a/mods/ra/weapons/missiles.yaml +++ b/mods/ra/weapons/missiles.yaml @@ -111,7 +111,7 @@ HellfireAA: MammothTusk: Inherits: ^AntiGroundMissile ReloadDelay: 60 - Range: 8c0 + Range: 6c512 Burst: 2 ValidTargets: Air, Infantry Projectile: Missile diff --git a/mods/ra/weapons/smallcaliber.yaml b/mods/ra/weapons/smallcaliber.yaml index 0a0855e9ff..1f76f4cb91 100644 --- a/mods/ra/weapons/smallcaliber.yaml +++ b/mods/ra/weapons/smallcaliber.yaml @@ -47,6 +47,8 @@ FLAK-23-AG: Inherits: ^AACannon Range: 6c0 ValidTargets: Ground, Water + Projectile: Bullet + Blockable: True Warhead@1Dam: SpreadDamage ValidTargets: Air, Ground, Water Warhead@2Eff: CreateEffect diff --git a/mods/ra/weapons/superweapons.yaml b/mods/ra/weapons/superweapons.yaml index cd0f1af4f9..88d13d482a 100644 --- a/mods/ra/weapons/superweapons.yaml +++ b/mods/ra/weapons/superweapons.yaml @@ -5,7 +5,7 @@ ParaBomb: Projectile: GravityBomb Image: PARABOMB OpenSequence: open - Velocity: 0, 0, -86 + Velocity: 0, 0, -40 Acceleration: 0, 0, 0 Shadow: False Warhead@1Dam: SpreadDamage