Barotrauma

Barotrauma

224 ratings
Vanilla Gun Modify (VGM)
5
3
3
2
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
2.479 MB
20 Jul @ 2:34am
3 Oct @ 7:19am
10 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 attachment modification



This mod was created using Weapon XML Generator

Latest Updates

This update can be summarised in one image:

Additionally, a few minor optimisations have been incorporated.
Development of the core VGM engine is now largely complete. Moving forward, I shall focus my attention on creating other VGM expansion modules that, while not strictly faithful to the original, offer tremendous enjoyment.
Please share your feedback and suggestions in the comments section!


Introduction

The Vanilla Gun Modify Sys (VGM) for Barotrauma aims to replicate the tactical attachment 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 attachments work by being directly inserted into the weapon. The attachment 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 attachments.

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



Both the lower and upper attachment slots may serve as mounting points for light sources. This mod reworks glowsticks and signal flares to permit their attachment to firearms. Additionally, it introduces a laser that can switch colours at will—unlike common multicolour lasers, VGM's laser employs light source editing logic, theoretically enabling it to become any colour you desire.


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



(Mags)

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

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
97 Comments
今夜花如吹雪 14 Oct @ 6:59pm 
建议把无托写成专门的配件,我把喷子托拆了下一个巡回又长出来了
Abra⁧⁧cadabra 12 Oct @ 6:11pm 
It'd be awesome if we could have attachments for the harpoon guns as well, maybe an attachment that makes them easier to retrieve, or auto retrieve them by reeling them back in. Same with being able to have the health scanner.
15.5T  [author] 11 Oct @ 11:06pm 
@青草勿心 我会看看的,不过最近有点忙,可能不会这么快出来
青草勿心 11 Oct @ 6:31pm 
15大哥!可以出个Baroverhaul的兼容补丁吗?此MOD覆盖了Baroverhau会导致枪械无法制作。
SAins 10 Oct @ 10:11am 
我超 兄弟这个太帅了
15.5T  [author] 7 Oct @ 6:16am 
@OhMyMayasuran 这个问题有可能是Smarter AI没有正确配置好Crew Loadout导致的,与本mod无关,另外,我刚刚发现一部分配件确实漏掉了拆解选项,会在后面随着AI预设一起更新
OhMyMayasuran 7 Oct @ 1:19am 
有点难复现,我就安装了Smarter Bot AI,没有其他可能会影响到ai的mod,只遇到过两次进站的时候发生换下所有配件的情况
15.5T  [author] 6 Oct @ 7:58pm 
@OhMyMayasuran 我在只加载该mod的情况下暂时没有遇到这个问题,ai在换弹时不会顺带换下配件。
可以告诉我你在遇到这个问题时有安装什么额外的mod吗?
OhMyMayasuran 6 Oct @ 7:08am 
整体玩下来很棒。:steamthumbsup:希望能加一个把配件拆解回收的功能,拆野生的枪会留下很多枪托就很难受。目前还遇到一个问题就是ai换弹会把所有配件都掉落在地上。:steamfacepalm:
夜不能寐吗 5 Oct @ 5:48am 
详实的内容+git仓库+MIT+大量注释,真是令人放心的作者啊!!!