Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //-----------------------------------------------------------------------------
- function Torque::initServer(%this)
- {
- echo("\n--------- Initializing " @ $appName @ ": Server Scripts ---------");
- // Server::Status is returned in the Game Info Query and represents the
- // current status of the server. This string sould be very short.
- $Server::Status = "Unknown";
- // Turn on testing/debug script functions
- $Server::TestCheats = false;
- // Specify where the mission files are.
- $Server::MissionFileSpec = "levels/*.mis";
- // The common module provides the basic server functionality
- // Base server functionality
- exec("./audio.cs");
- exec("./message.cs");
- exec("./corecommands.cs");
- exec("./missionInfo.cs"); //exec("./levelInfo.cs");
- exec("./missionLoad.cs");
- exec("./missionDownload.cs");
- exec("./clientConnection.cs");
- exec("./kickban.cs");
- exec("./coregame.cs");
- exec("./spawn.cs");
- exec("./corecamera.cs");
- exec("./centerPrint.cs");
- // Load up game server support scripts
- exec("./commands.cs");
- exec("./game.cs");
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement