1
0
mirror of https://github.com/JezuzLizard/BO2-Reimagined.git synced 2025-06-10 07:08:06 -05:00
Files
BO2-Reimagined/scripts/zm/zm_nuked/zm_nuked_reimagined.gsc
2024-01-14 03:25:00 -08:00

35 lines
976 B
Plaintext

#include maps\mp\_utility;
#include common_scripts\utility;
#include maps\mp\zombies\_zm_utility;
main()
{
replaceFunc(maps\mp\zm_nuked::give_team_characters, scripts\zm\replaced\zm_nuked::give_team_characters);
replaceFunc(maps\mp\zm_nuked_gamemodes::init, scripts\zm\replaced\zm_nuked_gamemodes::init);
replaceFunc(maps\mp\zm_nuked_perks::init_nuked_perks, scripts\zm\replaced\zm_nuked_perks::init_nuked_perks);
replaceFunc(maps\mp\zm_nuked_perks::perks_from_the_sky, scripts\zm\replaced\zm_nuked_perks::perks_from_the_sky);
}
init()
{
level.zombie_init_done = ::zombie_init_done;
level.special_weapon_magicbox_check = ::nuked_special_weapon_magicbox_check;
}
zombie_init_done()
{
self.meleedamage = 50;
self.allowpain = 0;
if (isDefined(self.script_parameters) && self.script_parameters == "crater")
{
self thread maps\mp\zm_nuked::zombie_crater_locomotion();
}
self setphysparams(15, 0, 48);
}
nuked_special_weapon_magicbox_check(weapon)
{
return 1;
}