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
@@ -161,6 +161,20 @@ namespace ProjectM.Client
public static float StrikeBeepMaxDistSq;
// ---- Enemy visibility markers (EnemyMarkerSystem: off-screen edge arrows + on-screen overhead pips) ----
/// <summary>Master gate for the enemy visibility markers.</summary>
public static bool EnemyMarkerEnabled;
/// <summary>Only mark living enemies within this world distance of the local player (scopes to the current room; avoids cross-region arrow spam).</summary>
public static float EnemyMarkerRange;
/// <summary>On-screen enemy count above which the overhead pips fade toward EnemyMarkerMinAlpha (declutter a swarm; off-screen arrows stay full).</summary>
public static int EnemyMarkerFadeStartCount;
/// <summary>Faded pip alpha once the on-screen count is well past EnemyMarkerFadeStartCount.</summary>
public static float EnemyMarkerMinAlpha;
/// <summary>Marker tint (pip + off-screen arrow).</summary>
public static Color EnemyMarkerColor;
/// <summary>Marker glyph font size (px).</summary>
public static float EnemyMarkerSize;
[RuntimeInitializeOnLoadMethod(RuntimeInitializeLoadType.SubsystemRegistration)]
public static void ResetDefaults()
{
@@ -240,6 +254,13 @@ namespace ProjectM.Client
StrikeBeepLeadTicks = 8;
StrikeBeepMaxDistSq = 225f; // 15 m
// Enemy visibility markers (EnemyMarkerSystem)
EnemyMarkerEnabled = true;
EnemyMarkerRange = 140f;
EnemyMarkerFadeStartCount = 6;
EnemyMarkerMinAlpha = 0.28f;
EnemyMarkerColor = new Color(1f, 0.86f, 0.3f, 1f); // warm amber, reads over the cool world
EnemyMarkerSize = 24f;
}
}
}