Jump to content
Korean Random
Sign in to follow this  
David Cumming

Need help in displaying marksOnGun in Markers

Recommended Posts

The new xvm seems to use macros differently and I can no longer show marksOnGun above tanks.

 

My old config had      "MksOnGun": {"1":"/", "2":"//", "3":"///"},        added to markers.xc at line 20

and                          "format": "{{vehicle}} <font face='Webdings' size='9' color='#00ffff'>{{.markers.MksOnGun.{{marksOnGun}}}}</font>"

in markersAliveNormal.xc at line 78.

 

This would give me blue bars after the vehicle name for each mark on gun that the vehicle had (to let me know who maybe knew what they were doing!).

 

 

I have tried moving the definitions from one file to another but cannot get anything to show up, not bars, not even the numbers 0 to 3.

 

Can anyone tell me what I should be doing?

 

Thanks

Dave

 

marksOnGun.zip

Share this post


Link to post

Short link
Share on other sites

The new xvm seems to use macros differently and I can no longer show marksOnGun above tanks.

It doesn't.

 

From changelog

config format of the text fields in markers and battleLabels are changed to common extraFields config format

Edited by konrad509

Share this post


Link to post

Short link
Share on other sites

Thanks to konrad509 for his cryptic reply.

 

I think that a lot of the problem is that my XVM installation needed a few more days to settle down. Without changing anything my Gunmarks would appear at random.

 

After changing my code layout I have now got the marks to appear against the correct tanks and attach my file below. The code is on line 84.

 

I must still work to get the alignment a bit better and also to improve the levelicons for my old eyes!

 

 

Thanks to XVM for a good mod.

 

markersAliveNormal.xc

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