Compare commits

...

2 Commits

Author SHA1 Message Date
ineed bots
ee26e6b33f note 2024-04-30 13:14:30 -06:00
ineed bots
d95a6491ee small update 2024-04-30 12:56:21 -06:00
3 changed files with 14 additions and 8 deletions

View File

@ -87,7 +87,7 @@ This mod extends the functionality and features of Combat Training in Black Ops
| bots_play_aim | If the bots can aim. | 1 |
## Changelog
- v1.2.0
- v1.2.0 (not released yet)
- Bots can now melee lunge
- Bots can now jumpshot and dropshot
- Fix some script runtime errors

View File

@ -1260,6 +1260,12 @@ bot_killstreak_think_loop()
return;
}
if ( maps\mp\gametypes\_hardpoints::iskillstreakweapon( curWeap ) && curWeap != "m220_tow_mp" && curWeap != "m202_flash_mp" && curWeap != "minigun_mp" )
{
self thread changeToWeapon( self.lastnonkillstreakweapon );
return;
}
weapon = self maps\mp\gametypes\_hardpoints::gettopkillstreak();
if ( !isdefined( weapon ) || weapon == "none" )

View File

@ -194,7 +194,7 @@ init()
thread doNonDediBots();
level thread onPlayerChat();
// todo: _bot_chat
}
@ -248,7 +248,7 @@ handleBots()
onDisconnectPlayer()
{
name = self.name;
self waittill( "disconnect" );
waittillframeend;
@ -887,11 +887,11 @@ addBots_loop()
if ( fillMode == 0 || fillMode == 2 )
{
amount += players;
}
if ( getdvarint( "bots_manage_fill_spec" ) )
{
amount += spec;
if ( getdvarint( "bots_manage_fill_spec" ) )
{
amount += spec;
}
}
if ( amount < fillAmount )