Aller au contenu

Photo

How to get HP remaining instead of text descriptor & color change?


  • Veuillez vous connecter pour répondre
5 réponses à ce sujet

#1
HipMaestro

HipMaestro
  • Members
  • 1 515 messages

I've been wondering about this for years but since it didn't really directly affect the game, I never followed up. I also don't know if this would be a scripting issue or some sort of custom utility that would need to be installed.  Let me know if there is a better posting location than here, please. But on to the topic...

 

Is there a way to get the total HPs remaining on a monster (I'm interested mainly in hostile factions in this case) appear above their head instead of the colored text shown?  I've never seen such a device though it would make combat choices a bit easier for players, like deciding which flanker to attack next to get a kill and reduce the opposing forces quicker.  The closest I've seen is Diablo-esque with a graduated horizontal or vertical color bar that gets shorter as damage is taken. In some apps the bar will change color, but in others, not.

 

Seems like HP remaining value printout should be easy to do because the game must be keeping track of all the dynamic values if it is deciding when to change the text name and color during combat.  I'd even settle for the HP status report on the R-click creature description pop-up screen, if nothing else, but above the head would be best.

 

I'd really love to have this information reported in-game if possible. Even combat debugging doesn't provide this in log form... just the damage as it occurs and not even the heal amount when applicable.  Has anyone heard of a utility or project that addresses something like this?

 

TIA



#2
Tchos

Tchos
  • Members
  • 5 075 messages

One way, which would be brute force but would certainly work, would be to display it as a floating text over the character, driven by the character's heartbeat.



#3
henesua

henesua
  • Members
  • 3 878 messages

It seems to me that this would be a nice project for NWNCX, with a server side option to turn it off.



#4
Squatting Monk

Squatting Monk
  • Members
  • 446 messages

While an NWNCX solution would be ideal, you can use Magical Master's UpdateHP Script System. It displays enemy health as a percentage, but I imagine it would be easy to convert to showing flat HP.



#5
HipMaestro

HipMaestro
  • Members
  • 1 515 messages

Thanks all for giving me some hope on this subject.  I'd be happy to do testing should something get pieced together.

 

In the meantime, I'll try to integrate MM's HP system, though my scripting skills are more trial 'n error than an organized undertaking.  Appreciate the Vault link, El Squatto!


  • Squatting Monk aime ceci

#6
MagicalMaster

MagicalMaster
  • Members
  • 2 003 messages

If you know what a script is I'm confident you can set my system up.  Literally just need to import the script, copy/paste one line to OnSpawn, and copy/paste six lines into OnPerception.

 

Let me know if you run into any issues.  And, as SM said, it should be entirely doable to convert it to raw numbers if you prefer that, can give you a hand if needed.


  • Squatting Monk aime ceci