Server Setup Guide Linux and Windows installation Server startup guides for ALL Quake based games
[b][u][color=red]Server Setup Guide[/color][/b][/u]
[hr]
[b][u]Contents[/b][/u]
Part 1. you need to upload your Enemy Territory files to your server (including mods and maps needed)
1.1 Linux Server Setup (page 1)
1.2 Windows Server Setup (page 2)
Part 2. you need to write a set of server configuration files
2.1 server.cfg (page 3)
2.2 punkbuster.cfg (page 4)
2.3 mapcycle.cfg *OPTIONAL* (page 5)
[hr]
[b][u][color=red]1.1 Linux Server Setup[/color][/u][/b]
[b][u]i) Uploading Enemy Territory[/u][/b]
From my experience, it's best if you are going to upload Enemy Terrtiory FOR a Linux server, that you install Enemy Territory on a Linux OS on your Desktop PC, then upload the whole thing with your maps and mods.
Most [b]rented hosting servers[/b] or [b]services[/b] will have the game (in this case Enemy Territory) installed there for you, and have a Web Pannel for Administration along with an FTP account.
so, what you really need todo is if you have the setup described as above is to jump strait to section 2.1 -
as most of the information in this section probably will not apply for rented servers that have Web Administration Pannels that have all the features such as restart the server etc...
[b][u]ii) Startup Scripts for Enemy Territory[/b][/u]
I recommend that you use this set of scripts to keep your server running and so you can start your server easily.
you need to write a few shell scripts that are best suited in the same directory as the Enemy Territory server binaries.
[b]start.sh[/b]
[code]
#!/bin/sh
cd /path/to/et/
./etded +set dedicated 2 +set net_IP xxx.xxx.xxx.xxx +set net_port 27960 +set fs_game MOD(etpub,jaymod,etpro) +set com_hunkmegs 128 +sets gamestartup "`date +"%D %T"`" +set sv_punkbuster 1 +exec server.cfg &
[/code]
[b]runet.sh[/b]
[code]
#!/bin/sh
while true
do
N=`ps -ef | grep etded | grep xxx.xxx.xxx.xxx | grep -v grep | wc -l`
if [ $N -eq 0 ]
then
/path/to/et/start.sh
fi
sleep 60
done
[/code]
replace the xxx.xxx.xxx.xxx with your Server IP and change other settings if needed
[b]etgo[/b]
[code]
screen -dmS username cd /path/to/et/runet.sh
[/code]
then just [b]change the permissions[/b] of the files so that we can execute them
chmod 777 *.sh
chmod 777 etgo
[b][u][color=red]1.2 Windows Server Setup[/color][/u][/b]
Now, Windows server setups are not common, but still exist.
(Skip this part of you are setting it up on a Local machine)
Most seem to use 'Remote Desktop' which makes it easy if you do have it because you can startup a server with minimal problems (as far as i know).
So, connect to your server with your 'Remote Desktop' or similar application (such as VNC)
[b]Making the startup shortcut[/b]
Open your [b]Enemy Territory[/b] directory (on the server/PC),
you should see an executable [b]ETDED.exe[/b] or [b]ETDED[/b]
Right click on [b]ETDED.exe[/b] or [b]ETDED[/b]
Click "Create Shortcut" ["[b]Shortcut to ETDED.exe[/b]" should appear in the folder]
Now right click on "[b]Shortcut to ETDED.exe[/b]"
Click [b]Properties[/b]
Click on the "[/b]Shortcut[/b]" tab at the top
Add onto the "[b]Target[/b]" field your startup options like so -
[b]+set dedicated 2 +set com_hunkmegs 128 +set sv_punkbuster 1 +set net_IP xxx.xxx.xxx.xxx +set net_port 27960 +set fs_game MOD(etpub,jaymod,etpro) +exec server.cfg +exec punkbuster.cfg +exec server.cfg &[/b]
you should have something like this -
[b]F:WETETDED.exe +set dedicated 2 +set com_hunkmegs 256 +set net_IP 123.128.169.167 +set net_port 27960 +set sv_punkbuster +pb_sv_load pbsvcvar.cfg +set fs_game jaymod +exec server.cfg +exec punkbuster.cfg +exec server.cfg &[/b]
*REPLACE:
1. xxx.xxx.xxx.xxx - with your Server IP. Example: 212.159.6.230
2. net_port 27960 - this can be any port you like (within reason) so you can start up as many servers as your [b]servers hardware[/b] can take.
You can rename your "Shortcut to ETDED.exe" to somthing like "Startup Server [JayMod]"
you can also have multiple configuration files for your server. along with multiple game mods.
you simply create a "New Shortcut" and change the settings to how you want your configuration, be SURE to [b]CLOSE[/b] your existing server if you have only have 1 IP to play with and limited server [b]hardware[/b], [b]ports avaliable[/b] and [b]bandwidth[/b] then you need to consider what Modification is best to fit most players taste.
[b][u][color=red]2.1 server.cfg[/color][/u][/b]
Now, here is the fun part. you now can control most aspects of the games settings for your server and sets all the variables required for the game server to run as you want.
I have broken this down for simplicity and so you can understand the configuration in chunks or blocks
[b][u][color=green]General Settings[/color][/b][/u]
[code]
// Server IP & Clients
set dedicated 2
set net_ip "xxx.xxx.xxx.xxx"
set net_port 27960
set sv_maxclients xx
set g_password ""
set sv_privateclients 2
set sv_privatepassword "privateslot"
set rconpassword "remoteconsole"
set refereePassword "referee"
[/code]
Sets all the download paths, maximum speeds, fallback URL
(when it is unable to download a file it can redirect to your website)
*
[b]DON'T[/b] change the [b]sv_master[/b] lines as these are needed so that people can see that your server in the server list.
unless you want your server to be private
*
[code]
// Server DL/UP
set sv_maxRate 40000 //1000 = 1kb/s (roughly)
set sv_dl_maxRate 409600 //1000 = 1kb/s (roughly)
set sv_allowDownload 1
set sv_wwwDownload 1
set sv_wwwBaseURL "http://www.yourclan.com/download/path"
set sv_wwwDlDisconnected 0
set sv_wwwFallbackURL "http://www.yourclan.com/"
set sv_fullmsg "et://xxx.xxx.xxx.xxx"
set sv_master1 "master3.idsoftware.com"
set sv_master2 "master0.gamespy.com"
set sv_master3 "wolfmaster.idsoftware.com"
set sv_master4 "clanservers.net"
set sv_master5 "etmaster.idsoftware.com"
[/code]
Loading up Message (MOTD - Message Of The Day)
[code]
// Server MOTD
set sv_hostname "^7My^1ET^3Server"
set server_motd0 ""
set server_motd1 ""
set server_motd2 ""
set server_motd3 ""
set server_motd4 ""
set server_motd5 "http://www.yourclan.com/"
[/code]
Change what players [b]can[/b] and [b]cannot[/b] vote for (0 = Off / Disabled, 1 = On / Enabled)
[code]
// Voting
set g_voting 4
set g_allowVote 1
set vote_limit 0
set vote_percent 60
set vote_allow_comp 0
set vote_allow_pub 0
set vote_allow_gametype 0
set vote_allow_nextcampaign 0
set vote_allow_restartcampaign 0
set vote_allow_map 0
set vote_allow_nextmap 0
set vote_allow_matchreset 0
set vote_allow_maprestart 0
set vote_allow_referee 0
set vote_allow_shuffleteamsxp 1
set vote_allow_shufflenorestart 1
set vote_allow_swapteams 0
set vote_allow_kick 1
set vote_allow_muting 1
set vote_allow_mutespecs 0
set vote_allow_friendlyfire 0
set vote_allow_timelimit 0
set vote_allow_warmupdamage 0
set vote_allow_antilag 0
set vote_allow_balancedteams 0
set vote_allow_surrender 0
set vote_allow_poll 0
[/code]
Quake 3 style [b]Hit Sounds[/b] and other [b]Game World[/b] sounds
[code]
// Sounds
set g_voiceChatsAllowed 8
set g_hitsounds 1
set g_hitsound_default "sound/weapons/impact/flesh2.wav"
set g_hitsound_helmet "sound/weapons/impact/metal4.wav"
set g_hitsound_head "sound/weapons/impact/flesh4.wav"
set g_hitsound_team_warn_axis "sound/chat/axis/26a.wav"
set g_hitsound_team_warn_allies "sound/chat/allies/26a.wav"
set g_hitsound_team_helmet "sound/weapons/impact/metal4.wav"
set g_hitsound_team_head "sound/weapons/impact/flesh4.wav"
set g_hitsound_team_default "sound/weapons/impact/flesh2.wav"
set g_shoveSound "sound/weapons/impact/flesh1.wav"
set g_poisonSound "sound/player/gurp2.wav"
set g_fightSound "sound/chat/axis/98c.wav"
[/code]
XP Save configuration
[code]
// XP Save
set g_XPSave 15
set g_XPSaveFile "xpsave.cfg"
set g_maxXP 8000
set g_damageXP 0
set g_damageXPLevel 50
set g_XPDecay 0
set g_XPDecayRate 0.0
set g_XPDecayFloor 0.0
[/code]
Banners are the messages that appear just above the Gobla Chat box usually
(on ETPro it is at the top of the screen)
You can set the maximum amount of banners you want and have banners with Tips as well as "Visit our site" etc.
I have copied this off of one of our servers as an example to show you what you can do.
[code]
// Banners
set g_msgs 60
set g_msg1 "^1W^7elcome to the ^6Plus^3net ^1C^7ustom ^9|ETPub| ^7server^3.."
set g_msg2 "^1P^7lease visit ^1w^7ww^3.^1W^7olfstuff^3.^1o^7rg"
set g_msg3 "^1V^7iew ^1Y^7our ^1S^7tats @ ^1w^7ww^3.^1W^7olfstuff^1.^1o^7rg"
set g_msg4 "^1J^7ust ask a ^7=^1W^7= member if U want to join^3."
set g_msg5 "^1T^7his server is hosted by ^lwww.Wolfstuff.org^1."
set g_msg6 "^1P^7lease ^1RESPECT ^7the admins and server rules."
set g_msg7 "^9Visit also: 212.159.6.195:27960 Pro's ONLY"
set g_msg8 "^1G^7renade kicking and Air Strike Blocking is enabled^3."
set g_msg9 "^1E^7njoy your stay and have fun ^3!"
set g_msg10 "^1P^7lay fair or you will be removed."
set g_msg11 "^9Visit also: 212.159.6.221:27960 Xtreme Pwning"
set g_msg12 "^9N^7o trickjumping or spawnkilling with Heavy Weapons."
set g_msg13 "^7=^1W^7=^3..^7=^1Wolfstuff^7= ^3is recruiting @ ^1www.wolfstuff.org"
set g_msg14 "^1N^7o recruiting or advertising."
set g_msgpos 0
[/code]
Another one i have copied is the [b]Killing Spree Messages[/b] as you can customize your server to have what ever message you want instead of the default settings.
[code]
// Killing Sprees
set g_killingSpree 5
set g_killingSpreePos 3
set g_killingSpreeMsg_end "[n]^1's killing spree came to an end after ^1[k] ^fkills ..."
set g_killingSpreeMsg_tk "[n]^1's killing spree was stopped by a ^1TEAMKILL^3 after ^1[k] ^gkills !"
set g_killingSpreeMsg_futility "[n] ^1seems to be having a bad day... ^1[d] ^3deaths ^1without a kill !"
set g_killingSpreeMsg_default "[n] ^1is on a killing spree ! ^1[k] 31kills ^1without a death !"
set g_killingSpreeMsg_1 "[n] ^1is on a killing spree ! ^1[k] ^3kills ^1without a death !"
set g_killingSpreeMsg_2 "[n] ^1is a killing machine! ^1[k] ^3kills ^1without a death !"
set g_killingSpreeMsg_3 "[n] ^1is on a rampage! ^1[k] ^3kills ^1without a death !"
set g_killingSpreeMsg_4 "[n] ^1is dominating! ^1[k] ^3kills ^1without a death !"
set g_killingSpreeMsg_5 "[n] ^1is unstoppable! ^1[k] ^3kills ^1without a death !"
set g_killingSpreeMsg_6 "[n] ^1is Godlike! ^1[k] ^3kills ^1without a death !"
set g_killingSpreeMsg_7 "[n] ^1is Wicked-Sick! ^1[k] ^3kills ^1without a death !"
[/code]
[the ^ & number / ^ & letter are colour codes]
Word Censoring can be enabled and you can set the penalty.
[code]
// Censor
set g_censor "fuck,kurwa,noob,naab,n00b,kut,nOOb,nub,whore,piskut,slut,cunt,shit,fucker,dick"
set g_censorNames "fuck"
set g_censorPenalty 5
set g_censorMuteTime 60
[/code]
You can set the number of each class + weapon for both teams, you can also disbale Medics health regeneration
[code]
// Classes & Team
set team_maxPanzers 1
set team_maxMortars 1
set team_maxMG42s 2
set team_maxGrenLaunchers 3
set team_maxMedics 4
set team_maxEngineers -1
set team_maxFieldOps -1
set team_maxCovertOps 1
set g_staminaRecharge 1.5
set g_coverts 4
set g_medics 0
set g_medicHealthRegen 0
[/code]
Here you can set the levels of XP for each classes speciality, including light weapons and battle sense.
[code]
// Skills
set skill_soldier "20 50 90 140"
set skill_medic "50 90 140 200"
set skill_engineer "20 50 90 140"
set skill_fieldops "20 50 90 140"
set skill_covertops "20 50 90 140"
set skill_battlesense "20 50 90 140"
set skill_lightweapons "20 50 90 140"
[/code]
Here, you can set weapon variables such as how long it takes for artillery to be fired.
[code]
// Weapons
set g_weapons 1902
set g_maxTeamLandmines 15
set g_heavyWeaponRestriction 100
set g_minArtyTime 15
set g_minAirstrikeTime 10
set g_panzersVulnerable 0
set g_panzersSpeed 2500
set g_panzersGravity 0
set g_throwableKnives 3
set g_maxKnives 5
set g_knifeDamage 35
set g_throwKnifeWait 0
set g_dyno 2
set g_canisterKick 100
set g_ammoCabinetTime 35000
set g_healthCabinetTime 10000
[/code]
Next, we can set the specific damage of each weapon
[code]
// Weapon DMG
set g_dmgKnife 10
set g_dmgSten 14
set g_dmgFG42 15
set g_dmgPistol 18
set g_dmgSMG 18
set g_dmgMG42 18
set g_dmgMG 20
set g_dmgFG42Scope 30
set g_dmgInfRifle 34
set g_dmgSniper 50
set g_dmgFlamer 5
set g_dmgGrenade 250
set g_dmgGrenadeRadius 250
set g_dmgGLauncher 250
set g_dmgGLauncherRadius 250
set g_dmgLandmine 250
set g_dmgLandmineRadius 250
set g_dmgSatchel 250
set g_dmgSatchelRadius 250
set g_dmgPanzer 400
set g_dmgPanzerRadius 300
set g_dmgMortar 400
set g_dmgMortarRadius 400
set g_dmgDynamite 400
set g_dmgDynamiteRadius 400
set g_dmgAir 400
set g_dmgAirRadius 400
set g_dmgArty 400
set g_dmgArtyRadius 400
set g_dmg 4
set g_dmgHeadShotMin 50
set g_dmgHeadShotRatio 2.0
set g_reflectFriendlyFire 0
set g_reflectFFWeapons 31
set g_friendlyFireOpts 6
set g_minArtyTime 10
set g_minAirstrikeTime 10
[/code]
We can also set other settings such as maximum complaints, enable private messages, intermission time (end of a map), warmup time and so on...
[code]
// Game Settings
set g_antilag 1
set g_truePing 0
set g_skipCorrection 1
set g_maxWarp 4
set g_disableComplaints 1
set g_complaintlimit 6
set g_ipcomplaintlimit 4
set g_autofireteams 1
set g_spectator 7
set g_privateMessages 1
set g_friendlyFire 1
set g_balancedteams 1
set g_teamforcebalance 1
set g_fastres 0
set g_knockback 1000
set g_shove 80
set g_shoveNoZ 0
set g_intermissionTime 20
set g_intermissionReadyPercent 75
set g_teamDamageRestriction 0
set g_minHits 6
set g_autoTempBan 0
set g_autoTempBanTime 60
set g_altStopwatchMode 0
set g_minGameClients 0
set g_maxlives 0
set g_spawnInvul 3
set g_alliedmaxlives 0
set g_axismaxlives 0
set g_noTeamSwitching 0
set g_doWarmup 0
set g_warmup 35
set sv_pure 1
set sv_minping 0
set sv_maxping 800
set match_latejoin "1"
set match_minplayers 4
set match_mutespecs 0
set match_readypercent 75
set match_timeoutcount 3
set match_warmupDamage 1
set team_maxplayers 0
set g_speed 320
set g_gravity 800
set g_inactivity 0
set g_spectatorInactivity 0
set wm_axis_respawntime 10
set wm_allied_respawntime 10
[/code]
Logging and Map Rotation are aslo needed
[code]
// Logging
set g_shrubbot "shrubbot.cfg"
set g_logAdmin "admin.log"
set g_log "etserver.log" // Game logging
set logfile 2 // Console logging ( 1: enable 2: enable and sync )
set g_logOptions 0
exec punkbuster.cfg
exec 6mapcampaign.cfg
set com_watchdog 30
set com_watchdog_cmd "exec 6mapcampaign.cfg"
[/code]
You should really replace "6mapcampaign.cfg" with your custom map rotation or if you do just want the standard maps and nothing more here si the 6mapcampaign.cfg
[b]6mapcampaign.cfg[/b]
[code]
set d1 "campaign cmpgn_6mapcampaign ; set nextcampaign vstr d2"
set d2 "campaign cmpgn_6mapcampaign ; swap_teams ; set nextcampaign vstr d1"
// server doesn't recognise the campaign command when the gamecode isn't running yet.
set d_initial "set g_gametype 4 ; map oasis ; set nextcampaign vstr d2"
vstr d_initial
[/code]
Just to round up i will give you the full template config
[code]
// Server IP & Clients
set dedicated 2
set net_ip "xxx.xxx.xxx.xxx"
set net_port 27960
set sv_maxclients xx
set g_password ""
set sv_privateclients 2
set sv_privatepassword "privateslot"
set rconpassword "remoteconsole"
set refereePassword "referee"
// Server DL/UP
set sv_maxRate 40000 //1000 = 1kb/s (roughly)
set sv_dl_maxRate 409600 //1000 = 1kb/s (roughly)
set sv_allowDownload 1
set sv_wwwDownload 1
set sv_wwwBaseURL "http://www.yourclan.com/download/path"
set sv_wwwDlDisconnected 0
set sv_wwwFallbackURL "http://www.yourclan.com/"
set sv_fullmsg "et://xxx.xxx.xxx.xxx"
set sv_master1 "master3.idsoftware.com"
set sv_master2 "master0.gamespy.com"
set sv_master3 "wolfmaster.idsoftware.com"
set sv_master4 "clanservers.net"
set sv_master5 "etmaster.idsoftware.com"
// Server MOTD
set sv_hostname "^7My^1ET^3Server"
set server_motd0 ""
set server_motd1 ""
set server_motd2 ""
set server_motd3 ""
set server_motd4 ""
set server_motd5 "http://www.yourclan.com/"
// Voting
set g_voting 4
set g_allowVote 1
set vote_limit 0
set vote_percent 60
set vote_allow_comp 0
set vote_allow_pub 0
set vote_allow_gametype 0
set vote_allow_nextcampaign 0
set vote_allow_restartcampaign 0
set vote_allow_map 0
set vote_allow_nextmap 0
set vote_allow_matchreset 0
set vote_allow_maprestart 0
set vote_allow_referee 0
set vote_allow_shuffleteamsxp 1
set vote_allow_shufflenorestart 1
set vote_allow_swapteams 0
set vote_allow_kick 1
set vote_allow_muting 1
set vote_allow_mutespecs 0
set vote_allow_friendlyfire 0
set vote_allow_timelimit 0
set vote_allow_warmupdamage 0
set vote_allow_antilag 0
set vote_allow_balancedteams 0
set vote_allow_surrender 0
set vote_allow_poll 0
// Sounds
set g_voiceChatsAllowed 8
set g_hitsounds 1
set g_hitsound_default "sound/weapons/impact/flesh2.wav"
set g_hitsound_helmet "sound/weapons/impact/metal4.wav"
set g_hitsound_head "sound/weapons/impact/flesh4.wav"
set g_hitsound_team_warn_axis "sound/chat/axis/26a.wav"
set g_hitsound_team_warn_allies "sound/chat/allies/26a.wav"
set g_hitsound_team_helmet "sound/weapons/impact/metal4.wav"
set g_hitsound_team_head "sound/weapons/impact/flesh4.wav"
set g_hitsound_team_default "sound/weapons/impact/flesh2.wav"
set g_shoveSound "sound/weapons/impact/flesh1.wav"
set g_poisonSound "sound/player/gurp2.wav"
set g_fightSound "sound/chat/axis/98c.wav"
// XP Save
set g_XPSave 15
set g_XPSaveFile "xpsave.cfg"
set g_maxXP 8000
set g_damageXP 0
set g_damageXPLevel 50
set g_XPDecay 0
set g_XPDecayRate 0.0
set g_XPDecayFloor 0.0
// Banners
set g_msgs 60
set g_msg1 ""
set g_msg2 ""
set g_msg3 ""
set g_msg4 ""
set g_msg5 ""
set g_msg6 ""
set g_msg7 ""
set g_msg8 ""
set g_msg9 ""
set g_msg10 ""
set g_msg11 ""
set g_msg12 ""
set g_msgpos 0
// Killing Sprees
set g_killingSpree 5
set g_killingSpreePos 3
set g_killingSpreeMsg_end "[n]^1's killing spree came to an end after ^1[k] ^fkills ..."
set g_killingSpreeMsg_tk "[n]^1's killing spree was stopped by a ^1TEAMKILL^3 after ^1[k] ^gkills !"
set g_killingSpreeMsg_futility "[n] ^1seems to be having a bad day... ^1[d] ^3deaths ^1without a kill !"
set g_killingSpreeMsg_default "[n] ^1is on a killing spree ! ^1[k] 31kills ^1without a death !"
set g_killingSpreeMsg_1 "[n] ^1is on a killing spree ! ^1[k] ^3kills ^1without a death !"
set g_killingSpreeMsg_2 "[n] ^1is a killing machine! ^1[k] ^3kills ^1without a death !"
set g_killingSpreeMsg_3 "[n] ^1is on a rampage! ^1[k] ^3kills ^1without a death !"
set g_killingSpreeMsg_4 "[n] ^1is dominating! ^1[k] ^3kills ^1without a death !"
set g_killingSpreeMsg_5 "[n] ^1is unstoppable! ^1[k] ^3kills ^1without a death !"
set g_killingSpreeMsg_6 "[n] ^1is Godlike! ^1[k] ^3kills ^1without a death !"
set g_killingSpreeMsg_7 "[n] ^1is Wicked-Sick! ^1[k] ^3kills ^1without a death !"
// Censor
set g_censor "fuck,kurwa,noob,naab,n00b,kut,nOOb,nub,whore,piskut,slut,cunt,shit,fucker,dick"
set g_censorNames "fuck"
set g_censorPenalty 5
set g_censorMuteTime 60
// Classes & Team
set team_maxPanzers 1
set team_maxMortars 1
set team_maxMG42s 2
set team_maxGrenLaunchers 3
set team_maxMedics 4
set team_maxEngineers -1
set team_maxFieldOps -1
set team_maxCovertOps 1
set g_staminaRecharge 1.5
set g_coverts 4
set g_medics 0
set g_medicHealthRegen 0
// Skills
set skill_soldier "20 50 90 140"
set skill_medic "50 90 140 200"
set skill_engineer "20 50 90 140"
set skill_fieldops "20 50 90 140"
set skill_covertops "20 50 90 140"
set skill_battlesense "20 50 90 140"
set skill_lightweapons "20 50 90 140"
// Weapons
set g_weapons 1902
set g_maxTeamLandmines 15
set g_heavyWeaponRestriction 100
set g_minArtyTime 15
set g_minAirstrikeTime 10
set g_panzersVulnerable 0
set g_panzersSpeed 2500
set g_panzersGravity 0
set g_throwableKnives 3
set g_maxKnives 5
set g_knifeDamage 35
set g_throwKnifeWait 0
set g_dyno 2
set g_canisterKick 100
set g_ammoCabinetTime 35000
set g_healthCabinetTime 10000
// Weapon DMG
set g_dmgKnife 10
set g_dmgSten 14
set g_dmgFG42 15
set g_dmgPistol 18
set g_dmgSMG 18
set g_dmgMG42 18
set g_dmgMG 20
set g_dmgFG42Scope 30
set g_dmgInfRifle 34
set g_dmgSniper 50
set g_dmgFlamer 5
set g_dmgGrenade 250
set g_dmgGrenadeRadius 250
set g_dmgGLauncher 250
set g_dmgGLauncherRadius 250
set g_dmgLandmine 250
set g_dmgLandmineRadius 250
set g_dmgSatchel 250
set g_dmgSatchelRadius 250
set g_dmgPanzer 400
set g_dmgPanzerRadius 300
set g_dmgMortar 400
set g_dmgMortarRadius 400
set g_dmgDynamite 400
set g_dmgDynamiteRadius 400
set g_dmgAir 400
set g_dmgAirRadius 400
set g_dmgArty 400
set g_dmgArtyRadius 400
set g_dmg 4
set g_dmgHeadShotMin 50
set g_dmgHeadShotRatio 2.0
set g_reflectFriendlyFire 0
set g_reflectFFWeapons 31
set g_friendlyFireOpts 6
set g_minArtyTime 10
set g_minAirstrikeTime 10
// Game Settings
set g_antilag 1
set g_truePing 0
set g_skipCorrection 1
set g_maxWarp 4
set g_disableComplaints 1
set g_complaintlimit 6
set g_ipcomplaintlimit 4
set g_autofireteams 1
set g_spectator 7
set g_privateMessages 1
set g_friendlyFire 1
set g_balancedteams 1
set g_teamforcebalance 1
set g_fastres 0
set g_knockback 1000
set g_shove 80
set g_shoveNoZ 0
set g_intermissionTime 20
set g_intermissionReadyPercent 75
set g_teamDamageRestriction 0
set g_minHits 6
set g_autoTempBan 0
set g_autoTempBanTime 60
set g_altStopwatchMode 0
set g_minGameClients 0
set g_maxlives 0
set g_spawnInvul 3
set g_alliedmaxlives 0
set g_axismaxlives 0
set g_noTeamSwitching 0
set g_doWarmup 0
set g_warmup 35
set sv_pure 1
set sv_minping 0
set sv_maxping 800
set match_latejoin "1"
set match_minplayers 4
set match_mutespecs 0
set match_readypercent 75
set match_timeoutcount 3
set match_warmupDamage 1
set team_maxplayers 0
set g_speed 320
set g_gravity 800
set g_inactivity 0
set g_spectatorInactivity 0
set wm_axis_respawntime 10
set wm_allied_respawntime 10
// Logging
set g_shrubbot "shrubbot.cfg"
set g_logAdmin "admin.log"
set g_log "etserver.log" // Game logging
set logfile 2 // Console logging ( 1: enable 2: enable and sync )
set g_logOptions 0
exec punkbuster.cfg
exec 6mapcampaign.cfg
set com_watchdog 30
set com_watchdog_cmd "exec 6mapcampaign.cfg"
[/code]
[b][u][color=green]Modification Specific[/color][/b][/u]
I strongly recommend reading the Documentation to ANY modification that you choose to install and configure before following this as a guide.
Documentation sites -
[url=http://jaymod.clanfu.org/documentation.php]JayMod Ducmentation[/url]
[url=http://etpub.org/ETPubServerDocs.html]ETPub Ducmentation[/url]
[url=http://www.shitstorm.org/noquarter/wiki/index.php?title=Changelog]NoQuarter Documentation[/url]
Here i am just going to show you an example of an ETPub config
[b]ETPub[/b]
[code]
[/code]
[b][u][size=18][color=red]2.1 punkbuster.cfg.cfg[/color][/size][/u]/b]
Now, if you are using ETPro this may not be needed for war configurations, but might be for the "public" configuration or for a fall back incase you loose the configs.
here is a sample punkbuster configuration.
[b]punkbuster.cfg[/b]
[code]
//PunkBuster Server config
//
//Thanks to those on the SplashDamage forums for their contribution.
//Compiled by Erik Melen (Deveus) and Paul Goldilla (loony)
//
//Enable Punkbuster
pb_sv_enable
pb_sv_update
//Bad Names list
//Place any names that you feel players should not use on your server in here.
//To add more bad name entries, simply follow the format shown below.
pb_sv_badname 30 Nazi
pb_sv_badname 30 Hitler
//CVARs for the PB server to check. Place checks to keep players from abusing CVARs.
pb_sv_cvarempty
pb_sv_cvar rate in 2500 25000
pb_sv_cvar snaps in 20 40
pb_sv_cvar cl_maxpackets in -15 100
pb_sv_cvar cg_bobup in 0 0.005
pb_sv_cvar r_picmip in 0 3
pb_sv_cvar r_overbrightbits in 0 4
pb_sv_cvar r_mapoverbrightbits in 0 4
pb_sv_cvar cg_shadows in 0 1
pb_sv_cvar r_rmse in 0 0
pb_sv_cvar cg_fov in 30 180
pb_sv_cvar r_allowextensions in 1
pb_sv_cvar r_softwareGL in 0
pb_sv_scorekick -9 //player gets kicked for having score below zero
pb_sv_CQC 1 //Client Query Capability (i.e. can they query the server cvars)
pb_sv_MsgPrefix "My Server"
pb_sv_KickLen 5
pb_sv_LogSync 0
pb_sv_LogCeiling 1000
pb_sv_Sleep 100
pb_sv_PowerMin 10
pb_sv_PowerDef 1
pb_sv_PowerKickLen 5
pb_sv_httpAddr xxx.xxx.xxx.xxx //enter Webtool address here
pb_sv_httpPort 27970 //enter Webtool port here
pb_sv_httpRefresh 60
pb_sv_httpKey "PASSWORDHERE"
pb_sv_httpmaps radar railgun fueldump oasis battery goldrush //for the Web Tool map pull down menu
pb_sv_extChar 0
pb_sv_minName 3
pb_sv_dupNameGrace 30 //Prevents name stealing on the server.
pb_sv_changePeriod 10
pb_sv_changeMax 5 //Number of name changes before kicking a player.
pb_sv_emptyname 1
[/code]
[b]General Notes[/b]
Starting a practice bot server
All you need todo is download Omnibot from [url=http://www.omni-bot.de/e107/download.php?list.2]Here[/url]
[B]Windows[/b]
1. change your Startup shortcut's options -
[b]+set net_IP 127.0.0.1 +set fs_game omnibot +exec server.cfg[/b]
2. Install Omnibot
3. Make sure your server.cfg [b]HAS[/b] an RCon Password Set and copy it into the [b]omnibot[/b] folder
4. Startup your server, just for safety type
[b]set rconpassword "PasswordHere" [/b] into the commandline on the "ET Console" window, incase it hasn't picked up your config
5. Open Enemy Territory and connect with -
[b]connect 127.0.0.1[/b]
[b]Linux[/b]
1.change your Startup scripts options ([b]start.sh[/b]) -
[b]+set net_IP 127.0.0.1 +set fs_game omnibot +exec server.cfg[/b]
2. Extract just the [b]omnibot[/b] folder to your ET directory
3. Make sure your server.cfg [b]HAS[/b] an RCon Password Set and copy it into the [b]omnibot[/b] folder
4. Startup your server
5. Connect wuth -
[b]connect 127.0.0.1[/b]
[hr]
6. To change bot settings type
[b]
con password bot help[/b]
You will see a list of commands
some simple commands to get you started
kickall : Kick all bots from the game
kickbot : Removes a bot from the game
addbot : Adds a bot to the game
balanceteams : Forces bots to keep teams balanced
[b]Example[/b]
to add a bot type -
[b]
con password bot addbot[/b]
So, there you have it, you can now startup any Quake based game as a server and also confiugre it (within reason)
Copyright © by Wolfstuff All Rights Reserved. Published on: 2007-05-05 (4716 reads) [ Go Back ] |