Advertisement
BloodknightStudios

function Torque::initServer(%this)

Dec 6th, 2015
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.10 KB | None | 0 0
  1. //-----------------------------------------------------------------------------
  2. function Torque::initServer(%this)
  3. {
  4. echo("\n--------- Initializing " @ $appName @ ": Server Scripts ---------");
  5.  
  6. // Server::Status is returned in the Game Info Query and represents the
  7. // current status of the server. This string sould be very short.
  8. $Server::Status = "Unknown";
  9.  
  10. // Turn on testing/debug script functions
  11. $Server::TestCheats = false;
  12.  
  13. // Specify where the mission files are.
  14. $Server::MissionFileSpec = "levels/*.mis";
  15.  
  16. // The common module provides the basic server functionality
  17. // Base server functionality
  18. exec("./audio.cs");
  19. exec("./message.cs");
  20. exec("./corecommands.cs");
  21. exec("./missionInfo.cs"); //exec("./levelInfo.cs");
  22. exec("./missionLoad.cs");
  23. exec("./missionDownload.cs");
  24. exec("./clientConnection.cs");
  25. exec("./kickban.cs");
  26. exec("./coregame.cs");
  27. exec("./spawn.cs");
  28. exec("./corecamera.cs");
  29. exec("./centerPrint.cs");
  30.  
  31. // Load up game server support scripts
  32. exec("./commands.cs");
  33. exec("./game.cs");
  34. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement