diff --git a/README.md b/README.md index 6b0b93ef..62fc5ee1 100644 --- a/README.md +++ b/README.md @@ -66,6 +66,9 @@ ### Remington 870 * Changed weapon cost to 1200 on all maps +### EMP Grenade +* No longer effects players + ### Jet Gun * Kills whenever the right gauge is above 20% * Kills multiple enemies significantly faster diff --git a/scripts/zm/replaced/_zm_weap_emp_bomb.gsc b/scripts/zm/replaced/_zm_weap_emp_bomb.gsc new file mode 100644 index 00000000..80e24a2d --- /dev/null +++ b/scripts/zm/replaced/_zm_weap_emp_bomb.gsc @@ -0,0 +1,13 @@ +#include maps\mp\_utility; +#include common_scripts\utility; +#include maps\mp\zombies\_zm_utility; + +player_emp_on() +{ + // no player emp +} + +player_emp_off() +{ + // no player emp +} \ No newline at end of file diff --git a/scripts/zm/zm_transit/zm_transit_reimagined.gsc b/scripts/zm/zm_transit/zm_transit_reimagined.gsc index 01d32781..20b8a8a8 100644 --- a/scripts/zm/zm_transit/zm_transit_reimagined.gsc +++ b/scripts/zm/zm_transit/zm_transit_reimagined.gsc @@ -9,6 +9,8 @@ main() { replaceFunc(maps/mp/zm_transit::lava_damage_depot, scripts/zm/replaced/zm_transit::lava_damage_depot); + replaceFunc(maps/mp/zombies/_zm_weap_emp_bomb::player_emp_on, scripts/zm/replaced/_zm_weap_emp_bomb::player_emp_on); + replaceFunc(maps/mp/zombies/_zm_weap_emp_bomb::player_emp_off, scripts/zm/replaced/_zm_weap_emp_bomb::player_emp_off); replaceFunc(maps/mp/zombies/_zm_equip_electrictrap::startelectrictrapdeploy, scripts/zm/replaced/_zm_equip_electrictrap::startelectrictrapdeploy); replaceFunc(maps/mp/zombies/_zm_equip_turret::startturretdeploy, scripts/zm/replaced/_zm_equip_turret::startturretdeploy); } \ No newline at end of file