luizragna

games
Custom Unit HP Bar System

19 posts in this topic

Very nice, but I think it would be annoying to do that for every single mob?

Could be a nice feature for Boss mobs though. 

Share this post


Link to post
Share on other sites

Move to Script Release

nice idea !! if combine this with World Boss system I can see a lot of potential in this

Share this post


Link to post
Share on other sites

Combining, Thx for idea!

Share this post


Link to post
Share on other sites
9 minutes ago, Blinzer said:

i must be retarded but it doesn't work when i load it up

Do you put the images in your data? (and not in GRF)

Share this post


Link to post
Share on other sites

There is a small problem some clients cant display it if inside a folder inside /illust

But works good if  directly inside /illust

My client won't

ex:  /illust/hpbar/0.bmp [won't work]

ex: /illust/0_hpbar.bmp [Works]

Share this post


Link to post
Share on other sites

Posted (edited)

16 hours ago, Habilis said:

There is a small problem some clients cant display it if inside a folder inside /illust

But works good if  directly inside /illust

My client won't

ex:  /illust/hpbar/0.bmp [won't work]

ex: /illust/0_hpbar.bmp [Works]

Yes, the illust folder don't like subfolders

I improved the topic to avoid problems

Edited by luizragna

Share this post


Link to post
Share on other sites
On 6/25/2018 at 6:15 PM, luizragna said:

Do you put the images in your data? (and not in GRF)

 

what is the npc supposed to do ingame exactly? because i think it's the npc that's not working.

Share this post


Link to post
Share on other sites
5 hours ago, Blinzer said:

what is the npc supposed to do ingame exactly? because i think it's the npc that's not working.

He makes a mob with a HP Bar.

Do you added the data files? 

Share this post


Link to post
Share on other sites
5 hours ago, luizragna said:

He makes a mob with a HP Bar.

Do you added the data files? 

 

dude, the npc doesn't spawn anything for me.

Share this post


Link to post
Share on other sites
1 hour ago, Blinzer said:

 

dude, the npc doesn't spawn anything for me.

Strange, does some error appear somewhere?

Share this post


Link to post
Share on other sites

Posted (edited)

7 hours ago, luizragna said:

Strange, does some error appear somewhere?

Quote

Loading NPC file: npc/cities/limitless.txt[K [1m[31m[Error][0m: [?5h                                                                                                                                                                                                                                                                                                                                                                                                                                          [?5lscript error in file 'npc/cities/limitless.txt' line 204 column 4


    parse_line: expect command, missing function name or calling undeclared function
   201:         {
   202:                 .HP_Bar = 1;
   203:                 .mobGID = monster ("payon",148,226,"[T] HP Test",POPORING,1,strnpcinfo(0)+"::OnDie");
*  204:                         [1m[31ms[0metunitdata .mobGID,UDT_MAXHP,4000;
        [1m[36m~~~~~~~~~~~~~~~~~~~~~~~~[0m[1m[32m^[0m
   205:                         setunitdata .mobGID,UDT_HP,4000;
   206:                 [email protected] = getunits(BL_PC, [email protected], false, "payon");
   207:                 for ([email protected] = 0; [email protected] < [email protected]; [email protected]++)

Edited by Blinzer

Share this post


Link to post
Share on other sites
1 hour ago, Blinzer said:

 

Update your Hercules?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now