Jump to content
Korean Random
Sign in to follow this  
yaya070

WN8 png on player panel

Recommended Posts

Hi

i would introduce a png for the wn8 player on the player panel

have already put a "X"

uxKLYkG.jpg

 but how i can put an png file

{"x": 60, "y": 6, 
"align": "center", 
"valign": "top", 
"format": "<b><font color='{{c:r}}' alpha='{{alive?#FF|#80}}'>x</font></b>", 
"alpha": "{{alive?100|30}}",
 "shadow": {}
 },
Edited by yoyo070

Share this post


Link to post

Short link
Share on other sites

thx

but  I want a different png according to the wv8

 

so how i call my png

 

sel#02C9B3.png

sel#60FF00.png

etc...

Edited by yoyo070

Share this post


Link to post

Short link
Share on other sites

Let's say you have icons in res_mods\mods\shared_resources\xvm\res\icons\wn8

Then use this:

"format": "<img src='xvm://res/icons/wn8/{{c:wn8}}.png'>"

But the icons need to be named with just a color code. I don't know why you added "sel" at the beginning.

You only want to see it for selected players?

Hm, but is it possible to select a player in players panel at all?

Edited by konrad509
  • Upvote 1

Share this post


Link to post

Short link
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.
Note: Your post will require moderator approval before it will be visible.

Guest
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  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...