Garry's Mod

Garry's Mod

94 avaliações
Customizable Crowbar Damage
   
Premiar
+ favoritos
Nos favoritos
- favoritos
Content Type: Addon
Addon Type: Tool
Addon Tags: Roleplay, Realism
Tamanho
Publicado em
Atualizado em
555.000 B
20/set./2018 às 4:40
7/out./2018 às 1:28
2 notas de atualização (ver)

Inscreva-se para baixar
Customizable Crowbar Damage

Descrição
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 comentário(s)
Jamesinator 11/nov./2023 às 18:45 
It cant unfortunately but thanks anyways
zql9843  [autor(a)] 11/nov./2023 às 18:37 
@Jamesinator iirc there is a weapon editor plugin. But I am unsure whether it can edit base weapon or not.
Jamesinator 9/nov./2023 às 16:27 
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  [autor(a)] 7/jun./2023 às 22:59 
@Jamesinator
There are convars for those weapons in base game.
Jamesinator 7/jun./2023 às 19:26 
is there any way I can get this to work with other HL2 weapons like the guns and crossbow?
bad_teammate357 3/jun./2023 às 23:42 
Do npc's get the damage changes too?
jack 4/abr./2023 às 17:28 
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  [autor(a)] 25/nov./2022 às 22:28 
@Sir.Goat459 Yes
Sir.Goat459 19/nov./2022 às 12:28 
well now crowbars do 10 damage by default so will this mod be able to change it back?
Gordon Freeman 29/nov./2021 às 6:02 
yes, you can even change damage of guns and health of npc's