Raised This Month: $32 Target: $400
 8% 

bloodrage


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Gameplay        Approver:   Hawk552 (427)
psYko.joe
Junior Member
Join Date: Aug 2007
Old 08-10-2007 , 09:59   bloodrage
Reply With Quote #1

If a player kills enough enemies in a row he can enable bloodthirst - get in rage => bloodrage.
That means he can run faster, has more health and armor, his screen becomes red and his model glows red.

It's handled by points:
he gets...
  • 1 point for a kill
  • 1 point for a headshot
  • 1 point for a knifekill
=> 1 to 3 points per kill

The bloodrage lasts as long as the amount of points (in seconds).

clientcommands:
cmd description
startrage start rage if enough points

cvars:
cvar
default description
rage 0 enables/disables bloodrage
rage_hp 200 health
rage_ap 200 armor
rage_speed 350 speed you get when in rage
rage_minpoints 8 points needed to reach rage
rage_time_multiplier 1 time in rage = rage_min_time * points

IMPORTANT: you will need to set sv_maxspeed to your rage_speed or higher
fun module is required for the glowing

*************

I think there is no plugin like this - I hope so.
It's just a small plugin I made for fun, but I still have to fix/change some things.

Suggestions? Demands?

I hope how I posted it is ok and maybe it's even usefull for someone.

+++ Edit: Changes will be put into the version_info.txt to not get this too ugly.
Attached Files
File Type: sma Get Plugin or Get Source (bloodrage.sma - 6051 views - 4.1 KB)
File Type: txt version_info.txt (451 Bytes, 1877 views)

Last edited by psYko.joe; 08-19-2007 at 13:07.
psYko.joe is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 08-10-2007 , 10:03   Re: bloodrage
Reply With Quote #2

Don't post the .amxx file. When you attach the .sma file, there is a link generated to get the amxx file
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
Alka
AMX Mod X Plugin Approver
Join Date: Dec 2006
Location: malloc(null)
Old 08-10-2007 , 10:08   Re: bloodrage
Reply With Quote #3

Cool! Like in GabenMod! T_T
Alka is offline
psYko.joe
Junior Member
Join Date: Aug 2007
Old 08-10-2007 , 10:16   Re: bloodrage
Reply With Quote #4

Quote:
Originally Posted by YamiKaitou View Post
Don't post the .amxx file. When you attach the .sma file, there is a link generated to get the amxx file
Sorry haven't seen that.
Seems like I can't delete it now.

Edit: ok got it now

Last edited by psYko.joe; 08-10-2007 at 11:45. Reason: just add something
psYko.joe is offline
Czarny Iwan
Senior Member
Join Date: Jun 2007
Location: Poland
Old 08-10-2007 , 11:13   Re: bloodrage
Reply With Quote #5

Screen?
__________________
Czarny Iwan is offline
Pro Patria Finland
Senior Member
Join Date: Apr 2006
Location: BaronPub.com
Old 08-11-2007 , 08:15   Re: bloodrage
Reply With Quote #6

Seems like an interesting plugin...

Why do you need a command for the rage thing though?
__________________
I am not a number. I am Gordon Freeman!
Pro Patria Finland is offline
psYko.joe
Junior Member
Join Date: Aug 2007
Old 08-11-2007 , 08:28   Re: bloodrage
Reply With Quote #7

Quote:
Originally Posted by Pro Patria Finland View Post
Why do you need a command for the rage thing though?
One point is that I want the player to be able to choose the moment he uses the feature.
Theother point: you would be in rage for a too short time if you choose rage_minpoints to be low.
That's because the time you are in rage in seconds is the amount of points you gained for kills/headshots/knifekills.
Forgot to mention this before.

Last edited by psYko.joe; 08-11-2007 at 08:43.
psYko.joe is offline
Pro Patria Finland
Senior Member
Join Date: Apr 2006
Location: BaronPub.com
Old 08-11-2007 , 13:02   Re: bloodrage
Reply With Quote #8

Quote:
Originally Posted by psYko.joe View Post
One point is that I want the player to be able to choose the moment he uses the feature.
Theother point: you would be in rage for a too short time if you choose rage_minpoints to be low.
That's because the time you are in rage in seconds is the amount of points you gained for kills/headshots/knifekills.
Forgot to mention this before.
Ahh, I see. I would like to see a CVAR for the amount of time it lasts though. And then set rage[33] (or whatever it was) to 0 in roundend. Just a thought.
__________________
I am not a number. I am Gordon Freeman!
Pro Patria Finland is offline
psYko.joe
Junior Member
Join Date: Aug 2007
Old 08-11-2007 , 13:19   Re: bloodrage
Reply With Quote #9

Quote:
Originally Posted by Pro Patria Finland View Post
I would like to see a CVAR for the amount of time it lasts though.
I will add a cvar so that time is CVAR * killPoints.
Quote:
Originally Posted by Pro Patria Finland View Post
And then set rage[33] (or whatever it was) to 0 in roundend.
Ok, but first I have to find out how I get the event of an round end.

I'm busy this evening so I will fix this tonight or tomorrow.

thx, joe
psYko.joe is offline
Pro Patria Finland
Senior Member
Join Date: Apr 2006
Location: BaronPub.com
Old 08-11-2007 , 17:15   Re: bloodrage
Reply With Quote #10

There's a tut for that, search for it

And not a bad idea to do the Cvar * points.

__________________
I am not a number. I am Gordon Freeman!
Pro Patria Finland is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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


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