move files to mp folder

This commit is contained in:
ineed bots
2024-01-18 14:14:25 -06:00
parent 668c0347e2
commit 817c5d4952
5 changed files with 0 additions and 0 deletions

4
scripts/mp/bots.gsc Normal file
View File

@ -0,0 +1,4 @@
init()
{
level thread maps\mp\bots\_bot::init();
}

View File

@ -0,0 +1,60 @@
init()
{
level.bot_builtins[ "printconsole" ] = ::do_printconsole;
level.bot_builtins[ "filewrite" ] = ::do_filewrite;
level.bot_builtins[ "fileread" ] = ::do_fileread;
level.bot_builtins[ "fileexists" ] = ::do_fileexists;
level.bot_builtins[ "botaction" ] = ::do_botaction;
level.bot_builtins[ "botstop" ] = ::do_botstop;
level.bot_builtins[ "botmovement" ] = ::do_botmovement;
level.bot_builtins[ "botmeleeparams" ] = ::do_botmeleeparams;
level.bot_builtins[ "isbot" ] = ::do_isbot;
}
do_printconsole( s )
{
printconsole( s );
}
do_filewrite( file, contents, mode )
{
file = "scriptdata/" + file;
filewrite( file, contents, mode );
}
do_fileread( file )
{
file = "scriptdata/" + file;
return fileread( file );
}
do_fileexists( file )
{
file = "scriptdata/" + file;
return true;
}
do_botaction( action )
{
self botaction( action );
}
do_botstop()
{
self botstop();
}
do_botmovement( forward, right )
{
self botmovement( forward, right );
}
do_botmeleeparams( yaw, dist )
{
// self botmeleeparams( yaw, dist );
}
do_isbot()
{
return self isbot();
}

4
scripts/mp/bots_chat.gsc Normal file
View File

@ -0,0 +1,4 @@
init()
{
level thread maps\mp\bots\_bot_chat::init();
}

4
scripts/mp/bots_menu.gsc Normal file
View File

@ -0,0 +1,4 @@
init()
{
level thread maps\mp\bots\_menu::init();
}

View File

@ -0,0 +1,4 @@
init()
{
level thread maps\mp\bots\_wp_editor::init();
}