Jump to content
Sign in to follow this  
mcjc

Icon Name

Recommended Posts

image.png.2d8542749f7f1e778aa1ccae4cab1b4b.pngimage.png.17c48a5e6ce2c2e2a69a3ef45bfcb555.pngimage.png.061ea2f3863140316c0a829f4cedd500.pngimage.png.90a1ffefde721645e6a93cedd9fc1fcc.pngimage.png.9e571d51b7f5c44904212d6062ea08ff.png

 

 

Hello friends, how are you? It's me again haha

I need to understand a few things, I'm trying to find a way to fix this, for example, as in the picture, my nightmare cap equipment already automatically displays the lvl 1 icon, if I use lvl 2 it will automatically display the lvl 1 icon, how do I change this?

Where do I have to modify the icon if the item already displays automatically?

Another question, I want to create a clickable item that when clicked the icon appears in the name, but I'm having trouble understanding the code, as easy as it may seem, and where should I add it,

-- Set character icon
SetPlayerIcon(role, icon_id)
-- Get current character icon
local icon_id = GetPlayerIcon(role)

I should create a function with the following information, but how do I add the clickable item to this function?

example of this info item
7811 Lv 1 Symbol of Hero evil_lv1_icon 10130023 0 0 0 0 0 0 41 0 0 0 0 0 1 1 1 1 99 0 180 -1,-2,-2,-2 0 -1,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2 0 0 -1,-2,-2,-2,-2,-2,-2,-2,-2,-2 -1,-2,-2,-2,-2,-2,-2,-2,-2,-2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0 0 0 0 0 0 0 0 ItemUse_SymbolHero1 0 0 0 0 0.0 0 0 Symbol received after did some heroic facts. Double click to receive Lv 1 Symbol of Hero 0

Lastly, the guild already comes in the database with the predefined icon for the leader, how can I extend it to everyone? Should I change it in the database and another question is? How can I modify it to be random for other guilds?

I'm racking my brains but I can't do it, as simple as it may seem.


 

Share this post


Link to post
Share on other sites

yes. 

On 3/4/2025 at 1:58 AM, squaller said:

inst that for symbol equipment slot?

I'm actually having trouble with both things.
For example, when updating Nightmare lvl 1 to lvl 2, the icon changes by itself! However, I couldn't do it at all. The code in UiHeadsay and Character doesn't help, even changing the function so that it shows different icons when updating it doesn't change, and even if I separate equipment for example

9160nightmare lvl 1
9160nightmare lvl 2
or
9160 nightmare lvl 1
9161 nightmare lvl 2

it doesn't change the name icon. In neither case

Share this post


Link to post
Share on other sites
On 04/03/2025 at 01:58, squaller said:

em vez disso para o slot de equipamento de símbolo?

like this ?

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  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  

×
×
  • Create New...