Author Topic: Game Modes  (Read 2457 times)

0 Members and 1 Guest are viewing this topic.

Offline MrPresident

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 2728
  • Karma: 430
    • |G4P| Gman4President
Game Modes
« on: September 20, 2007, 06:26:48 PM »
First off.. Id like to apologize if this is the wrong forum for this question. I asked on facepunch but after 12 hours, I get no reply so Im hoping someone here might have some more manners and knowledge.

I am running a second dedicated server and I would like to host a game mode. Spacebuild to be specific. What do I need to do to my server configs to ensure that the server boots in spacebuild every time it loads? (ie. crash reload, manual reset)

also.. to keep this pseudo on topic... ULX works with the spacebuild game mode correct?

thanks.. please help if you can.. or point me in the right direction at least =)

-Mr.President


EDIT: Got it.. perimeter in the command line =)
« Last Edit: September 20, 2007, 07:08:30 PM by zakap »

Offline Chironex

  • Full Member
  • ***
  • Posts: 197
  • Karma: 11
  • Formerly known as Kyzer
Re: Game Modes
« Reply #1 on: September 20, 2007, 07:07:39 PM »
Go into "garrysmod/cfg", open server_cfg.txt, add this line
Code: [Select]
"sv_defaultgamemode" "spacebuild"
But i'm not totally sure, try it and tell me if it works or not

And yes, ulx runs fine with spacebuild

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Game Modes
« Reply #2 on: September 20, 2007, 07:33:20 PM »
also, even better, have it in your dedicated startup command line
c:\blah\hlds.exe +maxplayers <blah> +sv_defaultgamemode <blah> +map blah
you get the idea
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming