I found that the messages originate from the trap_BotLoadCharacter call in the BotAISetupClient method in ai_main.c. This is a call to the engine which I traced to some botimport.Print call. Couldn't exactly find where that ended up, except for this method in sv_bot.c:
static void QDECL BotImport_Print(int type, char *fmt, ...)
especially this bit of code:
Code: Select all
switch(type) {
case PRT_MESSAGE: {
Com_Printf("%s", str);
break;
}
...
void QDECL Com_Printf( const char *msg, ... )
But commenting out all of it's contents doesn't seem to have any effect. Not sure if I'm looking in the right place either.
Is there any way to intercept these bot loading messages somehow without needing access to the engine code? I'm afraid I already know the answer...
