TheEnginesOfCreation / EntityPlus

EntityPlus is a mod that offers a true single player experience in the Quake III Arena videogame.
34 stars 5 forks source link

Get rid of bot loading messages #38

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
When adding a bot to the game through target_botspawn, the console displays a 
number of "loaded bot at skill level ..." type of messages. These shouldn't be 
displayed because the player shouldn't know a bot has entered the game.

Original issue reported on code.google.com by era...@gmail.com on 26 Apr 2011 at 1:32

GoogleCodeExporter commented 9 years ago
Unfortunately not possible without modifying engine code.
The alternative is to force con_notifytime to 0. Have to investigate this 
possibility.

Original comment by era...@gmail.com on 10 May 2011 at 7:47

GoogleCodeExporter commented 9 years ago
Wahey, I found a solution to the problem.
Whenever a bot is added to the game in SP mode (g_gametype 8), the cl_noprint 
cvar is set to 1. After the bot is added to the game, the cvar is set back to 
its original value. cl_noprint disables all logging to the console, so no 
messages appear there at all, nor in the upperleft corner of the screen. This 
way, the bot loading messages are not visible in the console anymore. This also 
means that con_notifytime no longer has to be forced to 0.

Original comment by era...@gmail.com on 27 May 2011 at 12:21