Skip to content
/SLASHPLAY

How to make bots use melee only in Half-Life 2: Deathmatch

Type hl2mp_bot_melee_only 1 in the Console tab.

hl2mp_bot_melee_only

Makes bots use only melee weapons. Off by default.

hl2mp_bot_melee_only <0|1>

Examples

hl2mp_bot_melee_only 1

Crowbar and stunstick only.

Values

ValueWhat it does
0Default Off
1 On

Arguments

0|1Required
1 turns it on, 0 turns it off.

What it does

A fun mode, or easier bots for new players.

Run it on your server

On a SLASHPLAY server, type it in the Console tab of the server page; the reply shows right under it. A value set there lasts until the server restarts. To keep it, add the line to hl2mp/cfg/server.cfg. New to this? Start a HL2DM server first.

Your own
HL2DM server.

From $0.03 an hour, only while it runs. New accounts get 6 free tokens.