Jump to content
Korean Random

Macro {{availability}}


Aslain

Recommended Posts

I see you are adding a lot of requested macros, maybe you could add this one too:

 

Macro name: {{availability}}

 

Should return, following numbers: 1,2,3

 

1. premium vehicle (T34, Lowe..)

2. special vehicle (Failowe, M60...)
3. regular vehicle

I would like this macro to be especially available in over target markers text fields, and to be able to use image tags with them,
for example:

<img src='xvmres://Aslain/icons/{{premium}}.png>

 

Of course you could use different name for macro, and different returns, it was just example what I need in general.

 

Thank you!

Link to comment
Short link
Share on other sites

How to determine category? Currently I have premium flag, but what is the "special"?

 

Thought it could be determined somehow, if not, then limit it to premium and normal only.

 

I saw this Tank Icon Maker application is somehow determining which tank is special tank, and which one is premium and normal and can use this property later in icons, so maybe it's possible somehow.

Edited by Aslain
Link to comment
Short link
Share on other sites

 

 

what is the "special"?

Танки, которые невозможно купить. Например: танки, выданные бета-тестерам (М60), танки, которые можно получить на глобальной карте (VK7201).

Tanks that can not be bought. For example: tanks,for beta testers (M60), tanks, which can be obtained on the global map (VK7201).

 

Думаю, это хорошая идея: сразу будет видно, что танк премиумный или очень редкий.

Link to comment
Short link
Share on other sites

Aslain, why you can't use {{vtype}} macro? It have premium flag.


Думаю, это хорошая идея: сразу будет видно, что танк премиумный или очень редкий.

Вручную вести? Это сложно.

Link to comment
Short link
Share on other sites

I am using {{c:vtype}} to color tank names over tanks in battle on OTM.  It won't work on premium without setting premium tank enabled here:

 

"vtype": {
      // Цвет для легких танков.
      "LT":  "0xA2FF9A",
      // Цвет для средних танков.
      "MT":  "0xFFF198",
      // Цвет для тяжелых танков.
      "HT":  "0xFFACAC",
      // Цвет для арты.
      "SPG": "0xEFAEFF",
      // Цвет для ПТ.
      "TD":  "0xA0CFFF",
      // Цвет для премиумной техники.
      "premium": "0xFFCC66",
      // Включить/выключить использование премиумного цвета.
      "usePremiumColor": true
    },

 

And if I use premium color, then all premium tank will lose it's class color, and display premium color instead, this is what I don't want.

 

That's why I need separate macro because vtype has no premium option:

 

"texts": { "vtype": { "HT": "?", "LT": ":", "MT": ";", "SPG": "-", "TD": "." } },

 

Or maybe I am missing something, shall I add "premium": "" to texts define?

 

Yet it would return also other vtypes, and I don't want it.....

Edited by Aslain
Link to comment
Short link
Share on other sites

Yeah I have made sure that what I need is impossible with current {{vtype}} :) And adding it to this macro would only broke it, so it's much better to be available as separate macro only for determining premium tank :) 

 

Thanks to this macro users could add extra icons (markers) for premium tanks, everyone could benefit from this new macro :)

Edited by Aslain
Link to comment
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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...