tod Console command: http://www.mission4today.com/index.php?name=Knowledge_Base&op=show&kid=351
Quote
tod
Code
tod [<hour.min>]

Used by hosts to change the server time of day. Format is 24 hour time.


I am using the script in the code box below in a dogfight mission. I know this script is being run since the time does change on the server machine when I am running the full game version but the client machines are not accepting the time change. The client machines continue to run the unaltered time.

ms = milliseconds
1,000 ms = 1 second
300,000 ms = 300 seconds = 5 minutes
1,200,000 ms = 1200 seconds = 20 minutes

Code
@tod 7.50
@chat <=Server=> Running Doolittle Timescript! ALL
@timeout 300000 tod 8.25
@timeout 1200000 tod 10.00
@timeout 2400000 tod 11.75
@timeout 3600000 tod 15.00
@timeout 4200000 tod 18.00
@timeout 4800000 tod 19.50
@timeout 5400000 tod 20.25
@timeout 6000000 tod 21.00


I have tested the script on a dedicated server but all I ever see is the chat text of the script now that I am the client machine but there are no changes to my in game time.

I have not tested this script in coop mode.

Multiplayer mode
  • Dedicated server - The script runs. Client sees chat text but no alteration to their in game time.
  • Full Game (Dogfight) - started script using the chat bar.
    Server and client machines see chat text
    Server machine - The time changes
    Client machine - The time continues to run without any changes.
  • Full Game (coop) - have not tested


Milliseconds to Seconds Conversion calculator (ms to sec): https://www.timecalculator.net/milliseconds-to-seconds

Hopefully someone knows what I did wrong so I can get it working on our dogfight server?


Wheels


Cheers wave
Wheelsup_cavu

Mission4Today (Campaigns, Missions, and Skins for IL-2)
Planes of Fame Air Museum | March Field Air Museum | Palm Springs Air Museum