Jump to content

"Look at the map" mod?


UmmiQ

Recommended Posts

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

Link to comment
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
CheckMinimap.thumb.png.d3d3a44e68963394426552907fbb7fcc.png

  • Upvote 1
Link to comment
  • 2 weeks later...

@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 vspace
3sec.thumb.png.928440f4b20d6a59c9388afc929b5b62.png
CheckMinimap.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 ;)

Link to comment
  • 1 month later...

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:

 

Link to comment

My play session took way too long, so i stopped playing again and don't have game or anything wot related on pc. :blush: 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

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.