Jump to content
Korean Random
Sign in to follow this  
scyorkie

minimapLabels issue when rewinding replay

Recommended Posts

I decided to re-enable the minimapLabels after using vanilla labels for about 2 years.

 

While editing my templates, I noticed that each time I rewind a replay, a set of duplicate labels will show up on the map.

 

BizLvQW.jpg

 

Left side: before rewind. Right side: after rewinding twice.

 

Basically:

- if a tank is visible and has moved after a rewind, its location before the rewind may become its "lost" location -- see 2x lost labels for platoonmate in Strv m/42, and VK2801

- if a tank did not move after a rewind, it may still get duplicate labels stacked on the same spot -- see BDR, Dicker Max and T67, where the shadows are very thick

- not all tanks are affected -- compare enemy TigerP (not affected) against enemy KV2 (affected)

 

Autoreloadconfig was enabled, but no changes were made to configs when these screenshots were taken / replay was rewound.

(Edit: Issue also exists with autoreloadconfig disabled.)

Configs + replay attached. Screenshots were taken shortly after BDR died.

 

This is what you can achieve with multiple rewinds: http://i.imgur.com/6CeamCy.jpg

(Also, the T67 continued to show as being lit even though he was not when SS was taken.)

 

What can be done about this?

minimap xc files.zip

20170615_0332_germany-G81_Pz_IV_AusfH_18_cliff.wotreplay

Edited by scyorkie

Share this post


Link to post

Short link
Share on other sites

Another issue with enabling minimap labels is that if you die and spectate a teammate:

- the white arrow that was on you now overlaps that teammate's vehicle icon

- the arrow also takes on his color (green if ally, orange if squad)

  Example pic: http://i.imgur.com/uvdIFns.jpg

 

In vanilla, the difference is that:

- the arrow stays white

- the teammate's vehicle icon disappears (you only see the arrow)

  Example pic: http://i.imgur.com/jnbb3Rs.jpg

 

How do I duplicate this behaviour in XVM? For now, I've set "selfIconAlpha": "{{player?100|0}}" so there's no arrow when spectating.

Edited by scyorkie

Share this post


Link to post

Short link
Share on other sites

please attach replay for the second issue. it would be great if teammate is dying when you spectating him.

Share this post


Link to post

Short link
Share on other sites

please attach replay for the second issue. it would be great if teammate is dying when you spectating him.

 

I've attached the same replay I used for the screenshots for the 2nd issue.

The JPE100 dies right at the very end when I'm spectating him.

Note also that the green arrow turns dark green upon his death, when I set "selfIconAlpha": 100

VD7lkzh.jpg

20170615_1510_germany-G91_Pro_Ag_A_35_steppes.wotreplay

Edited by scyorkie

Share this post


Link to post

Short link
Share on other sites

As I can see, the second issue is also fixed. As for arrow color, this is a feature, not a bug.

Share this post


Link to post

Short link
Share on other sites

Leaving aside the colour of the arrow, it is still stacked over the icon of the teammate you are spectating.

Is that intended feature too?

I didn't observe any change (as far as this issue is concerned) from 7675 -> 7676 -> 7677.

Share this post


Link to post

Short link
Share on other sites

Leaving aside the colour of the arrow, it is still stacked over the icon of the teammate you are spectating.

Is that intended feature too?

No, this is the bug, of course. But I can't reproduce this behavior. Is it reproduceable on replay?

Share this post


Link to post

Short link
Share on other sites

Oh I know why you don't see the same thing.

 

My minimap settings are different:

- minimap.xc > iconScale > 0 instead of 1 (to hide the vanilla client's tank icons)

- minimapLabels / minimapLabelsTemplates > vtypeSpotted is enabled (because I want to make the HT icon slightly smaller)

 

(Yes I know I can use iconScale to make HT icon smaller too.)

 

So what I'm seeing is the icon from vtypeSpotted..

and using the {{selected}} macro can hide the ally's icon so that only the arrow is visible.

 

Then the question is: how do I keep the arrow as white?

I assume it takes colours from minimapLabelsData > colors > dot ?

However, using the {{selected}} macro there doesn't affect the arrow.

 

(Sorry I probably made you do 7678 for nothing.)

Edited by scyorkie

Share this post


Link to post

Short link
Share on other sites

and using the {{selected}} macro can hide the ally's icon so that only the arrow is visible.

Ok, this is good solution.

 

Then the question is: how do I keep the arrow as white?

I'vs added parameter "selfIconColor", so you can set it to static value "0xFFFFFF".

(Sorry I probably made you do 7678 for nothing.)

It was an optimization not related to your issue.

Share this post


Link to post

Short link
Share on other sites

I've added parameter "selfIconColor", so you can set it to static value "0xFFFFFF".

 

That did the trick, thanks.

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