Barotrauma

Barotrauma

160 ratings
Vanilla Gun Modify (VGM)
2
3
2
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
2.459 MB
20 Jul @ 2:34am
21 Aug @ 3:52am
9 Change Notes ( view )

Subscribe to download
Vanilla Gun Modify (VGM)

Description
This isn't about throwing into a fabricator to get a new gun; this is genuine quick-change tactical plugin modification



This mod was created using http://[https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=3529593079

Latest Updates

The beta major update is now live!

Destructive Update Warning: This update refactors the code and removes all "tactical" weapons. For previous saves, weapons may disappear after the update. We apologize for any inconvenience caused by this version update!

Main content:

- Fixed the issue where plugin effects needed to be re-installed to work after a map reset

- Rewrote the code to prepare for GunEnchanced compatibility. All core content is now ported to vanilla weapons, so you no longer need to throw weapons into a fabricator. You can now add and remove plugins directly on vanilla weapons

- Added a new plugin type: Scanner. It has the same effect as the original instrument but only works when you aim the gun. Currently includes medical scanners and thermal imagers

- Added support for Blast, Auto-Shotgun, Nuclear Gun (Accelerator), and Scrap Cannon

- Added original stocks for all stocked weapons, as well as extended magazine and drum magazine versions for all magazines

- Optimized the bullpup modification option: all stocked weapons now generate with their original stock; removing the stock provides a movement speed bonus at the cost of a slight increase in spread

- Laser sights are no longer just red. You can now change the laser color at any time, with the same logic as changing light colors



- Some plugins have been rewritten. Weapons are now preliminarily divided into three types: "Pistol," "Light Weapon," and "Heavy Weapon." Pistols cannot install most plugins other than scopes and flashlights, while light and heavy weapons have different plugin options


Please share your feedback and suggestions in the comments section!

Introduction

The Vanilla Gun Modify Sys (VGM) for Barotrauma aims to replicate the tactical plugin modification system found in mainstream FPS games like PUBG, Call of Duty, Metro, and S.T.A.L.K.E.R., providing a familiar, convenient, and elegant way to fine-tune your ship's weapons: from a submachine gun with a suppressor and laser sight to a revolver "rifle" with an extended barrel, sniper scope, and pistol grip.

This mod adds a workbench, 10 weapons with multiple slots, and 15 different firearm accessories. All plugins work by being directly inserted into the weapon. The plugin effect values are based on the original game's values, with some slight imbalances but are generally suitable for the vanilla game environment.



Usage Guide

You need to craft a "Weapon Modification Workbench" at the vanilla workbench, place it in the submarine, and power it on. Use this workbench to craft various plugins.

Currently, there are five slots for modification:

Top Mount (Scope)

Affects the reticle size and the weapon's maximum visible distance. In addition, laser sights, flashlights, glowsticks, etc., can also be installed on top



Barrel

Affects screen shake during full auto, damage, and barrel position



A longer barrel can provide a more significant bonus to damage and stability, but an overly long barrel can be a hindrance in close quarters combat



Underbarrel

Affects the gun's posture and is the primary mounting point for light sources. Keeping the muzzle pointed forward helps maintain alertness during mobile firefights



Stock

Affects the weapon's movement speed and spread. A heavier stock allows the shooter to aim better but also affects mobility



Scanner

Installed on the side of the gun, with the exact same function as the vanilla scanner, except they must be aimed to work properly



b[/b]

This is not considered a tactical plugin, but who can say no to a drum magazine with 3 times the capacity?

Future Updates

Considering my history of "promising and not delivering," I can't guarantee too many future updates this time.

Best-case scenario: VGM will finish all vanilla weapons and add at least 10 more plugins within this year. In addition, a total of 4 themed expansion packs will be released in 2026—two before the DLC is released and two after. Of course, there will also be minimum subsequent version support.

Worst-case scenario? Maybe I'll release it and then abandon it. How far I can go depends on community feedback and how busy I am this year.

Mod Support
GunEnhanced, Additional patch is required. (Strongly Recommended)

Compatibility Warning
This mod modifies (almost all) of the original weapons and has a complete framework built around them. In theory, it may conflict with any mod that modifies the original weapons.

If you plan to play with other original expansion mods, simply place VGM at the top of these mods, and it will not affect the gaming experience.
If you plan to play with mods that deviate from the original game's numerical parameters, consider downloading a dedicated integration patch. VGM modifies the numerical values of these weapons, and they require a dedicated numerical compatibility patch to work well with them.

If you wish to perform secondary development based on this module, there is no need to request authorization privately. All content within this module (including code, music, and materials) is released under the MIT license. You are free to use, modify, and distribute it as you see fit! I have included extensive comments in the XML file for your reference.

Source Code[github.com] is here
Popular Discussions View All (1)
0
8 Aug @ 8:04am
[Modder Only] 开发日志与复盘 Development Log and Post-Mortem
15.5T
63 Comments
Sorry for not responding to your answer author. But the issue is fixed after one of your patch :MMForFun:
15.5T  [author] 29 Aug @ 7:22am 
@BoKi?请将VGM模组放在所有模组的最上方,这种情况应该是和其他有修改原版武器的模组产生了冲突
BoKi? 29 Aug @ 3:53am 
怎么给枪上挂件呢?我试着给重机枪上重机枪枪托没能成功,步枪倒是有个位置能放瞄准镜,重机枪就找不到对应槽位,激光跟红外瞄准镜也是一样。是跟EK模组冲突了吗?我记得重机枪是原版枪械呀
MOMOSA 28 Aug @ 9:58am 
15.5T  [author] 20 Aug @ 7:55am 
@AloneFallen 我在服务器上尝试了之后是有正常增伤的,也许是我加的数值过于保守了导致它们不够明显?如果能看到枪管位置变化和声音改变的话说明有被正常激活。另外,服务器是否有安装什么其他mods吗?比如PerformanceFix之类的?

对于兼容补丁的异常,非常感谢反馈,我会在之后有空的时间回去更新的
AloneFallen 20 Aug @ 5:09am 
另外Guns Enhanced VGM 兼容补丁里亡眼步枪装备长枪消音器和延长枪管貌似会出现贴图错误问题
AloneFallen 20 Aug @ 5:08am 
有几个能够提供增伤的配件貌似没有生效?我试了延长枪管和长枪消音器 装配前后服务器记录里的伤害数据是一样的
15.5T  [author] 19 Aug @ 6:10am 
@[Z] JustRusskiGuy [JRG/JCG/JSG] Can you tell me what kind of scope you got? Also, did you install any other mods while playing?
For some reason, attached scope to the weapon doesn't work how it must be. But when I deattach the scope and use him as a binocalrus - he works.
Or did I something wrong? Btw, I didn't crafted him, I found this scope in wreckages of sumbarine.
15.5T  [author] 14 Aug @ 1:58am 
@AloneFallen 草,感谢反馈,我回去看一下