Sign in to follow this  

Some new hercules features

Recommended Posts

Display group (titlte) and icon for mobs, homunculus, npc, mercenaries

For set icon in some way need get bl_id of npc, mob etc and call function:


Set icon

setunitdata(GID, UDT_GROUP, ID)

Icon files stored in directory data/texture/유저인터페이스/group/group_ID.bmp

Where GID is bl id of being, ID is icon id.

Example for npc:

setunitdata(getnpcid(), UDT_GROUP, 3);

It will use this image:



Set group

setunittitle(GID, group_name);

Where group_name is any name what you want assign to group

Example for npc:

setunittitle(getnpcid(), "Hercules");


Sample images





Works from versions:

ragexe from 20180207,

ragexeRE from 20171129,

ragexe_zero from 20171130

Share this post

Link to post
Share on other sites

Cool!, this can be very useful to identify special events, mobs,npc, etc.

More power to Herc!

Thank you Herc's Developers :D !

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this