Gun Game by DUKIP
Description:
Gun Game that's highly customizable, featuring modifiable DVARs for your pleasure, a toggleable Zombie Counter (created by WhiteDevil), and harder zombies than normal.
How-to:
There are a total of 4 DVARs you can modify:
scr_zom_level_limit - handles total gun levels, max is 18 and minimum is 5. DEFAULT: 12
scr_zom_kill_increment - handles how many kills it takes to level up, max is infinite and minimum is 0 . DEFAULT: 20
scr_zom_allow_pap_weapons - handles if the script use PAP weapons, max is 1 and minimum is 0. DEFAULT: 1 (true)
scr_zom_allow_zm_counter - handles if the script should draw the ZM Counter, max is 1 and minimum is 0. DEFAULT: 1 (true)
Want to Use in Your Map?I've modified a couple of stock GSC's but I've added an annotation to where I've edited parts of the GSC. You can find parts I have edited using the Find Tool and searching for "//Intricate".
The two custom GSC's I've created can be copied anywhere, just make sure to not separate them as one requires the other.
If you're using different weapons than what's in the current version, you can easily modify it yourself in the GSC: _zombiemode_gungame, function weaponizedArray(). So the setup is if you want to add another "class" of weapons you have to create a new line before the special weapons array (7) i.e. Ray Gun/Tesla and after the Pistols array (0); so, add a new line between arrays 1-6. Layout is included, array = strTok("weapons", ",");. You also have to modify "randnum" range in selectWeapons(), so if you add a new array increase the 2nd parameter of randomIntRange by how many new lines you've added. If you removed an array, reduce it by the amount taken out. Also with whatever you did you must modify the final weapon selection: "weapon_selected = weaponizedArray( 7 );", modify weaponizedArrays parameter to the total number of arrays (start from 0).
Versions:
- 0.5
- Initial release - DLC 3 support only
Pictures:



Bugs:
I myself have experienced 0 issues with this release, I haven't been able to test it on MP but there should be absolutely no issues with this build compared to the older versions.
If you experience a bug, PM me here or message me on Steam.
Credits:
- Intricate (DidUknowiPwn) - Main Coder
- Rollonmath42 - Tester/BFF
- WhiteDevil - ZM Counter
- SparkyMcSparks - SRE Tutorial/BFF