mirror of
https://github.com/JezuzLizard/BO2-Reimagined.git
synced 2025-06-10 07:08:06 -05:00
Meat weapon: add weapon name on HUD Meat weapon: change moveSpeedScale from weapon file Meat weapon: set clip ammo to 0 instead of disabling weapons when grabbed while fire button pressed Change every instance of "item_meat_zm" to level.item_meat_name
30 lines
1.1 KiB
Plaintext
30 lines
1.1 KiB
Plaintext
#include maps\mp\zombies\_zm_game_module_meat_utility;
|
|
#include common_scripts\utility;
|
|
#include maps\mp\_utility;
|
|
#include maps\mp\zombies\_zm_utility;
|
|
#include maps\mp\zombies\_zm_game_module_utility;
|
|
#include maps\mp\zombies\_zm_laststand;
|
|
#include maps\mp\zombies\_zm_audio_announcer;
|
|
#include maps\mp\gametypes_zm\zmeat;
|
|
#include maps\mp\zombies\_zm_powerups;
|
|
|
|
init_item_meat(gametype)
|
|
{
|
|
if (level.script == "zm_prison")
|
|
{
|
|
set_gamemode_var_once("item_meat_name", "item_head_zm");
|
|
set_gamemode_var_once("item_meat_model", "t6_wpn_zmb_severedhead_world");
|
|
}
|
|
else
|
|
{
|
|
set_gamemode_var_once("item_meat_name", "item_meat_zm");
|
|
set_gamemode_var_once("item_meat_model", "t6_wpn_zmb_meat_world");
|
|
}
|
|
|
|
precacheitem(get_gamemode_var("item_meat_name"));
|
|
set_gamemode_var_once("start_item_meat_name", get_gamemode_var("item_meat_name"));
|
|
level.meat_weaponidx = getweaponindexfromname(get_gamemode_var("item_meat_name"));
|
|
level.meat_pickupsound = getweaponpickupsound(level.meat_weaponidx);
|
|
level.meat_pickupsoundplayer = getweaponpickupsoundplayer(level.meat_weaponidx);
|
|
level.item_meat_name = get_gamemode_var("item_meat_name");
|
|
} |