nomonsters
Posted: Tue Oct 23, 2012 7:28 am
I was bored so I turn the nomonsters cvar into something useable. Monsters spawn on the map but do nothing, and take no damage.
bind this to a key like bind mouse2 "toggle nomonsters" and u can freezetime walkaround unfreezetime and play on
find this function, then find where i put nomonsters. done.
Then in the for loop
>>>>>>> D E M O <<<<<<<<<<<<<<

bind this to a key like bind mouse2 "toggle nomonsters" and u can freezetime walkaround unfreezetime and play on
find this function, then find where i put nomonsters. done.
Code: Select all
void SV_Physics (void)
Code: Select all
for (i = 0 ; i < cap_edicts ; i++, ent = NEXT_EDICT(ent))
{
if (ent->free)
continue;
if (nomonsters.value)
{
if (ent->v.flags == FL_MONSTER)
continue;
if (ent->v.movetype == MOVETYPE_STEP)
continue;
}
