Jump to content

[] Tank shell damages in vehicle markers


Recommended Posts



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
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

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.

  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.