patch_mp/maps/mp/bots/_bot.gsc removed debugging code.

This commit is contained in:
JezuzLizard 2021-02-07 05:01:54 -08:00
parent 11863c1c92
commit c54829744d

View File

@ -19,14 +19,6 @@
init() //checked matches cerberus output init() //checked matches cerberus output
{ {
//begin debug code
level.custom_bot_loaded = 1;
maps/mp/gametypes/_clientids::init();
if ( !isDefined( level.debugLogging_bot ) )
{
level.debugLogging_bot = 0;
}
//end debug code
/* /*
/# /#
level thread bot_system_devgui_think(); level thread bot_system_devgui_think();
@ -37,23 +29,18 @@ init() //checked matches cerberus output
{ {
return; return;
} }
/*
if ( level.rankedmatch && !is_bot_ranked_match() ) if ( level.rankedmatch && !is_bot_ranked_match() )
{ {
return; return;
} }
*/
/*
bot_friends = getDvarInt( "bot_friends" ); bot_friends = getDvarInt( "bot_friends" );
bot_enemies = getDvarInt( "bot_enemies" ); bot_enemies = getDvarInt( "bot_enemies" );
if ( bot_friends <= 0 && bot_enemies <= 0 ) if ( bot_friends <= 0 && bot_enemies <= 0 )
{ {
return; return;
} }
*/ bot_wait_for_host();
//bot_wait_for_host();
bot_set_difficulty(); bot_set_difficulty();
/*
if ( is_bot_comp_stomp() ) if ( is_bot_comp_stomp() )
{ {
team = bot_choose_comp_stomp_team(); team = bot_choose_comp_stomp_team();
@ -65,9 +52,8 @@ init() //checked matches cerberus output
} }
else else
{ {
*/
level thread bot_local_think(); level thread bot_local_think();
//} }
} }
spawn_bot( team ) //checked matches cerberus output spawn_bot( team ) //checked matches cerberus output
@ -484,10 +470,8 @@ bot_local_think() //checked changed at own discretion
{ {
host_team = "allies"; host_team = "allies";
} }
//bot_expected_friends = getDvarInt( "bot_friends" ); bot_expected_friends = getDvarInt( "bot_friends" );
//bot_expected_enemies = getDvarInt( "bot_enemies" ); bot_expected_enemies = getDvarInt( "bot_enemies" );
bot_expected_friends = 1;
bot_expected_enemies = 1;
if ( islocalgame() ) if ( islocalgame() )
{ {
} }