Fragment flags: match the full preset table (SIX-206) #265

Manually merged
github merged 1 commit from gh-pr/265/head into gh-pr/265/base 2026-11-26 20:22:48 +00:00
Owner

@⁠holdmysocks on GitHub · 2026-11-25 12:18 UTC · original
holdmysocks:six-frag-flags-2 → master · +53 −14 · 2 files · 1 commits · merged 2026-11-25 13:08 UTC

A follow-up to #258 (SIX-206). The flag names there came from a cut-off copy of the fragment tuning presets in common, with 80 presets. The full file, read through the table of contents, has 157 presets, and each one lists every true/false setting. Matching against it covers 11,865 level groups instead of 6,931.

Changes to the names

  • New: word 0 bit 18 = override_vehicle_defaults. It is set on 326 of 327 groups whose preset says true, and on none of the 11 that say false. It is the bit on aircraft and other vehicle groups.
  • Now confirmed:
    • damage_around_break: 108 of 113 true, 0 of 314 false.
    • tuning slot 6 weapon_health: it matches all 8,502 matched groups across 9 different values. The next best slot matches 96%.
  • Stronger, still marked likely:
    • break_when_walked_over: all 7 true, 0 of 336 false.
    • obliterate_at_very_high_speed: 92% of 2,001 true, 0 of 4 false.
    • made_of_glass: 91% of its 1,186 groups are named Glass_* or *pane*.
  • Still confirmed, with a note: break_when_parent_damaged drops to 81% of true, because one road-sign preset's 236 groups lack the bit. It is still set on none of the 767 groups whose preset says false.

The confirmed rule is now: set on at least 95% of 100 or more groups whose preset says true, and on at most 0.2% of 100 or more that say false. The source comments give the counts for each bit.

What the full table rules out

  • Never true in any preset, so no bit can be placed for them: DisableMoverUntilBreak, BreakUsingTwistLimits, DoesntPushVehiclesDown, DisconnectFromParent, UseConstraintForJoint, NoConnections, ConnectivityRoot, LatchAfterAnimation, IsPortal and ScaleStrengthByMass. MadeOfGlass is never true either; its bit comes from group names.
  • No bit of their own: InitialArticulationDisabled and UseSoftConstraintForMuscle.
  • The two collide-convex settings are set together in every preset, and so are their two bits. Which bit is which stays unknown.

Unnamed bits with a pattern in the group names

These are recorded in the source but not exported as names:

bit pattern
word 0 bit 13 litter: 64% of its groups are litter roots, plus some vehicle spoilers and blades
word 0 bit 17 reeds, cattails, corn stalks
word 0 bit 21 safe keypads only
word 0 bit 25 bending poles, palm leaves, searchlights
word 1 bits 1, 2 and 5 wooden fences, pickets, crates, cardboard

Collision layers

No file in common names the child type/include layer bits. They stay raw.

Also adds fraggroups, a research example that prints each fragment's group names, flag words and child bound types; the pattern table comes from its output.

Tests: the sixng-core tests pass. This change edits names and comments only; the JSON layout is the same as in #258.

**@⁠holdmysocks** on GitHub · 2026-11-25 12:18 UTC · [original](https://github.com/holdmysocks/SixNG/pull/265) `holdmysocks:six-frag-flags-2` → `master` · +53 −14 · 2 files · 1 commits · merged 2026-11-25 13:08 UTC A follow-up to #258 (SIX-206). The flag names there came from a cut-off copy of the fragment tuning presets in common, with 80 presets. The full file, read through the table of contents, has 157 presets, and each one lists every true/false setting. Matching against it covers 11,865 level groups instead of 6,931. ## Changes to the names - **New: word 0 bit 18 = `override_vehicle_defaults`.** It is set on 326 of 327 groups whose preset says true, and on none of the 11 that say false. It is the bit on aircraft and other vehicle groups. - **Now confirmed:** - `damage_around_break`: 108 of 113 true, 0 of 314 false. - tuning slot 6 `weapon_health`: it matches all 8,502 matched groups across 9 different values. The next best slot matches 96%. - **Stronger, still marked likely:** - `break_when_walked_over`: all 7 true, 0 of 336 false. - `obliterate_at_very_high_speed`: 92% of 2,001 true, 0 of 4 false. - `made_of_glass`: 91% of its 1,186 groups are named `Glass_*` or `*pane*`. - **Still confirmed, with a note:** `break_when_parent_damaged` drops to 81% of true, because one road-sign preset's 236 groups lack the bit. It is still set on none of the 767 groups whose preset says false. The confirmed rule is now: set on at least 95% of 100 or more groups whose preset says true, and on at most 0.2% of 100 or more that say false. The source comments give the counts for each bit. ## What the full table rules out - **Never true in any preset**, so no bit can be placed for them: DisableMoverUntilBreak, BreakUsingTwistLimits, DoesntPushVehiclesDown, DisconnectFromParent, UseConstraintForJoint, NoConnections, ConnectivityRoot, LatchAfterAnimation, IsPortal and ScaleStrengthByMass. MadeOfGlass is never true either; its bit comes from group names. - **No bit of their own:** InitialArticulationDisabled and UseSoftConstraintForMuscle. - **The two collide-convex settings** are set together in every preset, and so are their two bits. Which bit is which stays unknown. ## Unnamed bits with a pattern in the group names These are recorded in the source but not exported as names: | bit | pattern | |---|---| | word 0 bit 13 | litter: 64% of its groups are litter roots, plus some vehicle spoilers and blades | | word 0 bit 17 | reeds, cattails, corn stalks | | word 0 bit 21 | safe keypads only | | word 0 bit 25 | bending poles, palm leaves, searchlights | | word 1 bits 1, 2 and 5 | wooden fences, pickets, crates, cardboard | ## Collision layers No file in common names the child type/include layer bits. They stay raw. Also adds `fraggroups`, a research example that prints each fragment's group names, flag words and child bound types; the pattern table comes from its output. Tests: the sixng-core tests pass. This change edits names and comments only; the JSON layout is the same as in #258.
The preset file in common has 157 presets that list every boolean. Bit
18 is override_vehicle_defaults, damage_around_break is confirmed and
weapon_health (tuning slot 6) too. Notes which booleans are never true
in a preset and the group-name patterns of the bits still unnamed. Adds
the fraggroups research example (group names and flag words per
fragment).
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 20:22:46 +00:00
github manually merged commit 9497f50c90 into gh-pr/265/base 2026-11-26 20:22:48 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.