maniczombie Posted June 17, 2016 Share Posted June 17, 2016 How would I go about finding the value of the total players health including damage taken from radiation? The ActorValue PlayerRadHealthMax seems to work just fine for getting the players health - any Rad Damage the player has taken, but the ActorValue for Rads doesn't appear to be what I'm looking for as the amount it returns is multiples larger than the actual value in no discernible pattern other than getting larger the more rad damage the player takes.. For example with 85 health and 0 rad damage it would return for PlayerRadHealthMax : 85 and Rads:0 but if i take like 10 rad damage, it would return 75 and 30 Rads. I think rads is the correct ActorValue I'm looking for as it increases with rad damage the player takes but I can't understand the high numbers it returns. Any ideas? Link to comment Share on other sites More sharing options...
voenup4k Posted October 3, 2016 Share Posted October 3, 2016 (edited) I was trying to solve the same problem (I think) and google gave me this thread - unfortunately, without an answer. It's being a while, so you might as well have figured it out and/or lost interest, but I am going to post an answer here anyway, maybe it will benefit someone in the future. So you're trying to find the total max health, e. g. before the player takes any rads or damage. The closest ActorValue you can get is PlayerRadHealthMax, it's the total max health minus the radiation damage. You would assume that (PlayerRadHealthMax + Rads) gives you the value you're looking for, e. g. the total max health. However, the actual value is much higher, because the Rads value looks too high. Is that your problem? If so, the answer is this: According to Fallout Wiki page on Radiation in Fallout 4, the amount of radiation damage is not equal to the amount of radiation you receive, it is only 0.1% of your total max health. So it's a relative, not absolute value, depending on your total max health. In other words, it's 1/1000 of your total max health per radiation point, that's the red value shown on the right of your health bar. Your total max health would, therefore, be PlayerRadHealthMax / (1.0 - Rads/1000.0) Edited October 3, 2016 by voenup4k Link to comment Share on other sites More sharing options...
Recommended Posts