- Cvar List
- GunGame SQL
Step 1: Installing Modules (back to top)Firstly, verify that you are using AMXX 1.80 or later. You can do this by typing "amxx version" into your server console and observing the output. If you are not, you can download the latest version here. Next, you must enable the Fakemeta, Cstrike, and Ham Sandwich modules. You can do this by opening up your addons/amxmodx/configs/modules.ini file, and then removing the ; characters before the lines that read fakemeta and cstrike, and adding a new line that reads hamsandwich. The modules.ini file can be opened with any regular text editor (Notepad, for example). For example, your modules.ini file might look something like this (only bigger):
fun ;engine ;fakemeta ;geoip ;sockets ;regex ;nvault cstrike csx
fun ;engine fakemeta ;geoip ;sockets ;regex ;nvault cstrike csx hamsandwich
Step 2: Installing GunGame (back to top)
Step 2a: Full Package (back to top)The easiest way to install GunGame is to simply unzip the full package (gg_211c_full.zip) into your server's mod directory (cstrike/ or czero/). Actually, this is the only way to install GunGame. You will still have to add a line to your addons/amxmodx/configs/plugins.ini file that reads gungame.amxx (make sure that it is on a line by itself). The plugins.ini file can be opened with any regular text editor, the same as modules.ini. For example, your plugins.ini file might look something like this (only, of course, bigger):
; Custom - Add 3rd party plugins here plugin1.amxx plugin2.amxx plugin3.amxx plugin4.amxx
; Custom - Add 3rd party plugins here plugin1.amxx plugin2.amxx plugin3.amxx plugin4.amxx gungame.amxx
Step 3: Configuring GunGame (back to top)After you get all of the files in place, you will surely want to do a little bit of further configuration. The details below explain how.
Step 3a: Configuration File (back to top)Once your gungame.cfg file is in place (either in the mod directory or in AMXX's configs/ directory), you can open it up with any text editor (Notepad, Wordpad, etcetera) and configure GunGame to you or your players' liking (but let's face it, you're the one paying for the server). In order to understand what each cvar does, you should read the ridiculously large cvar list. The groups on that page correspond to the groups in the gungame.cfg file. It's strongly recommended that you read the cvar list and configure your gungame.cfg!
Step 3b: GunGame Map Cycle (back to top)If you wish to have a custom map cycle that is used only while GunGame is running, create a new file named gungame_mapcycle.txt in either the mod directory (cstrike/ or czero/) or in the addons/amxmodx/configs/ directory. There should be one map name per line, just like AMXX's maps.ini or the default mapcycle.txt file. The GunGame map cycle goes down the list until it reaches the end, and then starts back at the top. If you use the GunGame map cycle, GunGame will not attempt to start any map votes. Here is an example of a (small) gungame_mapcycle.txt file:
fy_iceworld2k fy_grid2_cz fy_iceworld_cz fy_pool_day
Step 3c: Random Spawn Points (back to top)As of 1.10, you can install CSDM (Counter-Strike Deathmatch by BAILOPAN) spawn config files to be used by gg_dm_spawn_random. To get them, download CSDM from this page, and place all of the *.spawns.cfg files into the addons/amxmodx/configs/csdm/ folder. Once installed, if you have gg_dm set to 1 and gg_dm_spawn_random set to either 1 or 2, then players will be respawned at these random spawn locations instead of at their bases. See the cvar list for more information about Deathmatch Mode. You only need to download the *.spawns.cfg files from CSDM in order to have random spawn locations, you do not need to install the entire CSDM. However, you still can if you wish to, just remember to disable the weapon menu. In addition, ToT | V!PER has compiled a great spawn config file package designed for CSDM and GunGame that you can download here.
Step 4: Read up! (back to top)Now that you've got everything in place, it's time to figure out how to use it! It's recommended that you read the the cvar list, and that you take a look at the FAQ. If you have any lingering questions, feel free to ask in the forums.