Raised This Month: $51 Target: $400
 12% 

[L4D] Hunter Pounce formula


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
n0limit
Senior Member
Join Date: May 2009
Old 05-25-2009 , 17:24   [L4D] Hunter Pounce formula
Reply With Quote #1

Hello, I was wondering if anyone knew the hunter pounce formula for L4D given the 2d distance of the pounce?
I'd like to hook the lunge_pounce event, but I believe it only provides the distance in 2d and not the actual damage.
Does anyone know how I would convert that?

I'd like to keep stats on hunter pounce damage, distance, etc for a server.
n0limit is offline
ProBoomer
Member
Join Date: Feb 2009
Old 05-26-2009 , 07:36   Re: [L4D] Hunter Pounce formula
Reply With Quote #2

Maybe this help you.

I can Jump more High with Hunter and cover major distance and also take max 45 instant damage for high pounce to survivor

//
// HUNTER CVAR
//
sm_cvar z_hunter_limit 3 //1
sm_cvar z_hunter_health 350 //250
sm_cvar z_hunter_speed 550 //300
sm_cvar z_hunter_claw_buildup_growl_percent 0.5 //0.5
sm_cvar hunter_pounce_air_speed 700 //700
sm_cvar hunter_pounce_ready_range 950 //500
sm_cvar hunter_pz_claw_dmg 7 //6
sm_cvar z_pounce_damage 6 //5
sm_cvar z_pounce_door_damage 2000 //500
sm_cvar hunter_leap_away_give_up_range 1500 //1000
sm_cvar hunter_committed_attack_range 150 //75
sm_cvar z_hunter_lunge_distance 850 //750
sm_cvar z_hunter_lunge_pitch 45 //25
sm_cvar z_hunter_max_pounce_bonus_damage 45 //25
sm_cvar z_lunge_distance_damage 1 //0
sm_cvar z_lunge_power 700 //600
sm_cvar z_pounce_damage_range_min 500 //500
sm_cvar z_pounce_damage_range_max 1000 //1000
//sm_cvar z_pounce_shake_amplitude 4 //4
//sm_cvar z_pounce_shake_duration 1.5 //1.5
//sm_cvar z_pounce_shake_radius 250 //250
//sm_cvar z_pounce_stumble_force 5 //5
//sm_cvar z_pounce_stumble_radius 0 //0
sm_cvar z_lunge_release 0 //0
//sm_cvar z_lunge_up 200 //200
sm_cvar z_max_hunter_pounce_stagger_duration 0.4 //0.5
sm_cvar z_pounce_crouch_delay 0.1 //1



P.S: sm_cvar z_lunge_release 0 //0 If you set to 1 you can escape with Hunter after have pounce one survivor, or continue to pounce all survivor, jump and leave, jump and leave, jump and leave.
ProBoomer is offline
DrThunder
Member
Join Date: May 2009
Old 05-26-2009 , 16:19   Re: [L4D] Hunter Pounce formula
Reply With Quote #3

I have been working on a Mod to change the hunter pounce damage, it will be done in like a week or so. The closest to the equation that calculates the damage is

((Distance*.01)/4)*(((Distance*.01)/2)^2)

The distance that the event gives you is only horizontal distance so you need to work in the vertical distance to.

The problem with sm_cvar z_hunter_max_pounce_bonus_damage 45 //25 is what would be a 25 point pounce is now a 45 instead of extending passed 25.
DrThunder is offline
n0limit
Senior Member
Join Date: May 2009
Old 05-27-2009 , 12:33   Re: [L4D] Hunter Pounce formula
Reply With Quote #4

Quote:
Originally Posted by DrThunder View Post
The problem with sm_cvar z_hunter_max_pounce_bonus_damage 45 //25 is what would be a 25 point pounce is now a 45 instead of extending passed 25.
You can change that by modifying z_pounce_damage_range_max with sm_cvar command. For example, I'm currently running

sm_cvar z_pounce_damage_range_max 1700
sm_cvar z_hunter_max_pounce_bonus_damage 49

