\r
- Bots must learn to use the Grabber gun. The weapon code of havocbot is still there, but doesn't know how to shoot the Grabber\r
\r
-- Allow an item respawn time of -1 (never respawn again). Useful for RPG and Single Player maps\r
-\r
Known bugs:\r
}\r
else\r
{\r
- if(g_ghost_items)\r
+ if(g_ghost_items && self.respawntime > 0)\r
{\r
self.colormod = stov(cvar_string("g_ghost_items_color"));\r
self.glowmod = self.colormod;\r
\r
e.spawnshieldtime = 0; // field indicates whether picking it up may give you anything other than the weapon\r
}\r
- else if(g_ghost_items)\r
+ else if(g_ghost_items && self.respawntime > 0)\r
{\r
// make the item translucent green and not touchable\r
e.model = e.mdl;\r
void Item_ScheduleRespawn(entity e)\r
{\r
Item_Show(e, 0);\r
- Item_ScheduleRespawnIn(e, ITEM_RESPAWNTIME(e));\r
+ if(e.respawntime > 0)\r
+ Item_ScheduleRespawnIn(e, ITEM_RESPAWNTIME(e));\r
}\r
\r
void Item_ScheduleInitialRespawn(entity e)\r