Half-Life

From HLSW Wiki

Jump to: navigation, search
Name Half-Life
Homepage http://www.half-life.com/
Supported since v1.0.0

Contents

Rcon

Rcon Commands

Command Description
status Show players with SteamID, ServerID and IP-Number
stats Show the server info (CPU, In, Out, Uptime, Users, FPS, Players)
kick #<id> Use the ServerID to kick a person
changelevel <map> Change map to eg. de_dust2
... Feel free to add any useful commands here

Half-Life Dedicated Server (HLDS)

Installing HLDS on Linux

Download

wget http://storefront.steampowered.com/download/hldsupdatetool.bin

Extract Steam installer

chmod +x hldsupdatetool.bin
./hldsupdatetool.bin

Updating Steam installer

./steam

List available games / mods

./steam -command list

Install one games

./steam -command update -game cstrike

Starting gameserver

./hlds_run -game cstrike +map de_dust +maxplayers 12 +rcon_password <password>

Installing Metamod

Creating directory

  • Go to mod directory (e.g. hlds/cstrike)
  • Create addons/metamod directory
mkdir -p addons/metamod/dlls
cd addons/metamod/dlls
wget http://heanet.dl.sourceforge.net/sourceforge/metamod/metamod-1.19-linux.tar.gz
tar xzf metamod-1.19-linux.tar.gz
  • Modifying hlds/cstrike/liblist.gam.

Replace

gamedll "dlls/mp.dll" 
gamedll_linux "dlls/cs_i386.so"

by

gamedll "addons/metamod/dlls/metamod.dll" 
gamedll_linux "addons/metamod/dlls/metamod_i386.so"
  • Create plugins.ini within addons/metamod

See http://metamod.org/metamod.html#plugins.ini

See also

Links

Personal tools
Developer