wmafranz-Sosiggun_Scale_Multipliers icon

Sosiggun Scale Multipliers

Allows you to change the size of sosigguns to your liking, with categorization for more granular tuning

Last updated 12 hours ago
Total downloads 19
Total rating 0 
Categories Tweaks AI Generated
Dependency string wmafranz-Sosiggun_Scale_Multipliers-1.0.0
Dependants 0 other packages depend on this package

This mod requires the following mods to function

BepInEx-BepInExPack_H3VR-5.4.1700 icon
BepInEx-BepInExPack_H3VR

BepInEx pack for H3VR. Preconfigured and ready to use.

Preferred version: 5.4.1700

README

Sosiggun Scale Multipliers

Lets you make sosigguns bigger, so you can tell what a sosig is carrying from further away! Or smaller, if you're crazy.

Some sosigs holding scaled-up sosigguns

Keeps the buttstocks in the right place, and allows different sosiggun categories to recieve different scale multipliers.

Features

  • Scales sosigguns: Sosigguns are bigger across the board by default, increasing in size with their power/danger; Melee, grenades and shields can be turned on in the config. Grab-points scale properly with the gun (Mainhand, foregrip, and the stock-shouldering point), so the player can hold the scaled sosigguns properly, and so can humanoid enemies from other mods, as long as they use grab-points for placing the hands. The muzzle, muzzleflash FX, smoke FX, and colliders scale, too.
  • Keeps the stock out of the sosig: A sosig holds a sosiggun by its grip, so the gun is pushed forward by the extra stock length, to avoid a bigger one's stock poking further back and invading its wielder's personal space. Its back end stays where a vanilla gun's back end would be, and StockCompensation controls how much.
  • Stops the gun from colliding with its wielder: For extra measure, a scaled sosiggun ignores physics collisions with the sosig carrying it, in its hands or in an inventory slot.
  • Supports multi-barreled sosigguns: Per-barrel muzzle offsets are scaled too, so shots still leave the right barrels.

Setup

  1. Install the mod with r2modman or Thunderstore Mod Manager, as well as BepInExPack H3VR
  2. Launch the game through r2modman (Start modded)
  3. The config appears at BepInEx\config\h3vr.sosiggunscale.cfg after the mod is first launched, and can be edited manually or in r2modman's Config editor tab. Changes apply to sosigguns spawned afterwards.

Config

Weapon multipliers are sorted into five categories: Handguns: Pistol-ammo sosigguns 0.22 m long or shorter

Ordnance: rocket and grenade launchers, machine-gun ammo, anything the game rates "Massive" (RPG-7, minigun), full-auto rifles holding 90+ rounds, and sniper rifles hitting as hard as a .50. The Meatle Storm, M60 and Meat Fortress minigun are pre-listed as ordnance

Rotweiner weapons: The little orbs rotweiners carry and use to shoot projectiles (that look way too much like meat cores when they die, imo)

Long guns: Everything else

Each class has its own size multiplier. The log prints every gun's class and the reason it landed there ([Measure] ItemID: Class (reason) -> xN), and this can be disabled in the config. If a gun lands in the wrong class, put its ItemID in the correct class's list.

How guns are sorted

  1. The four ...ItemIDs lists take priority over automatic sorting
  2. Weapons the game gives to Rotwiener creatures are Rotwiener weapons.
  3. These count as ordnance: ammo types in OrdnanceAmmoTypes, "Massive" objects, full-auto rifle-caliber guns holding at least OrdnanceMinRounds rounds, and sniper rifles with at least AntiMaterielMinEnergyKJ of muzzle energy.
  4. Pistol-ammo guns no longer than HandgunMaxLength are handguns.
  5. Everything else is a long gun.
Section Setting Default What it does
General ScaleGuns / ScaleMeleeWeapons / ScaleGrenades / ScaleShields on / off / off / off Which weapon kinds to scale
General ExcludedItemIDs (empty) Comma-separated ItemIDs to leave alone
General ScaleParticleEffects on Muzzle flash and smoke scale with the gun
Scale HandgunMultiplier 1.3 Pistols, revolvers, machine pistols
Scale LongGunMultiplier 1.375 Rifles, carbines, SMGs, shotguns
Scale OrdnanceMultiplier 1.55 Launchers, machine guns, miniguns, anti-materiel rifles
Scale RotweinerMultiplier 1.0 Rotwiener creature launchers (1 = untouched)
Scale OtherWeaponMultiplier 1.35 Melee weapons, grenades and shields, if enabled
Classification HandgunMaxLength 0.22 m Longest a pistol-ammo gun can be and still count as a handgun
Classification OrdnanceAmmoTypes Rocket, Machinegun, Grenade Ammo types that are always ordnance
Classification OrdnanceMinRounds 90 Rounds per load that make a full-auto rifle-caliber gun a machine gun
Classification AntiMaterielMinEnergyKJ 9 Muzzle energy that makes a sniper rifle anti-materiel
Classification HandgunItemIDs / LongGunItemIDs / OrdnanceItemIDs / RotweinerItemIDs Ordnance list holds Meatle Storm, M60, MF minigun Manual overrides
Holding StockCompensation 1.0 1 = back of the gun stays in its vanilla spot; 0 = gun grows evenly around the grip
Holding MaxStockShift 0.5 m Cap on how far forward a gun can be pushed
Holding ShiftInInventorySlots off Also push guns forward when they're in a sosig's inventory slot
Holding IgnoreCollisionsWithHolder on A scaled gun doesn't physically bump into the sosig carrying it
Compatibility FixMissingRecoilProfile on Gives guns with no recoil profile (the Meat Fortress ones) a zero-recoil one, which stops crashes in the game's two-handed firing code and in Aiyke's code mod
Debug LogClassification on One line per gun type with its class, the reason and its multiplier, plus the Rotwiener weapon list. Turn off once you're set up
Debug LogMeasurements off Detailed diagnostics: sizes, grab points, firing setup, holder info, recoil-profile fixes

AI SLOP DISCLOSURE!!!

That's right, you heard me... There is no Santa Claus, there is no Easter Bunny, and there is NO PERFECT, FLAWLESS, UN-AI CREATED, Hotdogs Horseshoes and Handgrenades mod that lets you scale sosigguns... ALL HAIL Claude by Anthropic® (Opus 5.5 model™)!

But in all seriousness, this mod was programmed by AI, with me taking the role of 'tester'. The pinnacle of my programming ability outside of visual scripting was making pong in C# for a highschool project. Then the pandemic hit, and I've failed to recreate that euphoric high ever since. I believe modern AI tools are great for people like me to turn 'game design thoughts' into actually tangible things you can play, but you have to be careful not to get lazy, and let standards of quality or committment fall apart.

Which is to say, while I'm pretty sure I've done a thorough enough job ironing out the bugs and making sure all the sosigguns work properly, there could still be unforeseen issues!

Please use the issues tab on Github to let me know if you encounter any unintended bugs, issues, or incompatibilities, and make sure to include your BepInEx log, your mod list, and what happened before things went wrong!