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

Hero: Punisher V2


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Jelle
[b]MOAR CANDY[/b]
Join Date: Aug 2009
Location: Denmark
Old 07-04-2010 , 16:29   Hero: Punisher V2
Reply With Quote #1

Punisher V2

Description
In replacement for the old punisher. When shooting, you gain X amount of bullets in X amount of time into your current mag. This is very useful on soft SH servers where you do not want people to spray all the time.

Cvars:
Code:
//PunisherV2
punisherv2_level 5 //Level for this hero
punisherv2_ammotoadd 2 //The ammo to add must be a whole number!
punisherv2_ammotime 1 // time in seconds to add the ammo, can be any number
Credits:
DarkGod for helping a bit with the code so it won't add more bullets than the weapon can hold
dxteam for coming up with the idea for this
{HOJ}Batman/JTP10181/vittu for making wolverine, where I based the task and a few other things of.

Please do come with optimizations or things I can do better on this hero. This is the first time I try something like this.

Update history:
1.0 Initial release
1.1 Fixed the HE, C4, flashbang and smoke grenade issue. Uptimized a bit.
1.2 fixed index error.
Attached Files
File Type: sma Get Plugin or Get Source (sh_punisherv2.sma - 996 views - 2.7 KB)
__________________
No idea what to write here...

Last edited by Jelle; 07-26-2013 at 20:13.
Jelle is offline
Send a message via MSN to Jelle
The Art of War
Veteran Member
Join Date: Dec 2009
Location: Sweden Rock Festival
Old 07-05-2010 , 03:24   Re: Hero: Punisher V2
Reply With Quote #2

First of all change this:

Code:
//Deagle assassin
punisherv2_level 5 //Level for this hero
dassassin_ammotoadd 2 //The ammo to add must be a whole number!
dassassin_ammotime 1 // time in seconds to add the ammo, can be any number
Deagle Assassin isnt pv2 you know

Its an awesome hero, really. Going straight into the #2!

I tested an earlier version of it that worked fine, and I can test this one if you want me to.
__________________
The Art of War is offline
SkiesOFF
Member
Join Date: Mar 2008
Old 07-05-2010 , 13:55   Re: Hero: Punisher V2
Reply With Quote #3

Cool hero, very nice for soft superhero.
SkiesOFF is offline
Jelle
[b]MOAR CANDY[/b]
Join Date: Aug 2009
Location: Denmark
Old 07-06-2010 , 06:22   Re: Hero: Punisher V2
Reply With Quote #4

Quote:
Originally Posted by The Art of War View Post
First of all change this:

Code:
//Deagle assassin
punisherv2_level 5 //Level for this hero
dassassin_ammotoadd 2 //The ammo to add must be a whole number!
dassassin_ammotime 1 // time in seconds to add the ammo, can be any number
Deagle Assassin isnt pv2 you know

Its an awesome hero, really. Going straight into the #2!

I tested an earlier version of it that worked fine, and I can test this one if you want me to.
Oups. I copied the cvars from it since I was too lazy to write it myself. Fixed!
__________________
No idea what to write here...
Jelle is offline
Send a message via MSN to Jelle
slamx
Member
Join Date: Jun 2006
Old 07-24-2010 , 16:08   Re: Hero: Punisher V2
Reply With Quote #5

I love the idea, but when i used it on my server, i think it was a little glitched. it wouldn't let me throw my nade
__________________
slamx is offline
Jelle
[b]MOAR CANDY[/b]
Join Date: Aug 2009
Location: Denmark
Old 07-24-2010 , 21:08   Re: Hero: Punisher V2
Reply With Quote #6

It checks for the nade, and does nothing if you have the nade out, so it cannot be this plugin.
__________________
No idea what to write here...
Jelle is offline
Send a message via MSN to Jelle
G-Dog
Senior Member
Join Date: Dec 2005
Location: Thunderstorm Central
Old 07-24-2010 , 22:38   Re: Hero: Punisher V2
Reply With Quote #7

might want to check the code again, your setting the ammo to 0 on grenades.
__________________
If at first you don't succeed, then skydiving isn't for you.
G-Dog is offline
Send a message via AIM to G-Dog
Jelle
[b]MOAR CANDY[/b]
Join Date: Aug 2009
Location: Denmark
Old 07-25-2010 , 08:40   Re: Hero: Punisher V2
Reply With Quote #8

I do? Oh. I gotta fix that. Thank you.

EDIT: Fixed!
__________________
No idea what to write here...

Last edited by Jelle; 07-25-2010 at 09:52.
Jelle is offline
Send a message via MSN to Jelle
slamx
Member
Join Date: Jun 2006
Old 07-25-2010 , 20:21   Re: Hero: Punisher V2
Reply With Quote #9

works perfectly thanks
__________________
slamx is offline
Jelle
[b]MOAR CANDY[/b]
Join Date: Aug 2009
Location: Denmark
Old 07-26-2010 , 07:36   Re: Hero: Punisher V2
Reply With Quote #10

No, thank you for pointing it out.
__________________
No idea what to write here...
Jelle is offline
Send a message via MSN to Jelle
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 16:37.


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