Damage Popup Mutator

  • Please make sure you are familiar with the forum rules. You can find them here: https://forums.tripwireinteractive.com/index.php?threads/forum-rules.2334636/

pasyy

FNG / Fresh Meat
Feb 6, 2012
14
5
0
Japan
Besides this Halloween 2012 update,KF is now calling NetDamage function.
http://forums.tripwireinteractive.com/showthread.php?p=1142151http://forums.tripwireinteractive.com/showthread.php?p=1142151

So I could port easily Damage Popup from UT 2004 Mutator by satore.
(Even this update disabled Damage showing code from RPGMOD by Hemi that I used before.
But it has turned a opportunity to be a Mutator that can be used widely.)

Have fun!:)

Description
This Mutator showes Damage value popup.

Screenshot
dmppsc01.jpg


Download
http://dl.dropbox.com/u/49234260/PopupDamage.ziphttp://dl.dropbox.com/u/49234260/PopupDamage.zip

Solo use

Select "Damage Popup KF" from Mutators Tab.
You can configure the font colors (Red,Green,Blue and Alpha).

Server use

Command Line : PyDamagePopupKF.mutDamagePopup
Or select from "Damage Popup KF" from Mutators section in WebAdmin.
You can configure the font colors via PyDamagePopupKF.ini.

Notes
Compatible with ServerPerks by Marco.
I confirmed on Version 6.00.
http://forums.tripwireinteractive.com/showthread.php?t=36065http://forums.tripwireinteractive.com/showthread.php?t=36065

updates
12-04-2012
Color configuable.
Errors decreased.

10-27-2012
First release.

Known issues

Damage values sometimes differ between Solo and Multiplay at the same attack situation.

Attacks while very short time (probably smaller than 1 Tick) will sometimes be shown in one total value.
Example:Explosive and Ranged Melee
dmppsc03.jpg


Damage with Headshot kill will becomes high value.
Thought to be sum of Damage to head with multiplier,Damage to body,and Head-burst bonus Damage to body.
dmppsc02.jpg
 
Last edited:

halbridious

FNG / Fresh Meat
Jan 6, 2011
1,769
211
0
Michigan (USA)
oh goodie :D

Just for fun, could you make it so A) colors are customizable and B) that there are different colors for different things? (mainly like, RED for headshots or blue for DOT ect. just for fun. Not sure if the call function lets you do this.)
 

EpharGy

Grizzled Veteran
Jan 3, 2011
1,346
63
48
Australia
www.sykosis.co.uk
Great Mutator Pasyy, the only bug i found is that it spams a few Errors when taking self damage, ie flame damage.

Warning: DamagePopupGameRules KF-Testmap-SYKv4.DamagePopupGameRules (Function PyDamagePopupKF.DamagePopupGameRules.Timer:0019) Accessed None 'LastDamagePawn'
Warning: DamagePopup None (Function PyDamagePopupKF.DamagePopup.ShowDamage:00D7) Accessed None 'Dest'
Warning: DamagePopup None (Function PyDamagePopupKF.DamagePopup.ShowDamage:00FD) Accessed None 'P'
Warning: DamagePopup None (Function PyDamagePopupKF.DamagePopup.ShowDamage:0105) Attempt to assign variable through None
Warning: DamagePopup None (Function PyDamagePopupKF.DamagePopup.ShowDamage:0111) Accessed None 'P'
Warning: DamagePopup None (Function PyDamagePopupKF.DamagePopup.ShowDamage:0119) Attempt to assign variable through None
Warning: DamagePopup None (Function PyDamagePopupKF.DamagePopup.ShowDamage:0157) Accessed None 'P'
Warning: DamagePopup None (Function PyDamagePopupKF.DamagePopup.ShowDamage:015F) Attempt to assign variable through None 'Z'
Warning: DamagePopup None (Function PyDamagePopupKF.DamagePopup.ShowDamage:015F) Attempt to assign variable through None
Warning: DamagePopup None (Function PyDamagePopupKF.DamagePopup.ShowDamage:016D) Accessed None 'Dest'
Warning: DamagePopup None (Function PyDamagePopupKF.DamagePopup.ShowDamage:0175) Accessed None
Warning: DamagePopup None (Function PyDamagePopupKF.DamagePopup.ShowDamage:018A) Accessed None 'P'


Also, is there any way to restrict mutator so it only shows the damage for certain people? I have some players that aren't a fan etc, so it would be nice to be able to enable or disable based on player ID hash or something.
 
Last edited:

Arblarg

FNG / Fresh Meat
May 24, 2012
1,394
6
0
Illinois, U.S.
Beautiful. This totally needs to be white listed. This in combination with specimen kill messages would just be awesome. Curious though, do other players see everybody's damage or only their own?
 

pasyy

FNG / Fresh Meat
Feb 6, 2012
14
5
0
Japan
oh goodie :D

Just for fun, could you make it so A) colors are customizable and B) that there are different colors for different things? (mainly like, RED for headshots or blue for DOT ect. just for fun. Not sure if the call function lets you do this.)

A)
To make color customizable (RGB and Alpha) is thought to be easy.

