1
0
mirror of https://github.com/JezuzLizard/BO2-Reimagined.git synced 2025-06-10 15:17:57 -05:00

Downing while purchasing a melee weapon gives the melee weapon

Various weapon switch fixes
This commit is contained in:
Jbleezy
2023-04-19 23:12:55 -07:00
parent 540ce0de5d
commit aa7086a1d6
7 changed files with 113 additions and 13 deletions

View File

@ -2,11 +2,6 @@
#include common_scripts\utility;
#include maps\mp\zombies\_zm_utility;
track_players_intersection_tracker()
{
// BO2 has built in push mechanic
}
is_headshot( sweapon, shitloc, smeansofdeath )
{
if ( smeansofdeath == "MOD_MELEE" || smeansofdeath == "MOD_BAYONET" || smeansofdeath == "MOD_IMPACT" || smeansofdeath == "MOD_UNKNOWN" || smeansofdeath == "MOD_IMPACT" )
@ -244,7 +239,17 @@ get_current_zone( return_zone )
return undefined;
}
is_temporary_zombie_weapon( str_weapon )
{
return is_zombie_perk_bottle( str_weapon ) || str_weapon == level.revive_tool || str_weapon == "zombie_builder_zm" || str_weapon == "chalk_draw_zm" || str_weapon == "no_hands_zm" || str_weapon == level.machine_assets["packapunch"].weapon || issubstr( str_weapon, "_flourish" );
}
wait_network_frame()
{
wait 0.1;
}
track_players_intersection_tracker()
{
// BO2 has built in push mechanic
}