Prometh3us Posted September 25, 2015 Posted September 25, 2015 Ok, i've tried many times, coding, removing, restarting and apparently am a straight up moron on this one. Basically, I just want my player panel to show the wn8, WR, and amount of battles with their vehicle dmg ratio in it. The current large advanced panel is too big, but the others are too small. Is there anyone someone can lend me a hand in getting the code right? Just want to see their Wn8, WR, battle count, and if possible their vehicle dmg ratio. Any help is appreciated, because whenever i try and do it, it breaks my game. thanks to anyone and special thanks to aslain for the awesome modpack, great work. Quote
Moderator Quaksen Posted September 25, 2015 Moderator Posted September 25, 2015 playersPanel.xc (I'm sure you know that already) Adjust width of your chosen panel, after you've seen how the new things fit. "vehicleFormatEXAMPLE": "<font face='Consolas' size='12'><font color='{{c:wn8}}'>{{wn8}}</font><font color='{{c:winrate}}'>{{winrate}}</font><font color='{{c:battles}}'>{{battles}}</font><font color='{{c:???}}'>{{???}}</font></font>", Try something along those lines, and work your way from there :) (Removed pretty much everything, and only input the very basics) Where I put ???, you can apply one of these two. {{tdb}} average damage for current tank - damage/battles {{tdv}} average damage efficiency for tank - damage/(battles*maxHP) Quote
Prometh3us Posted September 25, 2015 Author Posted September 25, 2015 Hmm i tried those, but all that comes up are a bunch of numbers. All jumbled. Quote
Moderator Quaksen Posted September 25, 2015 Moderator Posted September 25, 2015 How about this then? "vehicleFormatEXAMPLE": "<font face='Consolas' size='12'><font color='{{c:r}}'>{{r}}</font> <font color='{{c:winrate}}'>{{winrate%2d~%|--%}}</font> <font color='{{c:kb}}'>{{kb%2d~k|--k}}</font> <font color='{{c:tdv}}'>{{tdv%0.1f|---}}</font></font>", If not, you'll just have to mess with it yourself some more :P The macro's are listed in: \res_mods\mods\shared_resources\xvm\doc\macros.txt Quote
Prometh3us Posted September 25, 2015 Author Posted September 25, 2015 i was able to get it by copying the battleloading.xc lines. dont know why i never thought of that before.. <font face='Consolas' size='12'><font color='{{c:winrate|#666666}}'>{{winrate%2d~%|--%}}</font> <font color='{{c:r|#666666}}'>{{r}}</font> <font color='{{c:kb|#666666}}'>{{kb%2d~k|--k}}</font> </font>" is the code i used. worked perfect. Quote
Moderator Quaksen Posted September 25, 2015 Moderator Posted September 25, 2015 <font color='{{c:tdv|#666666}}'>{{tdv%0.1f|---}}</font> You can probably add that then, to get the average damage done on the vehicle a person is using :) Quote
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.