seta g_balance_cloaked_alpha 0.25\r
\r
set g_playerclip_collisions 1 "0 = disable collision testing against playerclips, might be useful on some defrag maps"\r
+set g_botclip_collisions 1 "0 = disable collision testing against botclips, might be useful on some defrag maps"\r
\r
// a cruel way to fix some "falling forever" situations (eg. facing horizontal warpzones)\r
set g_deathspeed 6000 "players going faster than this will die"\r
else\r
self.solid = SOLID_CORPSE;\r
if(cvar("g_playerclip_collisions"))\r
- self.dphitcontentsmask = DPCONTENTS_SOLID | DPCONTENTS_BODY | DPCONTENTS_PLAYERCLIP;\r
+ {\r
+ if(clienttype(self) == CLIENTTYPE_BOT && cvar("g_botclip_collisions"))\r
+ self.dphitcontentsmask = DPCONTENTS_SOLID | DPCONTENTS_BODY | DPCONTENTS_PLAYERCLIP | DPCONTENTS_BOTCLIP;\r
+ else\r
+ self.dphitcontentsmask = DPCONTENTS_SOLID | DPCONTENTS_BODY | DPCONTENTS_PLAYERCLIP;\r
+ }\r
else\r
- self.dphitcontentsmask = DPCONTENTS_SOLID | DPCONTENTS_BODY;\r
+ {\r
+ if(clienttype(self) == CLIENTTYPE_BOT && cvar("g_botclip_collisions"))\r
+ self.dphitcontentsmask = DPCONTENTS_SOLID | DPCONTENTS_BODY | DPCONTENTS_BOTCLIP;\r
+ else\r
+ self.dphitcontentsmask = DPCONTENTS_SOLID | DPCONTENTS_BODY;\r
+ }\r
self.frags = FRAGS_PLAYER;\r
if(independent_players)\r
MAKE_INDEPENDENT_PLAYER(self);\r