DayLight tweaks (#1780)

* Update SunShadowCycleComponent.cs

* roundstart day
This commit is contained in:
Red
2025-09-15 22:30:53 +03:00
committed by GitHub
parent 4a73ff41a3
commit 54e7ec8530
2 changed files with 5 additions and 5 deletions

View File

@@ -28,7 +28,7 @@ public sealed partial class LightCycleComponent : Component
/// Should the offset be randomised upon MapInit.
/// </summary>
[DataField, AutoNetworkedField]
public bool InitialOffset = true;
public bool InitialOffset = false; //CP14 false default
/// <summary>
/// Trench of the oscillation.

View File

@@ -28,10 +28,10 @@ public sealed partial class SunShadowCycleComponent : Component
[DataField, AutoNetworkedField]
public List<SunShadowCycleDirection> Directions = new() //CP14 replaced vectors
{
new SunShadowCycleDirection(0f, new Vector2(0.1f, 3f), 0f),
new SunShadowCycleDirection(0.25f,new Vector2(3f, 0f), 0.5f),
new SunShadowCycleDirection(0.5f, new Vector2(-0.1f,-3f), 0.8f),
new SunShadowCycleDirection(0.75f,new Vector2(-3f, 0f), 0.5f),
new SunShadowCycleDirection(0f, new Vector2(-0.1f,-3f), 0.8f),
new SunShadowCycleDirection(0.25f,new Vector2(3f, 0f), 0.8f),
new SunShadowCycleDirection(0.5f, new Vector2(0.1f, 3f), 0.8f),
new SunShadowCycleDirection(0.75f,new Vector2(-3f, 0f), 0.8f),
};
};