feat: add "Skip physics for dead actors" MCM toggle - #15
Conversation
Adds an MCM toggle on the Simplification page for the new FSMP skipDeadActors setting. Wired like the other global options: the value is stored in the JMap, serialized into the <smp> section of configs.xml, and applied via "smp reset". - keys/defaultValues: add skipDeadActors (default false) to the smp series - buildConfigString: bump the smp/solver/wind section boundaries - OnPageReset + ToggleSkipDeadActors state: the toggle and its handler - GetVersion 307 -> 310 (new feature = minor bump) + OnVersionUpdate block - bundled configs.xml + presets: add the tag (true in Performance, false elsewhere) Compiled .pex are produced by CI (Commit Compiled Scripts step). Implements the MCM portion of DaymareOn/hdtSMP64#376. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
Warning Review limit reached
More reviews will be available in 33 minutes and 36 seconds. Learn how PR review limits work. Your organization has used up its prepaid credits, and credit purchases are no longer available. Enable the review add-on in the billing tab to keep reviews running — you're only billed for reviews past your plan's rate limits ($0.25/file). ⌛ How to resolve this issue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based credits. 🚦 How do rate limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan refill rate. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, the refill rate gradually slows as usage increases. The highest same-day bursts are limited more strictly. Please see our Fair Usage Limits Policy for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (8)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
MCM portion of the skip-dead-actors feature (tracked in DaymareOn/hdtSMP64#376; plugin side: DaymareOn/hdtSMP64#377).
Adds a boolean toggle on the Simplification page that controls the new FSMP
skipDeadActorsconfig setting, wired exactly like the other global options (JMap →configs.xml<smp>→smp reset).Changes (
Source/Scripts/FSMPM.psc)keys/defaultValues: addskipDeadActors(defaultfalse) to the smp seriesbuildConfigString: bump the smp/solver/wind section boundaries (14/18/22 → 15/19/23)OnPageReset: newAddToggleOptionST("ToggleSkipDeadActors", ...)State ToggleSkipDeadActorshandlerGetVersion307 → 310 (new feature = minor bump) + matchingOnVersionUpdateblockconfigs.xml+ all presets: add the tag (truein Performance,falseelsewhere)Notes
OnGameReload → OnConfigInit → initConfig/initMapre-defaults all keys each load, andgetTagValuefalls back totagDefaultValuefor tags missing from an olderconfigs.xml..pexare produced by the CI "Commit Compiled Scripts" step (not committed here).