Jump to content
Sign in to follow this  
tonic-_-

MP Fast time FSM - JIP Compatible

Recommended Posts

I'd just like to report with my fixed version night is skipping in A3 like it should. Thank you Tonic!

Share this post


Link to post
Share on other sites

Hi there,

Pretty nice script man, good to see it works with JIP as well.

I have some issues with it though as it still jerks quite a bit as it changes the time in the world (both setdate and skiptime seem to do it for me). Have you considered making a version where you skiptime basically every other second or something?

Edit: Fixed the stupid issue I had, but the statement above still stands true :)

Edited by Hulahuga

Share this post


Link to post
Share on other sites

I have been trying to make parameters for this script and thought I would share them here to see if there is any feedback on the best way to define them.

Params:

class core_time_switch { 
 title = "Time Sync Settings:";
 values[] = {0,1};
 texts[] = {"Disabled","Enabled"};
 default = 1;
};
class core_time_skip_time { 
 title = "Time Sync Settings - Day Cycle Time To Skip:";
 values[] = {1,10,20,30};
 texts[] = {"1 Minute","10 Minutes","20 Minutes","30 Minutes"};
 default = 1;
};
class core_time_method { 
 title = "Time Sync Settings - Method:";
 values[] = {0,1};
 texts[] = {"SkipTime","SetDate"};
 default = 1;
};
class core_time_sync_interval { 
 title = "Time Sync Settings - Sync Interval:";
 values[] = {1,10,20,30};
 texts[] = {"1 Minute","10 Minutes","20 Minutes","30 Minutes"};
 default = 10;
};
class core_time_skip_interval { 
 title = "Time Sync Settings - Skip Interval:";
 values[] = {1,10,20,30};
 texts[] = {"1 Minute","10 Minutes","20 Minutes","30 Minutes"};
 default = 1;
};
class core_time_night_cycle { 
 title = "Time Sync Settings - Custom Night Cycle:";
 values[] = {0,1};
 texts[] = {"Disabled","Enabled"};
 default = 0;
};
class core_time_night_cycle_skip_time { 
 title = "Time Sync Settings - Custom Night Cycle Time To Skip:";
 values[] = {1,10,20,30};
 texts[] = {"1 Minute","10 Minutes","20 Minutes","30 Minutes"};
 default = 1;
};

Init:

if (core_time_method == 1) then {
 if (core_time_night_cycle == 1) then {
   [core_time_skip_time,true,core_time_sync_interval,core_time_skip_interval,true,core_time_night_cycle_skip_time] execFSM "core_time.fsm";
 }else{
   [core_time_skip_time,true,core_time_sync_interval,core_time_skip_interval,false,core_time_night_cycle_skip_time] execFSM "core_time.fsm";
 };
}else{
 if (core_time_night_cycle == 1) then {
   [core_time_skip_time,false,core_time_sync_interval,core_time_skip_interval,true,core_time_night_cycle_skip_time] execFSM "core_time.fsm";
 }else{
   [core_time_skip_time,false,core_time_sync_interval,core_time_skip_interval,false,core_time_night_cycle_skip_time] execFSM "core_time.fsm";
 };
};

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×