Jump to content

Time is money


pasmon79

Recommended Posts

I understand in rtsevents file that "Event.etc"gets executed on their own and"fsEvents.etc" along with "Sandbox.etc" get called in other functions.

 

I wish to know where "DayTime" along with "NightTime" is defined as, whereas in "mission_missin0.xml", we have "DuskTime" and "Dawntime" with no explaination to their assignements "355" and "365" respectively.

Link to comment
Share on other sites

You should download Agent Ransack, it is a good search tool and will help in locating many of the cross-file dependencies and definitions. It can be found here: https://www.mythicsoft.com/agentransack/

 

In mission_mission0.xml

<TimeOfDay Time="11.916878" TimeStart="0" TimeEnd="23.983334" TimeAnimSpeed="0.0034">

through

</TimeOfDay>

is all time and light display data.

That is, 24 hour clock, 12 is noon, 0(24) is midnight, so out of a full 24 hours, 12 hours day and 12 hours night.

DuskTime and DawnTime are how long the light is in a transitional state (sunrise/sunset).

<Lighting SunRotation="205" SunHeight="80" Algorithm="3" Lighting="1" Shadows="1" ShadowIntensity="100" ILQuality="1" HemiSamplQuality="9" Longitude="36" DawnTime="375" DawnDuration="0" DuskTime="340" DuskDuration="0" SunVector="-0.25357094,-0.54378468,-0.79999989"/>

 

See rtsevents <Action ActionFlags="Subaction" ActionId="InitStartTime"

As defined here, morning is at 8.5, noon is 12, afternoon is 15.5, and evening is 17.

The game uses
<RTSStat_SetBool DurationCancellable="" OutputAmount="false" OutputDuration="" OutputId="Game.RTS.Night" PauseWhenOffline="" />
and
<RTSStat_SetBool DurationCancellable="" OutputAmount="true" OutputDuration="" OutputId="Game.RTS.Night" PauseWhenOffline="" />
to switch between sleep cycles and zombie densities.

Link to comment
Share on other sites

For story mode and Breakdown, C:\Program Files (x86)\Steam\SteamApps\common\State of Decay YOSE\Game\levels\Class3

For Lifeline, C:\Program Files (x86)\Steam\SteamApps\common\State of Decay YOSE\Game\levels\c3_beltway

 

I'm not sure which PAK file they reside in. I unpacked everything in 2015.

 

However, the Lifeline stuff only has two paks in C:\Program Files (x86)\Steam\steamapps\common\State of Decay YOSE\Game\beltway

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...