For those that haven't heard of GunGame, it is a leveling mod where players get have to get kills with their current weapon in order to gain a level and move onto the next weapon. The first player/team to get a kill with the last level weapon wins!
GunGame requires the custom package Idle Manager. Please install it when you install GunGame.
Installation and Configuration
Download the attached file and unzip it onto your server in the base directory (just like when installing Source.Python and Idle Manager). Once you have installed it on the server, sp plugin load gungame once. You can do this one of a few ways:
- Execute the command directly in the server's console. This requires you to have direct access to the server's console.
- Use rcon to execute the command from your client while logged onto the server.
- Add the command to your autoexec.cfg file and restart your server.
Once GunGame has been loaded onto your server, the configuration files will have been created. Go to your server's ../cfg/source-python/gungame/ directory and modify the files as you see fit. For information on the gg_plugins.cfg file, see the Sub-Plugins section below.
Sub-plugins are loaded/unloaded via the gg plugin load <plugin> and gg plugin unload <plugin> commands. The gg_plugins.cfg file (mentioned above) is where you will want to load all sub-plugins that should always be loaded when GunGame is running on your server. If you only want to run one configuration on your server at all times, add all of the sub-plugins to this file.
For instance, if you always want to run Free-for-all Deathmatch, you might have this in your gg_plugins.cfg:
Code: Select all
gg plugin load dead_strip
gg plugin load deathmatch
gg plugin load disable_objectives
gg plugin load dissolver
gg plugin load ffa
gg plugin load knife_steal
gg plugin load random_spawn
gg plugin load turbo
If you want to have multiple configurations on your server, only those that should always be loaded should be included in the gg_plugins.cfg file.
You may have noticed that I left the gg_ prefix off of all of the commands. GunGame will load/unload them regardless of whether or not you include the prefix.
Random Spawn (spawn points)
If you want to use the Random Spawn sub-plugin, you will need to have a spawnpoints file for each map on your server. There is a repository where these spawnpoint files can be found:
Unfortunately, I currently only have a number CS:S maps included. Please feel free to create more of these for CS:S and also some for CS:GO and add them as pull requests to that repository.
To install them, simply download the zip or clone the repository. Once you have the files locally, take the contents of the cstrike folder (or whichever game you are using this for) and paste them into your server's ../addons/source-python/data/plugins/gungame/spawn_points/ directory.
There are a number of different game modes that are included in GunGame. The base game modes are:
- FFA (free-for-all)
- Objectives (hostages/bombing)
There is a configuration file for each of the combinations listed above with sub-plugins loaded/unloaded properly for each. Feel free to use them and modify them on your server as you see fit. They do include a number of Custom sub-plugins that I will be releasing in the near future.
To go along with these game mode configs, I would also like to share the gg_plugins.cfg file that I use with them (all of the sub-plugins are also Custom ones that I will release soon):
Code: Select all
gg plugin load hostname_manager
gg plugin load scoreboard
gg plugin load winner_display
gg plugin load winner_menu
I also hope to do a video series in the near future where I go over all of this installation/configuration, as well as showcase each of these game modes.
The plugin has been tested on CS:S and CS:GO, but I eventually want to make it available on other games. If you wish to help in this capacity, please let me know either in this thread or via PM.
There are a lot of translations involved, so please, if you know multiple languages, help out by submitting pull requests.
Also, if you find a bug in the code, or an enhancement, please submit an issue or pull request on the repository and not in this thread. The repository can be found here:
Current version download