Compare commits

..
4 Commits
Author SHA1 Message Date
ineed bots fdeda6095e shader 2026-08-18 15:12:18 -06:00
ineed bots c35b34cace no script errors 2026-08-18 15:05:32 -06:00
ineed bots 5f3140288d it compiles 2026-08-18 14:39:51 -06:00
ineed bots 0ee19e7ed6 complete wp editor 2026-08-18 14:31:26 -06:00
7 changed files with 3829 additions and 9 deletions
-2
View File
@@ -5,6 +5,4 @@ Bot Warfare for CoD2, in progress...
TODO:
- _bot_script
- _menu
- _wp_editor
- _bot_chat
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
+9 -6
View File
@@ -28,6 +28,9 @@ init()
map( getcvar( "mapname" ) );
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_menu", 0 );
@@ -37,9 +40,10 @@ init()
setcvar( "bots_manage_fill_kick", 1 );
setcvar( "bots_manage_fill_spec", 1 );
setcvar( "smoke", 0 );
setcvar( "frag", 0 );
setcvar( "speed", 0 );
setcvar( "smoke", 0 ); // bind 2 "set smoke 1; wait 50; set smoke 0"
setcvar( "frag", 0 ); // bind 3 "set frag 1; wait 50; set frag 0"
setcvar( "speed", 0 ); // bind 4 "togglep speed 0 1"
// use con_minicon
if ( getcvar( "bots_main_debug_distance" ) == "" )
{
@@ -121,7 +125,7 @@ beginDebug()
self thread watchSaveWaypointsCommand();
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()
@@ -727,8 +731,7 @@ textScroll( string )
text.horzalign = "center";
text.vertalign = "middle";
text.y = 220;
// cod2 only allows localized strings...
text settext( &"PLATFORM_PRESS_TO_SPAWN" );
text settext( string );
for ( ;; )
{
+3 -1
View File
@@ -5,9 +5,11 @@ init()
level thread onPlayerConnect();
// 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::init();
//level thread scripts\mp\bots_chat::init();
level thread scripts\mp\bots_menu::init();
}
onPlayerConnect()
+4
View File
@@ -0,0 +1,4 @@
init()
{
level thread maps\mp\bots\_bot_chat::init();
}
+4
View File
@@ -0,0 +1,4 @@
init()
{
level thread maps\mp\bots\_menu::init();
}