Barotrauma

Barotrauma

239 arvostelua
Vanilla Gun Modify (VGM)
5
3
3
2
   
Palkinto
Lisää suosikkeihin
Lisätty suosikkeihin
Poista suosikeista
Tiedostokoko
Julkaistu
Päivitetty
2.479 MB
20.7. klo 2.34
3.10. klo 7.19
10 muutosilmoitusta ( näytä )

Tilaa ladataksesi
Vanilla Gun Modify (VGM)

Kuvaus
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
Suositut keskustelut Näytä kaikki (1)
0
8.8. klo 8.04
[Modder Only] 开发日志与复盘 Development Log and Post-Mortem
15.5T
104 kommenttia
whosyourdaddy  [tekijä] 24.10. klo 16.40 
没问题👌(≧▽≦)
15.5T  [tekijä] 24.10. klo 8.45 
@whosyourdaddy 太感谢了!介意我把这些代码整合进mod吗?另外,请接受一下好友请求,好方便在更新之后添加你作为贡献者!:VGIRL:
whosyourdaddy  [tekijä] 21.10. klo 22.54 
你好,我已经在某个fork版本的分支中解决了每次巡回加载都会反复生成原装枪托的问题:
https://github.com/zhu-rengong/barotrauma-mod-vanillagunmodifyfork/blob/8eeb8cae4019ebf0e05084b59aa19ff15fc10895/Content/EuropaArmedGroupCommunity/VanillaGunModify/Guns/Shotgun.xml#L335-L349
现在只有当武器第一次生成,且是从加工台中制造出来时才会附带原装枪托。
15.5T  [tekijä] 21.10. klo 22.00 
关于枪托的问题:我已经选定了几个解决方案,正在着手尝试不加入lua前提下的可能性

hummmmm,这个好解决的,就是最糟的情况是不再自动生成原装枪托,只能依靠自己合成就是:VGRUMPY:
Carcer 20.10. klo 6.19 
Would you consider making a patch for baroverhaul weapons?
Urinal Cake 17.10. klo 21.12 
cannot recycle drum magazines, in order to make a recycled drum mag you need an extended magazine rather than a drum magazine
SauceMaster 17.10. klo 11.16 
why did you use ai on the cover? :steamthumbsdown:
今夜花如吹雪 14.10. klo 18.59 
建议把无托写成专门的配件,我把喷子托拆了下一个巡回又长出来了
Abra⁧⁧cadabra 12.10. klo 18.11 
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  [tekijä] 11.10. klo 23.06 
@青草勿心 我会看看的,不过最近有点忙,可能不会这么快出来