Jump to content
Sign in to follow this  
FIN-Nixo

Faster time

Recommended Posts

I have searched for this over 2 days now. And can't find it. Please help me. How can i make time go faster. like 24 MINUTES is a entire day?

Share this post


Link to post
Share on other sites

Probably you searched at the wrong places then.

setAccTime

Also OFPEC with its forums and Editors Depot is an excellent resource.

Share this post


Link to post
Share on other sites

You have to make a loop that skips the time by a certain amount every x seconds.

For example, every 1 minute, the time skips an hour. Now you'll notice this, as the light changes quite noticibly, so you might want to cut it down a bit, like 10 seconds, 10 minutes.

Yours,

Share this post


Link to post
Share on other sites

Thanks. Found the code "skipTime HOUR" But but but.... where should i put it? In a trigger? Description.ext?

EDIT: Ok so this code Skips time allright. But in sahrani life the time skips 2 hours foreward every 5 minutes i think... I want that in my mission. I do not want any acceleration so that all the units run around like ants.

Share this post


Link to post
Share on other sites

You might want to check out my related addon:

VF ATS

I still use this addon from time to time, still works ok for me - also in MP games.

Regards,

VictorFarbau

Share this post


Link to post
Share on other sites
You might want to check out my related addon:

VF ATS

I still use this addon from time to time, still works ok for me - also in MP games.

Regards,

VictorFarbau

Thanks alot! =) this is what i was searching for! :P

EDIT: sad_o.gif The file has been deleted from the site

Share this post


Link to post
Share on other sites

just do skipTime 16 or 24

in a looping script

the time in seconds, you want to wait, then how many hours you want to skip.

In this case, 300=5 mins, it will wait 5 mins, then skip 8 hours, then wait 5 mins then skip 8 hours over and over again.

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">

#loop

~300

skipTime 8

goto "loop"

exit

Share this post


Link to post
Share on other sites
just do skipTime 16 or 24

in a looping script

the time in seconds, you want to wait, then how many hours you want to skip.

In this case, 300=5 mins, it will wait 5 mins, then skip 8 hours, then wait 5 mins then skip 8 hours over and over again.

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">

#loop

~300

skipTime 8

goto "loop"

exit

Thanks. BUT! one question? Where do i put it? Description.ext?

Share this post


Link to post
Share on other sites

exactly what fasad said.

In other words

Definitely check out the site fasad posted, will help alot.

but basically, open a new text document and put:

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">#loop

~300

skiptime 8;

goto "loop"

exit

file save as skiptime.sqf

select All Files as the file type.

open another text document, this time put:

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">

this exec "skiptime.sqf"

save as Init.sqf

select All Files as the file type.

Then put both of the files into your mission folder.

Example: C:\MyDocuments\ArmaOtherProfiles\YourProfile\Missions\YourMission

then open your mission in the editor and preview.

If your get any errors post 'em here. Other than that, it should skip 8 hours every 5 minutes thumbs-up.gif

Share this post


Link to post
Share on other sites

Thanks alot fasad & DaChevs! Everything works perfect! tounge2.gif

Share this post


Link to post
Share on other sites

Just for the records: I re-uploaded the VFATS addon here and corrected the link in the original post.

VFATS

Cheers,

VictorFarbau

Share this post


Link to post
Share on other sites
Just for the records: I re-uploaded the VFATS addon here and corrected the link in the original post.

VFATS

Cheers,

VictorFarbau

thanks wink_o.gif

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  

×