sku 0 Posted February 25, 2017 Hi, i was wondering if there is some way (python call?) to get the alpha damage of the currently used gun. What i had in mind is a value in players panel / over target marker that shows me the hits needed to kill a target (for clippers and seeing +- 25% RNG boundaries) Quote Share this post Link to post Short link Share on other sites
scyorkie 50 #381157 Posted February 25, 2017 Mouse over your ammo and you see the average damage per shot. 1 1 Quote Share this post Link to post Short link Share on other sites
sku 0 #381177 Posted February 25, 2017 (edited) Mouse over your ammo and you see the average damage per shot. I dont want to know the alpha damage of my gun, but use that value for calculating how many shots i need to kill the target ( 390 alpha gun / 468 hp enemy = 1.2 -> 1 shot if RNG is with you) Found something in configs/vxm/py_macro/vinfo.py @xvm.export('vinfo.gun_reload', deterministic=False) def gun_reload(): typeDescriptor = _typeDescriptor() return None if not typeDescriptor else "%.1f" % (typeDescriptor.gun['reloadTime']) Can i add my own export to make a macro here? If so, what is the field for alpha damage in typeDescriptor.gun? Edit: Also i dont know much about python, do i need to compile this? Edited February 26, 2017 by sku Quote Share this post Link to post Short link Share on other sites
vlad_cs_sr 1,575 #381372 Posted February 26, 2017 You may try to instal xvm from pro-tanki modpack, they used to implement this feature Quote Share this post Link to post Short link Share on other sites