Jump to content
Korean Random
Sign in to follow this  
enigma66

panel icon ally dead player

Recommended Posts

Good morning and sorry english ..
I must have made some mess because the icon of the dead head that you see on the enemy panel no longer comes out in the allied panel ..
Can you help me, I don't remember where I have to change anymore .. I'm old.

Thanks for the reply

 

Version xvm 8.5.4

 

 

1 (1).jpg

1 (2).jpg

Edited by enigma66

Share this post


Link to post

Short link
Share on other sites

enigma

 

Sorry, it looks maybe too dificult for me. Did you get the dead symbol in the left panel before?

I ask because the enemy dead symbol appears as part of "enemySpottedMarker" but this does not work for your team as the formula used needs correcting. The formula is found in "texts.xc":

    "spotted": {
      "neverSeen": "",
      "lost": "<font face='xvm' size='24'>&#x70;</font>",
      "spotted": "<font face='xvm' size='24'>&#x70;</font>",
      "dead": "<font face='xvm' size='24'>&#x76;</font>",
      "neverSeen_arty": "",
      "lost_arty": "<font face='xvm' size='24'>&#x70;</font>",
      "spotted_arty": "<font face='xvm' size='24'>&#x70;</font>",
      "dead_arty": ""

 

&#x76; is the skull and crossbones but the "spotted" and "lost" lines need to be edited to to have different outcomes for ally and enemy. Your allies are always spotting themselves so the current lines result in permanent spotted lamps for each of your team. I might play with this to give the correct outcome.

 

<font face='xvm' size='24'>&#x70;</font>

would have to become something like

 

<font face='xvm' size='24'>{{ally?|&#x70;}}</font>

The above line translates as "if it is an ally tank show nothing, else show a lamp". Maybe someone clever will correct the syntax if required.

 

 

Earlier I thought that the dead symbol could be shown as part of "xmqpServiceMarker" but this requires each player to be using XVM and to have it activated. This is the reason for the 2 lamps and one inactive lamp in your picture. They are the only other players with XVM in your team.

 

 

Did you download a modified XVM from somewhere else which had the dead marker on the ally panel? It can be a lot easier to work out what someone else has done than have to work it out yourself!

 

If I get a working dead marker for you I will post your "playerspanels.xc" and "texts.xc"

 

 

Share this post


Link to post

Short link
Share on other sites
19.07.2020 в 19:00, enigma66 сказал:

the icon of the dead head that you see on the enemy panel no longer comes out in the allied panel

  •  
Edited by night_dragon_on
Очистка вложений ...

Share this post


Link to post

Short link
Share on other sites

Thanks for the time you gave me ..
Night_dragon_me solved my problem .. when I compared the two palyerpanel.xc with winmerge I had seen that the change to be made was highlighted, but reading the string it seemed the same .. I read wrong, my fault ...

 

Thanks to both of you .. You are always available to help bots like me .....

Share this post


Link to post

Short link
Share on other sites
On 8/2/2020 at 3:24 PM, enigma66 said:

Thanks for the time you gave me ..
Night_dragon_me solved my problem .. when I compared the two palyerpanel.xc with winmerge I had seen that the change to be made was highlighted, but reading the string it seemed the same .. I read wrong, my fault ...

 

Thanks to both of you .. You are always available to help bots like me .....

 Here u got that u want.

Im Just Ad this at section "def"

    "deadIcon": {
      "enabled": true,
      "x":88,
      "y":-2,
      "bindToIcon": true,
      "align": "center",
      "format": "<font face='xvm' size='24'>&#x76;</font>",
      "alpha": "{{alive?0|100}}"
    }

Later wrote new Line:

${"def.deadIcon"}

and ad this on all EXTRAFIELDLEFT..

Thats allplayersPanel.xc

  • 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...