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

[L4D] Pounce Announce 1.5


Post New Thread Reply   
 
Thread Tools Display Modes
n0limit
Senior Member
Join Date: May 2009
Old 07-06-2009 , 19:20   Re: [L4D] Pounce Announce 1.4
Reply With Quote #31

Sorry bman, a little scatterbrained today. I didn't see error with tag mismatch. I uploaded corrected code to my original post, but you just need to change the line so it reads:
Code:
    //Check if calculate damage is higher than max, and cap to max.
    if(dmg > maxDmg)
        dmg = float(maxDmg);
needed the float()
__________________
I've recently taken a new job that is very demanding of my time. I'll try to continue these projects, but my simple advice is, if you see something you can fix, then do it. Then share it. I don't know when I'll get a chance to.
n0limit is offline
bman87
Senior Member
Join Date: Dec 2008
Location: Michigan
Old 07-06-2009 , 20:46   Re: [L4D] Pounce Announce 1.4
Reply With Quote #32

Quote:
Originally Posted by n0limit View Post
Sorry bman, a little scatterbrained today. I didn't see error with tag mismatch. I uploaded corrected code to my original post, but you just need to change the line so it reads:
Code:
    //Check if calculate damage is higher than max, and cap to max.
    if(dmg > maxDmg)
        dmg = float(maxDmg);
needed the float()
thanks!

Last edited by bman87; 09-03-2009 at 13:32.
bman87 is offline
Naow
Senior Member
Join Date: Feb 2009
Old 07-07-2009 , 15:27   Re: [L4D] Pounce Announce 1.4
Reply With Quote #33

I have just installed this plugin ,we like it but I have some questions :

-"XXX pounced YYY and dealt 25.2 dmg" -> why does it show 25.2 instead of 25 or 26 ?

-With "pounceannounce_centerchat 0" , It would be prettier to add some colors , don't you think ?

Keep it up n0limit , you're doing a great work with your plugins !
Naow is offline
El Goretto
Junior Member
Join Date: Jan 2009
Location: France
Old 07-09-2009 , 18:30   Re: [L4D] Pounce Announce 1.4
Reply With Quote #34

Hi n0limit,

I installed your other "PounceUncap" plugin as well, getting rid of pounce manual settings, and getting max pounce at 49.

I just see that:
Code:
sm_cvar pounceuncap_maxdamage
[SM] Value of cvar "pounceuncap_maxdamage": "49"
sm_cvar z_hunter_max_pounce_bonus_damage
[SM] Value of cvar "z_hunter_max_pounce_bonus_damage": "24"
sm_cvar z_pounce_damage_range_max
[SM] Value of cvar "z_pounce_damage_range_max": "1000"
The "issue" is that Pounce Announce seems to report a cap/max pounce value taken from z_hunter_max_pounce_bonus_damage, and not pounceuncap_maxdamage if it is present. Or maybe it is PounceUncap that don't do its job, I don't know.


--
edit: nevermind, I manually restarted the server again, and now it's correct:
Code:
sm_cvar pounceuncap_maxdamage
[SM] Value of cvar "pounceuncap_maxdamage": "49"
sm_cvar z_hunter_max_pounce_bonus_damage
[SM] Value of cvar "z_hunter_max_pounce_bonus_damage": "48"
sm_cvar z_pounce_damage_range_max
[SM] Value of cvar "z_pounce_damage_range_max": "1872"
Strange.

Last edited by El Goretto; 07-09-2009 at 19:02.
El Goretto is offline
lekzero
Member
Join Date: Jul 2009
Old 07-13-2009 , 10:21   Re: [L4D] Pounce Announce 1.4
Reply With Quote #35

I would like to receive this code.

Quote:
Originally Posted by n0limit View Post
This went into an idea I spoke of a bit in the original post, a hunter pounce damage tracking system. So you can see top pounces based on a lot of stuff.
I've actually already built the system for a friend of mine's server, but it's not based in SourcePawn.
http://zombieshate.us.to/Pounces.aspx is the idea.
It'd be nicer to have it in game though, and reactive with pounce events. I'm not sure if I'll ever have the time to make a SourcePawn equivalent though.
If anyone is interested in the system run on the website, just pm me for the code.
lekzero is offline
n0limit
Senior Member
Join Date: May 2009
Old 07-13-2009 , 20:30   Re: [L4D] Pounce Announce 1.4
Reply With Quote #36

Quote:
Originally Posted by El Goretto View Post
Hi n0limit,

I installed your other "PounceUncap" plugin as well, getting rid of pounce manual settings, and getting max pounce at 49.
By the way, you can just set it to 50. My plugin automatically subtracts 1 for the cvar.
__________________
I've recently taken a new job that is very demanding of my time. I'll try to continue these projects, but my simple advice is, if you see something you can fix, then do it. Then share it. I don't know when I'll get a chance to.
n0limit is offline
n0limit
Senior Member
Join Date: May 2009
Old 07-13-2009 , 20:43   Re: [L4D] Pounce Announce 1.4
Reply With Quote #37

Quote:
Originally Posted by Naow View Post
I have just installed this plugin ,we like it but I have some questions :

-"XXX pounced YYY and dealt 25.2 dmg" -> why does it show 25.2 instead of 25 or 26 ?

-With "pounceannounce_centerchat 0" , It would be prettier to add some colors , don't you think ?

Keep it up n0limit , you're doing a great work with your plugins !
Ah, I wrote it in code but not in the post, basically I like to use this plugin where percentage points matter. People HAVE said before "Hah, 52.3, eat that Mr. 52.1"
If it really bothers you, search for the line
Code:
%s pounced %s for %.01f damage (max: %d)
and replace it with
Code:
%s pounced %s for %.0f damage (max: %d)
As far as a color scheme, sure! Got any suggestions?
__________________
I've recently taken a new job that is very demanding of my time. I'll try to continue these projects, but my simple advice is, if you see something you can fix, then do it. Then share it. I don't know when I'll get a chance to.
n0limit is offline
Naow
Senior Member
Join Date: Feb 2009
Old 07-14-2009 , 17:38   Re: [L4D] Pounce Announce 1.4
Reply With Quote #38

Okay , thanks for your fix For the color , I think something like this would be nice !
Quote:
XXX pounced YYY for {COLOR}26 dmg
Naow is offline
Icettiflow
Senior Member
Join Date: Jan 2009
Old 07-19-2009 , 08:42   Re: [L4D] Pounce Announce 1.4
Reply With Quote #39

Just a small announcement, the plugin / web interface is being created for the pounce record to display top pounces/ranges on your website as a Joint Collaboration between myself and n0limit. More details will be released as it is developed.
Icettiflow is offline
lekzero
Member
Join Date: Jul 2009
Old 07-20-2009 , 09:29   Re: [L4D] Pounce Announce 1.4
Reply With Quote #40

Great news!!!

Quote:
Originally Posted by Icettiflow View Post
Just a small announcement, the plugin / web interface is being created for the pounce record to display top pounces/ranges on your website as a Joint Collaboration between myself and n0limit. More details will be released as it is developed.
lekzero 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 15:33.


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