OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Fiendish on 04 Jan 2003, 05:43:58
-
How do I accelerate time, but not movement? :-\
I've seen it on a server when I was multiplaying..
It changed from day to night in 30 minutes.
How do I get that effect, and will it work in my mp missions too?
-
x skiptime x
first x would be how long it would take to change the other how much to change 1 = one hour
-
Would that make the day go faster?
Is'nt that just for jumping directly from one hour to another? :-\
-
try this it should skip 5 minutes every second
#loop
skiptime 0.05
~1
goto "loop"
-
Also check this (http://www.ofpec.com/editors/snippet_view.php?id=179) out, it's a premade script for faster timeflow. I'm sure you can work something out using that.
-
the synthax is:
setacctime #
# = anynumber 0 ->
normal is 1, stop is 0 - 4 is like pressing the + key twice and 2 is pressing it once. Any more than that and it will speed up A LOT - but beware - if you make it go to fast, it lags like hell - you've got to find a happy medium - on my PC its about 30 to make its smooth - so the sun makes a nice smooth arc across the sky.
-
KTotte brought me what I was looking for...
Thank you! ;D