Garry's Mod

Garry's Mod

30 个评价
Call of Duty - Gun Game - ULX VERSION
   
奖励
收藏
已收藏
取消收藏
素材类型: 插件
插件类型: 游戏模式
插件标签: 快乐, 写实
文件大小
发表于
更新日期
1.493 MB
2022 年 9 月 15 日 上午 8:51
2023 年 5 月 14 日 上午 4:51
39 项改动说明 ( 查看 )

订阅以下载
Call of Duty - Gun Game - ULX VERSION

在 Psychotrickser 的 2 个合集中
All good Gamemodes of Gmod Workshop
65 件物品
Gmod - All Gamemodes and Addons for a multi-gamemode server
380 件物品
描述
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://psteamcommunity.yuanyoumao.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://psteamcommunity.yuanyoumao.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.
热门讨论 查看全部(1)
1
8 月 8 日 下午 2:39
gg_GenerateAllWeaponsFile Coming up as unknown
specialkgaming76
3 条留言
Mario 2024 年 9 月 18 日 下午 8:12 
[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 2024 年 9 月 18 日 下午 8:12 
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 2023 年 2 月 4 日 下午 11:28 
legal