Win32 version installation
==========================
Unzip all the files into your kingpin folder and they will be placed in the correct locations (kingpin/gunrace). 


Configuring a Server

To configure a server just update the server.cfg and comp.ini files to your liking.

GunRace specific options in the server.cfg:-

set weaponfrags 4 (can be between 1 - 5) 4 is a good option as it is a total of 33 frags to win (8 x 4 gun weapons and 1 x 1 machete)

set weaponorder 1 (has three modes, 1 default, 2 reverse and 3 random).

set KPDED2 options (if running a public server):-

set max_download_rate xxx  (replace 'xxx' with the speed limit you want such as 256)
set sv_enforcetime_kick 4
set sv_maxpps 120
set sv_max_packetdup 1
set sv_download_precache 1  (if not using an SSD hard drive)
set net_rcvbuf 64 (this increeases the Windows network buffers)
set net_sndbuf 64 (this increases the Windows network buffers)
set win_priority auto  (if other programs running the Kingpin server may be given higher CPU priority)


set clientdir gunrace (so if clients download the Gunrace client files they will be placed in kingpin/gunrace)

set dmflags 8192

GunRace specific options in the gunrace.ini:-

enable_bots (Allow bots to load on server. Make sure you have a "nav" folder).

--------------------------------
To run a lan server for you and your friends either use the default settings in the server.cfg or change them to your liking then create a kingpin shortcut and add the following:-

+set game gunrace +exec server.cfg

If you don't know how to create a desktop shortcut then do the following:-

Right click your mouse on your desktop and select New -> Shortcut
Use the Browse option to find your Kingpion folder and click on the kingpin.exe
So it will be something like C:\Games\Kingpin\kingpin.exe or C:\Program Files\Kingpin\kingpin.exe 
Then add the following in the location box:-
+set game gunrace +exec server.cfg
Then click on Next
Give the shortcut a name such as GunRace server and then click on Finish 
You now have a shortcut to your GunRace Server

If you have a server box set up to run your servers at your lan session then you can make it a dedicated server by adding the following +set dedicated 1
so your shortcut will look something like:- 
C:\Games\Kingpin\kingpin.exe +set game gunrace +exec server.cfg +set dedicated 1

---------------------------------
However if you want to run a Public server you need to use kpded2 enhanced server file to run the server. 

Please read the kpded2.txt file for a comprehsive explanation of all the improvements and settings.

The following KPDED2 commands are included in the GunRace mod server.cfg but are commented out. Just remove the // to activate them.

set max_download_rate xxx  (replace 'xxx' with the speed limit you want such as 256)
set sv_enforcetime_kick 4
set sv_maxpps 120
set sv_max_packetdup 1
set sv_download_precache 1  (if not using an SSD hard drive)
set net_rcvbuf 64 (this increeases the Windows network buffers)
set net_sndbuf 64 (this increases the Windows network buffers)
set win_priority auto  (if other programs running the Kingpin server may be given higher CPU priority)

Check the Quick start settings in the kpded2.txt file for an explanation of these settings.

If you use kpded2 then players will be able to download the client files from the server (pak1.pak file).

If you use the kpded2.exe to run your server then it replaces the kingpin.exe in your server shortcut:-
kpded2.exe +set game enhanced +exec server.cfg 

You don't need to add '+set dedicated 1' because a server running kpded2 starts in dedicated mode by default.



