Jump to content
Korean Random


  • Content Count

  • Joined

  • Last visited

Everything posted by skitey

  1. @steaxch Полная строка выглядит так: "format": "<textformat tabstops='[65,130,195,260]'><font color='#CCFFFF' face='$FieldFont' size='12'>{{py:bst.type(1)?{{py:lstrip('{{py:bst.leftTimeHrMin(1)}}', '0:')}}<tab>}}{{py:bst.type(2)?{{py:lstrip('{{py:bst.leftTimeHrMin(2)}}', '0:')}}<tab>}}{{py:bst.type(3)?{{py:lstrip('{{py:bst.leftTimeHrMin(3)}}', '0:')}}<tab>}}{{py:bst.typeCR(1)?{{py:lstrip('{{py:bst.leftTimeHrMinCR(1)}}', '0:')}}<tab>}}{{py:lstrip('{{py:bst.leftTimeHrMinCR(2)}}', '0:')}}</font></textformat>"
  2. Как правильно добавить в эту большую строку? "format": "<textformat tabstops='[65,130,195,260]'><font color='#CCFFFF' face='$FieldFont' size='12'>{{py:bst.type(1)?{{py:lstrip('{{py:bst.leftTimeHrMin(1)}}', '0:')}}<tab>
  3. как сделать красный цвет (<font color = "# FF0000">), если осталось всего несколько секунд? (00:00:59)
  4. really nice thx for this code snipped. i found i bug/problem and hope it could be fixed... the blueprints are not included in this calculation..my 7% less exp isn't added.
  5. можно изменить уровень ранга с цветными числами в зависимости от среднего, тяжелого, тд, спг?
  6. При использовании 2 инфо ... можно ли показать одно все время без исчезновения?
  7. sry for posting in english... is it possible with xvm+py.macro to make the same cool thing that battle observer can?:
  8. nice, it's working :) thx one last question: is it possible to move the mapname a bit up? so it looks like this: Malinovka 1000M
  9. Hello, hope somebody can help me with maps.py. I want to show mapname on minimap near mapsize..but it does not work :( please help in minimap.xc: // Map size label // Поле размера карты "mapSize": ${"minimapMapSize.xc":"mapSize"}, // Map name label // Поле размера карты "mapName": ${"minimapMapName.xc":"mapName"}, in minimapMapName.xc: /** * Textfield for map name. */ { // The settings correspond to the extra fields parameters // Настройки соответствуют параметрам дополнительных полей // {{py: map.nameFile}} - the name of the map file on which the battle takes place. // {{py: map.localeName}} - localized name of the map on which the battle takes place. // {{py: map.kind}} - returns 'summer' if the map is summer, 'winter' - winter, 'desert' - desert. "mapName": { "enabled": true, "x": 10, "y": 0, "alpha": 70, "textFormat": { "font": "Times New Roman", "size": 18, "color": "0xFFCC66", "align": "left", "bold": true, "italic": false }, "format": "<font size='18' color='{{py:map.kind=summer?#FF0000|{{py:map.kind=winter?#FFFFFF|#00FFFF}}}}'>{{py:map.localeName}}</font>", "shadow": { "enabled": true, "color": "0x000000", "alpha": 70, "blur": 2, "strength": 3, "distance": 0, "angle": 0 } } }
  10. i adapted the announcements from UT Announcer Mod to XVM. Works perfect! Is there a possibility to change sound with xvm at these events? Kamikaze kill Ramkill would be really nice! thx for any help
  11. i changed key from left to right ctrl. shows up when i press teh key. xvm.log Update : OK, I had to press leftctrl + rightctrl and then click on the icon to repair ... what a mess :( i tried to fix it in handler: @registerEvent(PlayerAvatar, 'handleKey') def handleKey(self, isDown, key, mods): global select #if (key == Keys.KEY_LCONTROL) and (select is not None): if (key == Keys.KEY_RCONTROL) and (select is not None): old_select = select select = None as_event(EVENTS[old_select[:-4]]) and using Hotkey Code 157 in the repaircontrol.xc but now i don't see the wheel :( please help me
  12. no, sorry, that did not work. the only thing that got updated are the shell_power and shell_damage values. the other numbers and picture are from my own tank :(
  13. after i added the code for the weight check (green/red) on my mid-right panel, my bottom right panel don't update and shows only my stats..why? infopanel { "infoPanel": { // false - Disable info panel. // false - Отключить информационную панель. "enabled": true, // true - Show only for enemies. // true - Отображать только для противников. "enemiesOnly": false, //true - Show only for alive players. //true - Отображать только для живых игроков. "aliveOnly": true, // Hide panel delay (in seconds) // Задержка скрытия панели (в секундах) "delay": 5, // Key for self vehicle information display. // Клавиша для отображения информации о своей технике. "altKey": 56, // Values for {{py:compareDelim(X, Y)}} and {{py:compareColor(X, Y)}} macros // Значения для макросов {{py:compareDelim(X, Y)}} и {{py:compareColor(X, Y)}} "compareValues": { "moreThan": { "delim": "&gt;", // '<' "color": "#FF0000" }, "equal": { "delim": "=", "color": "#FFFFFF" }, "lessThan": { "delim": "&lt;", // '>' "color": "#00FF00" } }, // Block of text formats. Allow multiple formats (https://koreanrandom.com/forum/topic/36811-/). // Блок текстовых форматов. Допускается создание нескольких форматов (https://koreanrandom.com/forum/topic/36811-/). "formats": [ //"<font face='Arial' size='12' color='#9FF781' alpha='90'>{{vehicle_name}}</font> <font face='Arial' size='10'>({{vehicle_weight}}t)</font> "<font face='Arial' size='14' color='#D4FFAA' alpha='90'>{{vehicle_name}}</font> {{py:isTarget=trg?<font size='12' color='{{py:compareColor({{vehicle_weight}}, {{pl_vehicle_weight}})}}'>{{vehicle_weight}}t</font>|{{pl_vehicle_weight}}}} <br/><font face='Arial' size='14' color='#00FFFF'>T: {{armor_turret_front}}/{{armor_turret_side}}/{{armor_turret_back}} <br/>W: {{armor_hull_front}}/{{armor_hull_side}}/{{armor_hull_back}}</font>", "{{vehicle_name}} <br/>{{gun_reload_equip}}s <br/><img src='img://gui/maps/icons/vehicle/{{icon_system_name}}.png'> <br/><textformat tabstops='[95]'>Gewicht: {{vehicle_weight}}t<tab>Sicht: {{vision_radius}}m</textformat> <br/><textformat tabstops='[65,105,145]'>Wanne:<tab>{{armor_hull_front}}<tab>{{armor_hull_side}}<tab>{{armor_hull_back}}</textformat> <br/><textformat tabstops='[65,105,145]'>Turm:<tab>{{armor_turret_front}}<tab>{{armor_turret_side}}<tab>{{armor_turret_back}}</textformat> <br/><textformat tabstops='[65,105,145]'>Munition:<tab>{{shell_type_1}}<tab>{{shell_type_2}}<tab>{{shell_type_3}}</textformat> <br/><textformat tabstops='[65,105,145]'>Pen:<tab>{{shell_power_1}}<tab>{{shell_power_2}}<tab>{{shell_power_3}}</textformat> <br/><textformat tabstops='[65,105,145]'>Schaden:<tab>{{shell_damage_1}}<tab>{{shell_damage_2}}<tab>{{shell_damage_3}}</textformat>" ] } } battlelabletemplate: //Panel near Crosshair "infoPanel0": { "enabled": true, "updateEvent": "PY(ON_INFO_PANEL)", "x": 400, "y": 550, "width": 200, "height": 200, "align": "center", "valign": "center", "screenHAlign": "center", "screenVAlign": "center", "shadow": { "enabled": true, "distance": 1, "angle": 90, "color": "0x000000", "alpha": 80, "blur": 5, "strength": 2 }, //"textFormat": { "align": "left", "leading": -10 }, "textFormat": { "font": "$FieldFont", "size": 14, "color": "0xFCFCFC", "align": "left", "leading": -10 }, "format": "{{py:infoPanelFormat(0)}}" }, //Panel near Minimap "infoPanel1": { "enabled": true, "updateEvent": "PY(ON_INFO_PANEL)", "x": 500, "y": 420, "width": 250, "height": 250, "align": "center", "valign": "center", "screenHAlign": "center", "screenVAlign": "center", "shadow": { "enabled": true, "distance": 1, "angle": 90, "color": "0x000000", "alpha": 80, "blur": 5, "strength": 2 }, "textFormat": { "font": "$FieldFont", "size": 14, "color": "0xFCFCFC", "align": "left", "leading": -12 }, "format": "{{py:infoPanelFormat(1)}}" }
  14. нет XVM статистика с последними 4416?
  15. Привет. Извините за помощью глупое Google пер. Может кто опытный парень добавьте рабочую DamageLog (GambitER`s) в этом удивительном Damagepanel? Было бы действительно очень приятно. спасибо http://mirtankov.net/attachments/article/11770/ZMOD_worldOFtanks_094.zip
  • Create New...