Jump to content

Display damage done?


dorn2

Recommended Posts

I was thinking about putting together a mod to display damage per shot in the old Fallout 1/2 fashion as best as possible. Looking at the scripting though I don't see anything to get information on the damage done. Nor do I see anything in FOSE. A casual perusing of the game variables didn't show up anything either. I'm only just learning this stuff though so I thought I'd ask if anyone knows if there is a way to even get this info? Would it at least be possible with an NVSE plugin perhaps?
Link to comment
Share on other sites

Well there is a FOSE function called GetBaseHealth as seen here: http://geck.bethsoft.com/index.php/GetBaseHealth but I wouldn't know where to begin to figure out how to make a script trigger to show the difference from the base hp to the final hp after the damage is dealt. I've been looking at some geck funtion articles in the wiki and I did see something interesting called DamageActorValue as seen here http://geck.bethsoft.com/index.php/DamageActorValue. This function subtracts any given number of hp from the actor's base hp. So the only way that I can think of to do what you want to do is to somehow rewrite how combat works or just for one particular weapon or instance, and then when a particular weapon strikes another given NPC use a OnHit block type function to spawn the 3-d mesh of the pre-calculated damage. But I think that would assume you know exactly what the damage amount would be.
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...