A doubt with Mog Boss HP

Hello, i´m using Chrono engine, and the one plugin i want to talk, Mog Boss HP. This plugin basically show a big health bar in the upper part of the screen when you activate the plugin, and there is my doubt.

To call this plugin you have to make this plugin call: boss_set_event_battler_id, with a number after the id. I saw that if you put the call like i wrote, the bar should show up, and it does, but only in certain bosses, but with others don´t. What i would have to do for the bar show in all the bosses?
make sure the ID is correct, if they are incorrect, they wont show.
I dont use that plugin, but a different bossHP plugin which works
better in my case.
make sure the ID is correct, if they are incorrect, they wont show.
I dont use that plugin, but a different bossHP plugin which works
better in my case.
And how i know which is the id? Because is not the enemy id in the database.
I don't know where you got the reference for that plugin command, but that format is not correct.

Looking at the Game_Interpreter.setPluginCommandBossHP() function in the plugin, the boss_set_event_battler_id does not take/need any arguments after the plugin command. If you're typing a number there, it's not used for anything.

You setting the enemy ID that's associated with an event has nothing to do with the BossHP plugin - that would be one of the more basic functions in the ChronoEngine itself.

I'm not going to try to help you there, because other people here have actually used the system and know how that should be done.
if it's used on the boss enemy event itself, it should work.
make sure that the the plugin command: boss_hp_number_show
is called before (if parameter is false (or hidden).

I didn't mess with it, but if you have the demo, play it, or find the map
for the 1st boss enemy and check the event how it's done.

if you try to make it from scratch, some things are missing, as they
recommend building the game from within the demo, so you know
everything does work + you have reference to the stuff if you need them.
if it's used on the boss enemy event itself, it should work.
make sure that the the plugin command: boss_hp_number_show
is called before (if parameter is false (or hidden).

I didn't mess with it, but if you have the demo, play it, or find the map
for the 1st boss enemy and check the event how it's done.

if you try to make it from scratch, some things are missing, as they
recommend building the game from within the demo, so you know
everything does work + you have reference to the stuff if you need them.
I eventually figured it out. but is a bit weird how it works. You have to make the plugin call, the enemy that have the boss hp bar must have the enemy id in the first page for some reason. I have a two phase boss with boss hp in both phases and it was a bit harder to do, but i did it.

I´m not going to do it right now, but if i want to make a duo boss fight with each boss having it´s own boss hp bar, what would happen if i make the plugin call with both bosses activated at the same time?
just check out and see what happends.

alternative, if you want each boss has a different bar (if not possible yet),
it could be modified to to do so (maybe smaller HP bar) or both count as 1.

but that depends on the mechanics and what it exactly do, but it shouldn't
be to hard to modify it to make it work.
just check out and see what happends.

alternative, if you want each boss has a different bar (if not possible yet),
it could be modified to to do so (maybe smaller HP bar) or both count as 1.

but that depends on the mechanics and what it exactly do, but it shouldn't
be to hard to modify it to make it work.
Maybe creating a copy of the plugin and moving the hp bar of the second boss in the database of the copy of Mog boss hp could work?
just a small modification to the plugin "to check if there is a 2nd boss".
otherwise x,y position of the bossbar if you use multiple.

I think there is only 1 bar for each boss, but it could be modified
for each boss differently, and maybe make the plugin command differently,
to add the bossbar (visible when dmg) on out of focus (att a different enemy)
to hide the boss bar.

just check's its eventID metaTag for <boss> or <boss: filename, x, y>
so it could check the boss + filename (like BossA = fireA (to grab the once
the basic does), than x and y position, so you can set multiple bosses.

maybe there is a way to "share" the HP (boss A = 2400 HP, boss B = 4000HP)
main bossBar = 6400 HP for example.

copy mostly doesn't work, specially because of same plugin commands.
you can maybe copy paste the plugin command and set it to id2.
but also elsewhere to set the x,y of this hp bar, it depends what you seek.

advanced coders can implement this really nicely that understand how the plugin
works and modify it for you (so it mostly works inside your game).
just a small modification to the plugin "to check if there is a 2nd boss".
otherwise x,y position of the bossbar if you use multiple.

I think there is only 1 bar for each boss, but it could be modified
for each boss differently, and maybe make the plugin command differently,
to add the bossbar (visible when dmg) on out of focus (att a different enemy)
to hide the boss bar.

just check's its eventID metaTag for <boss> or <boss: filename, x, y>
so it could check the boss + filename (like BossA = fireA (to grab the once
the basic does), than x and y position, so you can set multiple bosses.

maybe there is a way to "share" the HP (boss A = 2400 HP, boss B = 4000HP)
main bossBar = 6400 HP for example.

copy mostly doesn't work, specially because of same plugin commands.
you can maybe copy paste the plugin command and set it to id2.
but also elsewhere to set the x,y of this hp bar, it depends what you seek.

advanced coders can implement this really nicely that understand how the plugin
works and modify it for you (so it mostly works inside your game).
It seems complicated, but like i said, i won´t do it for the moment. Just wanted to know it for future use.
everything is possible, but it require some coding.

if the time is there, and you need it, just request it if one is able to do so for you 🙂
there are other work arounds if you want to use the boss bar an easier way.

which I can recommend "Galv_VariableBar" which can be used for pretty much
anything.

the plugin is shorter, works fast, has a demo, can be used as timer, mini game,
actor HP/MP/TP/(any parameter), BossHP/MP, dashing, stamina, cooldowns,
you name it, just be creative.

it uses 2 variables + 2 images (static), but it does it work.

if you want it animated like MOG HP bar, than it require a bit of modification,
but nohing major.

so just give a shout once the time is ripe.
everything is possible, but it require some coding.

if the time is there, and you need it, just request it if one is able to do so for you 🙂
there are other work arounds if you want to use the boss bar an easier way.

which I can recommend "Galv_VariableBar" which can be used for pretty much
anything.

the plugin is shorter, works fast, has a demo, can be used as timer, mini game,
actor HP/MP/TP/(any parameter), BossHP/MP, dashing, stamina, cooldowns,
you name it, just be creative.

it uses 2 variables + 2 images (static), but it does it work.

if you want it animated like MOG HP bar, than it require a bit of modification,
but nohing major.

so just give a shout once the time is ripe.
I see, i could give that a try.

Original thread: https://forums.rpgmakerweb.com/threads/a-doubt-with-mog-boss-hp.161634/