AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugin/Gameplay Ideas and Requests (https://forums.alliedmods.net/forumdisplay.php?f=60)
-   -   [REQ] Anti-BackStab / Anti-Double Stab (https://forums.alliedmods.net/showthread.php?t=317685)

rehashmusic 07-24-2019 10:31

[REQ] Anti-BackStab / Anti-Double Stab
 
Hello,

I'm looking for a plugin that would basically count backstabs as a a regular knife. (35 DMG)
I'm also looking for a plugin that would give you protection for 1-2 seconds after being knifed.
If possible, also to make it so the knife doesn't slow you down.

This is for a HNS server. I've done so much searching, for all these and couldn't find it.

Please help me out. Thank you

rehashmusic 07-24-2019 12:51

Re: [REQ] Anti-BackStab / Anti-Double Stab
 
Willing to pay small fee.

Also, if you can set up jumpstats by kz on my server, i will pay for that as well.

Pilo 07-24-2019 14:20

Re: [REQ] Anti-BackStab / Anti-Double Stab
 
Contact me on discord : Pilo#8253

ThatOneGuy 07-24-2019 15:35

Re: [REQ] Anti-BackStab / Anti-Double Stab
 
2 Attachment(s)
Took some time and coded this for you for free. It combines the two requests. Add's a bunch of other options as well. The only part that I didnt do was the "not slow you down" part.

EDIT: Updated to version 1.0.1.

rehashmusic 07-24-2019 21:10

Re: [REQ] Anti-BackStab / Anti-Double Stab
 
Quote:

Originally Posted by ThatOneGuy (Post 2660451)
Took some time and coded this for you for free. It combines the two requests. Add's a bunch of other options as well. The only part that I didnt do was the "not slow you down" part.

Going to try this out right now, I really appreciate it my friend!!!

rehashmusic 07-24-2019 21:18

Re: [REQ] Anti-BackStab / Anti-Double Stab
 
Quote:

Originally Posted by ThatOneGuy (Post 2660451)
Took some time and coded this for you for free. It combines the two requests. Add's a bunch of other options as well. The only part that I didnt do was the "not slow you down" part.

Plugin ran, and was in SM plugins list, but backstab counted as 100 damage

ThatOneGuy 07-24-2019 22:32

Re: [REQ] Anti-BackStab / Anti-Double Stab
 
Quote:

Originally Posted by rehashmusic (Post 2660504)
Plugin ran, and was in SM plugins list, but backstab counted as 100 damage

Did you change the CVars? They all default to "0" (no change). Look in the cfg file that auto-generates in cfg/sourcemod/togknifedmg.cfg.

EDIT: I also just updated my previous post to make it so that "no change" is "-1", as zero may be a valid entry to block one type of dmg.

rehashmusic 07-25-2019 13:45

Re: [REQ] Anti-BackStab / Anti-Double Stab
 
Quote:

Originally Posted by ThatOneGuy (Post 2660507)
Did you change the CVars? They all default to "0" (no change). Look in the cfg file that auto-generates in cfg/sourcemod/togknifedmg.cfg.

EDIT: I also just updated my previous post to make it so that "no change" is "-1", as zero may be a valid entry to block one type of dmg.

will try when i get home today

rehashmusic 07-25-2019 14:23

Re: [REQ] Anti-BackStab / Anti-Double Stab
 
1 Attachment(s)
Quote:

Originally Posted by ThatOneGuy (Post 2660507)
Did you change the CVars? They all default to "0" (no change). Look in the cfg file that auto-generates in cfg/sourcemod/togknifedmg.cfg.

EDIT: I also just updated my previous post to make it so that "no change" is "-1", as zero may be a valid entry to block one type of dmg.


I uploaded updated version of the files on my server.
I also attached my CFG below, but still no luck. I am getting 100 damage backstabs still.

I don't want to ask for too much, but if you can please check the CFG, and possibly edit it for me if i did something wrong and reattach it.

Need All types of knife damage to be 50HP (front&back)
Need the delay of the player who got knifed to not take knife damage for 5 seconds
Also, if you can somehow add a glow around the character when they get knifed, and it turns off after 5 seconds?

If you can do that, I will donate $20 if that's any help.

ThatOneGuy 07-25-2019 21:53

Re: [REQ] Anti-BackStab / Anti-Double Stab
 
Quote:

Originally Posted by rehashmusic (Post 2660606)
I uploaded updated version of the files on my server.
I also attached my CFG below, but still no luck. I am getting 100 damage backstabs still.

I don't want to ask for too much, but if you can please check the CFG, and possibly edit it for me if i did something wrong and reattach it.

Need All types of knife damage to be 50HP (front&back)
Need the delay of the player who got knifed to not take knife damage for 5 seconds
Also, if you can somehow add a glow around the character when they get knifed, and it turns off after 5 seconds?

If you can do that, I will donate $20 if that's any help.

You can delete the old CVars. Here is what I'm thinking you want in your cfg:
togknifedmg.cfg


This will make all knifes (left or right click, front or back) 35 dmg and per your edits will give a 5 second cooldown after taking knife dmg before you can take more knife dmg.


All times are GMT -4. The time now is 15:23.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.