Aslain Posted May 17, 2014 Share Posted May 17, 2014 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 vehicleI 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! @ Quote Link to comment Short link Share on other sites More sharing options...
sirmax Posted May 17, 2014 Share Posted May 17, 2014 How to determine category? Currently I have premium flag, but what is the "special"? @ Quote Link to comment Short link Share on other sites More sharing options...
Aslain Posted May 17, 2014 Author Share Posted May 17, 2014 (edited) 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 May 17, 2014 by Aslain @ Quote Link to comment Short link Share on other sites More sharing options...
Azbuka Posted May 17, 2014 Share Posted May 17, 2014 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). Думаю, это хорошая идея: сразу будет видно, что танк премиумный или очень редкий. @ Quote Link to comment Short link Share on other sites More sharing options...
sirmax Posted May 17, 2014 Share Posted May 17, 2014 Aslain, why you can't use {{vtype}} macro? It have premium flag. Думаю, это хорошая идея: сразу будет видно, что танк премиумный или очень редкий. Вручную вести? Это сложно. @ Quote Link to comment Short link Share on other sites More sharing options...
Aslain Posted May 17, 2014 Author Share Posted May 17, 2014 (edited) 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 May 17, 2014 by Aslain @ Quote Link to comment Short link Share on other sites More sharing options...
sirmax Posted May 17, 2014 Share Posted May 17, 2014 I'm in doubt. :) @ Quote Link to comment Short link Share on other sites More sharing options...
Aslain Posted May 17, 2014 Author Share Posted May 17, 2014 (edited) 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 May 17, 2014 by Aslain @ Quote Link to comment Short link Share on other sites More sharing options...
Recommended Posts
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.