mirror of
https://github.com/ineedbots/iw2_bot_warfare.git
synced 2026-09-23 21:47:05 +00:00
Compare commits
4
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
fdeda6095e | ||
|
|
c35b34cace | ||
|
|
5f3140288d | ||
|
|
0ee19e7ed6 |
@@ -5,6 +5,4 @@ Bot Warfare for CoD2, in progress...
|
|||||||
TODO:
|
TODO:
|
||||||
- _bot_script
|
- _bot_script
|
||||||
- _menu
|
- _menu
|
||||||
- _wp_editor
|
|
||||||
- _bot_chat
|
- _bot_chat
|
||||||
|
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -28,6 +28,9 @@ init()
|
|||||||
map( getcvar( "mapname" ) );
|
map( getcvar( "mapname" ) );
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// cod2 only allows localized strings...
|
||||||
|
precachestring( &"^1SecondaryOffhand - ^2Add Waypoint; ^3MeleeButton - ^4Link Waypoint; ^5FragButton - ^6delete Waypoint; ^7UseButton + AttackButton - ^8Save" );
|
||||||
|
|
||||||
setcvar( "bots_main", 0 );
|
setcvar( "bots_main", 0 );
|
||||||
setcvar( "bots_main_menu", 0 );
|
setcvar( "bots_main_menu", 0 );
|
||||||
@@ -37,9 +40,10 @@ init()
|
|||||||
setcvar( "bots_manage_fill_kick", 1 );
|
setcvar( "bots_manage_fill_kick", 1 );
|
||||||
setcvar( "bots_manage_fill_spec", 1 );
|
setcvar( "bots_manage_fill_spec", 1 );
|
||||||
|
|
||||||
setcvar( "smoke", 0 );
|
setcvar( "smoke", 0 ); // bind 2 "set smoke 1; wait 50; set smoke 0"
|
||||||
setcvar( "frag", 0 );
|
setcvar( "frag", 0 ); // bind 3 "set frag 1; wait 50; set frag 0"
|
||||||
setcvar( "speed", 0 );
|
setcvar( "speed", 0 ); // bind 4 "togglep speed 0 1"
|
||||||
|
// use con_minicon
|
||||||
|
|
||||||
if ( getcvar( "bots_main_debug_distance" ) == "" )
|
if ( getcvar( "bots_main_debug_distance" ) == "" )
|
||||||
{
|
{
|
||||||
@@ -121,7 +125,7 @@ beginDebug()
|
|||||||
self thread watchSaveWaypointsCommand();
|
self thread watchSaveWaypointsCommand();
|
||||||
self thread sayExtras();
|
self thread sayExtras();
|
||||||
|
|
||||||
self thread textScroll( "^1SecondaryOffhand - ^2Add Waypoint; ^3MeleeButton - ^4Link Waypoint; ^5FragButton - ^6delete Waypoint; ^7UseButton + AttackButton - ^8Save" );
|
self thread textScroll( &"^1SecondaryOffhand - ^2Add Waypoint; ^3MeleeButton - ^4Link Waypoint; ^5FragButton - ^6delete Waypoint; ^7UseButton + AttackButton - ^8Save" );
|
||||||
}
|
}
|
||||||
|
|
||||||
sayExtras()
|
sayExtras()
|
||||||
@@ -727,8 +731,7 @@ textScroll( string )
|
|||||||
text.horzalign = "center";
|
text.horzalign = "center";
|
||||||
text.vertalign = "middle";
|
text.vertalign = "middle";
|
||||||
text.y = 220;
|
text.y = 220;
|
||||||
// cod2 only allows localized strings...
|
text settext( string );
|
||||||
text settext( &"PLATFORM_PRESS_TO_SPAWN" );
|
|
||||||
|
|
||||||
for ( ;; )
|
for ( ;; )
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -5,9 +5,11 @@ init()
|
|||||||
level thread onPlayerConnect();
|
level thread onPlayerConnect();
|
||||||
|
|
||||||
// bootstrap
|
// bootstrap
|
||||||
level thread scripts\mp\bots_adapter_libcod::init();
|
//level thread scripts\mp\bots_adapter_libcod::init();
|
||||||
level thread scripts\mp\bots_wp_editor::init();
|
level thread scripts\mp\bots_wp_editor::init();
|
||||||
level thread scripts\mp\bots::init();
|
level thread scripts\mp\bots::init();
|
||||||
|
//level thread scripts\mp\bots_chat::init();
|
||||||
|
level thread scripts\mp\bots_menu::init();
|
||||||
}
|
}
|
||||||
|
|
||||||
onPlayerConnect()
|
onPlayerConnect()
|
||||||
|
|||||||
@@ -0,0 +1,4 @@
|
|||||||
|
init()
|
||||||
|
{
|
||||||
|
level thread maps\mp\bots\_bot_chat::init();
|
||||||
|
}
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
init()
|
||||||
|
{
|
||||||
|
level thread maps\mp\bots\_menu::init();
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user