Damage Modifier

Given the idea, with the help of Kogitsune, I created this.

[release]
Features:

  • Supports 10 damage types:
    Bullet damage; Dissolve (AR2 Ball/Combine stuff) damage; Explosion damage; Melee damage; Gravity Gun punt damage; Prop crushing/prop colliding damage; Falling damage; Burning damage; Radiation damage; Acid damage
  • Easily set any damage type through:
    Q Menu > Utilites > Damage Control > Admin.
  • Disable any unwanted damage type! (which is great for RP gamemodes because you can disable prop collision damage)

Q: What’s this?

A: This is an addon that lets a server admin modify the server’s damage amount (currently supports 10 damage types).

**Q: How does it work?

A: The minimum multiplier of a damage type is 0.0, and the maximum multiplier of a damage type is 5.0.
So for example, default damage done by bullets is 100%, if we set the multiplier to 2.5, bullets will deal 250% of normal bullet damage.
Same with other damage types.
APPLIES GLOBALLY, TO EVERY NPC/PLAYER/ENTITY.**

Q: How do I use this?

A: Either use a menu located in:
Q Menu > Utilites > Damage Control > Admin.
or use your server’s console to modify the settings (mul_<damage name>)

**Q: How many damage types does it support at the time?

A: Currently it supports 10 damage types:
Bullet damage; Dissolve (AR2 Ball/Combine stuff) damage; Explosion damage; Melee damage; Gravity Gun punt damage; Prop crushing/prop colliding damage; Falling damage; Burning damage; Radiation damage; Acid damage**

**Q: Is it exploitable?

A: No, it’s not. I tested this script on a server with 4-5 people, no exploits detected.**
[/release]

Changelog:
1.2:

  • Damage Modifier now modifies the pushing force of a damage type!
    /\ Fixed Dissolve damage not resetting when pushing the Reset Settings button

1.1:

  • Added in 4 new damage types
    /\ Fixed Damage Modifier conflicting with Simple Prop Protection (!)
    /\ Fixed server having mul2_ cvars
    /\ Minimum damage scale is now 0
    /\ Maximum damage scale is now 5
    /\ Changed ‘Crushing Damage Multiplier’ to ‘Prop Collision Damage Multiplier’

How the menu looks like (press to enlarge):
[img_thumb]http://s3.garrysmod.org/img/dl/93161_1.jpg[/img_thumb]

http://www.garrysmod.org/img/?t=dll&id=93364

Credits:
Kogitsune - Helping me out.

Testers:
>:3
[BCC] John Greene
Dick Gumshoe (ShoopDaGUHH)
Robse
.Joe BL00dField |ŦƒŲ|
+[SP]+ St. Hetfield
Leeroy Newman

Update released, link:

What’s new?

Changelog:
1.1:

  • Added in 4 new damage types
    /\ Fixed Damage Modifier conflicting with Simple Prop Protection (!)
    /\ Fixed server having mul2_ cvars
    /\ Minimum damage scale is now 0
    /\ Maximum damage scale is now 5
    /\ Changed ‘Crushing Damage Multiplier’ to ‘Prop Collision Damage Multiplier’

Awesome, thank you for making this! Now my NPC battles will be much longer!
Oh, and just a question, can this counter the instant kill on NPC’s when they are shot in the head?

Great Idea I’ve been looking for this stuff.

Hmm, doesn’t seem to be working for me. I’m playing on singleplayer, could that be it?

No, headshots with weapons dealing 1 or more damage points (I created a SWEP that deals only 1 damage using a bullet) results in an instant kill.

Another update released.

What’s new?

1.2:

  • Damage Modifier now modifies the pushing force of a damage type!
    /\ Fixed Dissolve damage not resetting when pushing the Reset Settings button

http://www.garrysmod.org/img/?t=dll&id=93364