View Single Post
Old 07-13-2005, 09:06 PM   #48
ensiform
The Stig
 
ensiform's Avatar
 
Join Date: Nov 2004
Location: Sawtooth Cauldron
Posts: 1,241
Current Game: Borderlands 2
maybe but the cvar doesnt exist in the game code. i got it working using bot_nochat2.

in ai_util.c find the function BotDoChat

just below the gentity_t *cobject; line add:

Code:
	if (bot_nochat2.integer)
	{
		return 0;
	}

you will of course need to make the cvar in g_local.h and g_main.c.


iojamp project lead / coder
ensiform is offline   you may: quote & reply,