mirror of
https://github.com/JezuzLizard/BO2-Reimagined.git
synced 2025-06-10 15:17:57 -05:00
Vector: replace Ak74u
This commit is contained in:
@ -1695,6 +1695,23 @@ weapon_changes()
|
||||
add_zombie_weapon("insas_zm", "insas_upgraded_zm", &"ZOMBIE_WEAPON_INSAS", 1000, "smg", "", undefined, 1);
|
||||
}
|
||||
|
||||
if (isdefined(level.zombie_weapons["ak74u_zm"]))
|
||||
{
|
||||
include_weapon("vector_zm", 0);
|
||||
include_weapon("vector_upgraded_zm", 0);
|
||||
add_zombie_weapon("vector_zm", "vector_upgraded_zm", &"ZOMBIE_WEAPON_VECTOR", 1200, "smg", "", undefined, 1);
|
||||
}
|
||||
|
||||
if (isdefined(level.zombie_weapons["ak74u_extclip_zm"]))
|
||||
{
|
||||
level.zombie_weapons["ak74u_extclip_zm"].is_in_box = 0;
|
||||
|
||||
include_weapon("vector_extclip_zm");
|
||||
include_weapon("vector_extclip_upgraded_zm", 0);
|
||||
add_zombie_weapon("vector_extclip_zm", "vector_extclip_upgraded_zm", &"ZOMBIE_WEAPON_VECTOR", 1200, "smg", "", undefined, 1);
|
||||
add_shared_ammo_weapon("vector_extclip_zm", "vector_zm");
|
||||
}
|
||||
|
||||
if (isdefined(level.zombie_weapons["python_zm"]))
|
||||
{
|
||||
level.zombie_weapons["python_zm"].is_in_box = 0;
|
||||
|
@ -125,7 +125,7 @@ init_wallbuys()
|
||||
scripts\zm\replaced\utility::wallbuy("ballista_zm", "ballista", "weapon_upgrade", (13553, -539, -133), (0, -90, 0));
|
||||
scripts\zm\replaced\utility::wallbuy("beretta93r_zm", "beretta93r", "weapon_upgrade", (13793, -1646, -105), (0, 0, 0));
|
||||
scripts\zm\replaced\utility::wallbuy("insas_zm", "insas", "weapon_upgrade", (13553, -769, -133), (0, -90, 0));
|
||||
scripts\zm\replaced\utility::wallbuy("ak74u_zm", "ak74u", "weapon_upgrade", (13979, -1550, -134), (0, 90, 0));
|
||||
scripts\zm\replaced\utility::wallbuy("vector_zm", "vector", "weapon_upgrade", (13979, -1550, -134), (0, 90, 0));
|
||||
scripts\zm\replaced\utility::wallbuy("m16_zm", "m16", "weapon_upgrade", (14093, -351, -133), (0, 90, 0));
|
||||
scripts\zm\replaced\utility::wallbuy("870mcs_zm", "870mcs", "weapon_upgrade", (13552, -1387, -134), (0, -90, 0));
|
||||
scripts\zm\replaced\utility::wallbuy("sticky_grenade_zm", "sticky_grenade", "weapon_upgrade", (13603, -1082, -134), (0, 0, 0));
|
||||
|
@ -71,7 +71,7 @@ init_wallbuys()
|
||||
{
|
||||
scripts\zm\replaced\utility::wallbuy("saritch_zm", "saritch", "weapon_upgrade", (-11166, -2844, 247), (0, -86, 0));
|
||||
scripts\zm\replaced\utility::wallbuy("ballista_zm", "ballista", "weapon_upgrade", (-10735, -2960, 247), (0, 97, 0));
|
||||
scripts\zm\replaced\utility::wallbuy("ak74u_zm", "ak74u", "weapon_upgrade", (-10656, -752, 247), (0, 83, 0));
|
||||
scripts\zm\replaced\utility::wallbuy("vector_zm", "vector", "weapon_upgrade", (-10656, -752, 247), (0, 83, 0));
|
||||
scripts\zm\replaced\utility::wallbuy("m16_zm", "m16", "weapon_upgrade", (-11839, -1695.1, 287), (0, 270, 0));
|
||||
scripts\zm\replaced\utility::wallbuy("sticky_grenade_zm", "sticky_grenade", "weapon_upgrade", (-11839, -2406, 283), (0, -93, 0));
|
||||
scripts\zm\replaced\utility::wallbuy("bowie_knife_zm", "bowie_knife", "bowie_upgrade", (-10787, -1430, 247), (0, 88, 0));
|
||||
|
@ -7,7 +7,7 @@ init_wallbuy_fx()
|
||||
if (!is_false(level._uses_default_wallbuy_fx))
|
||||
{
|
||||
level._effect["870mcs_zm_fx"] = loadfx("maps/zombie/fx_zmb_wall_buy_870mcs");
|
||||
level._effect["ak74u_zm_fx"] = loadfx("maps/zombie/fx_zmb_wall_buy_ak74u");
|
||||
level._effect["vector_zm_fx"] = loadfx("maps/zombie/fx_zmb_wall_buy_ak74u");
|
||||
level._effect["beretta93r_zm_fx"] = loadfx("maps/zombie/fx_zmb_wall_buy_berreta93r");
|
||||
level._effect["bowie_knife_zm_fx"] = loadfx("maps/zombie/fx_zmb_wall_buy_bowie");
|
||||
level._effect["claymore_zm_fx"] = loadfx("maps/zombie/fx_zmb_wall_buy_claymore");
|
||||
|
@ -45,7 +45,7 @@ init_fx()
|
||||
if (!(isdefined(level._uses_default_wallbuy_fx) && !level._uses_default_wallbuy_fx))
|
||||
{
|
||||
level._effect["870mcs_zm_fx"] = loadfx("maps/zombie/fx_zmb_wall_buy_870mcs");
|
||||
level._effect["ak74u_zm_fx"] = loadfx("maps/zombie/fx_zmb_wall_buy_ak74u");
|
||||
level._effect["vector_zm_fx"] = loadfx("maps/zombie/fx_zmb_wall_buy_ak74u");
|
||||
level._effect["beretta93r_zm_fx"] = loadfx("maps/zombie/fx_zmb_wall_buy_berreta93r");
|
||||
level._effect["bowie_knife_zm_fx"] = loadfx("maps/zombie/fx_zmb_wall_buy_bowie");
|
||||
level._effect["claymore_zm_fx"] = loadfx("maps/zombie/fx_zmb_wall_buy_claymore");
|
||||
|
63
scripts/zm/replaced/zm_buried.gsc
Normal file
63
scripts/zm/replaced/zm_buried.gsc
Normal file
@ -0,0 +1,63 @@
|
||||
#include maps\mp\zm_buried;
|
||||
#include common_scripts\utility;
|
||||
#include maps\mp\_utility;
|
||||
#include maps\mp\zombies\_zm_utility;
|
||||
#include maps\mp\zombies\_zm_weapons;
|
||||
#include maps\mp\zm_buried_gamemodes;
|
||||
#include maps\mp\zombies\_zm_banking;
|
||||
#include maps\mp\zm_buried_sq;
|
||||
#include maps\mp\zombies\_zm_weapon_locker;
|
||||
#include maps\mp\zm_buried_distance_tracking;
|
||||
#include maps\mp\zm_buried_fx;
|
||||
#include maps\mp\zm_buried_ffotd;
|
||||
#include maps\mp\zm_buried_buildables;
|
||||
#include maps\mp\zombies\_zm;
|
||||
#include maps\mp\animscripts\zm_death;
|
||||
#include maps\mp\zm_buried_amb;
|
||||
#include maps\mp\zombies\_zm_ai_ghost;
|
||||
#include maps\mp\zombies\_zm_ai_sloth;
|
||||
#include maps\mp\zombies\_load;
|
||||
#include maps\mp\teams\_teamset_cdc;
|
||||
#include maps\mp\gametypes_zm\_spawning;
|
||||
#include maps\mp\zombies\_zm_perk_divetonuke;
|
||||
#include maps\mp\zombies\_zm_perk_vulture;
|
||||
#include maps\mp\zm_buried_jail;
|
||||
#include maps\mp\zombies\_zm_weap_bowie;
|
||||
#include maps\mp\zombies\_zm_weap_cymbal_monkey;
|
||||
#include maps\mp\zombies\_zm_weap_claymore;
|
||||
#include maps\mp\zombies\_zm_weap_ballistic_knife;
|
||||
#include maps\mp\zombies\_zm_weap_slowgun;
|
||||
#include maps\mp\zombies\_zm_weap_tazer_knuckles;
|
||||
#include maps\mp\zombies\_zm_weap_time_bomb;
|
||||
#include maps\mp\zm_buried_achievement;
|
||||
#include maps\mp\zm_buried_maze;
|
||||
#include maps\mp\zombies\_zm_zonemgr;
|
||||
#include maps\mp\zm_buried_classic;
|
||||
#include maps\mp\zombies\_zm_pers_upgrades_functions;
|
||||
#include maps\mp\zombies\_zm_devgui;
|
||||
#include maps\mp\zombies\_zm_buildables;
|
||||
#include character\c_transit_player_farmgirl;
|
||||
#include character\c_transit_player_oldman;
|
||||
#include character\c_transit_player_engineer;
|
||||
#include character\c_buried_player_reporter_dam;
|
||||
#include maps\mp\zombies\_zm_audio;
|
||||
#include maps\mp\zombies\_zm_powerups;
|
||||
#include maps\mp\zombies\_zm_ai_faller;
|
||||
#include maps\mp\zombies\_zm_laststand;
|
||||
#include maps\mp\zombies\_zm_stats;
|
||||
#include maps\mp\zombies\_zm_equip_headchopper;
|
||||
|
||||
init_level_specific_wall_buy_fx()
|
||||
{
|
||||
level._effect["an94_zm_fx"] = loadfx("maps/zombie/fx_zmb_wall_buy_an94");
|
||||
level._effect["pdw57_zm_fx"] = loadfx("maps/zombie/fx_zmb_wall_buy_pdw57");
|
||||
level._effect["svu_zm_fx"] = loadfx("maps/zombie/fx_zmb_wall_buy_svuas");
|
||||
level._effect["lsat_zm_fx"] = loadfx("maps/zombie/fx_zmb_wall_buy_lsat");
|
||||
level._effect["tazer_knuckles_zm_fx"] = loadfx("maps/zombie/fx_zmb_buried_buy_taseknuck");
|
||||
level._effect["tazer_knuckles_zm_chalk_fx"] = loadfx("maps/zombie/fx_zmb_buried_dyn_taseknuck");
|
||||
level._effect["870mcs_zm_chalk_fx"] = loadfx("maps/zombie/fx_zmb_wall_dyn_870mcs");
|
||||
level._effect["vector_zm_chalk_fx"] = loadfx("maps/zombie/fx_zmb_wall_dyn_ak74u");
|
||||
level._effect["an94_zm_chalk_fx"] = loadfx("maps/zombie/fx_zmb_wall_dyn_an94");
|
||||
level._effect["pdw57_zm_chalk_fx"] = loadfx("maps/zombie/fx_zmb_wall_dyn_pdw57");
|
||||
level._effect["svu_zm_chalk_fx"] = loadfx("maps/zombie/fx_zmb_wall_dyn_svuas");
|
||||
}
|
@ -14,6 +14,51 @@
|
||||
#include maps\mp\zombies\_zm_weap_claymore;
|
||||
#include maps\mp\zombies\_zm_unitrigger;
|
||||
|
||||
prepare_chalk_weapon_list()
|
||||
{
|
||||
level.buildable_wallbuy_weapons = [];
|
||||
level.buildable_wallbuy_weapons[0] = "vector_zm";
|
||||
level.buildable_wallbuy_weapons[1] = "an94_zm";
|
||||
level.buildable_wallbuy_weapons[2] = "pdw57_zm";
|
||||
level.buildable_wallbuy_weapons[3] = "svu_zm";
|
||||
level.buildable_wallbuy_weapons[4] = "tazer_knuckles_zm";
|
||||
level.buildable_wallbuy_weapons[5] = "870mcs_zm";
|
||||
level.buildable_wallbuy_weapon_hints = [];
|
||||
level.buildable_wallbuy_weapon_hints["vector_zm"] = &"ZM_BURIED_WB_VECTOR";
|
||||
level.buildable_wallbuy_weapon_hints["an94_zm"] = &"ZM_BURIED_WB_AN94";
|
||||
level.buildable_wallbuy_weapon_hints["pdw57_zm"] = &"ZM_BURIED_WB_PDW57";
|
||||
level.buildable_wallbuy_weapon_hints["svu_zm"] = &"ZM_BURIED_WB_SVU";
|
||||
level.buildable_wallbuy_weapon_hints["tazer_knuckles_zm"] = &"ZM_BURIED_WB_TAZER";
|
||||
level.buildable_wallbuy_weapon_hints["870mcs_zm"] = &"ZM_BURIED_WB_870MCS";
|
||||
level.buildable_wallbuy_pickup_hints = [];
|
||||
level.buildable_wallbuy_pickup_hints["vector_zm"] = &"ZM_BURIED_PU_VECTOR";
|
||||
level.buildable_wallbuy_pickup_hints["an94_zm"] = &"ZM_BURIED_PU_AN94";
|
||||
level.buildable_wallbuy_pickup_hints["pdw57_zm"] = &"ZM_BURIED_PU_PDW57";
|
||||
level.buildable_wallbuy_pickup_hints["svu_zm"] = &"ZM_BURIED_PU_SVU";
|
||||
level.buildable_wallbuy_pickup_hints["tazer_knuckles_zm"] = &"ZM_BURIED_PU_TAZER";
|
||||
level.buildable_wallbuy_pickup_hints["870mcs_zm"] = &"ZM_BURIED_PU_870MCS";
|
||||
level.buildable_wallbuy_weapon_models = [];
|
||||
level.buildable_wallbuy_weapon_models["vector_zm"] = undefined;
|
||||
level.buildable_wallbuy_weapon_models["an94_zm"] = undefined;
|
||||
level.buildable_wallbuy_weapon_models["pdw57_zm"] = undefined;
|
||||
level.buildable_wallbuy_weapon_models["svu_zm"] = undefined;
|
||||
level.buildable_wallbuy_weapon_models["tazer_knuckles_zm"] = undefined;
|
||||
level.buildable_wallbuy_weapon_models["870mcs_zm"] = undefined;
|
||||
level.buildable_wallbuy_weapon_angles = [];
|
||||
level.buildable_wallbuy_weapon_angles["vector_zm"] = undefined;
|
||||
level.buildable_wallbuy_weapon_angles["an94_zm"] = undefined;
|
||||
level.buildable_wallbuy_weapon_angles["pdw57_zm"] = undefined;
|
||||
level.buildable_wallbuy_weapon_angles["svu_zm"] = undefined;
|
||||
level.buildable_wallbuy_weapon_angles["tazer_knuckles_zm"] = undefined;
|
||||
level.buildable_wallbuy_weapon_angles["870mcs_zm"] = undefined;
|
||||
|
||||
foreach (model in level.buildable_wallbuy_weapon_models)
|
||||
{
|
||||
if (isdefined(model))
|
||||
precachemodel(model);
|
||||
}
|
||||
}
|
||||
|
||||
init_buildables(buildablesenabledlist)
|
||||
{
|
||||
registerclientfield("scriptmover", "buildable_glint_fx", 12000, 1, "int");
|
||||
|
@ -176,7 +176,7 @@ dig_up_weapon(digger)
|
||||
a_rare_weapons = array("dsr50_zm", "srm1216_zm");
|
||||
|
||||
if (digger.dig_vars["has_upgraded_shovel"])
|
||||
a_rare_weapons = combinearrays(a_rare_weapons, array("claymore_zm", "ak74u_zm", "ksg_zm", "mp40_zm", "mp44_zm"));
|
||||
a_rare_weapons = combinearrays(a_rare_weapons, array("claymore_zm", "vector_zm", "ksg_zm", "mp40_zm", "mp44_zm"));
|
||||
|
||||
str_weapon = undefined;
|
||||
|
||||
|
32
scripts/zm/zm_buried/zm_buried_reimagined.csc
Normal file
32
scripts/zm/zm_buried/zm_buried_reimagined.csc
Normal file
@ -0,0 +1,32 @@
|
||||
#include clientscripts\mp\_utility;
|
||||
#include clientscripts\mp\zombies\_zm_utility;
|
||||
|
||||
init()
|
||||
{
|
||||
prepare_chalk_weapon_list();
|
||||
}
|
||||
|
||||
prepare_chalk_weapon_list()
|
||||
{
|
||||
level.buildable_wallbuy_weapons = [];
|
||||
level.buildable_wallbuy_weapons[0] = "vector_zm";
|
||||
level.buildable_wallbuy_weapons[1] = "an94_zm";
|
||||
level.buildable_wallbuy_weapons[2] = "pdw57_zm";
|
||||
level.buildable_wallbuy_weapons[3] = "svu_zm";
|
||||
level.buildable_wallbuy_weapons[4] = "tazer_knuckles_zm";
|
||||
level.buildable_wallbuy_weapons[5] = "870mcs_zm";
|
||||
level.buildable_wallbuy_weapon_models = [];
|
||||
level.buildable_wallbuy_weapon_models["vector_zm"] = undefined;
|
||||
level.buildable_wallbuy_weapon_models["an94_zm"] = undefined;
|
||||
level.buildable_wallbuy_weapon_models["pdw57_zm"] = undefined;
|
||||
level.buildable_wallbuy_weapon_models["svu_zm"] = undefined;
|
||||
level.buildable_wallbuy_weapon_models["tazer_knuckles_zm"] = undefined;
|
||||
level.buildable_wallbuy_weapon_models["870mcs_zm"] = undefined;
|
||||
level.buildable_wallbuy_weapon_angles = [];
|
||||
level.buildable_wallbuy_weapon_angles["vector_zm"] = undefined;
|
||||
level.buildable_wallbuy_weapon_angles["an94_zm"] = undefined;
|
||||
level.buildable_wallbuy_weapon_angles["pdw57_zm"] = undefined;
|
||||
level.buildable_wallbuy_weapon_angles["svu_zm"] = undefined;
|
||||
level.buildable_wallbuy_weapon_angles["tazer_knuckles_zm"] = undefined;
|
||||
level.buildable_wallbuy_weapon_angles["870mcs_zm"] = undefined;
|
||||
}
|
@ -4,7 +4,9 @@
|
||||
|
||||
main()
|
||||
{
|
||||
replaceFunc(maps\mp\zm_buried::init_level_specific_wall_buy_fx, scripts\zm\replaced\zm_buried::init_level_specific_wall_buy_fx);
|
||||
replaceFunc(maps\mp\zm_buried_sq::navcomputer_waitfor_navcard, scripts\zm\replaced\_zm_sq::navcomputer_waitfor_navcard);
|
||||
replaceFunc(maps\mp\zm_buried_buildables::prepare_chalk_weapon_list, scripts\zm\replaced\zm_buried_buildables::prepare_chalk_weapon_list);
|
||||
replaceFunc(maps\mp\zm_buried_buildables::init_buildables, scripts\zm\replaced\zm_buried_buildables::init_buildables);
|
||||
replaceFunc(maps\mp\zm_buried_buildables::subwooferbuildable, scripts\zm\replaced\zm_buried_buildables::subwooferbuildable);
|
||||
replaceFunc(maps\mp\zm_buried_buildables::springpadbuildable, scripts\zm\replaced\zm_buried_buildables::springpadbuildable);
|
||||
|
Reference in New Issue
Block a user