OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting Multiplayer => Topic started by: Terox on 10 Mar 2003, 17:57:31
-
What i want to do is compress a 24 hour period smoothly into a 30 minute game
I know how to use the skiptime command for admins to select various times of day when starting a map
But what i want to do with this particular map is start the game at 15:00 and have it cycle through day-night-day again with a smooth transition
Do i have to create a looping script to do it or is there another way
-
I think you'll have to create a looping script, which skips a certain amount of time per minute in a total of (23,5hours x 60) during a 30min mission. It's simple. Just a few maths and you'll have it workin' ;)
-
Ok, thats not how u do it......the way it has to be done for multiplayer is u need to change the time on the server only then tell the clients to update every 5-60 seconds....thats the way i have done it and it works perfectly....if u only do the loop the games on each client will end up in the different time....
-
the timemove peeding up time method has been added to my script section of my webpage, check it out if your interested
www.backoff.ch/ofp
-
have done, thankyou :)