gun-game

#15 - published 2 years ago

Gun Game

Gun Game (Arms Race)

Gun Game (sometimes known as Arms Race) is a plugin for Unturned server based of Gun Game and Arms Race for Counter-Strike.

All players start with the same gun and get new guns every time they kill someone. The win the game,a player has to get to the last level (Knife Level) and kill a player, this is usually difficult because most other players will still have guns when the knife level player only has a knife. Players can also get the ‘Over Powered’ perk if they get a kill streak. This perk gives them max skills making them faster and more capable of killing other players. As a players kill streak increases, the time of ‘OP’ mode increases.

If a player gets killed with a knife, they will loose a level and the killer will gain a level.

Configuration:

This plugin is designed to be run on its own server, it completely disables the normal Unturned survival game mode.

It is highly recommended that you configure the Unturned server with this config file. Put this file in the root of the server directory you have installed the Gun Game plugin on.

 

Spawning:

You can set custom spawn points with the “/addspawn” command but you will have to enable custom spawns in the config. This will stop players from being randomly spawned in the map and will only spawn them at the specified locations.

If you do decide to use random spawns, you should enable the “/unsick” command to unstick players if they get stuck while respawning. You can set the cool down and delay for this command in the config file.

 

Translation:

You can change any of the in-game text through the translation file in “Plugins/Gungame”. You can also change the color of any of the in-game text by replacing the HEX color code with your own. Here is a tool to find the hex codes of colors. If a translation entry has a color of “000000” by default, it is probably only shown in console so colors don’t apply.

 

Map:

This server can run any map but you will have to configure the arena border to get the desired location of the game.

I do not recommend using this plugin with an arena map because they interfere with each other by clearing items deleting walls etc. This can cause bugs where players do not have any guns.

 

Time between rounds:

There is a delay between when a player wins causing the round to end and when it starts again. This delay can be changed in the config file.

 

Arena Border:

There is a border that keeps players inside the desired arena. The border can be changed to any size you like with the 4 co-ordinate parameters in the “GunGameConfig.xml” file in the directory of “Plugins/GunGame”.

The arena border will stop any players going out side even if there is no barricade in the way, this does not apply to players who are admin.

The arena walls are re-generated when you use “/reset” or any of the border configuration commands.

If you change the borders in the “GunGameConfig.xml” file while the servers are running, you will need to do “/rocket reload” and “/reset” for these changes to take effect. This also applies if the server is not running while you change the config except you do not need to do “/rocket reload”.

You can also change the barricade that the wall is made of and you can change the spacing in between the barricades.

If you do not want any spacing between the barricades you have to set the width and height to that of the barricade you are using

Small plate width: 2.0

Small plate height: 2.0

Large plate width: 3.75

Large plate height: 3.75

Not sure if these are 100% accurate, please notify me if you know what the real sizes are. I have not had enough time to guess and check for all the sizes.

Note:

The North wall co-ordinate must be bigger than the South wall co-ordinate and the East wall co-ordinate must be bigger than the West wall co-ordinate.

 

Gun List:

The gun list is randomly ordered from a list of Item ID’s in the “GunGameConfig.xml” file in the directory of “Plugins/GunGame”.

By default, the list of guns will be generated in a random order from the config file but you can set it to be non-random, this means that the guns will go in the order that you put them in the config every time. This can be useful if you want pistols at the start of the round, rifles in the middle etc..

You can add, remove or change guns as you wish. This plugin has not been tested with custom workshop or mod guns but I think it should work.

 

Commands:

“/reset” – resets the game and re-generates the list of guns

“/op” – gives you the ‘Over Powered’ status in game for 20 seconds.

“/lvlu” – increases your Gun Game level as if you had killed a player. This gives you the next gun in the list.

“/lvld” – decreases your Gun Game level as if you had been killed with a knife. This gives you the previous gun in the list.

“/unstick” – If a player gets stuck inside an object while respawning, they can use this command to get spawned again.

Arena boundary commands:

“/northwall” (“/nw”) – Sets the co-ordinate for the north wall of the arena.

“/southwall” (“/sw”) – Sets the co-ordinate for the south wall of the arena.

“/eastwall” (“/ew”) – Sets the co-ordinate for the east wall of the arena.

“/westwall” (“/ww”) – Sets the co-ordinate for the west wall of the arena.

Custom spawn commands:

“/addspawn” (“/as”) – Adds a spawn point to the list of custom spawns.

“/deletespawn” (“/ds”) – Deletes a spawn point from the list of custom spawns.

 

 

 

–Development has been discontinued–

Default configuration


Default english translation


<?xml version="1.0" encoding="utf-8"?>
<Translations xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" />

Commands and permissions


This plugin doesn't have any commands.

Git changelog


aa6f09949b1372c 2016-11-19 02:37:02

Added support for RPG kills

    58272b0d5530b91 2016-11-15 07:34:39

    Added custom translation with colors

    • The original rocket translation system was not working so I added a
    • custom one with colors.

    00830259a2cd71b 2016-11-15 03:35:44

    Added custom weapon order and a framework for non dedicated mode

    • Added an option for random order of guns and added a framework or the
    • basis for running a gungame round on a non dedicated gungame server.

    86e281880ec08f5 2016-11-14 06:10:09

    Added optional fixed custom spawn points and added unstick command

    • Added functionality to manage custom spawn locations instead of having
    • random spawn locations that could cause errors.

    daeaaa12092d239 2016-11-13 21:22:15

    Fixed issues with rocket.core dependency

      9bb233dc3b393e3 2016-11-13 21:17:47

      Deleted Old

        43ee2a0a6046ba4 2016-11-13 21:17:24

        Deleted Old

          d9616ccc02b1dcb 2016-11-13 19:42:27

          Deleted outdated config

            b1ee05bbc00b634 2016-11-13 19:41:19

            Added battlEye support to custom config

              0925f7aa0a167d0 2016-11-11 06:03:41

              Added Unturned server config file

                3b53aa2793df8e1 2016-11-11 06:03:18

                Added Unturned server config file

                  b7d4e691125acdb 2016-11-11 06:00:43

                  Fixed build path

                    8c6c9f82e785a65 2016-11-11 05:58:15

                    Updated Build Path

                      51ba927c2e306c9 2016-11-11 05:55:28

                      Updated required libraries

                        76424603e0291c2 2016-11-11 05:08:52

                        Initial Upload

                          Download

                          Build #15
                          By downloading this file, you agree to our license terms.

                          Repository

                          github.com

                          License

                          MIT

                          Author

                          NightFish