This commit is contained in:
ineed bots
2026-08-27 22:13:25 -06:00
parent e07fa6ad6d
commit 14d253445b
5 changed files with 455 additions and 29 deletions
+41 -1
View File
@@ -521,7 +521,7 @@ getGrenadeTypes()
grenadeTypes[ 5 ] = "smoke_grenade_russian_mp";
grenadeTypes[ 6 ] = "frag_grenade_german_mp";
grenadeTypes[ 7 ] = "smoke_grenade_german_mp";
return grenadeTypes;
}
@@ -648,6 +648,27 @@ IsWeaponClipOnly( weap )
return issubstr( weap, "grenade_" );
}
/*
Set the bot's stance
*/
BotSetStance( stance )
{
switch ( stance )
{
case "stand":
self maps\mp\bots\_bot_internal::stand();
break;
case "crouch":
self maps\mp\bots\_bot_internal::crouch();
break;
case "prone":
self maps\mp\bots\_bot_internal::prone();
break;
}
}
/*
CoD2
*/
@@ -1039,6 +1060,25 @@ bot_wait_for_host()
}
}
/*
CoD2
*/
getotherteam( team )
{
if ( team == "axis" )
{
return "allies";
}
else if ( team == "allies" )
{
return "axis";
}
else
{
return "none";
}
}
/*
Babylonian_method
*/