Search the Community
Showing results for tags 'Time'.
Found 3 results
235 downloadsI posted this in the forum, but it is probably better suited here. This is a very simple script that gives the same time progression experience as single player mode. The source for the time is current GMT time and the calculation rolls this time into an in-game day 24 hour period that lasts 48 minutes (IRL time). Note that as the calculations are based off GMT (and not local time) all clients using this will have the same in game time (dependent on whether their computer's time and timezone is set up correctly). To use it, simply copy the file somewhere and "require" it in your client_resources script. There's nothing to configure. Known Bugs: Because the date is not recalculated, it continues to reflect the current real world date regardless of how many in game 24 hour periods there are within the game.
430 downloadsBasic script to sync time of the game in custom cicles That script just change the time of the game based on the configuration cicle time and real life. every 0 hour and 12 hours the weather is changed in random mod to another weather. The cicle of Timeout will adjust to read the script every hour in the game. How to use: Just place de script in your server-side (Package) and change the "const cicleTime" to your size of a day cicle. Use real life minutes for that. Exemple: "30" will be 15 minutes in real life day and 15 minutes night. Notes: If you place some value in cicle time that a hour in the game last less then one minute in real life, dont will work (if you know how to fix comment please ). Future Updates: Smoth transition, show time and date on UI