Garry's Mod

Garry's Mod

94 ratings
Customizable Crowbar Damage
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Tool
Addon Tags: Roleplay, Realism
File Size
Posted
Updated
555.000 B
20 Sep, 2018 @ 4:40am
7 Oct, 2018 @ 1:28am
2 Change Notes ( view )

Subscribe to download
Customizable Crowbar Damage

Description
UPDATE 10/7/2018: plr_stunstick_damge& plr_stunstick_dmg_enabled added

Want to get rid of that OP crowbar in PVP and CO-OP gamemodes? This is exactly what you need!

For unknow reason, Garry's Mod has removed convar 'sk_plr_dmg_crowbar' which presents in half life 2 and made modifying crowbar damage impossible. This plugin is created to solve this problem by adding an option to tweak the value. I wrote this plugin because I couldn't find anything like this in the workshop.

The tutorial is included in the image. But in case it failed to load, I will list and explain the convars you will need below:
'plr_crowbar_dmg_enabled'
By default set to 1. Other values will ignore 'plr_crowbar_dmg' and restore crowbar damage to gmod default value (25).
'plr_stunstick_dmg_enabled'
By default set to 1. Other values will ignore 'plr_stunstick_dmg' and restore stunstick damage to gmod default value (40).
'plr_crowbar_dmg'
The value of this convar determines the damage of your crowbar and it is set to 10 by default to mimic half life 2 crowbar. Chang it as you see fit.
'plr_stunstick_dmg'
The value of this convar determines the damage of your stunstick and it is set to 40 by default.

Q: How this plugin works?
A: Using EntityTakeDamage hook to modify damage caused by crowbar rather than changing the base value of crowbar damage.

Q: Is there any incompatable addon?
A: No, but only for those I have tested with. However, this plugin does not 'support' Hit Number and the latter will show the wrong value of 25 regardless of your dmg setting (the actual damage done is not affected). I guess the reason is that the 'Hit Number' also utilizes EntityTakeDamage hook to display damage. But as I said before actual dmg value is not affected by Hit Number, just a display error in short.

Q: Can I use it in my server?
A: Of course you can. This addon is tested on my own server. Though I would recommend you to write a new crowbar instead of using this addon.
25 Comments
Jamesinator 11 Nov, 2023 @ 6:45pm 
It cant unfortunately but thanks anyways
zql9843  [author] 11 Nov, 2023 @ 6:37pm 
@Jamesinator iirc there is a weapon editor plugin. But I am unsure whether it can edit base weapon or not.
Jamesinator 9 Nov, 2023 @ 4:27pm 
So I checked out those convars, sk_plr_dmg_smg1 and stuff. They worked! But only on the NPC's. I'm trying to find a way to change the damage stats on the default weapons that'll effect players. Are there any such convars for that?
zql9843  [author] 7 Jun, 2023 @ 10:59pm 
@Jamesinator
There are convars for those weapons in base game.
Jamesinator 7 Jun, 2023 @ 7:26pm 
is there any way I can get this to work with other HL2 weapons like the guns and crossbow?
bad_teammate357 3 Jun, 2023 @ 11:42pm 
Do npc's get the damage changes too?
jack 4 Apr, 2023 @ 5:28pm 
WARNING! Carry on reading! Or you will die, even if you only looked at the word warning! Once there was a little girl called Clarissa, she was ten-years-old and she lived in a mental hospital, because she killed her mom and her dad. She got so bad she went to kill all the staff in the hospital so the More- government decided that best idea was to get rid of her so they set up a special room to kill her, as humane as possible but it went wrong the machine they were using went wrong. And she sat there in agony for hours until she died. Now every week on the day of her death she returns to the person that reads this letter, on a monday night at 12:00a.m. She creeps into your room and kills you slowly, by cutting you and watching you bleed to death. Now send this to ten other profiles on this one site, and she will haunt someone else who doesn't. This isn't fake. apparently, if u copy and paste this to ten comments in the next ten minutes u will have the best of your life
zql9843  [author] 25 Nov, 2022 @ 10:28pm 
@Sir.Goat459 Yes
Sir.Goat459 19 Nov, 2022 @ 12:28pm 
well now crowbars do 10 damage by default so will this mod be able to change it back?
Gordon Freeman 29 Nov, 2021 @ 6:02am 
yes, you can even change damage of guns and health of npc's