[L4D2] Blocking 300 damage gain from charger instant kill
1 Attachment(s)
It sounds easy, as the 300 damage you get into score ( and tank tickets ) is a damage calculator, but I tried: award_earned, player_hurt, player_hurt_concise, player_falldamage, SDKHook_OnTakeDamage, SDKHook_TraceAttack. None of them point to a charger, at best they will point to the trigger_hurt / the world.
Reason is I want to replace the instant kill system Valve uses with my karma plugin that not only uses literally every single type of instant kill, but also on karma charges is more accurate, as on Blood Harvest's first chapter you never get score ( probably because you must die for it to count ) Additional resources that didn't help: net_showevents 2 --> Does not point to a charger in any way. z_max_survivor_damage : 300 : , "sv", "launcher" : --> Indicates an instant kill charge does the fall damage ( over 500 damage usually ) and gets capped to 300 but that's not the case. |
Re: [L4D2] Blocking 300 damage gain from charger instant kill
https://github.com/eyal282/l4d2-karm...ystem.sp#L1492
Note, I have no clue whether or not this special assign of damage accounts for tank tickets. |
All times are GMT -4. The time now is 23:09. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.