Start HL in Deathmatch Mode Created 8 months ago2017-11-10 22:21:49 UTC by olograph olograph

Created 8 months ago2017-11-10 22:21:49 UTC by olograph olograph

Posted 8 months ago2017-11-10 22:21:49 UTC Post #338018
Does anyone know how to start half-life in deathmatch mode (on a local server) from the command-line?
olograph olographTWHL's Personal Donald Trump
Posted 8 months ago2017-11-10 22:24:13 UTC Post #338019
Add +deathmatch 1 to the command line options.
Dr. Orange Dr. OrangeBoth a fruit and a color
Posted 8 months ago2017-11-10 23:14:40 UTC Post #338020
Thanks a lot!
olograph olographTWHL's Personal Donald Trump
Posted 8 months ago2017-11-13 04:45:47 UTC Post #338031
You can also add other console variables like +sv_cheats 1, which I personally find convenient when testing maps.
Posted 8 months ago2017-11-13 15:17:38 UTC Post #338036
Is there a way to pass mp_allowmonsters 1? I tried to add +mp_allowmonsters 1 and it doesn't seem to work.

Otherwise, what config file is used for servers that are not dedicated? Perhaps I could set that value in there.
olograph olographTWHL's Personal Donald Trump
Posted 8 months ago2017-11-13 15:17:51 UTC Post #338037
+mp_allowmonsters 1

Any cvar can be set using +, just as long as the game doesn't reset it later on.
Posted 8 months ago2017-11-13 15:20:00 UTC Post #338038
"Any cvar can be set using +"

+1

Thanks. I think it is reset. I need to find the proper .cfg file that manages non-dedicated servers. I tried putting mp_allowmonsters in server.cfg, but it didn't work. Weird.
olograph olographTWHL's Personal Donald Trump
Posted 8 months ago2017-11-13 15:46:59 UTC Post #338039
I think it's listenserver.cfg. Also take a look at autoexec.cfg
Posted 8 months ago2017-11-13 16:36:26 UTC Post #338040
I'm pretty sure it's listenserver.cfg:

https://developer.valvesoftware.com/wiki/Listenserver.cfg

I'll try that tonight.
olograph olographTWHL's Personal Donald Trump
You must be logged in to post a response.