Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

Command(s) for displaying enemy HP/SP as bars

IN BATTLE! I missed that off in the title >.<

Could anyone tell me the script command for doing this? Don't worry, I'm not asking for such a simple answer to create such a script more I want to find it in my currently borrowed CBS so I can get rid of it.

The problem? With enemies that have copious amounts of HP the battle will literally FREEZE when dealing alot of damage to them. This seems to be because the bar depletes or increases based on HP/sec. So, if your character hits for like 20k, it takes AGES for the bar to deplete. Obviously a fix for this would be basing it on %HP/sec but currently I can't find the section of code which governs this so I've had to disable it for now :(
 

Anonymous

Guest

Not knowing the code I couldn't tell you exactly, however in most circumstances HP bars are literally called either hp_bar or just bar,
So holding ctrl + shift then press F and search for bar, this should help you locate the hp bar code.
 
Found it: http://www.creationasylum.net/index.php?showtopic=13724

And yes, of course, my characters wont be doing 20k damage but the first character in the story does insane damage for story-based reasons.

And my normal characters will still be doing 4-figure amounts of damage which will still cause the problems =/.

But it seems someone had the same issue and had it replied to on those forums - trying it now.

This topic is resolved!
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top