Bacon_Bandit Posted July 24, 2014 Posted July 24, 2014 First let me say thank you for this great pack of mods. Is there is a way to change the tank color in the players panel to the wn8 color, instead of the tank type color?
Scorpiany Posted July 24, 2014 Posted July 24, 2014 I don't think that option is within Aslain's mod pack, however I heard of it being available somewhere else. I just can't remember where right now. I'm going to google it and tell you what I find.
Bacon_Bandit Posted July 24, 2014 Author Posted July 24, 2014 Thanks. I would appreciate it. The colors of the tanks do nothing for me, and when I run the HP bars thats all I see.
Bacon_Bandit Posted July 26, 2014 Author Posted July 26, 2014 Is this a really strange request or did I miss something?
Almace Posted July 26, 2014 Posted July 26, 2014 As I understand it, you want the tank icons (not names) to switch, depending on wn8? I imagine that it's possible, with some sort of script that scans player's wn8 and changes to directory where the game takes the icons from, for each tank. But I would also think that it can be quite complicated to realize; not to mention that you need to make at least 6-9 new tank icons for each class (heavy, light, etc.) to begin with. Depending on how much info you want in your playerspanel and how well-arranged you want to have it, there would be simpler solutions. Can just have something like this: with default icons even. Or something along that line. Personally, I prefer the icons as in the pic, white nick (both for better readability, since the red wn8 stuff just hurts my eyes tbh), winrate, wn8 and then maybe 1-2 more stats next to the name. Really depends on your taste though, I guess.
Bacon_Bandit Posted July 26, 2014 Author Posted July 26, 2014 Maybe I should have attached a pic to show what I am looking for. I understand what you are saying, but I don't want the icons colored. Just the names of the tanks.
Almace Posted July 26, 2014 Posted July 26, 2014 Maybe I should have attached a pic to show what I am looking for. I understand what you are saying, but I don't want the icons colored. Just the names of the tanks. Tbh, the pic looks like there are 2x tank icons (1x default ones and 1x modified ones). If you look at the pic I posted, that would be an example of 1x wn8-coloured tank-name and 1x modified tank-icon. I'm not using HP-bars myself, so let me see if I can check things out but it looks like it's all already possible with Aslain's pack; either by changing the playerspanel-size with ctrl+tab or a slight file modification. But let me see if I can figure it out. E: Ok, here is the sad verdict of tonight: I couldn't even get the HP-bars to work and installing them made the wn8-colours not work for me anymore; in any size panel. So what was left was nickname, tank-name (both in white, even after modifying playerspanel.xc) and default tank icons. - forgot to take a pic but it's basically like vanilla - Not sure if I missed anything but I don't think so; at least nothing obvious. Cleared DLC folder (manually), done full clean-install (whole res_mods wiped) and don't have any other mods installed to begin with. So yea, not sure why HP-bars don't work for me right now but I also don't want to leave you with nothing. The best I can say/do atm is to tell you to just use normal playerspanel (medium/large, w/e) and modify it to your wishes. I edited mine back to this: which would be the closest to what you asked, I suppose, just without the HP-bars. Unless someone can point out why it wouldn't even work for me (I can provide the .logs if needed), I can't provide a better solution right now.
Bacon_Bandit Posted July 26, 2014 Author Posted July 26, 2014 well here is the players panel info. problem is I don't see the normal color call outs. I'm not sure exactly what it is pointing to actually. thats why I'm consfused. I never had a problem with the health bars working so I'm not sure what problems you are having. I'm guessing Aslain will be the only one to figure this one out. And yes, your config is almost what I want which is weird this is seeming to be an impossible task. // Parameters of the Players Panels ("ears"). // Параметры панелей игроков ("ушей"). "def": { "c1": "0x13C313", "c2": "0xFF0F0F" }, "playersPanel": { "alpha": 35, "clanIcon": { "alpha": 90, "h": 16, "show": false, "w": 16, "x": 80, "xr": 80, "y": 4, "yr": 4 }, "enemySpottedMarker": { "Xoffset": -35, "Yoffset": -10, "enabled": true, "format": { "artillery": { "dead": "", "lost": "<img src='xvmres://Aslain/icons/lost.png' width='24' height='24'>", "neverSeen": "<img src='xvmres://Aslain/icons/hidden.png' width='24' height='24'>", "revealed": "<img src='xvmres://Aslain/icons/onmap.png' width='24' height='24'>" }, "dead": "", "lost": "<img src='xvmres://Aslain/icons/lost.png' width='24' height='24'>", "neverSeen": "<img src='xvmres://Aslain/icons/hidden.png' width='24' height='24'>", "revealed": "<img src='xvmres://Aslain/icons/onmap.png' width='24' height='24'>" } }, "iconAlpha": 100, "medium": { "formatLeft": " {{name%.9s~..}} <font alpha='#A0'>{{clan}}</font>", "formatRight": "<font alpha='#A0'>{{clan}}</font> {{name%.9s~..}} ", "extraFieldsLeft": [ { "x": 0, "y": 2, "valign": "center", "h": 21, "w": "100", "bgColor": 0, "alpha": "{{alive?35|0}}" }, { "x": 0, "y": 2, "valign": "center", "h": 21, "w": "{{hp-ratio:100}}", "bgColor": ${"def.c1"}, "alpha": "{{alive?75|0}}" }, {} ], "extraFieldsRight": [ { "x": 0, "y": 2, "valign": "center", "h": 21, "w": "100", "bgColor": 0, "alpha": "{{alive?35|0}}" }, { "x": 0, "y": 2, "valign": "center", "h": 21, "w": "{{hp-ratio:100}}", "bgColor": ${"def.c2"}, "alpha": "{{alive?75|0}}" }, {} ], "width": 56 }, "medium2": { "formatLeft": "<font color='{{c:wn8}}'>{{vehicle}}</font>", "formatRight": "<font color='{{c:wn8}}'>{{vehicle}}</font>", "width": 120 }, "large": { "nickFormatLeft": " {{name%.9s~..}} <font alpha='#A0'>{{clan}}</font>", "nickFormatRight": "<font alpha='#A0'>{{clan}}</font> {{name%.9s~..}} ", "vehicleFormatLeft": "", "vehicleFormatRight": "", "extraFieldsLeft": [ { "x": 26, "y": 2, "valign": "center", "h": 21, "w": "100", "bgColor": 0, "alpha": "{{alive?35|0}}" }, { "x": 26, "y": 2, "valign": "center", "h": 21, "w": "{{hp-ratio:100}}", "bgColor": ${"def.c1"}, "alpha": "{{alive?75|0}}" }, { "w": 3, "y": 2, "valign": "center", "h": 21, "bgColor": ${"def.c1"}, "alpha": "{{alive?35|0}}" }, {} ], "extraFieldsRight": [ { "x": 26, "y": 2, "valign": "center", "h": 21, "w": "100", "bgColor": 0, "alpha": "{{alive?35|0}}" }, { "x": 26, "y": 2, "valign": "center", "h": 21, "w": "{{hp-ratio:100}}", "bgColor": ${"def.c2"}, "alpha": "{{alive?75|0}}" }, { "w": 3, "y": 2, "valign": "center", "h": 21, "bgColor": ${"def.c2"}, "alpha": "{{alive?35|0}}" }, {} ], "width": 90 }, "removePanelsModeSwitcher": false, "removeSquadIcon": false }}
Administrator Aslain Posted July 27, 2014 Administrator Posted July 27, 2014 Maybe I should have attached a pic to show what I am looking for. I understand what you are saying, but I don't want the icons colored. Just the names of the tanks. Impossible, these are hardcoded icons, not a plain text with some style formatting. You can however disable icons and put txt tank names, but it will be looking very simple, without tier symbols, stars and what not....
Bacon_Bandit Posted July 27, 2014 Author Posted July 27, 2014 Ok, then can you explain these two statements for me so I can change that? Most configs I have delt with are nick font blah blah blah. don't know what the {nick%.12s~..} is referring to. "formatLeft": "<font color='{{c:wn8}}'>{{nick%.12s~..}}</font>", "formatRight": "<font color='{{c:wn8}}'>{{nick%.12s~..}}</font>", Sorry to be a pain, but thanks for responding. I would like to see how it looked then with the players name/nick in wn8 format? could you tell me how to try that?
Administrator Aslain Posted July 27, 2014 Administrator Posted July 27, 2014 new macros formatting: {{name[%[flag][width][.prec]type][~suf][|def]}} name - macro name flag - "-" for left align, else right align "0" for filling with leading zeros width - minimum width prec - maximum width for lines or number of digits after comma for numbers type - type (s - string, d - decimal, f - float, ...) suf - suffix added at the end def - default value, set when value is absent: Details: http://en.wikipedia.org/wiki/Printf For example: {{name%-16.16s}} - cut names longer 10 chars, and fill names shorter 10 chars and align left {{kb%4.01f~k|----}} - width 4 chars, exactly 1 char after comma, align right if kb==null, display "----"
Administrator Aslain Posted July 27, 2014 Administrator Posted July 27, 2014 For example: {{nick%.12s~..}} Means: - display player name with clan tag - cut the name to 12 characters - use ".." as a placeholder for all names over 12 characters
Almace Posted July 27, 2014 Posted July 27, 2014 Have to admit, I'm too ignorant in that area and prolly too lazy to look deeper into it. I still have the issue that HP bars aren't even working for me right now and changes of the .xc don't seem to have any effect. So, playing around with it is not an option for me atm. =( I made a bug report though and see if I can get somewhere with that, so that I can still have a look at this soon.
Bacon_Bandit Posted July 27, 2014 Author Posted July 27, 2014 ok, I figured it out. I just made the text inside the health bar my wn8 colors. it may not look pretty to some but I'de rather not have a huge players panel running accross the screen. The health bar with the icon set is really all i need. Thanks again for at least pointing me in the right direction guys.
Administrator Aslain Posted July 27, 2014 Administrator Posted July 27, 2014 ok, I figured it out. I just made the text inside the health bar my wn8 colors. it may not look pretty to some but I'de rather not have a huge players panel running accross the screen. The health bar with the icon set is really all i need. Thanks again for at least pointing me in the right direction guys. I have tried that too, but this red color makes it unreadable, but who cares for tomatoes ;)
Bacon_Bandit Posted July 27, 2014 Author Posted July 27, 2014 Thats exactly what I was thinking. If they are red there's no reason to care lol. I'll try to tweak it a bit but want to play a few rounds and keep tweaking it.
Administrator Aslain Posted July 27, 2014 Administrator Posted July 27, 2014 I still have to tweak a bit lenght of the hp bar, because I have noticed sometimes it's overlaping on the frags column, which was not my intention.
Almace Posted July 27, 2014 Posted July 27, 2014 ok, I figured it out. I just made the text inside the health bar my wn8 colors. it may not look pretty to some but I'de rather not have a huge players panel running accross the screen. The health bar with the icon set is really all i need. Thanks again for at least pointing me in the right direction guys. So Aslain got it to work for me and you can still add "vehicleFormatLeft": "<font color='{{c:wn8}}'>{{vehicle}}</font>", "vehicleFormatRight": "<font color='{{c:wn8}}'>{{vehicle}}</font>", in order to keep the white nicks and have your wn8 tanknames. Just need to pick yourself icons that don't look stupid with that setup, like mine do. I guess that you'd be set with the above-mentioned modification.
Bacon_Bandit Posted July 27, 2014 Author Posted July 27, 2014 Thats not bad Almace, but I think I am going to stick to this for now. Trying for less is more here. ;-) I realized I don't need the red or green. I know what team I'm on and just needed something to show for health. It seems to be working for me right now. I really like the boldness of this icon pack. I could actually do without the nation symbols, but they are very recognizable in battle. Thanks again guys for the help and direction.
Administrator Aslain Posted July 27, 2014 Administrator Posted July 27, 2014 Thats not bad Almace, but I think I am going to stick to this for now. Trying for less is more here. ;-) I realized I don't need the red or green. I know what team I'm on and just needed something to show for health. It seems to be working for me right now. I really like the boldness of this icon pack. I could actually do without the nation symbols, but they are very recognizable in battle. Thanks again guys for the help and direction. Interesting solution :) Can u show how it looks when someone is damaged, and dead too? Cause everybody on the screenshot is alive.
Bacon_Bandit Posted July 27, 2014 Author Posted July 27, 2014 "def": { "c1": "0x7A7A7A", "c2": "0x7A7A7A" "large": { "nickFormatLeft": "<font color='{{c:wn8}}'> {{name%.9s~..}}</font> <font alpha='#A0'>{{clan}}</font>", "nickFormatRight": "<font color='{{c:wn8}}'> {{name%.9s~..}}</font> <font alpha='#A0'>{{clan}}</font>", I'll fiddle with the red some just to make it nice but I'm liking it so far. Thanks.
Recommended Posts