Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #using scripts\codescripts\struct;
- #using scripts\shared\audio_shared;
- #using scripts\shared\callbacks_shared;
- #using scripts\shared\clientfield_shared;
- #using scripts\shared\exploder_shared;
- #using scripts\shared\scene_shared;
- #using scripts\shared\util_shared;
- #insert scripts\shared\shared.gsh;
- #insert scripts\shared\version.gsh;
- #using scripts\zm\_load;
- #using scripts\zm\_zm_weapons;
- //Powerups
- #using scripts\zm\_zm_powerup_double_points;
- #using scripts\zm\_zm_powerup_carpenter;
- #using scripts\zm\_zm_powerup_fire_sale;
- #using scripts\zm\_zm_powerup_free_perk;
- #using scripts\zm\_zm_powerup_full_ammo;
- #using scripts\zm\_zm_powerup_insta_kill;
- #using scripts\zm\_zm_powerup_nuke;
- //Traps
- #using scripts\zm\_zm_trap_electric;
- #using scripts\zm\zm_usermap;
- function init()
- {
- currentMap = tolower(GetDvarString("mapname"));
- zcmaps = [];
- zcmaps[zcmaps.size] = "zm_prototype";
- zcmaps[zcmaps.size] = "zm_asylum";
- zcmaps[zcmaps.size] = "zm_sumpf";
- zcmaps[zcmaps.size] = "zm_theater";
- zcmaps[zcmaps.size] = "zm_cosmodrome";
- zcmaps[zcmaps.size] = "zm_temple";
- zcmaps[zcmaps.size] = "zm_moon";
- zcmaps[zcmaps.size] = "zm_tomb";
- isazcmap = false;
- for(m = 0; m < zcmaps.size; m++) {
- if(currentMap==zcmaps[m]) {
- isazcmap = true;
- break;
- }
- }
- if(isazcmap===false) {
- /*weapon_spawns = struct::get_array( "weapon_upgrade", "targetname" );
- for( i = 0; i < weapon_spawns.size; i ++ )
- {
- if( weapon_spawns[i].zombie_weapon_upgrade == "smg_fastfire" )
- {
- weapon_spawns[i].zombie_weapon_upgrade = "pistol_standard";
- }
- }*/
- }
- }
- function include_weapons()
- {
- zm_weapons::load_weapon_spec_from_table("gamedata/weapons/zm/zm_levelcommon_weapons.csv", 1);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement