LOD links: hour masks of time archetypes #393
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/holdmysocks--SixNG!393
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/393/head"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@holdmysocks on GitHub · 2026-11-26 18:44 UTC · original
holdmysocks:six-time-archetypes→master· +84 −7 · 3 files · 3 commits · merged 2026-11-26 20:17 UTCTime archetypes (
CTimeArchetypeDef, struct76b0c56c) are archetypes that the game shows only at certain hours. The hours are stored as a mask intimeFlags(8609d52c): bit h means hour h, from 0 to 23.sixng lod-linksread only plain archetypes, so these models had no row in the archetype index and no hour data.lod-linksnow reads time archetypes along with plain ones. They use the same base layout.archetype_lod.jsonlgetstime {time_flags, hours}for them.timeobject.levels.rpf has 27 time archetypes:
These are the only per-model hour switches in the map data. Emissive materials have no night flag (SIX-182).
Tests: mask-to-hours decoding, including the wrap past midnight and bits above 23 being ignored, and reading the mask back from
archetype_lod.jsonl. Also checked on levels.rpf: all 27 masks decode as listed above.Linear: SIX-236