Weapon Damage Balancer & Scaler

If you liked this item, please rate it up on Steam Workshop page.

Author: w.black57

Last revision: 3 Feb, 2025 at 13:36 UTC

File size: 76.96 KB

On Steam Workshop

Description:
Introduction

Created a simple non-weapon-intrusive script to deal with Overpowered (or underpowered) weapons seen in this workshop. This is so I could actually use them in the HL2 Campaign without them being too much of a cheese to play with. I made this to use with my Sandbox Weapon Shop Mod

Features

– Add your currently held weapon to the list and apply damage multiplier on them
– Manually add weapons to the list by typing the weapon class name and your preferred damage multiplier
– Create and Save your own Presets! Loaded presets will get loaded even after map change/restart.
– Testing tools to auto-add your current weapon to the list with damage matching your chosen HL2 weapon damage (or your chosen flat damage) for easier balancing.
– Quickly edit the list entry by double clicking or right click with context menu
– Damage Multiplier works on Gravity Gun damage when punting props to enemies (and perhaps physgun)

Possible FAQ
Where do I find the config?

– Spawnmenu (‘Q’ by default) -> Options -> WeTools

How do I delete an entry in the list?

– Right-click that entry then remove, editing can be done through the Right-Click menu as well

The damage multiplier doesn’t work as intended when I launch a grenade then switching to another weapon. What happened?

– You probably have not set the projectile class name entity that goes along with the weapon. Use the ‘What’s My Weapon’s projectile Class?’ test or set the proj class name in the list with the corresponding projectile entity (i.e. ‘weapon_ar2’ has ‘prop_combine_ball’ as its projectile entity)

I applied the Flat Damage test and set it to ’10’ dmg, but when I shot a NPC, it only damaged 6. What happened?

– Not all NPCs have the same armor value/damage reduction. The test bases it on the HL2 Stalker NPC (npc_stalker). If you want that damage to reach to ’10’ on that certain NPC, try adjusting the value and keep trying. I made it so the tests is as fast and easy as possible to do.

Where can I find the preset files?

– The presets can be found at: GarrysModgarrysmoddatawedamagepresets (i.e. C:Program Files (x86)SteamsteamappscommonGarrysModgarrysmoddatawedamagepresets)

How does it work?

– Instead of changing the weapon’s damage directly, I used the ScaleDamage function of lua Gmod which tweaks the damage taken of the entity. So basically holding the matching weapon in the list will decrease/increase the entity’s damage received done by the player.

How is this different from other Damage Editing Workshop mods?

– Some Workshop mods changes the player’s damage in a global scale, meaning ALL weapons will have the damage multiplier. Which is a problem when one weapon is overpowered and another is underpowered. By individually applying damage multipliers, balancing can be done.
– And some mods change damage depending on body parts hit, resulting in the same problem of the weapon balance.
– Another edits the weapons itself, but not all weapons can have their damage output changed.

Why would I want to nerf my overpowered weapons?

– In my opinion, Having OP weapons give a short burst of fun and would die out quick. Having a little challenge with the right damaging guns could fish out more of the fun. Its up to you if you really want to nerf it :3

Does it work with kick mods (i.e. bsmod kicks)?

– I would consider this INCOMPATIBLE with BSMOD and any other mods that would let the player’s deal damage in other ways other than guns. You might need to revert to other damage editing mods if you want those.
– If you DO try using it, the kick would have it’s damage multiplier the same as your currently held weapon. (I mean if you want that, go ahead and use it. Its a sandbox game :P)

Check out my other mods!:

Sandbox Weapon Shop and Money System
Nav Hunt
Weapon Recoil Effect Adjuster

Mods used in screenshot/GIF:

Dell’s Proto-Arm SWEPs
Moving 2D Damage Numbers
Entity Health Bar
Combine Laser Sights
GlowLib [1.2]
Half-Life 2 Reanimation Pack

Psst.. Don’t Forget to like! It can help my achievement. THANK YOU!

That’s all… Thank you!!

Oh you’re still here… okay then..

Donation would be appreciated for my work ^_^
https://ko-fi.com/wblack57

No stalkers were killed during the tests…