AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [TF2] First Blood Rewards (https://forums.alliedmods.net/showthread.php?t=101128)

retsam 08-21-2009 02:50

[TF2] First Blood Rewards
 
2 Attachment(s)
First Blood Rewards (0.2)


Stupid little plugin that has the same basic idea as my first blood crits plugin(link) but, with a twist. I wasnt sure I should post both plugins on the same thread or not, or I would have...

**Credits for this plugin go to all the helpful people on this forum**


Description: Player who gets first kill when round starts gets either a popup menu to choose a reward, or random reward(depending what value you set for mode cvar). :mrgreen:



Config is auto-created, but heres cvars anyways.

Cvars:
sm_arenafirstblood "0" //Enable tf2 first blood cvar in arena mode? (1/0 = yes/no)
sm_fbrewards_crits_period "15.0" // Period in seconds for crits duration.
sm_fbrewards_emitsound "1" // Emit the first blood sound file files? (1/0 = yes/no)
sm_fbrewards_enabled "1" // Enable/Disable first blood rewards plugin. (1/0 = yes/no)
sm_fbrewards_fireammo_period "60.0" // Period in seconds for fire ammo duration.
sm_fbrewards_god_period "20.0" // Period in seconds for godmode duration.
sm_fbrewards_health_amount "600.0" // Health amount for health buff reward.
sm_fbrewards_invis_period "25.0" // Period in seconds for invis duration.
sm_fbrewards_msgs "1" // Display first blood reward messages/info? (1/0 = yes/no)
sm_fbrewards_mode "1" //Mode for first blood rewards. (1/2) 1=menu popup 2=random.
sm_fbrewards_sentry_period "120" // Period in seconds before sentry is auto-destroyed.
sm_fbrewards_timer "1" // Enable the center screen timer countdown? (1/0 = yes/no)
sm_fbrewards_vampire_amount "12.0" // Health amount leeched per hit for vampire.
sm_fbrewards_vampire_period "100.0" // Period in seconds for vampire life leech duration.

If you don't like the default cvar values, change them. :) I tried to do what I thought was balanced, but it obviously depends on the type of server.


Ideas:
-Possibly having either 2 lvl1 sg's for that reward, figuring out how to add health and ammo to current sg, or spawning a lvl2 sg instead.
-Possibly giving them 1 second of godmode for when the menu opens so players have at least 1 second before they worry about dying with menu open...

Changelog:

- 8/26/09 - v0.2 - Added cvar (sm_fbrewards_mode "2") for random reward instead of popup menu. Fixed up a few things.
- 8/20/09 - v0.1 - Initial release


Lmk if theres any issues... Ill try to fix them......

Sexual Harassment Panda 08-21-2009 14:16

Re: [TF2] First Blood Rewards
 
this is an interesting twist on first blood. Looks great.

cybersquare420 08-26-2009 13:42

Re: [TF2] First Blood Rewards
 
nice!! can u turn off certain rewards seperately?... i run crit servers, so crits is redundant

retsam 08-26-2009 15:30

Re: [TF2] First Blood Rewards
 
Ill have to look into that. Since its added onto a menu, im not sure I know how to detect something being disabled and also remove it from a menu.

sfPlayer 08-26-2009 22:01

Re: [TF2] First Blood Rewards
 
You should return Plugin_Stop or Plugin_Continue in your repeatable timers

Dragonshadow 08-26-2009 22:06

Re: [TF2] First Blood Rewards
 
Can you please add an option to make just make it random and not give them a choice?

retsam 08-26-2009 23:30

Re: [TF2] First Blood Rewards
 
Sure. I had planned on doing that the first time around, just wasnt sure I should. Ill have an updated ver with a random cvar in a bit.



EDIT: Updated v0.2 Cvar added for random reward. :P Fixed up a few other things.

DarthNinja 09-22-2009 15:50

Re: [TF2] First Blood Rewards
 
Here are a few requests I'd love to see:

Cvars:
Option to allow more then one player to get first blood.
Example: setting 2 would reward the first 2 players who get kills

Option to apply Firstblood by team, not by all.
Example: setting this cvar to true and leaving the above cvar set to 1, would mean that the first player on each team to get firstblood would get rewards.
Setting the above cvar to 2 would mean that the first 2 players on each team to get kills get rewarded.

Cmds:
Admin command to force-apply the rewards system to someone at any time in the match.

I would love you if you added those.
Thanks! :o

theshonuf 09-24-2009 19:52

Re: [TF2] First Blood Rewards
 
if you could make it so certain rewards can be disabled that would be awesome

as in

disable all but the health buff, then you could put it on random so the health buff is always selected

h00x 12-25-2009 16:31

Re: [TF2] First Blood Rewards
 
It would be nice to be able to disable crits on an all crit server.


All times are GMT -4. The time now is 21:17.

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