Add targeting subsystem, reveal rule and selection slot (fire control Cut 2)
TargetingSystem is required interior Tool gear: Accuracy/Resolution/ Precision/Tracking are PerformanceStats reached through the usual Evaluate path, so lot quality, wear, heat and PowerSupply all apply (a starved system rolls worse, never switches off). FireControl.Accuracy/ Resolution/Precision fall back to GameplaySettings.UnaidedAccuracy (new, authored low per Q4) whenever an entity has no targeting system or its own is destroyed/disabled. FireControl.IsRevealed derives R5's reveal rule from EntityInfoGathered: non-hull equipment ranks hardpoint-mounted first, then by size, and reveals between TargetArmorInfoThreshold and TargetGearInfoThreshold -- the first code to read either setting. Entity.TargetItem/ TrySelectTargetItem/ResolvedTargetItem give both the player and AI one shared, revoke-on-decay aim-point slot with a single writer. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
parent
3ea29acc3f
commit
c4a57a8df0
6 changed files with 191 additions and 2 deletions
|
|
@ -213,6 +213,14 @@ public class GameplaySettings
|
|||
public float TargetGearInfoThreshold;
|
||||
public float ConvergenceMinimumDistance;
|
||||
public float FiringArc = 120;
|
||||
// Cut 2 (docs/fire-control-cut.md, Q4): what an entity with no working targeting system fires with --
|
||||
// the ceiling FireControl.Accuracy falls back to (Resolution 1, Precision 0 alongside it). Authored low
|
||||
// on purpose ("really, really bad," operator 2026-09-19): .05 against the two catalog designs' own
|
||||
// Accuracy ranges (the authoring spec this cut produces proposes .45-.6 for the 1-cell design and
|
||||
// .65-.85 for the 2-cell one) leaves unaided fire capable of hitting something close, slow and
|
||||
// unaware, and little else. One authored setting, easy to find and turn -- the operator rules the real
|
||||
// figure in play.
|
||||
public float UnaidedAccuracy = .05f;
|
||||
public float AgentRangeExponent = .25f;
|
||||
public float AgentForwardLerp = .5f;
|
||||
public float AgentMaxForwardDistance = 50;
|
||||
|
|
|
|||
Loading…
Reference in a new issue