Barotrauma

Barotrauma

256 vurderinger
Vanilla Gun Modify (VGM)
5
3
3
2
   
Pris
Føj til foretrukne
Gjort til foretrukken
Fjern som foretrukken
Filstørrelse:
Offentliggjort:
Opdateret:
2.487 MB
20. juli kl. 2:34
27. okt. kl. 7:54
11 ændringsbemærkninger ( vis )

Abonner for at downloade
Vanilla Gun Modify (VGM)

Beskrivelse
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
Populære diskussioner Vis alle (1)
0
8. aug. kl. 8:04
[Modder Only] 开发日志与复盘 Development Log and Post-Mortem
15.5T
106 kommentarer
TR-3485 21. nov. kl. 9:40 
作者大大,武器弹药的配方不对劲。有一个额外的贫铀冲锋枪扩容弹匣配方是用空的贫铀冲锋枪弹鼓做材料;以及突击步枪弹鼓的制作用的是普通弹匣,回收反而用的是扩容,这直接导致弹鼓无法复装。而且突击步枪和机枪子弹的贫铀版也没有。:mbnyufufu:
Hugo the Dwarf 3. nov. kl. 12:36 
suggestion/idea if you're up for it, as I was thinking of this but don't have the know how to pull it off.

Trigger/Firing systems, like a 3-round burst for the AR (unless this is limited by the rangedweapon tag)

Dual Wield alternate fire mode. So a trigger mode that when activated will just go from 100 to 50 activated again 50 to 100. When put into a 1h gun this is prevent it from "shooting"
so a player can hold one of these, use it manually to set it to 50, and then put them into their revolvers/handguns/handcannons so when using 2 at once it's not shooting both at the same time, it'll let them alternate shooting 1 at a time.

I'm more on the Dual-Wield alternating firemode weapon/trigger mod.
whosyourdaddy  [ophavsmand] 24. okt. kl. 16:40 
没问题👌(≧▽≦)
15.5T  [ophavsmand] 24. okt. kl. 8:45 
@whosyourdaddy 太感谢了!介意我把这些代码整合进mod吗?另外,请接受一下好友请求,好方便在更新之后添加你作为贡献者!:VGIRL:
whosyourdaddy  [ophavsmand] 21. okt. kl. 22:54 
你好,我已经在某个fork版本的分支中解决了每次巡回加载都会反复生成原装枪托的问题:
https://github.com/zhu-rengong/barotrauma-mod-vanillagunmodifyfork/blob/8eeb8cae4019ebf0e05084b59aa19ff15fc10895/Content/EuropaArmedGroupCommunity/VanillaGunModify/Guns/Shotgun.xml#L335-L349
现在只有当武器第一次生成,且是从加工台中制造出来时才会附带原装枪托。
15.5T  [ophavsmand] 21. okt. kl. 22:00 
关于枪托的问题:我已经选定了几个解决方案,正在着手尝试不加入lua前提下的可能性

hummmmm,这个好解决的,就是最糟的情况是不再自动生成原装枪托,只能依靠自己合成就是:VGRUMPY:
Carcer 20. okt. kl. 6:19 
Would you consider making a patch for baroverhaul weapons?
Urinal Cake 17. okt. kl. 21:12 
cannot recycle drum magazines, in order to make a recycled drum mag you need an extended magazine rather than a drum magazine
RainWater 17. okt. kl. 11:16 
why did you use ai on the cover? :steamthumbsdown:
今夜花如吹雪 14. okt. kl. 18:59 
建议把无托写成专门的配件,我把喷子托拆了下一个巡回又长出来了