and it seems to be just about right distance wise (~1000 is a 25)
n0limit is offline
DrThunder
Member
Join Date: May 2009
Old 05-27-2009 , 14:57   Re: [L4D] Hunter Pounce formula
Reply With Quote #5

Quote:
Originally Posted by n0limit View Post
You can change that by modifying z_pounce_damage_range_max with sm_cvar command. For example, I'm currently running

sm_cvar z_pounce_damage_range_max 1700
sm_cvar z_hunter_max_pounce_bonus_damage 49

and it seems to be just about right distance wise (~1000 is a 25)
I was messing with those commands and it seems to up the damage from short pounces. I got a 20 point pounce on flat ground.
DrThunder is offline
n0limit
Senior Member
Join Date: May 2009
Old 05-27-2009 , 20:09   Re: [L4D] Hunter Pounce formula
Reply With Quote #6

sounds like you have a setting wrong then. Check your min, and make sure your max is above 1000. basically, for every dmg point you add, you should be adding at least 28 to max range to scale right. And that changes as you go along.
With 1700 I've got it down to giving the player less than 1 point extra damage than what it should be. I've been running it over a week, and the logs are looking good for it.
Quote:
Top Pounces
Date and Time Pouncer Pounced Distance Damage Dealt Campaign Name Map Name
7:547 PM Chupon Bill 1581 45.8 Dead Air Offices
2:52:20 PM SiLENCE Smygarmicke 1408 39.8 No Mercy Apartment
9:47:09 AM n0limit Zoey 1243 34 No Mercy Apartment
7:27:12 PM UTKA Damu 1126 29.9 Dead Air Greenhouse
7:04:03 PM SiLENCE Cehan 1122 29.8 Blood Harvest Cornfield
7:54:55 AM David Billo007 1086 28.5 Dead Air Offices
994 AM n0limit kapitan Bomba 1071 28 Blood Harvest Barn
5:034 PM SiLENCE g0g3t4 1061 27.6 Death Toll Main Street
1:54:21 PM Chupon PiK 1057 27.5 Death Toll Ranch House
12:21:45 AM Zero trevbot 1056 27.5 Death Toll Ranch House

Last edited by n0limit; 05-27-2009 at 20:11. Reason: table
n0limit is offline
n0limit
Senior Member
Join Date: May 2009
Old 05-28-2009 , 10:31   Re: [L4D] Hunter Pounce formula
Reply With Quote #7

Quote:
Originally Posted by DrThunder View Post
((Distance*.01)/4)*(((Distance*.01)/2)^2)

The distance that the event gives you is only horizontal distance so you need to work in the vertical distance to.
Are you sure?
The server log outputs the following for a pounce:

05/28/2009 - 10:295: Pounce by ->YaYYaJ<- dealt 4.9 damage from a 2d distance of 412

2d distance gives me the impression it's taking the vertical into account.
n0limit is offline
madcap
Senior Member
Join Date: Feb 2009
Old 05-28-2009 , 12:41   Re: [L4D] Hunter Pounce formula
Reply With Quote #8

Edit: I was wrong, this isn't true.

Hunter pounce damage is not affected by vertical distance, only horizontal.

Last edited by madcap; 05-28-2009 at 14:39.
madcap is offline
santoriin
Member
Join Date: Apr 2009
Old 05-28-2009 , 12:44   Re: [L4D] Hunter Pounce formula
Reply With Quote #9

Quote:
Originally Posted by madcap View Post
Hunter pounce damage is not affected by vertical distance, only horizontal.
i am nearly positive it is straightline distance from where you pounce from.

this is why you still get 11 straight down from buildings (with nearly no horizontal movement.
santoriin is offline
n0limit
Senior Member
Join Date: May 2009
Old 05-28-2009 , 13:17   Re: [L4D] Hunter Pounce formula
Reply With Quote #10

This was my understanding of it too.

Basically, if you took a picture with a hunter on a building and a survivor below, and drew a straight line between them, that's the hunter distance.
n0limit 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 00:54.


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