Garry's Mod

Garry's Mod

30 ratings
Call of Duty - Gun Game - ULX VERSION
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Gamemode
Addon Tags: Fun, Realism
File Size
Posted
Updated
1.493 MB
15 Sep, 2022 @ 8:51am
14 May, 2023 @ 4:51am
39 Change Notes ( view )

Subscribe to download
Call of Duty - Gun Game - ULX VERSION

In 2 collections by Psychotrickser
All good Gamemodes of Gmod Workshop
64 items
Gmod - All Gamemodes and Addons for a multi-gamemode server
375 items
Description
This is an improved version of Fabian_Gunman's Call of Duty Gun Game. Feel free to visit the original addon and author and leave a like: https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=765807753

Changes to original version:
- fixed bug where new weapon would show invisible
- several ConVars and Console commands
- missing weapons are skipped automatically

New features:
- adjust the amount of played weapons up to infinite
- change which weapons are used
- restart round through console command
- automatic mapvote at the end
- weaponslist refreshes itself if modified through console commands
- shuffle the order of the guns played
- you can now start solo rounds without a second player having to join
- at the end of a round the screen shows the amount of kills everyone has

Server Console commands and variables:
gg_GenerateAllWeaponsFile: Generates a file containing all available weapons on your game
gg_PrintLoadout: Prints the weapons list
gg_RestartRound Restarts the round
gg_RemoveCurrentWeapon Also works on client. Skips the current weapon and removes it from the playlist
gg_Shuffle Can be 1 or 0. 1 means that the weapons playlist is shuffled
gg_WeaponsToPlay Can be any number you'd like. Sets the amount of weapons to be played in order to win the round


Help section:
How do I add weapons?
You can type in the gg_GenerateAllWeaponsFile Console command to generate a file containing all available weapons inside your gmod/data/cod_gungame folder and paste that content into weaponslist.json inside the same folder. Please note that not all of those weapons are actually playable and you'll need to remove some of them by editing the .json file or using the console command gg_RemoveCurrentWeapon.
Alternatively you can use this version of gungame: https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2855919739 by manually clicking on weapons from a list to create a weapon file inside gmod/data/dgungame_loadouts. You can then copy its contents into the weaponslist file.

I'm getting errors?
Most errors will be coming from the weapons and not this gamemode. Some weapon kills don't count as a kill due to how the weapon was programmed. I can't fix everything.
Popular Discussions View All (1)
0
24 Feb @ 9:28pm
gg_GenerateAllWeaponsFile Coming up as unknown
specialkgaming76
3 Comments
Mario 18 Sep, 2024 @ 8:12pm 
[Call of Duty - Gun Game - ULX VERSION] lua/includes/modules/draw.lua:139: bad argument #1 to 'gmatch' (string expected, got nil)
1. gmatch - [C]:-1
2. DrawText - lua/includes/modules/draw.lua:139
3. unknown - gamemodes/cod_gungame/gamemode/pregame_screen/cl_pregame.lua:55 (x184)
Mario 18 Sep, 2024 @ 8:12pm 
This gamemode is having console errors. I'm not sure If you could fix it though?

[Call of Duty - Gun Game - ULX VERSION] lua/includes/modules/draw.lua:139: bad argument #1 to 'gmatch' (string expected, got nil)
1. gmatch - [C]:-1
2. DrawText - lua/includes/modules/draw.lua:139
3. unknown - gamemodes/cod_gungame/gamemode/pregame_screen/cl_pregame.lua:55 (x301)


[Call of Duty - Gun Game - ULX VERSION] gamemodes/cod_gungame/gamemode/shared.lua:94: bad argument #1 to 'ipairs' (table expected, got nil)
1. ipairs - [C]:-1
2. countValues - gamemodes/cod_gungame/gamemode/shared.lua:94
3. playerIsAllowed - gamemodes/cod_gungame/gamemode/pregame_screen/cl_pregame.lua:8
4. DoClick - gamemodes/cod_gungame/gamemode/pregame_screen/cl_pregame.lua:88
5. unknown - lua/vgui/dlabel.lua:254
shiniwar 4 Feb, 2023 @ 11:28pm 
legal