Advertisement
Guest User

CSC

a guest
Jun 17th, 2017
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.72 KB | None | 0 0
  1. #using scripts\codescripts\struct;
  2. #using scripts\shared\audio_shared;
  3. #using scripts\shared\callbacks_shared;
  4. #using scripts\shared\clientfield_shared;
  5. #using scripts\shared\exploder_shared;
  6. #using scripts\shared\scene_shared;
  7. #using scripts\shared\util_shared;
  8.  
  9. #insert scripts\shared\shared.gsh;
  10. #insert scripts\shared\version.gsh;
  11.  
  12. #using scripts\zm\_load;
  13. #using scripts\zm\_zm_weapons;
  14.  
  15. //Powerups
  16. #using scripts\zm\_zm_powerup_double_points;
  17. #using scripts\zm\_zm_powerup_carpenter;
  18. #using scripts\zm\_zm_powerup_fire_sale;
  19. #using scripts\zm\_zm_powerup_free_perk;
  20. #using scripts\zm\_zm_powerup_full_ammo;
  21. #using scripts\zm\_zm_powerup_insta_kill;
  22. #using scripts\zm\_zm_powerup_nuke;
  23.  
  24. //Traps
  25. #using scripts\zm\_zm_trap_electric;
  26.  
  27. #using scripts\zm\zm_usermap;
  28.  
  29. function init()
  30. {
  31. currentMap = tolower(GetDvarString("mapname"));
  32.  
  33. zcmaps = [];
  34. zcmaps[zcmaps.size] = "zm_prototype";
  35. zcmaps[zcmaps.size] = "zm_asylum";
  36. zcmaps[zcmaps.size] = "zm_sumpf";
  37. zcmaps[zcmaps.size] = "zm_theater";
  38. zcmaps[zcmaps.size] = "zm_cosmodrome";
  39. zcmaps[zcmaps.size] = "zm_temple";
  40. zcmaps[zcmaps.size] = "zm_moon";
  41. zcmaps[zcmaps.size] = "zm_tomb";
  42. isazcmap = false;
  43. for(m = 0; m < zcmaps.size; m++) {
  44. if(currentMap==zcmaps[m]) {
  45. isazcmap = true;
  46. break;
  47. }
  48. }
  49.  
  50. if(isazcmap===false) {
  51. /*weapon_spawns = struct::get_array( "weapon_upgrade", "targetname" );
  52. for( i = 0; i < weapon_spawns.size; i ++ )
  53. {
  54. if( weapon_spawns[i].zombie_weapon_upgrade == "smg_fastfire" )
  55. {
  56. weapon_spawns[i].zombie_weapon_upgrade = "pistol_standard";
  57. }
  58. }*/
  59. }
  60. }
  61.  
  62. function include_weapons()
  63. {
  64. zm_weapons::load_weapon_spec_from_table("gamedata/weapons/zm/zm_levelcommon_weapons.csv", 1);
  65. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement