ISU_100 0 Posted December 16, 2019 At below picture, showing numeric MOE(1,2,3) at left side. How can change numeric MOE to graphic MOE at player panel? 1. playerPanel_large.xc(my config) //marksOnGun { "x": -300, "y": 5, "h": 5, "w":5, "bgColor": "0x000000", "alpha": "{{marksOnGun>0?40|0}}" }, { "x": 300, "y": 5, "h": 20, "w": 17, "format": "<font size='12' color='0xCC9933'>1</font>", "alpha": "{{marksOnGun==1?100|0}}"}, { "x": 300, "y": 5, "h": 20, "w": 17, "format": "<font size='12' color='0xCC9933'>2</font>", "alpha": "{{marksOnGun==2?100|0}}"}, { "x": 300, "y": 5, "h": 20, "w": 17, "format": "<font size='12' color='0xCC9933'>3</font>", "alpha": "{{marksOnGun==3?100|0}}"}, 2. texts.xc(my config) // Text for {{marksOnGun}}, {{v.marksOnGun}} macros. // Текст для макросов {{marksOnGun}}, {{v.marksOnGun}} "marksOnGun": { "_0": "0", "_1": "1", "_2": "2", "_3": "3" }, 3. graphic MOE files(examples) - xvm://res/gun/gun_1moe.png - xvm://res/gun/gun_2moe.png - xvm://res/gun/gun_3moe.png *** Reference attached xc file. playersPanel_large.xc Quote Share this post Link to post Short link Share on other sites
David Cumming 8 #473435 Posted December 19, 2019 ISU_100 I have amended my Player Panel to do this and attach it. I have added new defs from lines 9 to 24. I play using panel Medium2 so have added lines for extra fields at line 513 and 525. These changes give me a thick angled line / for each gunmark.playersPanel.xc Quote Share this post Link to post Short link Share on other sites
ISU_100 0 #473887 Posted December 23, 2019 12/20/2019 в 12:31 AM, David Cumming сказал: Thanks for ur help!!! I fixed perfectly. I made a little change at enemy's MOE. By enter, made 2 times blank at each 1moe and 2moe. So aligns the moe to the right. Thanks again 12/20/2019 в 12:31 AM, David Cumming сказал: I Quote Share this post Link to post Short link Share on other sites
David Cumming 8 #474258 Posted December 29, 2019 Pleasure Happy New Year Quote Share this post Link to post Short link Share on other sites