• Setting Gamemode Via HLDS Shortcut
    9 replies, posted
Ok. I know this is possible because ive done it before. I simply forgot how. When i used to use HLDS on my other computer to host my servers, i created a shortcut to the HLDS.exe and i had a command to set the gamemode in the shortcut. It was something like -sv_gamemode "Gamemode" but i dont remember. Can anyone tell me what it was? I bought a new computer and got rid of my old one so i cant just look at my old computer and see what it was.
You don't run servers with HLDS, you update them with it.
[QUOTE=compwhiziitothemax;16137675]You don't run servers with HLDS, you update them with it.[/QUOTE] hlds.exe is the legacy server. HldsUpdateTool.exe is the update tool.
:aaaaa:
[QUOTE=compwhiziitothemax;16137675]You don't run servers with HLDS, you update them with it.[/QUOTE] Sry... Srcds. not HLDS :P
The switch for default gamemode is "+sv_defaultgamemode". Adding this to the command line will make the server load in that gamemode on startup.
odd... I tried that. >.> Thats in a shortcut? or are you giving me the .bat command line?
If you are using the console version you can use that switch, it can also go into your autoexec.cfg.
[QUOTE=2Stroke;16186951]If you are using the console version you can use that switch, it can also go into your autoexec.cfg.[/QUOTE] yeah. but theres one for the GUI version. I dont remember it though. I wish i had my old computer back so i could check >:( But anyways thanks for the help.
I believe if you add sv_defaultgamemode DarkRP to your autoexec.cfg it should run, regardless of GUI or not. (Never tried, never used the GUI version)
Sorry, you need to Log In to post a reply to this thread.