Advertisement
Guest User

Untitled

a guest
Jul 23rd, 2017
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.43 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. #using scripts\zm\zm_usermap;
  16.  
  17. #define RED_EYE_FX "frost_iceforge/red_zombie_eyes"
  18. #define ORANGE_EYE_FX "frost_iceforge/orange_zombie_eyes"
  19. #define GREEN_EYE_FX "frost_iceforge/green_zombie_eyes"
  20. #define BLUE_EYE_FX "frost_iceforge/blue_zombie_eyes"
  21. #define PURPLE_EYE_FX "frost_iceforge/purple_zombie_eyes"
  22. #define PINK_EYE_FX "frost_iceforge/pink_zombie_eyes"
  23. #define WHITE_EYE_FX "frost_iceforge/white_zombie_eyes"
  24. #precache( "client_fx", RED_EYE_FX );
  25. #precache( "client_fx", ORANGE_EYE_FX );
  26. #precache( "client_fx", GREEN_EYE_FX );
  27. #precache( "client_fx", BLUE_EYE_FX );
  28. #precache( "client_fx", PURPLE_EYE_FX );
  29. #precache( "client_fx", PINK_EYE_FX );
  30. #precache( "client_fx", WHITE_EYE_FX );
  31.  
  32. function init()
  33. {
  34. set_eye_color();
  35.  
  36. util::waitforclient( 0 );
  37. }
  38.  
  39. function set_eye_color()
  40. {
  41. level._override_eye_fx = PINK_EYE_FX; //Change "BLUE" to any of the other colors.
  42. }
  43.  
  44.  
  45. function include_weapons()
  46. {
  47. zm_weapons::load_weapon_spec_from_table("gamedata/weapons/zm/zm_levelcommon_weapons.csv", 1);
  48. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement