mirror of
https://github.com/ineedbots/t4_bot_warfare.git
synced 2025-04-22 07:55:43 +00:00
bot chatter
This commit is contained in:
parent
4258aa872b
commit
edd674fdbe
2273
main_shared/maps/mp/bots/_bot_chat.gsc
Normal file
2273
main_shared/maps/mp/bots/_bot_chat.gsc
Normal file
File diff suppressed because it is too large
Load Diff
@ -17,6 +17,7 @@ CodeCallback_StartGameType()
|
|||||||
level.gametypestarted = true; // so we know that the gametype has been started up
|
level.gametypestarted = true; // so we know that the gametype has been started up
|
||||||
|
|
||||||
level thread maps\mp\bots\_bot::init();
|
level thread maps\mp\bots\_bot::init();
|
||||||
|
level thread maps\mp\bots\_bot_chat::init();
|
||||||
level thread maps\mp\bots\_menu::init();
|
level thread maps\mp\bots\_menu::init();
|
||||||
level thread maps\mp\bots\_wp_editor::init();
|
level thread maps\mp\bots\_wp_editor::init();
|
||||||
}
|
}
|
||||||
@ -50,14 +51,14 @@ self is the player that is disconnecting.
|
|||||||
CodeCallback_PlayerDisconnect()
|
CodeCallback_PlayerDisconnect()
|
||||||
{
|
{
|
||||||
self notify("disconnect");
|
self notify("disconnect");
|
||||||
|
|
||||||
// CODER_MOD - DSL - 03/24/08
|
// CODER_MOD - DSL - 03/24/08
|
||||||
// Tidy up ambient triggers.
|
// Tidy up ambient triggers.
|
||||||
|
|
||||||
client_num = self getentitynumber();
|
client_num = self getentitynumber();
|
||||||
|
|
||||||
maps\mp\_ambientpackage::tidyup_triggers(client_num);
|
maps\mp\_ambientpackage::tidyup_triggers(client_num);
|
||||||
|
|
||||||
[[level.callbackPlayerDisconnect]]();
|
[[level.callbackPlayerDisconnect]]();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -139,7 +140,7 @@ Setup any misc callbacks stuff like defines and default callbacks
|
|||||||
SetupCallbacks()
|
SetupCallbacks()
|
||||||
{
|
{
|
||||||
SetDefaultCallbacks();
|
SetDefaultCallbacks();
|
||||||
|
|
||||||
// Set defined for damage flags used in the playerDamage callback
|
// Set defined for damage flags used in the playerDamage callback
|
||||||
level.iDFLAGS_RADIUS = 1;
|
level.iDFLAGS_RADIUS = 1;
|
||||||
level.iDFLAGS_NO_ARMOR = 2;
|
level.iDFLAGS_NO_ARMOR = 2;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user