VindicareAssassin Posted January 3, 2015 Share Posted January 3, 2015 Hi guys, I need only one thing, which is: how can I edit markersAliveNormal.xc to show ally/enemy wr above the tanks with all other info before (e.g.56,45%) constantly, not just when I press ALT? Only thing I've done was to copy the code part from markersAliveExtended.xc (the folder which contains info with the press of the ALT key) but it didn't work. // Text field with win ratio. // Текстовое поле с процентом побед. { "name": "Win Rate", "visible": true, "x": 0, "y": -46, "alpha": 100, "color": "{{c:rating}}", "font": { "name": "$FieldFont", "size": 11, "align": "center", "bold": true, "italic": false }, "shadow": { "alpha": 100, "color": "0x000000", "angle": 45, "distance": 0, "size": 6, "strength": 200 }, "format": "{{rating%2d~%}}" } ] }, All I need is that xvm show me that one plus info, ally/enemy winrate, without pressing ALT. Thanks in advance @ Quote Link to comment Short link Share on other sites More sharing options...
13 Posted January 4, 2015 Share Posted January 4, 2015 @VindicareAssassin, please attach your config (zip archive of folder res_mods/xvm/configs/). We can't find your mistake without this info :) @ Quote Link to comment Short link Share on other sites More sharing options...
VindicareAssassin Posted January 5, 2015 Author Share Posted January 5, 2015 Okay, here it is: 'dl link:' http://www5.zippyshare.com/v/15620466/file.html @ Quote Link to comment Short link Share on other sites More sharing options...
soulza Posted January 5, 2015 Share Posted January 5, 2015 (edited) you put the code in the wrong place , you added it at the end of the config , do this line 177-203 ADD CODE this is line 177-228 , it needs to be added here, this is for allies , do the same further down the config for enemy "textFields": [ // Text field with the name of the tank. // Текстовое поле с названием танка. { "name": "Win Rate", "visible": true, "x": 0, "y": -46, "alpha": 100, "color": "{{c:rating}}", "font": { "name": "$FieldFont", "size": 11, "align": "center", "bold": true, "italic": false }, "shadow": { "alpha": 100, "color": "0x000000", "angle": 45, "distance": 0, "size": 6, "strength": 200 }, "format": "{{rating%2d~%}}" }, { "name": "Tank name", "visible": true, "x": 0, "y": -36, "alpha": 100, "color": null, "font": { "name": "$FieldFont", "size": 13, "align": "center", "bold": false, "italic": false }, "shadow": { "alpha": 100, "color": "0x000000", "angle": 45, "distance": 0, "size": 6, "strength": 200 }, "format": "{{vehicle}}{{turret}}" }, note the brakets { --------}---------},-------------- all like they are above Edited January 5, 2015 by soulza 1 @ Quote Link to comment Short link Share on other sites More sharing options...
13 Posted January 5, 2015 Share Posted January 5, 2015 @VindicareAssassin, configs.zip UPD: oops, didn't updated the page before posting. @soulza, thanks for detailed post :) @ Quote Link to comment Short link Share on other sites More sharing options...
VindicareAssassin Posted January 5, 2015 Author Share Posted January 5, 2015 Thank you very much! :ok: @ Quote Link to comment Short link Share on other sites More sharing options...
soulza Posted January 6, 2015 Share Posted January 6, 2015 (edited) no problems hope your sorted :) this is my config it also shows tank effc. in over tank markers note the little tank icon is color coded to the players effc. in that tank , i did this by using a font to represent the icon. code for this would be :- { "x": 52, "y": -40, "name": "\u0025 tank win rating", "color": "{{c:t-rating}}", "shadow": { "distance": 0, "size": 5, "color": "0x000000", "strength": 200, "angle": 90, "alpha": 100 }, "font": { "italic": false, "align": "right", "bold": false, "name": "XVMSymbol", "size": 14 }, "alpha": 100, "format": "*", "visible": true }, Edited January 6, 2015 by soulza @ Quote Link to comment Short link Share on other sites More sharing options...
nixxxie Posted January 6, 2015 Share Posted January 6, 2015 That fruit rating is lovely <3 , where can i get your config to peek into and borrow icons :) ? I may do this one day in mine... @ Quote Link to comment Short link Share on other sites More sharing options...
soulza Posted January 6, 2015 Share Posted January 6, 2015 (edited) http://roughnecksxvmmods.ipbhost.com/index.php?/forum/6-soulzas-xvm-mods/ whole ton of mods there that i have made/altered :) you can probably clean the fruit rating code up a little as i did it a while back, for the circular health meter to work you need the fonts installed in xvm/res/fonts Edited January 6, 2015 by soulza @ Quote Link to comment Short link Share on other sites More sharing options...
VindicareAssassin Posted January 14, 2015 Author Share Posted January 14, 2015 Guys, just one more thing: can you upgrade my code with a colored wn8 number too (i mean with the traditional 6 colored scale xvm uses)? Thanks in advance! @ Quote Link to comment Short link Share on other sites More sharing options...
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.
Note: Your post will require moderator approval before it will be visible.