Jump to content
Korean Random
Sign in to follow this  
Bleeperman

Old unspotted markers

Recommended Posts

 

 

The thing is if a config parser doesn't find the section in your file - it refefs to the built-in one (that is hardcoded into .swf file, not the one in config/default folder).

 

Now i understand some issues...

 

 

 

but if you are good enough in reading and managing single wall of text, than do as you prefer.

 

I preffer using a file, with all the information together... many files are overwhelming for me.

I did what sech said, in xvm.xc file but still not working... maybe i forget something?

 

"playersPanel": {
    "extraFieldsRight": [
      {"x": -22, "y": -2, "bindToIcon": true, "format": "{{spotted}}", "alpha": 100}//spotted
       ],
    "alpha": 60,
    "clanIcon": { "alpha": 90, "h": 16, "show": true, "w": 16, "x": 0, "xr": 0, "y": 6, "yr": 6 },
    "enemySpottedMarker": {
      "Xoffset": -22,
      "Yoffset": -2,
      "enabled": true,
      "format": {
        "artillery": { "dead": "", "lost": "", "neverSeen": "", "revealed": "" },
        "dead": "",
        "lost": "",
        "neverSeen": "<font face='$FieldFont' size='24' color='#DDDDDD'>*</font>",
        "revealed": ""
      }
    },

 

and:

 

"texts": {
// Text for {{spotted}} macro.
  "spotted": {
      "neverSeen": "<font face='$FieldFont' size='24' color='#DDDDDD'>*</font>",
      "lost": "",
      "revealed": "",
      "dead": "",
      "neverSeen_arty": "",
      "lost_arty": "",
      "revealed_arty": "",
      "dead_arty": ""
    }
   }

Share this post


Link to post

Short link
Share on other sites

Pay attention to /default/playersPanel.xc for reference.

 

1. Delete whole enemySpottedMarker section

2. Use extraFields in certain panel modes (eg. medium, medium2, large etc...)

 

 

No problem with having single-file config, as long as it is up to date ;) .

  • Upvote 1

Share this post


Link to post

Short link
Share on other sites

Deleted nixxxie, but nothing happened... :(

 

"playersPanel": {
    "extraFieldsRight": [
      {"x": -22, "y": -2, "bindToIcon": true, "format": "{{spotted}}", "alpha": 100}//spotted
       ],
    "alpha": 60,
    "clanIcon": { "alpha": 90, "h": 16, "show": true, "w": 16, "x": 0, "xr": 0, "y": 6, "yr": 6 },
    "iconAlpha": 100,
    "large": {
      "nickFormatLeft": "<font color='{{c:rating}}'>{{rating}}</font> {{nick}}",
      "nickFormatRight": "{{nick}} <font color='{{c:rating}}'>{{rating}}</font>",
      "vehicleFormatLeft": "<font color='{{c:xwn}}'>{{vehicle}}</font>",
      "vehicleFormatRight": "<font color='{{c:xwn}}'>{{vehicle}}</font>",
      "width": 170
    },
    "medium": {
      "formatLeft": "<font color='{{c:xwn}}'>{{nick}}</font>",
      "formatRight": "<font color='{{c:xwn}}'>{{nick}}</font>",
      "width": 46
    },
    "medium2": {
      "formatLeft": "<font color='{{c:xwn}}'>{{vehicle}}</font>",
      "formatRight": "<font color='{{c:xwn}}'>{{vehicle}}</font>",
      "width": 65
    },
    "removePanelsModeSwitcher": false,
    "removeSquadIcon": false
  },

Share this post


Link to post

Short link
Share on other sites

What about part (2)? I told you to move extraFields to panel section you use - only then it will work.

  • Upvote 1

Share this post


Link to post

Short link
Share on other sites

Oh finally they moved to the correct position!!! :)

I had some problems with comas, but solved it.

What happens now is the *´s works like new update, none-unspotted, green-spotted, and grey-vanished, not how i wrote in texts section...

But its a great step, thx nixxie!!

Edited by Bleeperman

Share this post


Link to post

Short link
Share on other sites

I wrote it at the end of the array in an empty block as you told me, nixxxie:

 

  (...)
    "ussr-T-46": { "name": null, "short": "T46" },
    "ussr-T-50": { "name": null, "short": "T50" },
    "ussr-T-54": { "name": null, "short": "54" },
    "ussr-T-60": { "name": null, "short": "T60" },
    "ussr-T-70": { "name": null, "short": "T70" },
    "ussr-T150": { "name": null, "short": "T150" },
    "ussr-T44_122": { "name": null, "short": "T44-122" },
    "ussr-T44_85": { "name": null, "short": "T44-85" },
    "ussr-T62A": { "name": null, "short": "62A" },
    "ussr-T80": { "name": null, "short": "T80" },
    "ussr-T_50_2": { "name": null, "short": "50-2" },
    "ussr-Tetrarch_LL": { "name": null, "short": "Tetr" },
    "ussr-Valentine_LL": { "name": null, "short": "ValLL" }
  },
  "language": "en",
  "region": "auto"
},
  "texts": {
// Text for {{spotted}} macro.
  "spotted": {
      "neverSeen": "<font face='$FieldFont' size='24' color='#DDDDDD'>*</font>",
      "lost": "",
      "revealed": "",
      "dead": "",
      "neverSeen_arty": "",
      "lost_arty": "",
      "revealed_arty": "",
      "dead_arty": ""
    }
   }

Share this post


Link to post

Short link
Share on other sites

@Bleeperman,

"language": "en",
  "region": "auto"
},
  "texts": {}

remake this to

"language": "en",
  "region": "auto"
  "texts": {}
}, 

Share this post


Link to post

Short link
Share on other sites

WORKED!!! all perfect!! oh dear... it was hard for me...

I really apreciate your help nixxxie and sech_92, I´ve never done without your help guys. I run out of positives...

Hope next time i could do it by myself.

Thx again :)))

Edited by Bleeperman

Share this post


Link to post

Short link
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...