Check out Half-Life Re-imagined competition results!
Check out Skewing textures in Hammer, our newest tutorial!
Welcome, kesizewi, our newest member!

logo

Site Stuff

Reference

Maps

Community

ShoutBOX

Poll

Feeling Blue

What's your favourite shade of blue?

Azure

17

Cobalt

33

Turquoise

11

Cyan

12

Royal

11

Teal

3

Onliners

18 mins

Dr. Orange

21 mins

Windawz

44 mins

Mr Gnang

1 hours

Penguinboy

1 hours

UrbaNebula

2 hours

Archie

2 hours

ninja defuse

Affiliates

A gaming and technology blog by TWHL admins Penguinboy and Ant. A music blog by TWHL users Ant and Hugh.

Start HL in Deathmatch Mode

[1]

Forums > HL Engine Discussion

10 Nov 17, 22:21
By olograph
avatar
Member
Does anyone know how to start half-life in deathmatch mode (on a local server) from the command-line?
10 Nov 17, 22:24
By Dr. Orange
avatar
Member
Add +deathmatch 1 to the command line options.
10 Nov 17, 23:14
By olograph
avatar
Member
Thanks a lot!
13 Nov 17, 04:45
By potatis_invalid
avatar
Member
You can also add other console variables like +sv_cheats 1, which I personally find convenient when testing maps.
13 Nov 17, 15:17
By olograph
avatar
Member
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.
13 Nov 17, 15:17
By Solokiller
avatar
Member
+mp_allowmonsters 1

Any cvar can be set using +, just as long as the game doesn't reset it later on.
13 Nov 17, 15:20
By olograph
avatar
Member
"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.
13 Nov 17, 15:46
By potatis_invalid
avatar
Member
I think it's listenserver.cfg. Also take a look at autoexec.cfg
13 Nov 17, 16:36
By olograph
avatar
Member
I'm pretty sure it's listenserver.cfg:

https://developer.valvesoftware.com/wiki/Li
stenserver.cfg


I'll try that tonight.
[1]

Forums > HL Engine Discussion

Login to Reply

You must be logged in to reply.