AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [L4D/L4D2] HP Rewards (https://forums.alliedmods.net/showthread.php?t=281583)

cravenge 04-15-2016 03:55

[L4D/L4D2] HP Rewards
 
1 Attachment(s)
Hi, everyone. It's been so long since I shared many modified plugins. This time, I made a simple one (Yes, it's original) which only can be done with simple coding.

So what this plugin does is in events like Tank fights, killing the Tank will grant all survivors full HP and their "m_currentReviveCount" entprops revert to 0, giving them more chance to live, in witch spawns, the one who kills the Witch will be granted with rewards, and for killing SI, only additional health is rewarded.

Yup, health rewards for every player (including bots) but it's such a waste for those who are incapacitated as I excluded them so they can't be granted with these special rewards.

This is great for those servers who are running Expert Coop/Realism. It really makes sense if players get rewards instead of nothing.

Quote:

Changelog: 04-15-16
- First release.
- Minor code correction.
- Silly me again, I forgot that "m_zombieClass" entprop for tanks in two games are different. [FIX] Please download hp_rewards-l4d for L4D server owners/gamers.

04-19-16
- Added some of my [L4D/2] Black And White Notifier coding because it doesn't remove the glows from players after killing Tanks.

05-21-16 and 05-29-16
- Major updates in last post.
If you ever encountered any bugs, have any reports or feedbacks, please let me know.

Sectus 05-19-2016 14:16

Re: [L4D/L4D2] HP Rewards
 
Hi there. Should I use them both or one is for left 2 and another for left 1? Thank you :)

cravenge 05-20-2016 00:48

Re: [L4D/L4D2] HP Rewards
 
The one with -l4d is for L4D only. The other one without is for L4D2.

cravenge 05-21-2016 06:06

Re: [L4D/L4D2] HP Rewards
 
Major update to 1.3:

==> Killing other special infected will grant you additional health only: 3 for smokers, spitters, and, jockeys. 1 for boomers, and 5 for hunters and chargers.
==> When granting additional health, the distance between the SI and the one who killed it is included.

TO DO:
  1. Add convars for any modifications of the values that suits one's liking,
  2. Add convars to enable/disable additional health granting for specified SI.
  3. (Optional) Add hint box notifications to show how much additional health you received.

KillerBudgie 05-24-2016 07:10

Re: [L4D/L4D2] HP Rewards
 
This reminds me of the Vampire Death Card used in Call of Duty:World at War.
"Steal life from your prey. Recharge your health by getting kills."

cravenge 05-29-2016 06:33

Re: [L4D/L4D2] HP Rewards
 
Hello, I'm back! Majorly updated to 2.0:

==> Distance calculation now fixed and improved.
==> Added cvars to toggle things to the way you like.
==> Added notifications to see how much health you earned.
==> Added L4D support. No longer separate.
==> Thoroughly tested, working flawlessly. :)

cravenge 06-04-2016 02:27

Re: [L4D/L4D2] HP Rewards
 
Distance now reduced to 10000 because I discovered when testing even if your target is so so far away, you will be awarded with ranging from 20 to 50. Weird? Maybe, 20000 wasn't the right distance.

KillerBudgie 06-12-2016 11:04

Re: [L4D/L4D2] HP Rewards
 
Is there a way to change how much HP you receive after killing the Tank? As I think that restoring it to full makes the game too easy.

cravenge 06-12-2016 23:53

Re: [L4D/L4D2] HP Rewards
 
Yes. I'll make it ETA 5 hours from now because I'm at work.

Psyk0tik 11-18-2017 17:03

Re: [L4D/L4D2] HP Rewards
 
1 Attachment(s)
Updated under Sourcemod v1.8.x.

- Converted to new syntax.
- Added the prefix "l4d_" to each cvar and the config filename.


All times are GMT -4. The time now is 05:47.

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