mirror of
https://github.com/ENSL/ensl_hlds.git
synced 2024-11-10 07:11:38 +00:00
Update dockerfile
- Fix typo in version number - Add sample cfg - Update makefile to run the HLDS
This commit is contained in:
parent
5d59382be8
commit
a56c67d611
4 changed files with 55 additions and 2 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,4 +1,5 @@
|
||||||
overlay/*
|
overlay/*
|
||||||
|
!overlay/*.sample
|
||||||
!overlay/.placeholder
|
!overlay/.placeholder
|
||||||
logs/
|
logs/
|
||||||
!logs/.placeholder
|
!logs/.placeholder
|
||||||
|
|
|
@ -46,12 +46,12 @@ RUN echo 70 > steam_appid.txt
|
||||||
RUN mv dlls/ns_i386.so dlls/ns.so
|
RUN mv dlls/ns_i386.so dlls/ns.so
|
||||||
|
|
||||||
# Patch NS
|
# Patch NS
|
||||||
RUN wget 'https://github.com/ENSL/NS/releases/download/v3.2.1b/ns_v321a_patch.zip' && unzip -o ns_v321a_patch.zip
|
RUN wget 'https://github.com/ENSL/NS/releases/download/v3.2.1b/ns_v321b_patch.zip' && unzip -o ns_v321b_patch.zip
|
||||||
|
|
||||||
# ENSL package
|
# ENSL package
|
||||||
RUN cp liblist.gam liblist.bak
|
RUN cp liblist.gam liblist.bak
|
||||||
# RUN wget https://github.com/ENSL/ensl-plugin/releases/download/v1.4/ensl_srvpkg-v1.4.zip -O srv.zip
|
# RUN wget https://github.com/ENSL/ensl-plugin/releases/download/v1.4/ensl_srvpkg-v1.4.zip -O srv.zip
|
||||||
RUN echo && wget https://github.com/ENSL/ensl-plugin/releases/download/1.4-extra/ENSL_SrvPkg-1.4-extra.zip -O srv.zip
|
RUN wget https://github.com/ENSL/ensl-plugin/releases/download/1.4-extra/ENSL_SrvPkg-1.4-extra.zip -O srv.zip
|
||||||
RUN unzip -o srv.zip
|
RUN unzip -o srv.zip
|
||||||
|
|
||||||
# Use seperate server.cfg because autoexec.cfg is unreliable
|
# Use seperate server.cfg because autoexec.cfg is unreliable
|
||||||
|
|
1
Makefile
1
Makefile
|
@ -24,6 +24,7 @@ run: build
|
||||||
mkdir -p logs
|
mkdir -p logs
|
||||||
#docker run -p 27015:27015 27015/udp:27015/udp -v $(shell pwd)/logs:/home/steam/hlds/ns/logs -ti $(IMAGE)
|
#docker run -p 27015:27015 27015/udp:27015/udp -v $(shell pwd)/logs:/home/steam/hlds/ns/logs -ti $(IMAGE)
|
||||||
docker run --name=$(PROJECT) --net=host -v $(shell pwd)/logs:/home/steam/hlds/ns/logs -ti $(IMAGE)
|
docker run --name=$(PROJECT) --net=host -v $(shell pwd)/logs:/home/steam/hlds/ns/logs -ti $(IMAGE)
|
||||||
|
# docker run -e HLDS='1' --name=$(PROJECT) --net=host -v $(shell pwd)/logs:/home/steam/hlds/ns/logs -ti $(IMAGE)
|
||||||
|
|
||||||
stop:
|
stop:
|
||||||
docker stop $(PROJECT)
|
docker stop $(PROJECT)
|
||||||
|
|
51
overlay/server.cfg.sample
Normal file
51
overlay/server.cfg.sample
Normal file
|
@ -0,0 +1,51 @@
|
||||||
|
// General settings
|
||||||
|
|
||||||
|
hostname "Natural Selection v3.2.1b"
|
||||||
|
mp_autoconcede 4
|
||||||
|
mp_blockscripts 0
|
||||||
|
mp_combattime 15
|
||||||
|
mp_consistency 1
|
||||||
|
mp_countdowntime .2
|
||||||
|
mp_drawdamage 0
|
||||||
|
mp_falldamage 1
|
||||||
|
mp_flashlight 1
|
||||||
|
mp_footsteps 1
|
||||||
|
mp_friendlyfire 1
|
||||||
|
mp_killdelay 3
|
||||||
|
mp_latejointime 1.5
|
||||||
|
mp_limitteams 1
|
||||||
|
mp_logdetail 0
|
||||||
|
mp_mapvoteratio .6
|
||||||
|
mp_minvotesneeded 3
|
||||||
|
mp_serverops ""
|
||||||
|
mp_team1damagepercent 100
|
||||||
|
mp_team2damagepercent 100
|
||||||
|
mp_timelimit 0
|
||||||
|
mp_tournamentmode 1
|
||||||
|
mp_uplink 1
|
||||||
|
mp_votecasttime 2
|
||||||
|
mp_votedowntime 90
|
||||||
|
mp_votepercentneeded .55
|
||||||
|
pausable 0
|
||||||
|
rcon_password "cbfkgRSK0RrvJzQ"
|
||||||
|
sv_aim 0
|
||||||
|
sv_allowdownload 1
|
||||||
|
sv_cheats 0
|
||||||
|
sv_clienttrace 3.5
|
||||||
|
sv_downloadurl "http://www.ensl.org/files/preload"
|
||||||
|
sv_lan 0
|
||||||
|
sv_maxrate 25000
|
||||||
|
sv_maxspectatorspeed 1000
|
||||||
|
sv_maxspeed 4000
|
||||||
|
sv_maxupdaterate 150
|
||||||
|
sv_minrate 10000
|
||||||
|
sv_minupdaterate 40
|
||||||
|
sv_proxies 5
|
||||||
|
sv_password ""
|
||||||
|
sv_region 3
|
||||||
|
sv_voicecodec voice_speex
|
||||||
|
sv_voicequality 5
|
||||||
|
violence_agibs 0
|
||||||
|
violence_hgibs 0
|
||||||
|
# ensl_membersonly 1
|
||||||
|
mapchangecfgfile "server.cfg"
|
Loading…
Reference in a new issue