Jump to content
Korean Random

6th Sense Duration


Recommended Posts

Hello,

 

I am currently using the latest nightly build of XVM "Build 6169 for WoT 0.9.15.1" and everything seems to be working just perfect! Thanks for all of your hard work on getting this to work with the latest update :)

 

I do have one question though concerning Sixth Sense.

 

In the "elements.xc" file there used to be a command to increase the duration of the Sixth Sense lamp. That command is no longer there and I am wondering if it would work with the latest WOT update?

 

If so, could someone please give me some guidance on how to get it to work?

 

Thank you!!

 

AMGPilot

Jack

Link to comment
Short link
Share on other sites

Now sixth sense indicator duration is controlled by python, so it's impossible to change it in the Flash.

But it's easy to change it with py_macro snippet. Just create .py file with any name (e.g. sixthsenseduration.py) in the res_mods\configs\xvm\py_macro\ folder with content like this:

 

# settings
sixthSenseDuration = 5000 # in msec, 2000 by default
 
# implementation
from gui import GUI_SETTINGS
GUI_SETTINGS.__dict__['_GuiSettings__settings'].update({'sixthSenseDuration':sixthSenseDuration})

 

Thats all.


I'll include this snippet to the mod, and add option in the config.


Done

  • Upvote 5
Link to comment
Short link
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...