mirror of
https://github.com/ineedbots/t5_bot_warfare.git
synced 2025-04-21 00:55:44 +00:00
small update
This commit is contained in:
parent
82c0c1152d
commit
d95a6491ee
@ -1260,6 +1260,12 @@ bot_killstreak_think_loop()
|
|||||||
return;
|
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();
|
weapon = self maps\mp\gametypes\_hardpoints::gettopkillstreak();
|
||||||
|
|
||||||
if ( !isdefined( weapon ) || weapon == "none" )
|
if ( !isdefined( weapon ) || weapon == "none" )
|
||||||
|
@ -194,7 +194,7 @@ init()
|
|||||||
|
|
||||||
thread doNonDediBots();
|
thread doNonDediBots();
|
||||||
level thread onPlayerChat();
|
level thread onPlayerChat();
|
||||||
|
|
||||||
// todo: _bot_chat
|
// todo: _bot_chat
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -248,7 +248,7 @@ handleBots()
|
|||||||
onDisconnectPlayer()
|
onDisconnectPlayer()
|
||||||
{
|
{
|
||||||
name = self.name;
|
name = self.name;
|
||||||
|
|
||||||
self waittill( "disconnect" );
|
self waittill( "disconnect" );
|
||||||
waittillframeend;
|
waittillframeend;
|
||||||
|
|
||||||
@ -887,11 +887,11 @@ addBots_loop()
|
|||||||
if ( fillMode == 0 || fillMode == 2 )
|
if ( fillMode == 0 || fillMode == 2 )
|
||||||
{
|
{
|
||||||
amount += players;
|
amount += players;
|
||||||
}
|
|
||||||
|
if ( getdvarint( "bots_manage_fill_spec" ) )
|
||||||
if ( getdvarint( "bots_manage_fill_spec" ) )
|
{
|
||||||
{
|
amount += spec;
|
||||||
amount += spec;
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( amount < fillAmount )
|
if ( amount < fillAmount )
|
||||||
|
Loading…
x
Reference in New Issue
Block a user