B)
I'm trying to detect Headshot only within this Mutator.
Please watch for progress.

Great Mutator Pasyy, the only bug i found is that it spams a few Errors when taking self damage, ie flame damage.

Warning: DamagePopupGameRules KF-Testmap-SYKv4.DamagePopupGameRules (Function
...
Warning: DamagePopup None (Function PyDamagePopupKF.DamagePopup.ShowDamage:018A) Accessed None 'P'


Also, is there any way to restrict mutator so it only shows the damage for certain people? I have some players that aren't a fan etc, so it would be nice to be able to enable or disable based on player ID hash or something.

Thanks to report,lesser errors seen in current test version.
It seems so difficult to make it On/Off per person because these showed Damage are Emitter.
I don't know how to control sorry.

Beautiful. This totally needs to be white listed. This in combination with specimen kill messages would just be awesome. Curious though, do other players see everybody's damage or only their own?

Players see every damage to Specimen in sight.
(also including Specimen vs. Specimen)
 

Dr_Killjoy

FNG / Fresh Meat
Sep 30, 2012
259
0
0
Beautiful. This totally needs to be white listed. This in combination with specimen kill messages would just be awesome. Curious though, do other players see everybody's damage or only their own?
This surely needs to not be whitelisted. Cos the game where damage is shown - isnt KF any more.
 

Benjamin

Grizzled Veteran
May 17, 2009
3,631
635
113
France
I like it, I think it should be whitelisted too.

This surely needs to not be whitelisted. Cos the game where damage is shown - isnt KF any more.

Whitelisting just means people can use perks and get achievements while using it, it doesn't mean that it gets added to the game officially.
 

Arblarg

FNG / Fresh Meat
May 24, 2012
1,394
6
0
Illinois, U.S.
This surely needs to not be whitelisted. Cos the game where damage is shown - isnt KF any more.
I really don't get how. Care to explain? I think showing damage is just a fun little thing, mostly for your own entertainment. People tend to like big numbers. It may also serve to better teach people just how much health things have and just how much headshots help. It could very well serve as a way to help people understand what is useful in what situation, a more graphical and readily available method of doing so (compared against having to access the wiki or youtube).

I like it, I think it should be whitelisted too.
Whitelisting just means people can use perks and get achievements while using it, it doesn't mean that it gets added to the game officially.
I know, its the reason why I think it shouldnt be whitelisted.
If its whitelisted, it gives server owners or solo players the OPTION to utilize the mutator. Nobody is forcing it upon you, you're just getting more choices of what content you would like to see. I would think popular opinion would be to favor this mutator, though I could be wrong.

I just think this mutator in combination with kill messages is a godly duo. Gives killing things a better feel. (To me, at least)
 
Jul 30, 2009
129
4
18
The idea of that mutator is pretty cool, this should get whitelisted. If people don't like to put it on their server's, then they just don't put it in, easy.
 

Arblarg

FNG / Fresh Meat
May 24, 2012
1,394
6
0
Illinois, U.S.
Congrats on making the whitelist!

Officially or accidentally! I can advance my perks with this mutator.

Nvm, seems perk progression goes up regardless of what you have active in SP. Whatever you advanced in reverts back once you leave the game.

:( This still totally needs to be whitelisted though
 
Last edited:

pasyy

FNG / Fresh Meat
Feb 6, 2012
14
5
0
Japan
Updated,available from the first post of this thread.
Now you can configure the font color (Red,Green,Blue and Alpha) via PyDamagePopupKF.ini or Mutator tab at client.
I'm thinking this simple version to be a Whitelist candidate.(even I don't know the process to be Whitelisted)

I'm also planning another version changing color by Headshot,Damage Types,Damage values and so on.
I tried re-calculating Headshot within this Mutator,but sadly it is totally failure.
It seems a bit too late to re-calculate for Headshot when NetDamage function called.
So I should take another approach and please give me some ideas.
 

poosh

Grizzled Veteran
Jan 6, 2011
3,389
326
83
I just wanted to make standalone version of ScrnBalance's ShowDamage, but saw it has been made already. Well, less work for me ^^

About NetDamage() and headshots: when NetDamage() is called, zed is already playing hit animation, that's why headshot detection doesn't work always. And I have no idea how to bypass this. Unless Tripwire adds LastDamageIsHeadshot variable into KFMonster class.
 

Venik32

FNG / Fresh Meat
Sep 29, 2012
7
0
0
Moscow
killingfloor.ru
It must be whitelisted in my opinion cause these mutators (such as Specimen kill messages, Game Stats Tab etc.) give useful information to player. Generally, I think statistic is fundamental part of the game :)
 

asf098y532

FNG / Fresh Meat
Jun 20, 2013
9
0
0

Elu

FNG / Fresh Meat
Jul 4, 2013
16
0
0
Great mod! I tried it out after it got whitelisted. However, I get the following messages in my server logs:

STEAMSTATS: SECURITY CHECK FAILED - ../System/PyDamagePopupKF.u

Perk progression seems to work, though. Some players have reported that they get a Connection Error to the server that uses this mutator, but can then connect if given enough tries.