Quote:
Originally Posted by gap
Is the same constant (night time multiplier addition) applied at night (i.e. when the daytime test fails)? It should
wasn't game's nighttime value equal to 0.283? Was that a mistyping by you, or you have added ways to customize that parameter too?
|
That's what I forgot
That first test at the start of the function to see if it's already nighttime was supposed to be taking care of this. I'll fix it
Yes the game's nighttime value was 0.283. Typo on my part.
I could make this value changeable
Good news! I figured out how to increase the spawn distance from the player's unit
The game has a default radius of 40000m (sometimes 35000m) from the player's unit for when other units are rendered. I added some new code and a new variable in the patch file that will allow you to define an additional radius amount
I added an additional 40000m to the existing 40000m (80000m total) and sure enough it worked. Any units within a 80000m radius of my unit were being rendered