mirror of
https://github.com/ineedbots/iw2_bot_warfare.git
synced 2026-08-31 10:28:39 +00:00
hq
This commit is contained in:
@@ -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
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user