Attention: from 24th July to 10th August I will be in a very weak internet zone. It's unlikely that I'll release any updates in that time, I probably cannot provide any support either. Unless I find a strong signal on some mountain top. / Uwaga: od 24 Sierpnia do 10 lipca będę w strefie gdzie jest zbyt słaby internet żeby wypuszczać aktualizacje paczek. W tym czasie wsparcie z mojej strony będzie ograniczone. Przy odrobinie szczęścia może uda mi się znaleźć mocny sygnał, wtedy jest szansa na coś, ale nie obiecuję.


[] Tank shell damages in vehicle markers

1 post in this topic



I created a python macro for the XVM to show the vehicle shell damages. To use you just have to use this macro: {{py:blacksun.dmg('{{name}}')}}.

It also has a {{py:blacksun.level({{level}})}} macro to color and mark the vehicle tiers according to your vehicle tier. Green means lower, white means same and red means bigger.  There is a "+" or "-" mark for each tier difference. (So if your tank is T5 you'll see T3 as green "3--", T4 as green "4-" etc)


I attached the script and an example on how to use it. The py file goes into the "res_mods/configs/xvm/py_macro" folder. You don't have to do anything else to use it.


How it looks like:



Sidenote: This is my first ever python code, so the code might be a little silly.

Edited by BlackSun

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now