BlackSun Posted December 21, 2016 Share Posted December 21, 2016 (edited) Hi! 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. blacksun.py example.zip Edited December 21, 2016 by BlackSun Quote Link to comment
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.