Re: Keho Blue V 1.10.0.0(updated 9th AUGUST 2020)
Published by soulza on
BLACKWOT › Forums › Stats & Other Mods for World of Tanks › Soulzas Corner › Keho Blue V 1.10.0.0(updated 9th AUGUST 2020) › Re: Keho Blue V 1.10.0.0(updated 9th AUGUST 2020)
yes both are xvm related , go into your xvm config folder
all settings will be in widgetsTemplates.xc
from line 144 onwards are the settings for in hanger items
for the clock it starts at 146:-
“clock”: {
// Show clock in hangar.
“enabled”: true,
// layer – “bottom”, “normal” (default), “top”.
“layer”: “top”,
“type”: “extrafield”,
“formats”: [
{
“updateEvent”: “ON_EVERY_SECOND”,
// Horizontal position.
“x”: 350,
// Vertical position.
“y”: 5,
// Width.
“width”: 232,
// Height.
“height”: 173,
// Horizontal alignment of field at screen (“left”, “center”, “right”).
“screenHAlign”: “center”,
// draw border with specified color (macros allowed) (default: null)
“borderColor”: null,
// draw background with specified color (macros allowed) (default: null)
“bgColor”: null,
// shadow settings
“shadow”: { “enabled”: true,
“distance”: 3,
“angle”: 3,
“color”: “0x000000”,
“alpha”: 90,
“blur”: 1,
“strength”: 2},
// it applies global style to HTML in “format”; note, that defined font attributes in “format” override those in “textFormat”
“textFormat”: { “align”: “right”, “valign”: “top”, “color”: “0xe6ac00” },
// displayed text field data (HTML allowed, macros allowed) (default: “”)
“format”: “<font face=’gunplay’><textformat leading=’-38′><font size=’36’>{{py:xvm.formatDate(‘%H:%M’)}}</font><br></textformat><textformat rightMargin=’85’ leading=’-2′>{{py:xvm.formatDate(‘%A’)}}<br><font size=’15’>{{py:xvm.formatDate(‘%d %b %Y’)}}</font></textformat></font>”
}
]
},
ok a few pointers , the clock is lined from the top center so x:350 and y:5 mean its 350 pixels from the middle of your screen and 5 pixels down the screen you should be able to work off that , the actual content is near the bottom to do with font ,color size etc.
the server ping and status however is not in there , you need to go into hanger.xc and from line 102 onwards is the ping servers code , there is quite a bit to look at here but i think main settings you are after are the X and Y co ords ? if so note this time i used align left meaning that x:570 is 570 pixels from the left of your screen and y is 2 pixels from the top as seen in lines 105 and 106 ,
“pingServers”: {
“enabled”: true,
“updateInterval”: 10000,
“x”: 570,
“y”: 2,
“hAlign”: “left”,
“vAlign”: “top”,
“layer”: “top”,
“showTitle”: true,
“showServerName”: true,
“alpha”: 100,
“delimiter”: “: <font face=’Webdings’>~</font>”,
“maxRows”: 4,
“columnGap”: 10,
“fontStyle”: {
“name”: “gunplay”,
“size”: 13,
“bold”: true,
“italic”: false,
“color”: {
“great”: “0xD042F3”, // Excellent original = 0xFFCC66, my = 0x00FF21, rating = 0xD042F3
“good”: “0x60FF00”, // = 0xE5E4E1, = 0x0094FF, = 0x60FF00
“poor”: “0xFE7903”, // = 0x96948F, = 0xFF006E, = 0xFE7903
“bad”: “0xFE0E00” // = 0xD64D4D, = 0xFF6A00, = 0xFE0E00
}
},
“threshold”: {
“great”: 35,
“good”: 60,
“poor”: 100
},
“shadow”: {
“enabled”: true,
“color”: “0x000000”,
“distance”: 0,
“angle”: 0,
“alpha”: 70,
“blur”: 4,
“strength”: 2
}
},
also you will need to edit these settings below for the online servers (there are two lots of settings) do the above first and get it lined up how you want it and then make a note of how many pixels you moved it , then use that number on the settings below, this looks quite complicated but its not .
“onlineServers”: {
“enabled”: true,
“x”: 440,
“y”: 2,
“hAlign”: “left”,
“vAlign”: “top”,
“alpha”: 100,
“delimiter”: “: <font face=’Webdings’>~</font>”,
“maxRows”: 4,
“columnGap”: 10,
“leading”: 0,
“layer”: “top”,
“showTitle”: true,
“showServerName”: true,
“topmost”: true,
“showTitle”: true,
“showServerName”: true,
“fontStyle”: {
“name”: “gunplay”,
“size”: 13, // ??????
“bold”: true, // ??????
“italic”: false, // ??????
“color”: {
“great”: “0x60ff00”, // ????????
“good”: “0xF8F400”, // ???????
“poor”: “0xFE7903”, // ??? ????
“bad”: “0xFE0E00” // ??????
},
“markCurrentServer”: “underline”
},
“threshold”: {
“great”: 30000,
“good”: 10000,
“poor”: 3000
},
“shadow”: {
“enabled”: true,
“color”: “0x000000”,
“distance”: 0,
“angle”: 0,
“alpha”: 70,
“blur”: 4,
“strength”: 2
}
},
“serverInfo”: {
“enabled”: true,
“alpha”: 100,
“rotation”: 0
},