Advertisement
Guest User

Untitled

a guest
Sep 25th, 2017
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.58 KB | None | 0 0
  1. /*QUAKED item_artifact_invisibility (0 .5 .8) (-16 -16 -24) (16 16 32)
  2. Player is invisible for 30 seconds
  3. */
  4. void() item_artifact_invisibility =
  5. {
  6. if (stof(infokey(world,"noring"))) {
  7. return;
  8. }
  9. self.touch = powerup_touch;
  10.  
  11. precache_model ("progs/invisibl.mdl");
  12. precache_sound ("items/inv1.wav");
  13. precache_sound ("items/inv2.wav");
  14. precache_sound ("items/inv3.wav");
  15. self.noise = "items/inv1.wav";
  16. setmodel (self, "progs/invisibl.mdl");
  17. self.netname = "Ring of Shadows";
  18. self.items = IT_INVISIBILITY;
  19. setsize (self, '-16 -16 -24', '16 16 32');
  20. StartItem ();
  21. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement