Jump to content

Welcome to the Forum!

The best place to exchange builds and ideas! Vote for the best ideas and suggestions here.

Join the Avorion Discord!

Connect with other passionate players and talk about the latest news.
Discord

DLC Avorion Into the Rift Out Now!

Now available on Steam!
Steam

Reducing the time a station takes to disable transport mode


hqz
 Share

Recommended Posts

I'm trying to reduce the time a station takes to disable transport mode. So far I found data/scripts/entity/utility/transportmode.lua where there's the following variable:

self.restorationTime = 10 * 60

It seems to be referenced in most of the functions that deal with the delay I'm looking to change. However, when I change it to a lower value (e.g. 1 second), it still takes 10 minutes to disable transport mode. Am I missing something or am I looking at the wrong script? Is it possible that the script (or some of its data) is persistent despite reloading the game? (I haven't tried yet on a brand new game to confirm this)

Note: I have modified the game's script directly instead of making a mod so far because I wanted to test things first. I already did something similar to make the "refine ores" command faster and it worked without making it a mod while I was testing it. So I don't really know what would be different here.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...