Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*QUAKED item_artifact_invisibility (0 .5 .8) (-16 -16 -24) (16 16 32)
- Player is invisible for 30 seconds
- */
- void() item_artifact_invisibility =
- {
- if (stof(infokey(world,"noring"))) {
- return;
- }
- self.touch = powerup_touch;
- precache_model ("progs/invisibl.mdl");
- precache_sound ("items/inv1.wav");
- precache_sound ("items/inv2.wav");
- precache_sound ("items/inv3.wav");
- self.noise = "items/inv1.wav";
- setmodel (self, "progs/invisibl.mdl");
- self.netname = "Ring of Shadows";
- self.items = IT_INVISIBILITY;
- setsize (self, '-16 -16 -24', '16 16 32');
- StartItem ();
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement