This guide will describe how to change the lengths of days and nights, and the chances of rain and fog.
Installation
Fermez complètement le jeu. This change must not be done while the game is open.
Aller dans ce répertoire:
%localAppData% tscgame enregistré config windowsnoeditor
Ouvrez le fichier appelé « GameSettings.ini ».
Ajouter la pièce ci-dessous dans le fichier:
[/script/tscgame.daynightcyclesettings] Hours=12 Minutes=0 CycleDuration=1440 ShowClockHUD=False SunriseDuration=3 MorningDuration=3 DayDuration=7 EveningDuration=4 SunsetDuration=2 NightDuration=5 SunriseStartHour=4 TransitionDurationCoefficient=0.100000 +WeatherEffectSettings=(WeatherEffectBlueprint=/Game/Blueprints/Environment/DayNightCycle/Rain.Rain_C,TurnOnChance=0.500000,TurnOffChance=0.500000,bEnabled=False,SpawnedWeatherEffect=None) +WeatherEffectSettings=(WeatherEffectBlueprint=/Game/Blueprints/Environment/DayNightCycle/AdditionalVolumetricFog.AdditionalVolumetricFog_C,TurnOnChance=0.500000,TurnOffChance=0.700000,bEnabled=False,SpawnedWeatherEffect=None)
Those are the default values that are used by the game. Feel free to change them. The rain and fog have the « TurnOnChance » et « TurnOffChance » valeurs. Je n'en ai pas’t know whether the maximum value of the TurnOn and TurnOff chances of rain and fog is 100.0 ou 1.0 (Some engines consider « 1.0 » comme 100 pour cent). j'ai’t tested, so try both « 100.0 » et « 1.0 » if you want rain or fog to last forever.
The rain and fog lines say « bEnabled=False ». That probably just means that the rain or fog will be off when the game is first started, mais le « TurnOnChance » variable could still turn it on. Changing one of those parts to « bEnabled=True » will probably just cause the rain or fog to appear as soon as the game is started.
Changer le « CycleDuration » et « TransitionDurationCoefficient » variables to decrease or increase the length of a total day.
I noticed that the times of day that say « Duration » equal 24. I mean these:
SunriseDuration=3
MorningDuration=3
DayDuration=7
EveningDuration=4
SunsetDuration=2
NightDuration=5
Je n'en ai pas’t know whether those MUST always equal a total of 24. Maybe the engine could handle
different total amounts.
Quand tu’re happy about your changes, save this text file.
To see an in-game clock to help you understand how long a day has become after your adjustments, change this line:
ShowClockHUD=False
to this:
ShowClockHUD=True
That will cause a clock to appear on your screen.
Very important reminder:
If you keep a variable’s value to the same number as the default value that the game uses, the line won’t appear in the text file when you open it again later, mais ça’c'est normal.
Ici’c'est un exemple:
The default value of the « SunriseStartHour » variable is « 4 ». Donc, if you put « SunriseStartHour=4 » in the text file, then close the text file and open it again later, you will notice that the « SunriseStartHour=4 » line is NOT in the text file. Mais ne’ne t'inquiète pas. You could add the line again with a different value and it WILL accept your changes. Donc, if you change the line to « SunriseStartHour=5 », that line will stay in the text file forever. Je n'en ai pas’t know why using the same values as the original designers intended causes a line to become erased from the text file, mais ça’s not a problem. Come back to this guide when you need to know the names of the variables again.
C'est tout ce que nous partageons aujourd'hui pour cela La ville en train de couler guide. Ce guide a été initialement créé et rédigé par Primate sage. Si nous ne parvenons pas à mettre à jour ce guide, vous pouvez trouver la dernière mise à jour en suivant ceci lien.