[V] IdolNinja
Volition Staff
I have tried to create new times of day in addition to the 4 standard ones, but have run into a snag that none of us can figure out. The new times of day do actually work and will randomly proc on save load or area change just like the original 4. The problem is that any entry past 4 in the table will stop all peds and vehicles from spawning leaving Steelport a ghost town.
For example, here are the original 4 TOD in default_global.xtbl
Here is the alternate times of day file from Sandbox+ I was working on:
As you can see, the new times of day segments are integrated both before, during, and after the original 4. After doing a lot of testing, we found that only the first 4 entries (330, 500, 530, and 800) would spawn peds/vehicles. The rest past 4 resulted in the spawning problem. If we removed all but 5 of them, the 5th entry in the list wouldn't spawn. Also, all of the new segments referenced above did have full entries defined in default_districts.xtbl just like the original.
So, what are we missing here that could be causing this? I have attached the modded files with these new segments as well.
For example, here are the original 4 TOD in default_global.xtbl
Code:
<tod_segments>
<segment>500</segment>
<segment>930</segment>
<segment>1430</segment>
<segment>2100</segment>
</tod_segments>
Here is the alternate times of day file from Sandbox+ I was working on:
Code:
<tod_segments>
<segment>330</segment>
<segment>500</segment>
<segment>530</segment>
<segment>800</segment>
<segment>930</segment>
<segment>1000</segment>
<segment>1430</segment>
<segment>1500</segment>
<segment>1600</segment>
<segment>1700</segment>
<segment>2100</segment>
<segment>2130</segment>
<segment>2330</segment>
</tod_segments>
As you can see, the new times of day segments are integrated both before, during, and after the original 4. After doing a lot of testing, we found that only the first 4 entries (330, 500, 530, and 800) would spawn peds/vehicles. The rest past 4 resulted in the spawning problem. If we removed all but 5 of them, the 5th entry in the list wouldn't spawn. Also, all of the new segments referenced above did have full entries defined in default_districts.xtbl just like the original.
So, what are we missing here that could be causing this? I have attached the modded files with these new segments as well.