Home   Help Search Login Register  

Author Topic: Very fast clock  (Read 469 times)

0 Members and 1 Guest are viewing this topic.

Fiendish

  • Guest
Very fast clock
« on: 12 Feb 2003, 16:43:08 »
How do I make the time go faster? Without affecting the speed of units and such?

And can be used in mp?

I saw it on a mpserver, the clock was ticking really fast.. it took about 30 mintutes to change between night and day.

Josef

  • Guest
Re:Very fast clock
« Reply #1 on: 12 Feb 2003, 17:07:56 »
I had the code but I lost it....


Its a skiptime code....

Offline Terox

  • Former Staff
  • ****
  • Follow the Sappers!
    • zeus-community.net
Re:Very fast clock
« Reply #2 on: 12 Feb 2003, 17:26:05 »
do a looping script with the following line

skipTime 12.6

where 12.6 is the amount of time you want to advance by on each cycle

the example is 12.6 hrs
Zeus ARMA2 server IP = 77.74.193.124 :2302
Teamspeak IP = 77.74.193.123

Fiendish

  • Guest
Re:Very fast clock
« Reply #3 on: 12 Feb 2003, 17:32:51 »
that would be to much.. If 12.6 is 12.6 hours, then that would mean that the change would be directly.. I want to skip 20 minutes every 3 seconds or something like that, so the change is unnoticeable...

Offline Terox

  • Former Staff
  • ****
  • Follow the Sappers!
    • zeus-community.net
Re:Very fast clock
« Reply #4 on: 12 Feb 2003, 17:59:35 »
I have never tried to increment time realtime
The following lines may work if you place the following in your init.sqs

[]exec "timeplus.sqs"

Quote
#start
skiptime 0.5
~60
goto "start"

skips (30 mins i think) every minute
Set the time delay and advancement to whatever meets your requirements

There may be additional things you have to do
It may be that you have to declare a variable and link this to the time parameter

lets say for instance that the time of day is param3

eg param3 = timeplus
timeplus = timeplus + skiptime 0.5


the syntax is wrong but thats the general idea
Zeus ARMA2 server IP = 77.74.193.124 :2302
Teamspeak IP = 77.74.193.123

Fiendish

  • Guest
Re:Very fast clock
« Reply #5 on: 12 Feb 2003, 20:56:00 »
I'll try that Immediatly.. Thank you for your time.