From e0abf8ed273d6f685cd0d73cf17bf04b54d3cbd3 Mon Sep 17 00:00:00 2001 From: reaperrr Date: Fri, 23 Jun 2017 21:42:16 +0200 Subject: [PATCH] Disable effect WH victim scans in RA where sensible AA missiles, flame weapons and nukes, pretty much, because they always display the effect regardless of what they hit. --- mods/ra/weapons/explosions.yaml | 4 ++++ mods/ra/weapons/missiles.yaml | 2 ++ mods/ra/weapons/other.yaml | 2 ++ mods/ra/weapons/superweapons.yaml | 2 ++ 4 files changed, 10 insertions(+) diff --git a/mods/ra/weapons/explosions.yaml b/mods/ra/weapons/explosions.yaml index 357ede4af4..ed4abf74ef 100644 --- a/mods/ra/weapons/explosions.yaml +++ b/mods/ra/weapons/explosions.yaml @@ -189,6 +189,7 @@ CrateNuke: Warhead@3Eff_impact: CreateEffect Explosions: nuke ImpactSounds: kaboom1.aud + VictimScanRadius: 0 Warhead@4Dam_areanuke1: SpreadDamage Spread: 1c0 Damage: 60 @@ -205,6 +206,7 @@ CrateNuke: Warhead@6Eff_areanuke1: CreateEffect ImpactSounds: kaboom22.aud Delay: 5 + VictimScanRadius: 0 Warhead@6Smu_areanuke1: LeaveSmudge SmudgeType: Scorch InvalidTargets: Vehicle, Tank, Structure, Wall, Trees @@ -234,6 +236,7 @@ MiniNuke: Warhead@3Eff_impact: CreateEffect Explosions: nuke ImpactSounds: kaboom1.aud + VictimScanRadius: 0 Warhead@4Dam_areanuke1: SpreadDamage Spread: 2c0 Damage: 60 @@ -250,6 +253,7 @@ MiniNuke: Warhead@6Eff_areanuke1: CreateEffect ImpactSounds: kaboom22.aud Delay: 5 + VictimScanRadius: 0 Warhead@7Dam_areanuke2: SpreadDamage Spread: 3c0 Damage: 60 diff --git a/mods/ra/weapons/missiles.yaml b/mods/ra/weapons/missiles.yaml index f34f475d6f..49aba88ac1 100644 --- a/mods/ra/weapons/missiles.yaml +++ b/mods/ra/weapons/missiles.yaml @@ -39,6 +39,8 @@ ^AntiAirMissile: Inherits: ^AntiGroundMissile ValidTargets: Air + Warhead@3Eff: CreateEffect + VictimScanRadius: 0 Maverick: Inherits: ^AntiGroundMissile diff --git a/mods/ra/weapons/other.yaml b/mods/ra/weapons/other.yaml index 8fe0bcaab3..c253aa441e 100644 --- a/mods/ra/weapons/other.yaml +++ b/mods/ra/weapons/other.yaml @@ -19,6 +19,7 @@ Warhead@3Eff: CreateEffect Explosions: napalm ImpactSounds: firebl3.aud + VictimScanRadius: 0 FireballLauncher: Inherits: ^FireWeapon @@ -182,3 +183,4 @@ MADTankDetonate: Warhead@3Eff: CreateEffect Explosions: med_explosion ImpactSounds: mineblo1.aud + VictimScanRadius: 0 diff --git a/mods/ra/weapons/superweapons.yaml b/mods/ra/weapons/superweapons.yaml index dd42dec876..6c314173aa 100644 --- a/mods/ra/weapons/superweapons.yaml +++ b/mods/ra/weapons/superweapons.yaml @@ -47,6 +47,7 @@ Atomic: Warhead@4Eff_impact: CreateEffect Explosions: nuke ImpactSounds: kaboom1.aud + VictimScanRadius: 0 Warhead@5Dam_areanuke1: SpreadDamage Spread: 2c0 Damage: 60 @@ -67,6 +68,7 @@ Atomic: Warhead@8Eff_areanuke1: CreateEffect ImpactSounds: kaboom22.aud Delay: 5 + VictimScanRadius: 0 Warhead@9Dam_areanuke2: SpreadDamage Spread: 3c0 Damage: 60