UmmiQ Posted November 4, 2018 Posted November 4, 2018 Hi Is there a "Look at the map" mod, where similar to the "eye" there's a notification that after every 45s reminds you to look at the map? I forget that myself.. i think I would be useful Regarrds, Urmas from Estonia Quote
Ress Posted November 4, 2018 Posted November 4, 2018 8 hours ago, UmmiQ said: Hi Is there a "Look at the map" mod, where similar to the "eye" there's a notification that after every 45s reminds you to look at the map? I forget that myself.. i think I would be useful Regarrds, Urmas from Estonia I doubt such mod exists. But after reading your request got interested to try something with xvm using battleTimer.py There is a way to show text/image at specific time and location on screen. example when timer is at 45 seconds: { "def": { "CheckMinimap": { "enabled": true, "updateEvent": "PY(ON_BATTLE_TIMER)", //"layer": "top", "x": 0, "y": 75, //"borderColor": "0x000000", //"bgColor": "0x000000", //"w": 100, "h": 50, "alpha": "{{my-alive?100|0}}", "screenHAlign": "center", "screenVAlign": "top", "shadow": { "enabled": true, "color": "0x000000", "alpha": 90, "distance": 0, "angle": 90, "blur": 2, "strength": 2 }, "textFormat": { "font": "Calibri", "color": "0xF50800", "size": 50, "align": "center", "valign": "top" }, "format": "<b>{{{{py:xvm.secondsBT}}=45?{{l10n:CheckMinimap}}|}}</b>" //"format": "{{py:xvm.secondsBT=45?<img src='cfg://default/icons/SixthSense2.png'>}}" } } } CheckMinimap.xc 1 Quote
UmmiQ Posted November 12, 2018 Author Posted November 12, 2018 Oh, great. Thanks! Where should I put this file to test it? res_mods\1.2.0.1\scripts\client\gui\mods ? And then I can pick whichever image I want? Quote
Ress Posted November 12, 2018 Posted November 12, 2018 @UmmiQLol, i was just fooling around, but if you wanna test it...well, where to start? you need xvm, extra py macro, example config (from above) and some image.png (if you wanna use image) put battleTimer.py inside res_mods/configs/xvm/py_macro put example CheckMinimap.xc config file inside xvm config folder (by default: res_mods/configs/xvm/default) inside config folder/battleLabels.xc add: ${ "CheckMinimap.xc":"def.CheckMinimap" } (at the bottom, don't forget comma at the end for format above it) Its already setup for text, if you wanna use image indication. -Grab some image.png put inside config folder/icons or inside res_mods/mods/shared_resources/xvm/res inside CheckMinimap.xc add // on first format or remove it remove // on second format example if image is inside xvm config/default/icons "format": "{{py:xvm.secondsBT=45?<img src='cfg://default/icons/image.png'>}}" example if image is inside res_mods/mods/shared_resources/xvm/res "format": "{{py:xvm.secondsBT=45?<img src='xvm://res/image.png'>}}" It only stays up for 1 sec, if you need longer like 3 sec or more, you have to add more {{py:xvm.secondsBT=xx?something}} Quick example using sixthsense icon for 3 sec you can use both (image and text), but you will have to play around with alignment/leading and vspaceCheckMinimap.xc I don't know what exactly you need, image? text? on what condition?what position? for how long? Once you figure it out i can help u make proper config file..if you want ...all this was just me fooling around Quote
UmmiQ Posted December 14, 2018 Author Posted December 14, 2018 Sorry for delayed replies.. Do you happen to have this battleTimer.py? Because this link doesn't provide that- it has been removed. I would like to test it out Quote
Ress Posted December 14, 2018 Posted December 14, 2018 4 hours ago, UmmiQ said: Do you happen to have this battleTimer.py? Because this link doesn't provide that- it has been removed. ...link appears to be working just fine. https://koreanrandom.com/forum/topic/36869-battletimer-средствами-xvm/ Quote
UmmiQ Posted December 21, 2018 Author Posted December 21, 2018 Thx. I had to log in :) It was in Russian so I didn't understand that. Anyway.. I don't have this file or folder: Quote put example CheckMinimap.xc config file inside xvm config folder (by default: res_mods/configs/xvm/default)inside config folder/battleLabels.xc add: Quote
Ress Posted December 21, 2018 Posted December 21, 2018 My play session took way too long, so i stopped playing again and don't have game or anything wot related on pc. Also i don't know how much xvm and game are stable atm. If you have xvm installed(default) or Aslain's modpack with xvm, you should have Aslain folder (inside res_mods/configs/xvm...) at least. put config file there and edit inside (ignore default folder for default xvm) I already posted 2 different checkminimap.xc "example" configs in this topic... anyway...here edited this one for Aslain xvm config, try playing around with this one: CheckMinimap.7z 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.