diff options
author | Mike Frysinger <vapier@gentoo.org> | 2003-09-10 05:51:11 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2003-09-10 05:51:11 +0000 |
commit | edbc06b08e95c97e2012a831adcf93b9652b0be0 (patch) | |
tree | debef26d9299fcdb4a69696d45a8fc8d27d36722 /games-server/halflife-cstrike/files | |
parent | games-server (diff) | |
download | gentoo-2-edbc06b08e95c97e2012a831adcf93b9652b0be0.tar.gz gentoo-2-edbc06b08e95c97e2012a831adcf93b9652b0be0.tar.bz2 gentoo-2-edbc06b08e95c97e2012a831adcf93b9652b0be0.zip |
games-servers !
Diffstat (limited to 'games-server/halflife-cstrike/files')
5 files changed, 116 insertions, 0 deletions
diff --git a/games-server/halflife-cstrike/files/digest-halflife-cstrike-1.5 b/games-server/halflife-cstrike/files/digest-halflife-cstrike-1.5 new file mode 100644 index 000000000000..87d87c25d977 --- /dev/null +++ b/games-server/halflife-cstrike/files/digest-halflife-cstrike-1.5 @@ -0,0 +1 @@ +MD5 d688876fa2864ff69ff808432c9e6fe7 cs_15_full.tar.gz 112935519 diff --git a/games-server/halflife-cstrike/files/hlds-cstrike b/games-server/halflife-cstrike/files/hlds-cstrike new file mode 100644 index 000000000000..aa3bdacaa97d --- /dev/null +++ b/games-server/halflife-cstrike/files/hlds-cstrike @@ -0,0 +1,3 @@ +#!/bin/sh +cd GENTOO_DIR +exec ./hlds_run -game cstrike ${@} diff --git a/games-server/halflife-cstrike/files/hlds-cstrike.conf.d b/games-server/halflife-cstrike/files/hlds-cstrike.conf.d new file mode 100644 index 000000000000..9eb3688acb84 --- /dev/null +++ b/games-server/halflife-cstrike/files/hlds-cstrike.conf.d @@ -0,0 +1,8 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-server/halflife-cstrike/files/hlds-cstrike.conf.d,v 1.1 2003/09/10 05:51:11 vapier Exp $ + +# to find out more options, read these 2 files: +# GENTOO_DIR/cstrike/readme.txt + +HLDS_OPTS="+sv_lan 1 -nomaster -insecure +maxplayers 16 +map cs_italy" diff --git a/games-server/halflife-cstrike/files/hlds-cstrike.rc b/games-server/halflife-cstrike/files/hlds-cstrike.rc new file mode 100644 index 000000000000..c3287e302df3 --- /dev/null +++ b/games-server/halflife-cstrike/files/hlds-cstrike.rc @@ -0,0 +1,26 @@ +#!/sbin/runscript +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-server/halflife-cstrike/files/hlds-cstrike.rc,v 1.1 2003/09/10 05:51:11 vapier Exp $ + +depend() { + need net +} + +start() { + ebegin "Starting halflife cstrike dedicated" + screen -A -m -d -S hlds-cstrike su - GENTOO_GAMES_USER -c "GENTOO_DIR/hlds-cstrike ${HLDS_OPTS}" & + eend $? +} + +stop() { + ebegin "Stopping halflife cstrike dedicated" + local ppid=`screen -list | grep hlds-cstrike | awk -F . '{ print $1 }' | sed -e s/.//` + if [ -z "${ppid}" ] ; then + eend 1 "Lost screen session" + else + local cpid=`pstree -p ${ppid} | sed -e 's:^.*hlds_run(::' -e 's:).*$::'` + kill ${ppid} ${cpid} + eend $? "Could not kill hlds-cstrike" + fi +} diff --git a/games-server/halflife-cstrike/files/server.cfg b/games-server/halflife-cstrike/files/server.cfg new file mode 100644 index 000000000000..78dd595b4b87 --- /dev/null +++ b/games-server/halflife-cstrike/files/server.cfg @@ -0,0 +1,78 @@ +// Use this file to configure your DEDICATED server. +// This config file is executed everytime the server changes levels. + +// disable autoaim +sv_aim 0 + +// disable clients' ability to pause the server +pausable 0 + +// default server name. +hostname "Powered by Gentoo Linux" + +// maximum client movement speed +sv_maxspeed 320 + +// Timelimit for the map. +mp_timelimit 30 + +sv_cheats 0 + +// force teambalance +mp_autoteambalance 1 +// number of players before team is seen as unbalanced +mp_limitteams 1 + +// kick idle players +mp_autokick 1 + +// part of a minute in which you can buy +mp_buytime 0.4 + +mp_c4timer 45 + +// only see your teams players +mp_chasecam 1 +// force chasecam +mp_forcechasecam 1 +// fade to black so dead players can't see anything +mp_fadetoblack 0 + +// allow flashlight to be used ? +mp_flashlight 0 + +// enable footsteps +mp_footsteps 1 + +mp_freezetime 3 + +// be damaged by "friendly" grenades +mp_friendly_grenade_damage 1 +// be damaged by your teammates' fire +mp_friendlyfire 1 + +// kill that many hostages and you're out +mp_hostagepenalty 2 + +// on round lasts: +mp_roundtime 5 + +// team killers can't play the next round +mp_tkpunish 1 + +// (dis)allow voicechat +sv_enablevoice 1 + +// realistic falling damage ? +mp_falldamage 1 + +// number of decals allowed +mp_decals 250 + +// rate settings, you might want to adjust for internet play +sv_maxrate 40000 +sv_minrate 6000 + +// rcon_password "gentoorulez" + +log on |