This commit is contained in:
2026-07-07 20:51:18 -07:00
parent d2203c8aa1
commit cc2e7ad95e
20 changed files with 794 additions and 35 deletions
@@ -42,13 +42,25 @@ namespace ProjectM.Client
/// <summary>Tint for Biomass-node chips (HDR sickly green).</summary>
public static Color BiomassTint;
[RuntimeInitializeOnLoadMethod(RuntimeInitializeLoadType.SubsystemRegistration)]
public static void ResetDefaults()
// ---- Node harvest BODY feedback (NodeFeedbackSystem: client-only PostTransformMatrix scale). ----
/// <summary>Smallest a node/clutter shrinks to just before it depletes (fraction of its full size).</summary>
public static float NodeMinScale;
/// <summary>Brief extra scale-up on each harvest hit (the per-hit "reaction" pop); decays over NodePopDurationSec.</summary>
public static float NodeHitPopScale;
/// <summary>Seconds for the per-hit scale-pop to decay back.</summary>
public static float NodePopDurationSec;
/// <summary>Tiny camera FOV kick per harvest hit near the player (impact); 0 = off.</summary>
public static float ChipFovKick;
/// <summary>Tiny camera shake per harvest hit near the player.</summary>
public static float ChipShake;
public static void ResetDefaults()
{
Enabled = true;
ChipBurstCount = 6;
ClearBurstCount = 18;
ChipSfxVolume = 0.30f;
ChipBurstCount = 12; // beefed from 6 -> a clearly visible chip spray per harvest hit
ClearBurstCount = 22;
ChipSfxVolume = 0.42f; // beefed from 0.30 -> a punchier "tink"
ClearSfxVolume = 0.55f;
ClearFovKick = 0.8f;
ClearShake = 0.12f;
@@ -56,6 +68,11 @@ namespace ProjectM.Client
WildTint = new Color(3.0f, 1.1f, 0.25f);
OreTint = new Color(2.6f, 1.9f, 0.7f);
BiomassTint = new Color(0.9f, 2.4f, 0.8f);
NodeMinScale = 0.35f; // node shrinks to ~1/3 size as it nears depletion
NodeHitPopScale = 0.16f; // brief +16% pop on each hit
NodePopDurationSec = 0.16f;
ChipFovKick = 0.35f; // subtle per-hit camera impact near the player
ChipShake = 0.05f;
}
}
}