meta data for this page
Editing Opening Hours
In this guide, we will show you how you can
⚠ Opening times can now be freely adjusted on custom maps.
⚠ Since Update 10, the opening hours can actually influence the NPCs.
General
openFrom = 30600, openTo = 63900,
This is opening time.
The times are calculated in seconds since the beginning of a new day.
For this reason, you have to convert the time in seconds. The Google-Converter can help you:
In the example the time is 1 o'clock. In seconds, that's 3600 after the start of a new day.
So if you want to open your ski resort at 1 am, you would have to write openFrom = 1*3600
.
For the minutes you have to be extra careful, because the system calculates the minutes in %.
Here is a small overview for the minutes in %:
15 Minutes | 25 |
---|---|
30 Minutes | 50 |
45 Minutes | 75 |
So if you want to open at 9:15 am and close at 8:45 pm, you have to write following:
openFrom = 9.25*3600, openTo = 20.75*3600,
1. Edit Opening Hours from Resort
First you open the savegame folder at Documents/My Games/WinterResortSimulator/savegames
and select your last saved “.lua” file. The best way to run the “.lua” file is with a text editor like Notepad++. Then you search with CTRL + F
for the term “skiResort”. You should now see the term “skiResort” and openFrom
/ openTo
.
skiResort = { maxComputeTime = 500, updateVSCount = 20, totalGuestCount = 0, totalServiceRating = 0, guestLimitCoeff = 6, liftsDt = 0.0945731997489929, facilitiesDt = 0.0327642001211643, skiersTime = 557161.037040693, avaTime = 0.155899899080396, liftRatingSum = 0, liftRatingCount = 0, liftRating = 0, slopeRatingSum = 0, slopeRatingCount = 0, slopeRating = 0, facilityRatingSum = 0, facilityRatingCount = 0, facilityRating = 0, weatherRatingSum = 0, weatherRatingCount = 0, weatherRating = 0, hungerRatingSum = 0, hungerRatingCount = 0, hungerRating = 0, openFrom = 30600, openTo = 63900,
Now all you have to do, is exchange the data with the numbers.
2. Edit Opening Hours from Ropeway
First you open the savegame folder at Documents/My Games/WinterResortSimulator/savegames
and select your last saved “.lua” file. The best way to run the “.lua” file is with a text editor like Notepad++. Then you search with CTRL + F
for the term “skiLifts”. You should now see the term “skiLifts” and in every ropeway the lines openFrom
/ openTo
.
skiLifts = { { name = "Dorfbahn", typeDesc = "$map01_dorfbahn_typeDesc", typeDescLong = "$map01_dorfbahn_typeDescLong", from = "DorfbahnTal", to = "Mitte", uphill = true, downhill = true, depreciationPeriod = 3600, dailyFixedCosts = 0, hourlyCostPerCarrier = 5, dailyRentCosts = 3000, acquisitionPrice = 9320000, hourlySqSpeedCosts = 25.9, imgBackgroundPosition = Vector3:new(1510.195, 780.5609, 764.1901), imgBackgroundRotation = Vector3:new(10.694, -38.918, 0), openFrom = 30600, openTo = 59400,
Now all you have to do, is exchange the data with the numbers.