FOnline Development > Questions and Answers
Realtime time
(1/1)
Nykaen:
Is there anything to do if I wanted to change ingame time cycle.
I was thinking of changing the whole time system to realtime. 1 second in real life = 1 second in game.
Wipe:
You can change time multiplier to 1 inside main@get_start_time; note that this function is called only when starting 'clean' world - without previous saves. Additionally, there's a ~settime function for manipulating time stuff runtime.
Nykaen:
--- Quote from: Wipe on December 31, 2013, 04:24:37 pm ---You can change time multiplier to 1 inside main@get_start_time; note that this function is called only when starting 'clean' world - without previous saves. Additionally, there's a ~settime function for manipulating time stuff runtime.
--- End quote ---
thank you, sir.
Edit: I had to edit battle timeouts aswell, seeing that modifying time multipliers affects also to battle timeouts aswell.
--- Code: ---cr.TimeoutBase[TO_BATTLE] = 10;
--- End code ---
And I guess I have to edit every timeouts also. **sigh**
Wipe:
...and THAT'S why you should switch to defines from _time.fos :)
Navigation
[0] Message Index
Go to full version