Skip to content

A Civilization-style strategy game about governing Israel from 15 May 1948. Real ministers, real map, every fact sourced. Unity + deterministic C# sim.

Map: Tal Heuberger's R35 at Degania, five town houses and the khaki camp tent, with the R35 review fixes (Refs #756) (#2046)

Eyal Golanf952866bb914
diff --git a/ASSETS.yaml b/ASSETS.yaml
index 949288189..6d178d8c2 100644
--- a/ASSETS.yaml
+++ b/ASSETS.yaml
@@ -1186,85 +1186,85 @@ rules:
source: "Dreamina (dreamina.capcut.com), model GPT Image 2.5, 2026-10-12, 1536x864 as downloaded, with promo/final/03-gameplay-1936.png as the style reference; prompts in promo/start-screen/prompt-b.txt and -c.txt"
status: verified
note: "Decision D1: AI-only images CC0 / no rights claimed. Two options for the start screen; C is used. Decision D-D decided (owner, 2026-10-14, docs/oss/DECISIONS.md): approved for free, non-commercial distribution and CC0 marking; before any paid release the owner confirms commercial rights for the plan used or replaces the image."
- # Generated buildings and props: original source review only (PR1379).
- - glob: "unity/Assets/Editor/Generated1948Review/generated-1948-01-netanya-tiled-house-original/*.fbx"
+ # Generated buildings and props: shipped in the game (PR1379).
+ - glob: "unity/Assets/Art/Settlements/Prototype/Models/generated-1948-01-netanya-tiled-house-original/*.fbx"
licence: CC-BY-NC-ND-4.0
ai_generated: true
artist: "Tal Heuberger"
source: "Tal Heuberger, Tripo Studio generated source, regenerated 24 October 2026 (#1379). Provider-original GLB and exact embedded 4096px colour-map bytes preserved; provenance.json records hashes. FBX is a local compatibility conversion with no decimation, repair or atlas; verified source triangle positions/connectivity, UVs and stored normals. This is not a provider-original FBX."
status: verified
- note: "Editor review only; all campaign activation held pending streaming and Eyal's art/sensitivity sign-off after screenshots. 01, 03 and 05 were regenerated on 24 October 2026 at the owner's request on #1379, replacing provider originals with roof gaps or a rear opening. No rights change to older assets."
- - glob: "unity/Assets/Editor/Generated1948Review/generated-1948-01-netanya-tiled-house-original/*_basecolor.jpg"
+ note: "Signed off by the owner on 27 October 2026 (#756) and placed in the game by #2046: Netanya's houses, beside #507's two-storey house, streamed like the other town buildings after the first frame. 01, 03 and 05 were regenerated on 24 October 2026 at the owner's request on #1379, replacing provider originals with roof gaps or a rear opening. No rights change to older assets."
+ - glob: "unity/Assets/Art/Settlements/Prototype/Models/generated-1948-01-netanya-tiled-house-original/*_basecolor.jpg"
licence: CC-BY-NC-ND-4.0
ai_generated: true
artist: "Tal Heuberger"
source: "Tal Heuberger, Tripo Studio generated source, regenerated 24 October 2026 (#1379). Provider-original GLB and exact embedded 4096px colour-map bytes preserved; provenance.json records hashes. FBX is a local compatibility conversion with no decimation, repair or atlas; verified source triangle positions/connectivity, UVs and stored normals. This is not a provider-original FBX."
status: verified
- note: "Editor review only; all campaign activation held pending streaming and Eyal's art/sensitivity sign-off after screenshots. 01, 03 and 05 were regenerated on 24 October 2026 at the owner's request on #1379, replacing provider originals with roof gaps or a rear opening. No rights change to older assets."
- - glob: "unity/Assets/Editor/Generated1948Review/generated-1948-02-netanya-two-storey-balcony-house/*.fbx"
+ note: "Signed off by the owner on 27 October 2026 (#756) and placed in the game by #2046: Netanya's houses, beside #507's two-storey house, streamed like the other town buildings after the first frame. 01, 03 and 05 were regenerated on 24 October 2026 at the owner's request on #1379, replacing provider originals with roof gaps or a rear opening. No rights change to older assets."
+ - glob: "unity/Assets/Art/Settlements/Prototype/Models/generated-1948-02-netanya-two-storey-balcony-house/*.fbx"
licence: CC-BY-NC-ND-4.0
ai_generated: true
artist: "Tal Heuberger"
source: "Tal Heuberger, Tripo Studio generated source, 22 October 2026. Provider-original GLB and exact embedded 4096px colour-map bytes preserved; provenance.json records hashes. FBX is a local compatibility conversion with no decimation, repair or atlas; verified source triangle positions/connectivity, UVs and stored normals. This is not a provider-original FBX."
status: verified
- note: "Editor review only; all campaign activation held pending streaming and Eyal's art/sensitivity sign-off after screenshots. 01, 03 and 05 were regenerated on 24 October 2026 at the owner's request on #1379, replacing provider originals with roof gaps or a rear opening. No rights change to older assets."
- - glob: "unity/Assets/Editor/Generated1948Review/generated-1948-02-netanya-two-storey-balcony-house/*_basecolor.jpg"
+ note: "Signed off by the owner on 27 October 2026 (#756) and placed in the game by #2046: Netanya's houses, beside #507's two-storey house, streamed like the other town buildings after the first frame. 01, 03 and 05 were regenerated on 24 October 2026 at the owner's request on #1379, replacing provider originals with roof gaps or a rear opening. No rights change to older assets."
+ - glob: "unity/Assets/Art/Settlements/Prototype/Models/generated-1948-02-netanya-two-storey-balcony-house/*_basecolor.jpg"
licence: CC-BY-NC-ND-4.0
ai_generated: true
artist: "Tal Heuberger"
source: "Tal Heuberger, Tripo Studio generated source, 22 October 2026. Provider-original GLB and exact embedded 4096px colour-map bytes preserved; provenance.json records hashes. FBX is a local compatibility conversion with no decimation, repair or atlas; verified source triangle positions/connectivity, UVs and stored normals. This is not a provider-original FBX."
status: verified
- note: "Editor review only; all campaign activation held pending streaming and Eyal's art/sensitivity sign-off after screenshots. 01, 03 and 05 were regenerated on 24 October 2026 at the owner's request on #1379, replacing provider originals with roof gaps or a rear opening. No rights change to older assets."
- - glob: "unity/Assets/Editor/Generated1948Review/generated-1948-03-netanya-flat-roof-porch-house/*.fbx"
+ note: "Signed off by the owner on 27 October 2026 (#756) and placed in the game by #2046: Netanya's houses, beside #507's two-storey house, streamed like the other town buildings after the first frame. 01, 03 and 05 were regenerated on 24 October 2026 at the owner's request on #1379, replacing provider originals with roof gaps or a rear opening. No rights change to older assets."
+ - glob: "unity/Assets/Art/Settlements/Prototype/Models/generated-1948-03-netanya-flat-roof-porch-house/*.fbx"
licence: CC-BY-NC-ND-4.0
ai_generated: true
artist: "Tal Heuberger"
source: "Tal Heuberger, Tripo Studio generated source, regenerated 24 October 2026 (#1379). Provider-original GLB and exact embedded 4096px colour-map bytes preserved; provenance.json records hashes. FBX is a local compatibility conversion with no decimation, repair or atlas; verified source triangle positions/connectivity, UVs and stored normals. This is not a provider-original FBX."
status: verified
- note: "Editor review only; all campaign activation held pending streaming and Eyal's art/sensitivity sign-off after screenshots. 01, 03 and 05 were regenerated on 24 October 2026 at the owner's request on #1379, replacing provider originals with roof gaps or a rear opening. No rights change to older assets."
- - glob: "unity/Assets/Editor/Generated1948Review/generated-1948-03-netanya-flat-roof-porch-house/*_basecolor.jpg"
+ note: "Signed off by the owner on 27 October 2026 (#756) and placed in the game by #2046: Netanya's houses, beside #507's two-storey house, streamed like the other town buildings after the first frame. 01, 03 and 05 were regenerated on 24 October 2026 at the owner's request on #1379, replacing provider originals with roof gaps or a rear opening. No rights change to older assets."
+ - glob: "unity/Assets/Art/Settlements/Prototype/Models/generated-1948-03-netanya-flat-roof-porch-house/*_basecolor.jpg"
licence: CC-BY-NC-ND-4.0
ai_generated: true
artist: "Tal Heuberger"
source: "Tal Heuberger, Tripo Studio generated source, regenerated 24 October 2026 (#1379). Provider-original GLB and exact embedded 4096px colour-map bytes preserved; provenance.json records hashes. FBX is a local compatibility conversion with no decimation, repair or atlas; verified source triangle positions/connectivity, UVs and stored normals. This is not a provider-original FBX."
status: verified
- note: "Editor review only; all campaign activation held pending streaming and Eyal's art/sensitivity sign-off after screenshots. 01, 03 and 05 were regenerated on 24 October 2026 at the owner's request on #1379, replacing provider originals with roof gaps or a rear opening. No rights change to older assets."
- - glob: "unity/Assets/Editor/Generated1948Review/generated-1948-04-dark-basalt-house/*.fbx"
+ note: "Signed off by the owner on 27 October 2026 (#756) and placed in the game by #2046: Netanya's houses, beside #507's two-storey house, streamed like the other town buildings after the first frame. 01, 03 and 05 were regenerated on 24 October 2026 at the owner's request on #1379, replacing provider originals with roof gaps or a rear opening. No rights change to older assets."
+ - glob: "unity/Assets/Art/Settlements/Prototype/Models/generated-1948-04-dark-basalt-house/*.fbx"
licence: CC-BY-NC-ND-4.0
ai_generated: true
artist: "Tal Heuberger"
source: "Tal Heuberger, Tripo Studio generated source, 22 October 2026. Provider-original GLB and exact embedded 4096px colour-map bytes preserved; provenance.json records hashes. FBX is a local compatibility conversion with no decimation, repair or atlas; verified source triangle positions/connectivity, UVs and stored normals. This is not a provider-original FBX."
status: verified
- note: "Editor review only; all campaign activation held pending streaming and Eyal's art/sensitivity sign-off after screenshots. 01, 03 and 05 were regenerated on 24 October 2026 at the owner's request on #1379, replacing provider originals with roof gaps or a rear opening. No rights change to older assets."
- - glob: "unity/Assets/Editor/Generated1948Review/generated-1948-04-dark-basalt-house/*_basecolor.jpg"
+ note: "Signed off by the owner on 27 October 2026 (#756) and placed in the game by #2046: Tiberias's houses (the old town was built of basalt blocks, en.wiki Tiberias), streamed like the other town buildings after the first frame. 01, 03 and 05 were regenerated on 24 October 2026 at the owner's request on #1379, replacing provider originals with roof gaps or a rear opening. No rights change to older assets."
+ - glob: "unity/Assets/Art/Settlements/Prototype/Models/generated-1948-04-dark-basalt-house/*_basecolor.jpg"
licence: CC-BY-NC-ND-4.0
ai_generated: true
artist: "Tal Heuberger"
source: "Tal Heuberger, Tripo Studio generated source, 22 October 2026. Provider-original GLB and exact embedded 4096px colour-map bytes preserved; provenance.json records hashes. FBX is a local compatibility conversion with no decimation, repair or atlas; verified source triangle positions/connectivity, UVs and stored normals. This is not a provider-original FBX."
status: verified
- note: "Editor review only; all campaign activation held pending streaming and Eyal's art/sensitivity sign-off after screenshots. 01, 03 and 05 were regenerated on 24 October 2026 at the owner's request on #1379, replacing provider originals with roof gaps or a rear opening. No rights change to older assets."
- - glob: "unity/Assets/Editor/Generated1948Review/generated-1948-05-plastered-courtyard-house-original/*.fbx"
+ note: "Signed off by the owner on 27 October 2026 (#756) and placed in the game by #2046: Tiberias's houses (the old town was built of basalt blocks, en.wiki Tiberias), streamed like the other town buildings after the first frame. 01, 03 and 05 were regenerated on 24 October 2026 at the owner's request on #1379, replacing provider originals with roof gaps or a rear opening. No rights change to older assets."
+ - glob: "unity/Assets/Art/Settlements/Prototype/Models/generated-1948-05-plastered-courtyard-house-original/*.fbx"
licence: CC-BY-NC-ND-4.0
ai_generated: true
artist: "Tal Heuberger"
source: "Tal Heuberger, Tripo Studio generated source, regenerated 24 October 2026 (#1379). Provider-original GLB and exact embedded 4096px colour-map bytes preserved; provenance.json records hashes. FBX is a local compatibility conversion with no decimation, repair or atlas; verified source triangle positions/connectivity, UVs and stored normals. This is not a provider-original FBX."
status: verified
- note: "Editor review only; all campaign activation held pending streaming and Eyal's art/sensitivity sign-off after screenshots. 01, 03 and 05 were regenerated on 24 October 2026 at the owner's request on #1379, replacing provider originals with roof gaps or a rear opening. No rights change to older assets."
- - glob: "unity/Assets/Editor/Generated1948Review/generated-1948-05-plastered-courtyard-house-original/*_basecolor.jpg"
+ note: "Signed off by the owner on 27 October 2026 (#756) and placed in the game by #2046: the stone-village houses of the Arab towns and villages, beside #507's courtyard house, streamed like the other town buildings after the first frame. 01, 03 and 05 were regenerated on 24 October 2026 at the owner's request on #1379, replacing provider originals with roof gaps or a rear opening. No rights change to older assets."
+ - glob: "unity/Assets/Art/Settlements/Prototype/Models/generated-1948-05-plastered-courtyard-house-original/*_basecolor.jpg"
licence: CC-BY-NC-ND-4.0
ai_generated: true
artist: "Tal Heuberger"
source: "Tal Heuberger, Tripo Studio generated source, regenerated 24 October 2026 (#1379). Provider-original GLB and exact embedded 4096px colour-map bytes preserved; provenance.json records hashes. FBX is a local compatibility conversion with no decimation, repair or atlas; verified source triangle positions/connectivity, UVs and stored normals. This is not a provider-original FBX."
status: verified
- note: "Editor review only; all campaign activation held pending streaming and Eyal's art/sensitivity sign-off after screenshots. 01, 03 and 05 were regenerated on 24 October 2026 at the owner's request on #1379, replacing provider originals with roof gaps or a rear opening. No rights change to older assets."
+ note: "Signed off by the owner on 27 October 2026 (#756) and placed in the game by #2046: the stone-village houses of the Arab towns and villages, beside #507's courtyard house, streamed like the other town buildings after the first frame. 01, 03 and 05 were regenerated on 24 October 2026 at the owner's request on #1379, replacing provider originals with roof gaps or a rear opening. No rights change to older assets."
# Lighter levels of the generated town houses (#1901, PR #1994): derived meshes, made in the editor from the FBX rows above.
- - glob: "unity/Assets/Editor/Generated1948Review/generated-1948-0[1-5]-*/*-light.asset"
+ - glob: "unity/Assets/Art/Settlements/Prototype/Models/generated-1948-0[1-5]-*/*-light.asset"
licence: CC-BY-NC-ND-4.0
ai_generated: true
artist: "Tal Heuberger"
- source: "Derived from Tal Heuberger's originals (the FBX files in the generated-1948-01 to 05 house folders, listed in the ASSETS.yaml rows for unity/Assets/Editor/Generated1948Review/generated-1948-0N-*/*.fbx) by unity/Assets/Editor/HexTiles/HexHouseLevels.cs: a quadric-error half-edge collapse that keeps a subset of their own vertices (exact positions, UVs and normals) and adds none. Each <id>-light.json beside the mesh records the source FBX path, its SHA-256, the settings and the triangle counts."
+ source: "Derived from Tal Heuberger's originals (the FBX files in the generated-1948-01 to 05 house folders, listed in the ASSETS.yaml rows for unity/Assets/Art/Settlements/Prototype/Models/generated-1948-0N-*/*.fbx) by unity/Assets/Editor/HexTiles/HexHouseLevels.cs: a quadric-error half-edge collapse that keeps a subset of their own vertices (exact positions, UVs and normals) and adds none. Each <id>-light.json beside the mesh records the source FBX path, its SHA-256, the settings and the triangle counts."
status: verified
- note: "Same licence as the originals, CC BY-NC-ND 4.0, credit Tal Heuberger, with Tal's permission for these lighter derived meshes (30 October 2026, recorded by the owner in PR #1994). The prefabs and JSON records beside them retain the code-row terms. Editor review only, as the rows above."
+ note: "Same licence as the originals, CC BY-NC-ND 4.0, credit Tal Heuberger, with Tal's permission for these lighter derived meshes (30 October 2026, recorded by the owner in PR #1994). The prefabs and JSON records beside them retain the code-row terms. Drawn only in the editor, on the hex-tile boards (HexModels.HouseLevels); no streamed bundle carries them."
- glob: "unity/Assets/Art/Collection/generated-1948-06-bedouin-b-enclosed-striped-tent/*.fbx"
licence: CC-BY-NC-ND-4.0
ai_generated: true
@@ -1279,20 +1279,20 @@ rules:
source: "Tal Heuberger, Tripo Studio generated source, 22 October 2026. Provider-original GLB and exact embedded 4096px colour-map bytes preserved; provenance.json records hashes. FBX is a local compatibility conversion with no decimation, repair or atlas; verified source triangle positions/connectivity, UVs and stored normals. This is not a provider-original FBX."
status: verified
note: "In the game at the Bedouin camp areas, streamed in its own bundle after the first frame; the owner signed off all 19 generated models on 27 October 2026 (#756). 01, 03 and 05 were regenerated on 24 October 2026 at the owner's request on #1379, replacing provider originals with roof gaps or a rear opening. No rights change to older assets."
- - glob: "unity/Assets/Editor/Generated1948Review/generated-1948-08-khaki-canvas-tent/*.fbx"
+ - glob: "unity/Assets/Art/Collection/generated-1948-08-khaki-canvas-tent/*.fbx"
licence: CC-BY-NC-ND-4.0
ai_generated: true
artist: "Tal Heuberger"
source: "Tal Heuberger, Tripo Studio generated source, 22 October 2026. Provider-original GLB and exact embedded 4096px colour-map bytes preserved; provenance.json records hashes. FBX is a local compatibility conversion with no decimation, repair or atlas; verified source triangle positions/connectivity, UVs and stored normals. This is not a provider-original FBX."
status: verified
- note: "Editor review only; all campaign activation held pending streaming and Eyal's art/sensitivity sign-off after screenshots. 01, 03 and 05 were regenerated on 24 October 2026 at the owner's request on #1379, replacing provider originals with roof gaps or a rear opening. No rights change to older assets."
- - glob: "unity/Assets/Editor/Generated1948Review/generated-1948-08-khaki-canvas-tent/*_basecolor.jpg"
+ note: "Signed off by the owner on 27 October 2026 (#756) and placed in the game by #2046: in place of a transit camp's khaki ridge tents up close, streamed in its own bundle after the first frame. 01, 03 and 05 were regenerated on 24 October 2026 at the owner's request on #1379, replacing provider originals with roof gaps or a rear opening. No rights change to older assets."
+ - glob: "unity/Assets/Art/Collection/generated-1948-08-khaki-canvas-tent/*_basecolor.jpg"
licence: CC-BY-NC-ND-4.0
ai_generated: true
artist: "Tal Heuberger"
source: "Tal Heuberger, Tripo Studio generated source, 22 October 2026. Provider-original GLB and exact embedded 4096px colour-map bytes preserved; provenance.json records hashes. FBX is a local compatibility conversion with no decimation, repair or atlas; verified source triangle positions/connectivity, UVs and stored normals. This is not a provider-original FBX."
status: verified
- note: "Editor review only; all campaign activation held pending streaming and Eyal's art/sensitivity sign-off after screenshots. 01, 03 and 05 were regenerated on 24 October 2026 at the owner's request on #1379, replacing provider originals with roof gaps or a rear opening. No rights change to older assets."
+ note: "Signed off by the owner on 27 October 2026 (#756) and placed in the game by #2046: in place of a transit camp's khaki ridge tents up close, streamed in its own bundle after the first frame. 01, 03 and 05 were regenerated on 24 October 2026 at the owner's request on #1379, replacing provider originals with roof gaps or a rear opening. No rights change to older assets."
- glob: "unity/Assets/Editor/Generated1948Review/generated-1948-09-stone-village-well/*.fbx"
licence: CC-BY-NC-ND-4.0
ai_generated: true
@@ -1503,20 +1503,20 @@ rules:
source: "Tripo Studio textured GLB delivered 22 October 2026, preserved byte-for-byte in asset-sources/generated-1948/vehicles/ original archives. sources.json and per-model provenance.json identify the archive/member SHA-256 and provider model ID. The Unity FBX is a documented full-geometry compatibility conversion, not a provider FBX. The 4096px colour map is extracted byte-for-byte; no LOD, decimation or texture re-encoding."
status: verified
note: "Credit Tal Heuberger. CC BY-NC-ND 4.0 authorized for these new models on 23 October 2026 (#1177/#1378). Signed off by the owner on 27 October 2026 (#756, \"Sign off all 19\"); moved with git mv to the Collection folder, the FBX renamed to the Collection's id.fbx (same bytes), and streamed in a bundle of its own (collection-generated-1948-13-egyptian-spitfire) to be shown only in flight near the western board edge (30 km in) toward el-Arish (owner ruling of 30 October 2026, #1932: \"(c) In flight / board edge only\"). Paint, markings and exact subtype remain candidate art."
- - glob: "unity/Assets/Editor/Generated1948VehicleReview/generated-1948-14-syrian-renault-r35/*.fbx"
+ - glob: "unity/Assets/Art/Collection/generated-1948-14-syrian-renault-r35/*.fbx"
licence: CC-BY-NC-ND-4.0
ai_generated: true
artist: "Tal Heuberger"
- source: "Tripo Studio textured GLB delivered 22 October 2026, preserved byte-for-byte in asset-sources/generated-1948/vehicles/ original archives. sources.json and per-model provenance.json identify the archive/member SHA-256 and provider model ID. The Unity FBX is a documented full-geometry compatibility conversion, not a provider FBX. The 4096px colour map is extracted byte-for-byte; no LOD, decimation or texture re-encoding."
+ source: "Tripo Studio textured GLB delivered 22 October 2026, preserved byte-for-byte in asset-sources/generated-1948/vehicles/ original archives. sources.json and per-model provenance.json identify the archive/member SHA-256 and provider model ID. The Unity FBX is a documented full-geometry compatibility conversion, not a provider FBX. The 4096px colour-map source bytes are extracted without re-encoding; Unity separately imports them with configured GPU compression. No LOD or decimation."
status: verified
- note: "Credit Tal Heuberger. CC BY-NC-ND 4.0 authorized for these new models on 23 October 2026 (#1177/#1378). Editor-only review art; no sourced deployment, player dependency, Resources catalog or streamed bundle. Paint, markings and exact subtype remain candidate art; historical art/sensitivity sign-off follows matched screenshots (#756)."
- - glob: "unity/Assets/Editor/Generated1948VehicleReview/generated-1948-14-syrian-renault-r35/*_basecolor.jpg"
+ note: "Credit Tal Heuberger. CC BY-NC-ND 4.0 authorized for these new models on 23 October 2026 (#1177/#1378). Signed off by the owner on 27 October 2026 (#756, Degania landmark) and placed in the game by #2046: the tank stopped at Degania Alef from 20 May 1948, streamed in its own bundle after the first frame. Paint, markings and exact subtype remain candidate art; historical art/sensitivity sign-off follows matched screenshots (#756)."
+ - glob: "unity/Assets/Art/Collection/generated-1948-14-syrian-renault-r35/*_basecolor.jpg"
licence: CC-BY-NC-ND-4.0
ai_generated: true
artist: "Tal Heuberger"
- source: "Tripo Studio textured GLB delivered 22 October 2026, preserved byte-for-byte in asset-sources/generated-1948/vehicles/ original archives. sources.json and per-model provenance.json identify the archive/member SHA-256 and provider model ID. The Unity FBX is a documented full-geometry compatibility conversion, not a provider FBX. The 4096px colour map is extracted byte-for-byte; no LOD, decimation or texture re-encoding."
+ source: "Tripo Studio textured GLB delivered 22 October 2026, preserved byte-for-byte in asset-sources/generated-1948/vehicles/ original archives. sources.json and per-model provenance.json identify the archive/member SHA-256 and provider model ID. The Unity FBX is a documented full-geometry compatibility conversion, not a provider FBX. The 4096px colour-map source bytes are extracted without re-encoding; Unity separately imports them with configured GPU compression. No LOD or decimation."
status: verified
- note: "Credit Tal Heuberger. CC BY-NC-ND 4.0 authorized for these new models on 23 October 2026 (#1177/#1378). Editor-only review art; no sourced deployment, player dependency, Resources catalog or streamed bundle. Paint, markings and exact subtype remain candidate art; historical art/sensitivity sign-off follows matched screenshots (#756)."
+ note: "Credit Tal Heuberger. CC BY-NC-ND 4.0 authorized for these new models on 23 October 2026 (#1177/#1378). Signed off by the owner on 27 October 2026 (#756, Degania landmark) and placed in the game by #2046: the tank stopped at Degania Alef from 20 May 1948, streamed in its own bundle after the first frame. Paint, markings and exact subtype remain candidate art; historical art/sensitivity sign-off follows matched screenshots (#756)."
- glob: "unity/Assets/Editor/Generated1948VehicleReview/generated-1948-16-egyptian-dakota-c47/*.fbx"
licence: CC-BY-NC-ND-4.0
ai_generated: true
diff --git a/LICENSING.md b/LICENSING.md
index 1a6a029d7..55dc2b3a8 100644
--- a/LICENSING.md
+++ b/LICENSING.md
@@ -12,9 +12,9 @@ Different parts of this repository are under different licences. Where a file is
| Unity template-derived files | `unity/Assets/Settings/` (URP assets, renderers, volume profiles), `spikes/m0/unity/Assets/Settings/`, `spikes/m0/unity/Assets/UI Toolkit/UnityThemes/`, and any Shader Graph generated from a Unity template (for example `unity/Assets/Shaders/StatecraftTerrain.shadergraph`, from "Terrain Simple") | Created from Unity's project or graph templates and edited; under the [Unity Companion License](https://unity.com/legal/licenses/unity-companion-license) (use with Unity), not the code licence |
| AI-generated images | `promo/final/01`–`08`, `promo/ref/*-src.jpg`, `docs/images/hero-concept-1936.jpg`, `promo/start-screen/*.png`, `unity/Assets/UI/StartScreen/declaration-hall.jpg` | Marked [CC0 1.0](LICENSES/CC0-1.0.txt). No rights are claimed. Purely AI-generated output may not be copyrightable. Made with the ElevenLabs Image API (see `promo/CREDITS.md`), except the start screen's option images, made with Dreamina; the start screen's painting was made on ElevenLabs from a Dreamina option (`ASSETS.yaml`). |
| AI-generated sound effects | `unity/Assets/Resources/Audio/turn-ended.ogg`, `event-card.ogg`, `refused.ogg` (only these three cues) | owner holds written permission from ElevenLabs for publishing these files in this repo; owner, 20 Oct 2026. Made with ElevenLabs Sound Effects through the project's paid subscription; source and processing records are in `ASSETS.yaml`. This records the owner-attested publication basis, not a CC0 grant or an independently inspected permission document. The manifest uses `LicenseRef-ElevenLabs-Owner-Permission`. The owner instructed us to ship the Codex pick after considering all twelve candidates; no listening gate was requested. Codex has not listened and no human listening verification is claimed. |
-| New 22 October buildings, tents and props (PR #1379; 01, 03 and 05 regenerated 24 October) | Original GLB files matching `asset-sources/generated-1948/generated-1948-*/generated-1948-*.glb`, limited to the eleven IDs numbered 01–06 and 08–12 in [the admission receipt](docs/generated-buildings-props-admission.json), plus compatibility models and colour maps (`*.fbx`, `*_basecolor.jpg` / `*.png`) in `unity/Assets/Editor/Generated1948Review/` directories numbered `generated-1948-01` through `05`, and `08` through `12`, and, for 06 (placed in the game), in `unity/Assets/Art/Collection/generated-1948-06-bedouin-b-enclosed-striped-tent/`, only; their exact IDs and source hashes are in [the admission receipt](docs/generated-buildings-props-admission.json). Also the lighter meshes derived from the houses 01–05 (`*-light.asset` in those directories, #1901), by Tal Heuberger's permission of 30 October 2026 (recorded in PR #1994); their records are the `*-light.json` files beside them. Materials, prefabs, scenes, metadata (including provenance JSON) and code retain the code-row terms. | [CC BY-NC-ND 4.0](LICENSES/CC-BY-NC-ND-4.0.txt), credit **Tal Heuberger**. Original generated GLBs and exact maps are retained; FBXs are documented local compatibility conversions, not provider-original files. No local roof/rear adaptations are included in this delivery. This row does not change any older model licence. |
+| New 22 October buildings, tents and props (PR #1379; 01, 03 and 05 regenerated 24 October) | Original GLB files matching `asset-sources/generated-1948/generated-1948-*/generated-1948-*.glb`, limited to the eleven IDs numbered 01–06 and 08–12 in [the admission receipt](docs/generated-buildings-props-admission.json), plus compatibility models and colour maps (`*.fbx`, `*_basecolor.jpg` / `*.png`) in `unity/Assets/Editor/Generated1948Review/` directories numbered `generated-1948-09` through `12`, and, for those placed in the game, in `unity/Assets/Art/Collection/generated-1948-06-bedouin-b-enclosed-striped-tent/`, in `unity/Assets/Art/Collection/generated-1948-08-khaki-canvas-tent/` and in the `unity/Assets/Art/Settlements/Prototype/Models/` directories numbered `generated-1948-01` through `05`, only; their exact IDs and source hashes are in [the admission receipt](docs/generated-buildings-props-admission.json). Also the lighter meshes derived from the houses 01–05 (`*-light.asset` in those `unity/Assets/Art/Settlements/Prototype/Models/` directories, #1901), by Tal Heuberger's permission of 30 October 2026 (recorded in PR #1994); their records are the `*-light.json` files beside them. Materials, prefabs, scenes, metadata (including provenance JSON) and code retain the code-row terms. | [CC BY-NC-ND 4.0](LICENSES/CC-BY-NC-ND-4.0.txt), credit **Tal Heuberger**. Original generated GLBs and exact maps are retained; FBXs are documented local compatibility conversions, not provider-original files. No local roof/rear adaptations are included in this delivery. This row does not change any older model licence. |
| Original 3D model files by Tal Heuberger | Exactly the 146 original paths (73 FBX files and 73 JPG colour maps) whose source is #507 or #336 in [docs/original-models.json](docs/original-models.json), with exact per-path rows in `ASSETS.yaml`. Current originals are not slimmed: 92 source-identical files and 54 with approved same-length author-path text blanking. The 311 generated prefabs, controllers, metadata files and TownModels.asset in that manifest, and adjacent materials, retain their existing code-row terms; they are excluded from this original-file row. | [CC BY-NC-ND 4.0](LICENSES/CC-BY-NC-ND-4.0.txt) from 20 October 2026 (owner ruling, #1177), credit "Tal Heuberger", https://creativecommons.org/licenses/by-nc-nd/4.0/. They may be shared unchanged, with credit, for non-commercial use; no commercial use and no adapted versions without their permission. Historical CC0 boundaries are below. |
-| New vehicle models and colour maps (14 and 16 editor review only; 13, the Spitfire, placed in the game, #1932) | `asset-sources/generated-1948/vehicles/*.zip` (the original archives for candidates 13, 14 and 16); `unity/Assets/Editor/Generated1948VehicleReview/generated-1948-*/*.fbx` and `*_basecolor.jpg`, and for 13 `unity/Assets/Art/Collection/generated-1948-13-egyptian-spitfire/*.fbx` and `*_basecolor.jpg` (documented full-geometry compatibility exports and exact original colour maps). Review code, materials and prefabs stay under the code row | [CC BY-NC-ND 4.0](LICENSES/CC-BY-NC-ND-4.0.txt), credit "Tal Heuberger", as authorized on 23 October 2026 (#1177/#1378). This row covers only these three new vehicle candidates; no existing model licence changes |
+| New vehicle models and colour maps (16 editor review only; 13, the Spitfire, placed in the game, #1932; 14, the R35, placed in the game) | `asset-sources/generated-1948/vehicles/*.zip` (the original archives for candidates 13, 14 and 16); `unity/Assets/Editor/Generated1948VehicleReview/generated-1948-*/*.fbx` and `*_basecolor.jpg`, for 13 `unity/Assets/Art/Collection/generated-1948-13-egyptian-spitfire/*.fbx` and `*_basecolor.jpg`, and for 14 `unity/Assets/Art/Collection/generated-1948-14-syrian-renault-r35/*.fbx` and `*_basecolor.jpg` (documented full-geometry compatibility exports and exact original colour maps). Review code, materials and prefabs stay under the code row | [CC BY-NC-ND 4.0](LICENSES/CC-BY-NC-ND-4.0.txt), credit "Tal Heuberger", as authorized on 23 October 2026 (#1177/#1378). This row covers only these three new vehicle candidates; no existing model licence changes |
| Quoted public-domain text | `docs/sources/declaration-1948/` | The Declaration of the Establishment of the State of Israel (1948): the Hebrew of the Official Gazette and the English translation. Public domain; sources in each file and in `ASSETS.yaml`. |
| In-engine captures | `promo/final/09`, `10`, `docs/images/build-*.jpg`, `docs/images/social-preview.jpg`, `spikes/m0/evidence/*.jpg`, `spikes/m0/evidence/*.txt` (logs) | CC BY 4.0. They show the Copernicus-derived terrain; see below. |
| Portraits | `unity/Assets/UI/Portraits/`, `promo/ref/people/`, `promo/ref/*-sheet.jpg` | Public-domain photographs from Wikimedia Commons, CC0 files, Meitar Collection photographs under CC BY 4.0, and Knesset Archives photographs under [CC BY-SA 4.0](LICENSES/CC-BY-SA-4.0.txt) (credits in [NOTICE](NOTICE)); share-alike: a portrait cropped from a CC BY-SA 4.0 photograph (each `promo/ref/people/*_CCBYSA_*.jpg` source and its crop in `unity/Assets/UI/Portraits/`, listed under CC BY-SA 4.0 in NOTICE) is an adaptation and is itself under CC BY-SA 4.0. Per-file sources are in `content/people.yaml` and `promo/CREDITS.md`; per-file licences in `ASSETS.portraits.yaml`. |
diff --git a/changelog.d/camp-inactive-mesh-ownership.md b/changelog.d/camp-inactive-mesh-ownership.md
new file mode 100644
index 000000000..91f4672b2
--- /dev/null
+++ b/changelog.d/camp-inactive-mesh-ownership.md
@@ -0,0 +1,3 @@
+### Fixed
+
+- Deactivating a transit camp retires its tent models without reparenting during the disable callback. Redrawing the inactive camp preserves streamed model meshes while releasing its own geometry and lease.
diff --git a/changelog.d/tal-camp-tents.md b/changelog.d/tal-camp-tents.md
new file mode 100644
index 000000000..80a0555b2
--- /dev/null
+++ b/changelog.d/tal-camp-tents.md
@@ -0,0 +1,5 @@
+- Up close, the player's transit camps show Tal Heuberger's khaki canvas tent in place of the camp kit's khaki ridge
+ tents (the owner signed off all 19 of Tal Heuberger's generated models on 27 October 2026, #756). The kit's tents come
+ back beyond the town models' switch distance, and stay whenever the model has not streamed. The model streams after
+ the first frame in a bundle of its own; inactive streamed roots are activated before they replace the fallback, and
+ departed cameras no longer leave stale close-view state.
diff --git a/changelog.d/tal-degania-r35.md b/changelog.d/tal-degania-r35.md
new file mode 100644
index 000000000..b17787635
--- /dev/null
+++ b/changelog.d/tal-degania-r35.md
@@ -0,0 +1,6 @@
+- Tal Heuberger's Syrian Renault R35 stands at Degania Alef from 20 May 1948, the tank that broke through the kibbutz
+ fence in the Syrian attack of that morning and was stopped (the owner's "Degania landmark", 27 October 2026, #756;
+ sources: the Jewish Virtual Library account already cited by the Defence of Degania card, and en.wiki Renault R35).
+ It draws close up like the other single-building models, streams after the first frame in a bundle of its own, and
+ its colour map is compressed like the other placed generated models. At the owner's 30 October ruling, it stands just
+ outside the village kit on the mapped transport side instead of beneath the houses.
diff --git a/changelog.d/tal-town-houses.md b/changelog.d/tal-town-houses.md
new file mode 100644
index 000000000..3bfe19179
--- /dev/null
+++ b/changelog.d/tal-town-houses.md
@@ -0,0 +1,5 @@
+- Tal Heuberger's five generated houses stand in the towns up close (the owner signed off all 19 of Tal Heuberger's
+ generated models on 27 October 2026, #756): the tiled, balcony and porch houses among Netanya's houses, the basalt
+ house at Tiberias (the old town was built of basalt blocks), and the plastered courtyard house among the stone-village
+ houses of the Arab towns and villages. They stream after the first frame like the other town buildings. Goldens did not
+ move.
diff --git a/docs/ai-disclosure.md b/docs/ai-disclosure.md
index 8ac0f70e1..02a4364d3 100644
--- a/docs/ai-disclosure.md
+++ b/docs/ai-disclosure.md
@@ -59,7 +59,9 @@ This is not a licence clearance or a completed store content survey. owner-verif
| unity/Assets/Art/Collection/figure-vehicle-willys-jeep-1948-v2/figure-vehicle-willys-jeep-1948-v2_basecolor.jpg | ASSETS.yaml | Tal Heuberger original offered in PR #507 at 3ef0a7a5a36887aee7a24fd11ddf722507695f3c, unity/Assets/Art/Settlements/Prototype/Models/figure-vehicle-willys-jeep-1948-v2/figure-vehicle-willys-jeep-1948-v2_basecolor.jpg. Raw and shipped SHA-256 in docs/original-models.json. Copied source byte for byte, including original geometry/clips or JPEG bytes. | verified |
| unity/Assets/Art/Collection/figure-yemenite-immigrant-v1/figure-yemenite-immigrant-v1_basecolor.jpg | ASSETS.yaml | Tal Heuberger original offered in PR #336 at 1a5482a5864e812c1f5afdf0b31464ac92cbc7fa, unity/Assets/Art/CommandModels/Models/figure-yemenite-immigrant-v1/figure-yemenite-immigrant-v1_basecolor.jpg. Raw and shipped SHA-256 in docs/original-models.json. Copied source byte for byte, including original geometry/clips or JPEG bytes. | verified |
| unity/Assets/Art/Collection/generated-1948-06-bedouin-b-enclosed-striped-tent/*_basecolor.jpg | ASSETS.yaml | Tal Heuberger, Tripo Studio generated source, 22 October 2026. Provider-original GLB and exact embedded 4096px colour-map bytes preserved; provenance.json records hashes. FBX is a local compatibility conversion with no decimation, repair or atlas; verified source triangle positions/connectivity, UVs and stored normals. This is not a provider-original FBX. | verified |
+| unity/Assets/Art/Collection/generated-1948-08-khaki-canvas-tent/*_basecolor.jpg | ASSETS.yaml | Tal Heuberger, Tripo Studio generated source, 22 October 2026. Provider-original GLB and exact embedded 4096px colour-map bytes preserved; provenance.json records hashes. FBX is a local compatibility conversion with no decimation, repair or atlas; verified source triangle positions/connectivity, UVs and stored normals. This is not a provider-original FBX. | verified |
| unity/Assets/Art/Collection/generated-1948-13-egyptian-spitfire/*_basecolor.jpg | ASSETS.yaml | Tripo Studio textured GLB delivered 22 October 2026, preserved byte-for-byte in asset-sources/generated-1948/vehicles/ original archives. sources.json and per-model provenance.json identify the archive/member SHA-256 and provider model ID. The Unity FBX is a documented full-geometry compatibility conversion, not a provider FBX. The 4096px colour map is extracted byte-for-byte; no LOD, decimation or texture re-encoding. | verified |
+| unity/Assets/Art/Collection/generated-1948-14-syrian-renault-r35/*_basecolor.jpg | ASSETS.yaml | Tripo Studio textured GLB delivered 22 October 2026, preserved byte-for-byte in asset-sources/generated-1948/vehicles/ original archives. sources.json and per-model provenance.json identify the archive/member SHA-256 and provider model ID. The Unity FBX is a documented full-geometry compatibility conversion, not a provider FBX. The 4096px colour-map source bytes are extracted without re-encoding; Unity separately imports them with configured GPU compression. No LOD or decimation. | verified |
| unity/Assets/Art/Collection/haifa-port-city-v1/haifa-port-city-v1_basecolor.jpg | ASSETS.yaml | Tal Heuberger original offered in PR #336 at 1a5482a5864e812c1f5afdf0b31464ac92cbc7fa, unity/Assets/Art/CommandModels/Models/haifa-port-city-v1/haifa-port-city-v1_basecolor.jpg. Raw and shipped SHA-256 in docs/original-models.json. Copied source byte for byte, including original geometry/clips or JPEG bytes. | verified |
| unity/Assets/Art/Collection/jerusalem-stone-city-v1-3denhance/jerusalem-stone-city-v1-3denhance_basecolor.jpg | ASSETS.yaml | Tal Heuberger original offered in PR #336 at 1a5482a5864e812c1f5afdf0b31464ac92cbc7fa, unity/Assets/Art/CommandModels/Models/jerusalem-stone-city-v1-3denhance/jerusalem-stone-city-v1-3denhance_basecolor.jpg. Raw and shipped SHA-256 in docs/original-models.json. Copied source byte for byte, including original geometry/clips or JPEG bytes. | verified |
| unity/Assets/Art/Collection/jerusalem-stone-city-v1/jerusalem-stone-city-v1_basecolor.jpg | ASSETS.yaml | Tal Heuberger original offered in PR #336 at 1a5482a5864e812c1f5afdf0b31464ac92cbc7fa, unity/Assets/Art/CommandModels/Models/jerusalem-stone-city-v1/jerusalem-stone-city-v1_basecolor.jpg. Raw and shipped SHA-256 in docs/original-models.json. Copied source byte for byte, including original geometry/clips or JPEG bytes. | verified |
@@ -97,18 +99,16 @@ This is not a licence clearance or a completed store content survey. owner-verif
| unity/Assets/Art/Settlements/Prototype/Models/b24-agricultural-barn-v2/b24-agricultural-barn-v2_basecolor.jpg | ASSETS.yaml | Tal Heuberger original offered in PR #507 at 3ef0a7a5a36887aee7a24fd11ddf722507695f3c, unity/Assets/Art/Settlements/Prototype/Models/b24-agricultural-barn-v2/b24-agricultural-barn-v2_basecolor.jpg. Raw and shipped SHA-256 in docs/original-models.json. Copied source byte for byte, including original geometry/clips or JPEG bytes. | verified |
| unity/Assets/Art/Settlements/Prototype/Models/b28-water-tower-v2/b28-water-tower-v2_basecolor.jpg | ASSETS.yaml | Tal Heuberger original offered in PR #507 at 3ef0a7a5a36887aee7a24fd11ddf722507695f3c, unity/Assets/Art/Settlements/Prototype/Models/b28-water-tower-v2/b28-water-tower-v2_basecolor.jpg. Raw and shipped SHA-256 in docs/original-models.json. Copied source byte for byte, including original geometry/clips or JPEG bytes. | verified |
| unity/Assets/Art/Settlements/Prototype/Models/b32-port-cargo-shed-v2/b32-port-cargo-shed-v2_basecolor.jpg | ASSETS.yaml | Tal Heuberger original offered in PR #507 at 3ef0a7a5a36887aee7a24fd11ddf722507695f3c, unity/Assets/Art/Settlements/Prototype/Models/b32-port-cargo-shed-v2/b32-port-cargo-shed-v2_basecolor.jpg. Raw and shipped SHA-256 in docs/original-models.json. Copied source byte for byte, including original geometry/clips or JPEG bytes. | verified |
+| unity/Assets/Art/Settlements/Prototype/Models/generated-1948-01-netanya-tiled-house-original/*_basecolor.jpg | ASSETS.yaml | Tal Heuberger, Tripo Studio generated source, regenerated 24 October 2026 (#1379). Provider-original GLB and exact embedded 4096px colour-map bytes preserved; provenance.json records hashes. FBX is a local compatibility conversion with no decimation, repair or atlas; verified source triangle positions/connectivity, UVs and stored normals. This is not a provider-original FBX. | verified |
+| unity/Assets/Art/Settlements/Prototype/Models/generated-1948-02-netanya-two-storey-balcony-house/*_basecolor.jpg | ASSETS.yaml | Tal Heuberger, Tripo Studio generated source, 22 October 2026. Provider-original GLB and exact embedded 4096px colour-map bytes preserved; provenance.json records hashes. FBX is a local compatibility conversion with no decimation, repair or atlas; verified source triangle positions/connectivity, UVs and stored normals. This is not a provider-original FBX. | verified |
+| unity/Assets/Art/Settlements/Prototype/Models/generated-1948-03-netanya-flat-roof-porch-house/*_basecolor.jpg | ASSETS.yaml | Tal Heuberger, Tripo Studio generated source, regenerated 24 October 2026 (#1379). Provider-original GLB and exact embedded 4096px colour-map bytes preserved; provenance.json records hashes. FBX is a local compatibility conversion with no decimation, repair or atlas; verified source triangle positions/connectivity, UVs and stored normals. This is not a provider-original FBX. | verified |
+| unity/Assets/Art/Settlements/Prototype/Models/generated-1948-04-dark-basalt-house/*_basecolor.jpg | ASSETS.yaml | Tal Heuberger, Tripo Studio generated source, 22 October 2026. Provider-original GLB and exact embedded 4096px colour-map bytes preserved; provenance.json records hashes. FBX is a local compatibility conversion with no decimation, repair or atlas; verified source triangle positions/connectivity, UVs and stored normals. This is not a provider-original FBX. | verified |
+| unity/Assets/Art/Settlements/Prototype/Models/generated-1948-05-plastered-courtyard-house-original/*_basecolor.jpg | ASSETS.yaml | Tal Heuberger, Tripo Studio generated source, regenerated 24 October 2026 (#1379). Provider-original GLB and exact embedded 4096px colour-map bytes preserved; provenance.json records hashes. FBX is a local compatibility conversion with no decimation, repair or atlas; verified source triangle positions/connectivity, UVs and stored normals. This is not a provider-original FBX. | verified |
| unity/Assets/Editor/Generated1948Review/figure-local-arab-irregular-1948-v1/*_basecolor.jpg | ASSETS.yaml | Tripo Studio Smart Mesh P2.0, generated 22 October 2026 by Tal Heuberger. Exact provider GLB and embedded 4096px JPEG are retained byte-identical in asset-sources/generated-1948/<id>/. Unity FBX is a documented full-geometry compatibility export, not a provider FBX. Source rigged GLBs contain zero animation clips; both existing locally retargeted idle/walk actions are exported at every frame with no simplification. No decimated copy, texture resize, Crunch or Unity mesh/animation compression. Per-character provenance records source and export hashes. | verified |
-| unity/Assets/Editor/Generated1948Review/generated-1948-01-netanya-tiled-house-original/*_basecolor.jpg | ASSETS.yaml | Tal Heuberger, Tripo Studio generated source, regenerated 24 October 2026 (#1379). Provider-original GLB and exact embedded 4096px colour-map bytes preserved; provenance.json records hashes. FBX is a local compatibility conversion with no decimation, repair or atlas; verified source triangle positions/connectivity, UVs and stored normals. This is not a provider-original FBX. | verified |
-| unity/Assets/Editor/Generated1948Review/generated-1948-02-netanya-two-storey-balcony-house/*_basecolor.jpg | ASSETS.yaml | Tal Heuberger, Tripo Studio generated source, 22 October 2026. Provider-original GLB and exact embedded 4096px colour-map bytes preserved; provenance.json records hashes. FBX is a local compatibility conversion with no decimation, repair or atlas; verified source triangle positions/connectivity, UVs and stored normals. This is not a provider-original FBX. | verified |
-| unity/Assets/Editor/Generated1948Review/generated-1948-03-netanya-flat-roof-porch-house/*_basecolor.jpg | ASSETS.yaml | Tal Heuberger, Tripo Studio generated source, regenerated 24 October 2026 (#1379). Provider-original GLB and exact embedded 4096px colour-map bytes preserved; provenance.json records hashes. FBX is a local compatibility conversion with no decimation, repair or atlas; verified source triangle positions/connectivity, UVs and stored normals. This is not a provider-original FBX. | verified |
-| unity/Assets/Editor/Generated1948Review/generated-1948-04-dark-basalt-house/*_basecolor.jpg | ASSETS.yaml | Tal Heuberger, Tripo Studio generated source, 22 October 2026. Provider-original GLB and exact embedded 4096px colour-map bytes preserved; provenance.json records hashes. FBX is a local compatibility conversion with no decimation, repair or atlas; verified source triangle positions/connectivity, UVs and stored normals. This is not a provider-original FBX. | verified |
-| unity/Assets/Editor/Generated1948Review/generated-1948-05-plastered-courtyard-house-original/*_basecolor.jpg | ASSETS.yaml | Tal Heuberger, Tripo Studio generated source, regenerated 24 October 2026 (#1379). Provider-original GLB and exact embedded 4096px colour-map bytes preserved; provenance.json records hashes. FBX is a local compatibility conversion with no decimation, repair or atlas; verified source triangle positions/connectivity, UVs and stored normals. This is not a provider-original FBX. | verified |
-| unity/Assets/Editor/Generated1948Review/generated-1948-08-khaki-canvas-tent/*_basecolor.jpg | ASSETS.yaml | Tal Heuberger, Tripo Studio generated source, 22 October 2026. Provider-original GLB and exact embedded 4096px colour-map bytes preserved; provenance.json records hashes. FBX is a local compatibility conversion with no decimation, repair or atlas; verified source triangle positions/connectivity, UVs and stored normals. This is not a provider-original FBX. | verified |
| unity/Assets/Editor/Generated1948Review/generated-1948-09-stone-village-well/*_basecolor.jpg | ASSETS.yaml | Tal Heuberger, Tripo Studio generated source, 22 October 2026. Provider-original GLB and exact embedded 4096px colour-map bytes preserved; provenance.json records hashes. FBX is a local compatibility conversion with no decimation, repair or atlas; verified source triangle positions/connectivity, UVs and stored normals. This is not a provider-original FBX. | verified |
| unity/Assets/Editor/Generated1948Review/generated-1948-10-low-sandbag-position/*_basecolor.jpg | ASSETS.yaml | Tal Heuberger, Tripo Studio generated source, 22 October 2026. Provider-original GLB and exact embedded 4096px colour-map bytes preserved; provenance.json records hashes. FBX is a local compatibility conversion with no decimation, repair or atlas; verified source triangle positions/connectivity, UVs and stored normals. This is not a provider-original FBX. | verified |
| unity/Assets/Editor/Generated1948Review/generated-1948-11-supply-crate-stack/*_basecolor.jpg | ASSETS.yaml | Tal Heuberger, Tripo Studio generated source, 22 October 2026. Provider-original GLB and exact embedded 4096px colour-map bytes preserved; provenance.json records hashes. FBX is a local compatibility conversion with no decimation, repair or atlas; verified source triangle positions/connectivity, UVs and stored normals. This is not a provider-original FBX. | verified |
| unity/Assets/Editor/Generated1948Review/generated-1948-12-low-stone-wall-module/*_basecolor.jpg | ASSETS.yaml | Tal Heuberger, Tripo Studio generated source, 22 October 2026. Provider-original GLB and exact embedded 4096px colour-map bytes preserved; provenance.json records hashes. FBX is a local compatibility conversion with no decimation, repair or atlas; verified source triangle positions/connectivity, UVs and stored normals. This is not a provider-original FBX. | verified |
-| unity/Assets/Editor/Generated1948VehicleReview/generated-1948-14-syrian-renault-r35/*_basecolor.jpg | ASSETS.yaml | Tripo Studio textured GLB delivered 22 October 2026, preserved byte-for-byte in asset-sources/generated-1948/vehicles/ original archives. sources.json and per-model provenance.json identify the archive/member SHA-256 and provider model ID. The Unity FBX is a documented full-geometry compatibility conversion, not a provider FBX. The 4096px colour map is extracted byte-for-byte; no LOD, decimation or texture re-encoding. | verified |
| unity/Assets/Editor/Generated1948VehicleReview/generated-1948-16-egyptian-dakota-c47/*_basecolor.jpg | ASSETS.yaml | Tripo Studio textured GLB delivered 22 October 2026, preserved byte-for-byte in asset-sources/generated-1948/vehicles/ original archives. sources.json and per-model provenance.json identify the archive/member SHA-256 and provider model ID. The Unity FBX is a documented full-geometry compatibility conversion, not a provider FBX. The 4096px colour map is extracted byte-for-byte; no LOD, decimation or texture re-encoding. | verified |
| unity/Assets/UI/StartScreen/declaration-hall.jpg | ASSETS.yaml | ElevenLabs Image API (Pro plan, decision D5), model GPT Image 2.5 Sunburst (gpt-image-2.5-sunburst), 2K, quality high, 2026-10-12 (#268); the start screen's painting, native 2048x1152, saved as JPEG (quality 90), no upscale. Take 1: prompt promo/start-screen/prompt-d.txt, with the previous painting (this file as merged in #255: Dreamina option C, resized to 1920x1080) as the composition reference and promo/final/03-gameplay-1936.png as the style reference. Take 2 (used): prompt promo/start-screen/prompt-d-edit.txt, an edit of take 1 that changes only the row of figures at the table. The previous painting (Dreamina, #255) showed sunbeams through the windows | verified |
| unity/Assets/WebGLTemplates/Statecraft/favicon.ico | ASSETS.yaml | Original geometric drawing for the WebGL page's tab icon (issue #47): a gold hexagon with a cream serif I on navy, in the loading page's colours; 16, 32 and 48 px; made 2026-10-11 for PR #169 | verified |
@@ -294,7 +294,9 @@ This is not a licence clearance or a completed store content survey. owner-verif
| unity/Assets/Art/Collection/figure-yemenite-immigrant-v1/figure-yemenite-immigrant-v1-near.fbx | ASSETS.yaml | Historical slim-derivative record (retained files only; current full-original provenance is docs/original-models.json): Tripo Studio (tripo3d.ai), Smart Mesh P2.0, paid plan, made 11 October 2026 from an AI-generated concept image (not in the repository), by Tal Heuberger; offered only in PR #336 at 1a5482a5864e812c1f5afdf0b31464ac92cbc7fa, whose docs/command-models.json records the generator, date and plan. One of the eight figures of issue #708. Slimmed for the repository by tools/slim_collection.py (Blender 5.2.2) with the settings of the 1948 Collection's people: a far mesh of at most 1,500 triangles and a near mesh of at most 8,000, the near mesh keeping its rig and only its idle clip, every other clip dropped; colour map 2048 px resized to 512 px. #336's full-detail FBX files were kept outside the repository at the time of the historical import; current originals and their raw/shipped hashes are now recorded in docs/original-models.json. Imported, not yet placed (#666). | verified |
| unity/Assets/Art/Collection/figure-yemenite-immigrant-v1/figure-yemenite-immigrant-v1.fbx | ASSETS.yaml | Tal Heuberger original offered in PR #336 at 1a5482a5864e812c1f5afdf0b31464ac92cbc7fa, unity/Assets/Art/CommandModels/Models/figure-yemenite-immigrant-v1/figure-yemenite-immigrant-v1.fbx. Raw and shipped SHA-256 in docs/original-models.json. Copied source byte for byte, including original geometry/clips or JPEG bytes. | verified |
| unity/Assets/Art/Collection/generated-1948-06-bedouin-b-enclosed-striped-tent/*.fbx | ASSETS.yaml | Tal Heuberger, Tripo Studio generated source, 22 October 2026. Provider-original GLB and exact embedded 4096px colour-map bytes preserved; provenance.json records hashes. FBX is a local compatibility conversion with no decimation, repair or atlas; verified source triangle positions/connectivity, UVs and stored normals. This is not a provider-original FBX. | verified |
+| unity/Assets/Art/Collection/generated-1948-08-khaki-canvas-tent/*.fbx | ASSETS.yaml | Tal Heuberger, Tripo Studio generated source, 22 October 2026. Provider-original GLB and exact embedded 4096px colour-map bytes preserved; provenance.json records hashes. FBX is a local compatibility conversion with no decimation, repair or atlas; verified source triangle positions/connectivity, UVs and stored normals. This is not a provider-original FBX. | verified |
| unity/Assets/Art/Collection/generated-1948-13-egyptian-spitfire/*.fbx | ASSETS.yaml | Tripo Studio textured GLB delivered 22 October 2026, preserved byte-for-byte in asset-sources/generated-1948/vehicles/ original archives. sources.json and per-model provenance.json identify the archive/member SHA-256 and provider model ID. The Unity FBX is a documented full-geometry compatibility conversion, not a provider FBX. The 4096px colour map is extracted byte-for-byte; no LOD, decimation or texture re-encoding. | verified |
+| unity/Assets/Art/Collection/generated-1948-14-syrian-renault-r35/*.fbx | ASSETS.yaml | Tripo Studio textured GLB delivered 22 October 2026, preserved byte-for-byte in asset-sources/generated-1948/vehicles/ original archives. sources.json and per-model provenance.json identify the archive/member SHA-256 and provider model ID. The Unity FBX is a documented full-geometry compatibility conversion, not a provider FBX. The 4096px colour-map source bytes are extracted without re-encoding; Unity separately imports them with configured GPU compression. No LOD or decimation. | verified |
| unity/Assets/Art/Collection/haifa-port-city-v1/haifa-port-city-v1-far.fbx | ASSETS.yaml | Historical slim-derivative record (retained files only; current full-original provenance is docs/original-models.json): Tripo Studio (tripo3d.ai), paid Max plan, made 10-13 October 2026 from concept images generated in the same studio, by Tal Heuberger (PR #507 at 3ef0a7a5a36887aee7a24fd11ddf722507695f3c): the 31 non-building models of The 1948 Collection (12 people, 9 road and rail vehicles, 4 ships and aircraft, 6 animals), and its nine whole-town models (issue #663: tel-aviv-white-city-v1, jerusalem-stone-city-v1, haifa-port-city-v1, moshava-town-v1, nahalal-moshav-v1, kibbutz-compound-v2, stone-village-v1, maabara-camp-v1, shikun-housing-v1; byte-identical to the same files in #336). Slimmed for the repository by tools/slim_collection.py (Blender 5.2.2, issue #664): a far mesh of at most 1,500 triangles (4,500 for vehicles, ships, aircraft and whole towns) and a near mesh of at most 8,000 per model, the near mesh keeping its rig and only the idle clip on the 13 models that have one, every other clip dropped (C05, which has no idle clip, has both static meshes posed at the first frame of his walk instead of his T-pose rest, issue #665); colour maps 1024 px resized to 512 px. The masters, #507's full-detail FBX files and the per-model records (prompts, task ids, credits) were kept outside the repository at the time of the historical import; current originals and their raw/shipped hashes are now recorded in docs/original-models.json. | verified |
| unity/Assets/Art/Collection/haifa-port-city-v1/haifa-port-city-v1-near.fbx | ASSETS.yaml | Historical slim-derivative record (retained files only; current full-original provenance is docs/original-models.json): Tripo Studio (tripo3d.ai), paid Max plan, made 10-13 October 2026 from concept images generated in the same studio, by Tal Heuberger (PR #507 at 3ef0a7a5a36887aee7a24fd11ddf722507695f3c): the 31 non-building models of The 1948 Collection (12 people, 9 road and rail vehicles, 4 ships and aircraft, 6 animals), and its nine whole-town models (issue #663: tel-aviv-white-city-v1, jerusalem-stone-city-v1, haifa-port-city-v1, moshava-town-v1, nahalal-moshav-v1, kibbutz-compound-v2, stone-village-v1, maabara-camp-v1, shikun-housing-v1; byte-identical to the same files in #336). Slimmed for the repository by tools/slim_collection.py (Blender 5.2.2, issue #664): a far mesh of at most 1,500 triangles (4,500 for vehicles, ships, aircraft and whole towns) and a near mesh of at most 8,000 per model, the near mesh keeping its rig and only the idle clip on the 13 models that have one, every other clip dropped (C05, which has no idle clip, has both static meshes posed at the first frame of his walk instead of his T-pose rest, issue #665); colour maps 1024 px resized to 512 px. The masters, #507's full-detail FBX files and the per-model records (prompts, task ids, credits) were kept outside the repository at the time of the historical import; current originals and their raw/shipped hashes are now recorded in docs/original-models.json. | verified |
| unity/Assets/Art/Collection/haifa-port-city-v1/haifa-port-city-v1.fbx | ASSETS.yaml | Tal Heuberger original offered in PR #336 at 1a5482a5864e812c1f5afdf0b31464ac92cbc7fa, unity/Assets/Art/CommandModels/Models/haifa-port-city-v1/haifa-port-city-v1.fbx. Raw and shipped SHA-256 in docs/original-models.json. Copied source byte for byte, including original geometry/clips or JPEG bytes. | verified |
@@ -362,18 +364,16 @@ This is not a licence clearance or a completed store content survey. owner-verif
| unity/Assets/Art/Settlements/Prototype/Models/b24-agricultural-barn-v2/b24-agricultural-barn-v2.fbx | ASSETS.yaml | Tal Heuberger original offered in PR #507 at 3ef0a7a5a36887aee7a24fd11ddf722507695f3c, unity/Assets/Art/Settlements/Prototype/Models/b24-agricultural-barn-v2/b24-agricultural-barn-v2.fbx. Raw and shipped SHA-256 in docs/original-models.json. Only same-length author-path text blanking, per #1273 owner decisions1-2; geometry, clips and all other bytes unchanged. | verified |
| unity/Assets/Art/Settlements/Prototype/Models/b28-water-tower-v2/b28-water-tower-v2.fbx | ASSETS.yaml | Tal Heuberger original offered in PR #507 at 3ef0a7a5a36887aee7a24fd11ddf722507695f3c, unity/Assets/Art/Settlements/Prototype/Models/b28-water-tower-v2/b28-water-tower-v2.fbx. Raw and shipped SHA-256 in docs/original-models.json. Only same-length author-path text blanking, per #1273 owner decisions1-2; geometry, clips and all other bytes unchanged. | verified |
| unity/Assets/Art/Settlements/Prototype/Models/b32-port-cargo-shed-v2/b32-port-cargo-shed-v2.fbx | ASSETS.yaml | Tal Heuberger original offered in PR #507 at 3ef0a7a5a36887aee7a24fd11ddf722507695f3c, unity/Assets/Art/Settlements/Prototype/Models/b32-port-cargo-shed-v2/b32-port-cargo-shed-v2.fbx. Raw and shipped SHA-256 in docs/original-models.json. Only same-length author-path text blanking, per #1273 owner decisions1-2; geometry, clips and all other bytes unchanged. | verified |
+| unity/Assets/Art/Settlements/Prototype/Models/generated-1948-01-netanya-tiled-house-original/*.fbx | ASSETS.yaml | Tal Heuberger, Tripo Studio generated source, regenerated 24 October 2026 (#1379). Provider-original GLB and exact embedded 4096px colour-map bytes preserved; provenance.json records hashes. FBX is a local compatibility conversion with no decimation, repair or atlas; verified source triangle positions/connectivity, UVs and stored normals. This is not a provider-original FBX. | verified |
+| unity/Assets/Art/Settlements/Prototype/Models/generated-1948-02-netanya-two-storey-balcony-house/*.fbx | ASSETS.yaml | Tal Heuberger, Tripo Studio generated source, 22 October 2026. Provider-original GLB and exact embedded 4096px colour-map bytes preserved; provenance.json records hashes. FBX is a local compatibility conversion with no decimation, repair or atlas; verified source triangle positions/connectivity, UVs and stored normals. This is not a provider-original FBX. | verified |
+| unity/Assets/Art/Settlements/Prototype/Models/generated-1948-03-netanya-flat-roof-porch-house/*.fbx | ASSETS.yaml | Tal Heuberger, Tripo Studio generated source, regenerated 24 October 2026 (#1379). Provider-original GLB and exact embedded 4096px colour-map bytes preserved; provenance.json records hashes. FBX is a local compatibility conversion with no decimation, repair or atlas; verified source triangle positions/connectivity, UVs and stored normals. This is not a provider-original FBX. | verified |
+| unity/Assets/Art/Settlements/Prototype/Models/generated-1948-04-dark-basalt-house/*.fbx | ASSETS.yaml | Tal Heuberger, Tripo Studio generated source, 22 October 2026. Provider-original GLB and exact embedded 4096px colour-map bytes preserved; provenance.json records hashes. FBX is a local compatibility conversion with no decimation, repair or atlas; verified source triangle positions/connectivity, UVs and stored normals. This is not a provider-original FBX. | verified |
+| unity/Assets/Art/Settlements/Prototype/Models/generated-1948-05-plastered-courtyard-house-original/*.fbx | ASSETS.yaml | Tal Heuberger, Tripo Studio generated source, regenerated 24 October 2026 (#1379). Provider-original GLB and exact embedded 4096px colour-map bytes preserved; provenance.json records hashes. FBX is a local compatibility conversion with no decimation, repair or atlas; verified source triangle positions/connectivity, UVs and stored normals. This is not a provider-original FBX. | verified |
| unity/Assets/Editor/Generated1948Review/figure-local-arab-irregular-1948-v1/*.fbx | ASSETS.yaml | Tripo Studio Smart Mesh P2.0, generated 22 October 2026 by Tal Heuberger. Exact provider GLB and embedded 4096px JPEG are retained byte-identical in asset-sources/generated-1948/<id>/. Unity FBX is a documented full-geometry compatibility export, not a provider FBX. Source rigged GLBs contain zero animation clips; both existing locally retargeted idle/walk actions are exported at every frame with no simplification. No decimated copy, texture resize, Crunch or Unity mesh/animation compression. Per-character provenance records source and export hashes. | verified |
-| unity/Assets/Editor/Generated1948Review/generated-1948-01-netanya-tiled-house-original/*.fbx | ASSETS.yaml | Tal Heuberger, Tripo Studio generated source, regenerated 24 October 2026 (#1379). Provider-original GLB and exact embedded 4096px colour-map bytes preserved; provenance.json records hashes. FBX is a local compatibility conversion with no decimation, repair or atlas; verified source triangle positions/connectivity, UVs and stored normals. This is not a provider-original FBX. | verified |
-| unity/Assets/Editor/Generated1948Review/generated-1948-02-netanya-two-storey-balcony-house/*.fbx | ASSETS.yaml | Tal Heuberger, Tripo Studio generated source, 22 October 2026. Provider-original GLB and exact embedded 4096px colour-map bytes preserved; provenance.json records hashes. FBX is a local compatibility conversion with no decimation, repair or atlas; verified source triangle positions/connectivity, UVs and stored normals. This is not a provider-original FBX. | verified |
-| unity/Assets/Editor/Generated1948Review/generated-1948-03-netanya-flat-roof-porch-house/*.fbx | ASSETS.yaml | Tal Heuberger, Tripo Studio generated source, regenerated 24 October 2026 (#1379). Provider-original GLB and exact embedded 4096px colour-map bytes preserved; provenance.json records hashes. FBX is a local compatibility conversion with no decimation, repair or atlas; verified source triangle positions/connectivity, UVs and stored normals. This is not a provider-original FBX. | verified |
-| unity/Assets/Editor/Generated1948Review/generated-1948-04-dark-basalt-house/*.fbx | ASSETS.yaml | Tal Heuberger, Tripo Studio generated source, 22 October 2026. Provider-original GLB and exact embedded 4096px colour-map bytes preserved; provenance.json records hashes. FBX is a local compatibility conversion with no decimation, repair or atlas; verified source triangle positions/connectivity, UVs and stored normals. This is not a provider-original FBX. | verified |
-| unity/Assets/Editor/Generated1948Review/generated-1948-05-plastered-courtyard-house-original/*.fbx | ASSETS.yaml | Tal Heuberger, Tripo Studio generated source, regenerated 24 October 2026 (#1379). Provider-original GLB and exact embedded 4096px colour-map bytes preserved; provenance.json records hashes. FBX is a local compatibility conversion with no decimation, repair or atlas; verified source triangle positions/connectivity, UVs and stored normals. This is not a provider-original FBX. | verified |
-| unity/Assets/Editor/Generated1948Review/generated-1948-08-khaki-canvas-tent/*.fbx | ASSETS.yaml | Tal Heuberger, Tripo Studio generated source, 22 October 2026. Provider-original GLB and exact embedded 4096px colour-map bytes preserved; provenance.json records hashes. FBX is a local compatibility conversion with no decimation, repair or atlas; verified source triangle positions/connectivity, UVs and stored normals. This is not a provider-original FBX. | verified |
| unity/Assets/Editor/Generated1948Review/generated-1948-09-stone-village-well/*.fbx | ASSETS.yaml | Tal Heuberger, Tripo Studio generated source, 22 October 2026. Provider-original GLB and exact embedded 4096px colour-map bytes preserved; provenance.json records hashes. FBX is a local compatibility conversion with no decimation, repair or atlas; verified source triangle positions/connectivity, UVs and stored normals. This is not a provider-original FBX. | verified |
| unity/Assets/Editor/Generated1948Review/generated-1948-10-low-sandbag-position/*.fbx | ASSETS.yaml | Tal Heuberger, Tripo Studio generated source, 22 October 2026. Provider-original GLB and exact embedded 4096px colour-map bytes preserved; provenance.json records hashes. FBX is a local compatibility conversion with no decimation, repair or atlas; verified source triangle positions/connectivity, UVs and stored normals. This is not a provider-original FBX. | verified |
| unity/Assets/Editor/Generated1948Review/generated-1948-11-supply-crate-stack/*.fbx | ASSETS.yaml | Tal Heuberger, Tripo Studio generated source, 22 October 2026. Provider-original GLB and exact embedded 4096px colour-map bytes preserved; provenance.json records hashes. FBX is a local compatibility conversion with no decimation, repair or atlas; verified source triangle positions/connectivity, UVs and stored normals. This is not a provider-original FBX. | verified |
| unity/Assets/Editor/Generated1948Review/generated-1948-12-low-stone-wall-module/*.fbx | ASSETS.yaml | Tal Heuberger, Tripo Studio generated source, 22 October 2026. Provider-original GLB and exact embedded 4096px colour-map bytes preserved; provenance.json records hashes. FBX is a local compatibility conversion with no decimation, repair or atlas; verified source triangle positions/connectivity, UVs and stored normals. This is not a provider-original FBX. | verified |
-| unity/Assets/Editor/Generated1948VehicleReview/generated-1948-14-syrian-renault-r35/*.fbx | ASSETS.yaml | Tripo Studio textured GLB delivered 22 October 2026, preserved byte-for-byte in asset-sources/generated-1948/vehicles/ original archives. sources.json and per-model provenance.json identify the archive/member SHA-256 and provider model ID. The Unity FBX is a documented full-geometry compatibility conversion, not a provider FBX. The 4096px colour map is extracted byte-for-byte; no LOD, decimation or texture re-encoding. | verified |
| unity/Assets/Editor/Generated1948VehicleReview/generated-1948-16-egyptian-dakota-c47/*.fbx | ASSETS.yaml | Tripo Studio textured GLB delivered 22 October 2026, preserved byte-for-byte in asset-sources/generated-1948/vehicles/ original archives. sources.json and per-model provenance.json identify the archive/member SHA-256 and provider model ID. The Unity FBX is a documented full-geometry compatibility conversion, not a provider FBX. The 4096px colour map is extracted byte-for-byte; no LOD, decimation or texture re-encoding. | verified |
## Other
@@ -383,4 +383,4 @@ This is not a licence clearance or a completed store content survey. owner-verif
| asset-sources/generated-1948/figure-*/*-local-actions.json.gz | ASSETS.yaml | Existing local idle/walk retarget curve data, archived as byte-verified gzip with exact keys, handles and interpolation. Not provider animation files: provider rigged GLBs have zero clips. Per-model validation and archive receipts record source and decompressed hashes. | verified |
| asset-sources/generated-1948/vehicles/*.zip | ASSETS.yaml | Original statecraft-vehicles-aircraft-01.zip and -02.zip delivered 22 October 2026. Exact archive bytes retained; they contain the original textured GLBs and embedded 4096px colour maps for candidates 13, 14 and 16. Member and archive hashes are recorded and checked in sources.json and VehicleReviewSources.py. | verified |
| unity/Assets/Art/HexTiles/Props/* | ASSETS.yaml | Higgsfield (higgsfield.ai, Ultra plan), made 19-20 October 2026 for Tal Heuberger's hex-tile map: a concept image per prop (Nano Banana Pro, or GPT Image 2.5 Flare for the scrub, tent, garrigue, packing house, crates and boulders), then Tripo H3.1 image to 3D on Higgsfield (standard or detailed, face limit set per tile budget). The 20 props the hex tiles draw: the Arab village's minaret and prickly pear; Jaffa's clock tower, sea minaret and belfry; the coastal scrub; the Bedouin tent; the Judean garrigue; the railway halt's station, packing house, crates, well and eucalyptus; the coastal ruins' arcades, boulders and landing stage; the village mill's mill, threshing floor, terrace wall and sycamore fig. Slimmed in Blender 4.4: welded along Tripo's UV seams, kept at Tripo's own face count (320 to 7,390 triangles), the tent rebaked to 1,842 triangles and the scrub and garrigue baked onto closed hulls; colour maps resized to 512 px, no normal maps. The prompts, job ids, credits, masters and per-prop records are kept outside the repository. | verified |
-| unity/Assets/Editor/Generated1948Review/generated-1948-0[1-5]-*/*-light.asset | ASSETS.yaml | Derived from Tal Heuberger's originals (the FBX files in the generated-1948-01 to 05 house folders, listed in the ASSETS.yaml rows for unity/Assets/Editor/Generated1948Review/generated-1948-0N-*/*.fbx) by unity/Assets/Editor/HexTiles/HexHouseLevels.cs: a quadric-error half-edge collapse that keeps a subset of their own vertices (exact positions, UVs and normals) and adds none. Each <id>-light.json beside the mesh records the source FBX path, its SHA-256, the settings and the triangle counts. | verified |
+| unity/Assets/Art/Settlements/Prototype/Models/generated-1948-0[1-5]-*/*-light.asset | ASSETS.yaml | Derived from Tal Heuberger's originals (the FBX files in the generated-1948-01 to 05 house folders, listed in the ASSETS.yaml rows for unity/Assets/Art/Settlements/Prototype/Models/generated-1948-0N-*/*.fbx) by unity/Assets/Editor/HexTiles/HexHouseLevels.cs: a quadric-error half-edge collapse that keeps a subset of their own vertices (exact positions, UVs and normals) and adds none. Each <id>-light.json beside the mesh records the source FBX path, its SHA-256, the settings and the triangle counts. | verified |
diff --git a/docs/generated-1948-characters.md b/docs/generated-1948-characters.md
index 585824f7b..c7fd0fcd2 100644
--- a/docs/generated-1948-characters.md
+++ b/docs/generated-1948-characters.md
@@ -6,7 +6,7 @@ Seven characters generated by Tal Heuberger on 22 October 2026, credited under C
The owner signed off all of Tal Heuberger's generated models on 27 October 2026 (#756, "Sign off all 19"). Syrian and Iraqi infantry keep their existing sourced formation mappings. The Egyptian infantry stand on the Egyptian Expeditionary Force's token, drawn as one token (owner, 27 October 2026, "One token"; docs/units.md), and stream in a bundle of their own, `collection-figure-egyptian-infantry-1948-v1`, opened after the people's. The original C09 remains on campaign ALA tokens, and the new ALA infantry stands as their third figure (owner, 27 October 2026, "Third figure (Recommended)"), in a bundle of its own, `collection-figure-ala-infantry-1948-v1`, opened after the people's. The Lebanese regular stands on the Lebanese army's map-only token at al-Malikiyya from 6 June to 8 July 1948 (owner, 27 October 2026, "Map-only token (Recommended)"; 28 October 2026, "6 Jun to 8 Jul (Recommended)"), in a bundle of its own, `collection-figure-lebanese-regular-1948-v1`, opened after the people's. The Bedouin civilian stands at up to three served Bedouin camp areas, those of the camels (CivilianPeople), in its own bundle opened after the people's. The recreated local irregular is still editor-only review art under `Assets/Editor/Generated1948Review/`, until it has its own sourced placement. It is absent from People and Animated catalogs, Resources, all build scenes and runtime dependencies.
-The Syrian and Iraqi characters share their own bundle after the first frame; the Egyptian and ALA infantry, the Lebanese regular, the Bedouin civilian and the enclosed Bedouin tent each have their own. Both zoom levels use the same full model; there is no decimated far copy or automatic reduction. The older collection and its import path remain the maintainer’s #1273 lane. The catalog now holds 80 models in 79 bundles, including 27 animated models: Tal Heuberger's 73 originals, six runtime generated characters and the static Bedouin tent. Player first-download growth and People bundle bytes require actual build measurement; no estimate is called a measurement.
+The Syrian and Iraqi characters share their own bundle after the first frame; the Egyptian and ALA infantry, the Lebanese regular, the Bedouin civilian, the enclosed Bedouin tent, the Egyptian Spitfire, the Syrian Renault R35 at Degania Alef, the five generated houses and the khaki canvas tent each have their own. Both zoom levels use the same full model; there is no decimated far copy or automatic reduction. The older collection and its import path remain the maintainer’s #1273 lane. The catalog now holds 88 models in 87 bundles, including 27 animated models: Tal Heuberger's 73 originals, six runtime generated characters, the static Bedouin tent, the static Egyptian Spitfire, the static Syrian Renault R35, five static generated houses and the static khaki canvas tent. Player first-download growth and People bundle bytes require actual build measurement; no estimate is called a measurement.
## Import and review
diff --git a/docs/generated-buildings-props-mapping.json b/docs/generated-buildings-props-mapping.json
index 344a668ca..c80ae4394 100644
--- a/docs/generated-buildings-props-mapping.json
+++ b/docs/generated-buildings-props-mapping.json
@@ -1,45 +1,50 @@
{
- "status": "The enclosed Bedouin tent (06) is active at the Bedouin camp areas, in the runtime catalog and its own streamed bundle, following the owner's sign-off of 27 October 2026 (#756), recorded in docs/generated-buildings-props.md. The other ten remain editor-only until each has its own placement PR.",
+ "status": "The enclosed Bedouin tent (06) is active at the Bedouin camp areas, the houses 01 to 05 in their towns' house pools and the khaki canvas tent (08) at the transit camps, each in the runtime catalog and its own streamed bundle, following the owner's sign-off of 27 October 2026 (#756), recorded in docs/generated-buildings-props.md. The other four remain editor-only until each has its own placement PR.",
"models": [
{
"number": 1,
"id": "generated-1948-01-netanya-tiled-house-original",
"prepared_role": "Netanya tiled-house variation",
- "active_in_campaign": false,
- "source_visual_ready": false,
- "known_source_defect": true
+ "active_in_campaign": true,
+ "source_visual_ready": true,
+ "known_source_defect": false,
+ "campaign_placement": "Netanya's house pool (TownModels.Netanya); owner sign-off 27 October 2026 (#756)"
},
{
"number": 2,
"id": "generated-1948-02-netanya-two-storey-balcony-house",
"prepared_role": "Netanya two-storey variation",
- "active_in_campaign": false,
- "source_visual_ready": false,
- "known_source_defect": false
+ "active_in_campaign": true,
+ "source_visual_ready": true,
+ "known_source_defect": false,
+ "campaign_placement": "Netanya's house pool (TownModels.Netanya); owner sign-off 27 October 2026 (#756)"
},
{
"number": 3,
"id": "generated-1948-03-netanya-flat-roof-porch-house",
"prepared_role": "Netanya porch-house variation",
- "active_in_campaign": false,
- "source_visual_ready": false,
- "known_source_defect": true
+ "active_in_campaign": true,
+ "source_visual_ready": true,
+ "known_source_defect": false,
+ "campaign_placement": "Netanya's house pool (TownModels.Netanya); owner sign-off 27 October 2026 (#756)"
},
{
"number": 4,
"id": "generated-1948-04-dark-basalt-house",
"prepared_role": "Tiberias stone-house variation",
- "active_in_campaign": false,
- "source_visual_ready": false,
- "known_source_defect": false
+ "active_in_campaign": true,
+ "source_visual_ready": true,
+ "known_source_defect": false,
+ "campaign_placement": "Tiberias's house pool (TownModels.Tiberias); owner sign-off 27 October 2026 (#756)"
},
{
"number": 5,
"id": "generated-1948-05-plastered-courtyard-house-original",
"prepared_role": "Generic existing Village/ArabTown courtyard variation (including existing Jerusalem Village-style plots)",
- "active_in_campaign": false,
- "source_visual_ready": false,
- "known_source_defect": true
+ "active_in_campaign": true,
+ "source_visual_ready": true,
+ "known_source_defect": false,
+ "campaign_placement": "The stone-village pool of Arab towns and villages (TownModels.Stone); owner sign-off 27 October 2026 (#756)"
},
{
"number": 6,
@@ -54,9 +59,10 @@
"number": 8,
"id": "generated-1948-08-khaki-canvas-tent",
"prepared_role": "Existing non-white transit-camp ridge tents",
- "active_in_campaign": false,
- "source_visual_ready": false,
- "known_source_defect": false
+ "active_in_campaign": true,
+ "source_visual_ready": true,
+ "known_source_defect": false,
+ "campaign_placement": "In place of a transit camp's khaki ridge tents up close (CampTentModels; the kit's tents beyond the switch distance and whenever the model is missing); owner sign-off 27 October 2026 (#756)"
},
{
"number": 9,
diff --git a/docs/generated-buildings-props.md b/docs/generated-buildings-props.md
index 73e2b661e..a75088d37 100644
--- a/docs/generated-buildings-props.md
+++ b/docs/generated-buildings-props.md
@@ -1,18 +1,18 @@
# Generated buildings and props: source editor review
-**The owner signed off all of them on 27 October 2026 (#756, "Sign off all 19"). The enclosed Bedouin tent (06) is in the game at the Bedouin camp areas, in `Assets/Art/Collection/` and its own streamed bundle; the other ten are still editor-only until each has its own placement PR.** At Eyal's 24 October 2026 request on #1379 ("Ask Tal to regenerate"), Tal regenerated 01, 03 and 05 in Tripo Studio. The provider originals had roof gaps (01 and 05) and a broad rear opening (03); the new deliveries have one closed hipped roof (01), four closed walls (03) and one continuous L-shaped roof deck (05). Each is a provider delivery, not a local repair. The earlier local roof caps/rear panel stay offline and are not used. At that time none of the eleven had Eyal's final art/sensitivity sign-off; the 27 October sign-off above now covers all eleven.
+**The owner signed off all of them on 27 October 2026 (#756, "Sign off all 19"). The enclosed Bedouin tent (06) is in the game at the Bedouin camp areas, in `Assets/Art/Collection/` and its own streamed bundle. The five houses (01 to 05) are town buildings in `Assets/Art/Settlements/Prototype/Models/`, each streamed after the first frame like #507's: 01 to 03 among Netanya's houses, 04 at Tiberias, 05 among the stone-village houses. The khaki canvas tent (08) stands in for a transit camp's khaki ridge tents up close. The other four (the well, sandbags, crates and wall) are still editor-only until each has a sourced role.** At Eyal's 24 October 2026 request on #1379 ("Ask Tal to regenerate"), Tal regenerated 01, 03 and 05 in Tripo Studio. The provider originals had roof gaps (01 and 05) and a broad rear opening (03); the new deliveries have one closed hipped roof (01), four closed walls (03) and one continuous L-shaped roof deck (05). Each is a provider delivery, not a local repair. The earlier local roof caps/rear panel stay offline and are not used. At that time none of the eleven had Eyal's final art/sensitivity sign-off; the 27 October sign-off above now covers all eleven.
-The [admission receipt](generated-buildings-props-admission.json) identifies every source by hash. Byte-identical provider GLBs are archived under `asset-sources/generated-1948/<id>/<id>.glb`, outside Unity’s import tree. Each matching directory under `unity/Assets/Editor/Generated1948Review/` (for the placed tent, 06, under `unity/Assets/Art/Collection/`) contains the exact embedded 4096×4096 colour-map bytes, a local FBX compatibility export, material/prefab and provenance. The FBX is not a provider-original export. Conversion preserves triangle positions/connectivity and UVs within documented float serialization tolerance; its stored corner normals exactly match the Blender-imported source values. Blender's reimport quantization is recorded separately, rather than claimed to be exporter loss. No geometry centering, decimation, roof repair, atlas or texture resize/recompression is performed. The GLB remains the exact source of record.
+The [admission receipt](generated-buildings-props-admission.json) identifies every source by hash. Byte-identical provider GLBs are archived under `asset-sources/generated-1948/<id>/<id>.glb`, outside Unity’s import tree. Each matching directory under `unity/Assets/Editor/Generated1948Review/` (for the placed tent, 06, under `unity/Assets/Art/Collection/`; for the placed khaki tent, 08, under `unity/Assets/Art/Collection/`; for the five placed houses, 01 to 05, under `unity/Assets/Art/Settlements/Prototype/Models/`) contains the exact embedded 4096×4096 colour-map bytes, a local FBX compatibility export, material/prefab and provenance. The FBX is not a provider-original export. Conversion preserves triangle positions/connectivity and UVs within documented float serialization tolerance; its stored corner normals exactly match the Blender-imported source values. Blender's reimport quantization is recorded separately, rather than claimed to be exporter loss. No geometry centering, decimation, roof repair, atlas or texture resize/recompression is performed. The GLB remains the exact source of record.
| Number | Source triangles | Current readiness |
|---|---:|---|
-|01 tiled house|9324|Regenerated 24 Oct 2026; closed hipped roof; editor review captured, signed off 27 Oct 2026, placement pending|
-|02 balcony house|4798|Full-source editor review captured; signed off 27 Oct 2026, placement pending|
-|03 porch house|9261|Regenerated 24 Oct 2026; four closed walls; editor review captured, signed off 27 Oct 2026, placement pending|
-|04 lighter basalt variant|5624|Full-source editor review captured; signed off 27 Oct 2026, placement pending|
-|05 courtyard house|8193|Regenerated 24 Oct 2026; continuous roof deck; editor review captured, signed off 27 Oct 2026, placement pending|
-|06 enclosed Bedouin tent|3184|In the game since the owner's sign-off of 27 October 2026: at up to three Bedouin-area anchors, on clear ground apart from the code-built camps' plots, in its own streamed bundle|
-|08 khaki canvas tent|3988|Full-source editor review captured; signed off 27 Oct 2026, placement pending|
+|01 tiled house|9324|Signed off by the owner, 27 October 2026. In the game: Netanya's houses, a town building streamed after the first frame|
+|02 balcony house|4798|Signed off by the owner, 27 October 2026. In the game: Netanya's houses, a town building streamed after the first frame|
+|03 porch house|9261|Signed off by the owner, 27 October 2026. In the game: Netanya's houses, a town building streamed after the first frame|
+|04 lighter basalt variant|5624|Signed off by the owner, 27 October 2026. In the game: Tiberias's houses, a town building streamed after the first frame|
+|05 courtyard house|8193|Signed off by the owner, 27 October 2026. In the game: the stone-village houses of the Arab towns and villages, a town building streamed after the first frame|
+|06 enclosed Bedouin tent|3184|Signed off by the owner, 27 October 2026. In the game: at up to three Bedouin-area anchors, on clear ground apart from the code-built camps' plots, in its own streamed bundle|
+|08 khaki canvas tent|3988|Signed off by the owner, 27 October 2026. In the game: in place of a transit camp's khaki ridge tents up close, in its own streamed bundle|
|09 well|3992|Editor-only; no sourced map role|
|10 sandbags|4074|Editor-only; no sourced map role|
|11 crates|2126|Editor-only; no sourced map role|
@@ -22,17 +22,17 @@ Mesh and animation import compression are Off. Every source clip is kept; all el
## Loading and placement dependency
-Update, 27 October 2026: the tent (06) now streams after the first frame in its own bundle from `Assets/Art/Collection/`, placed by `RuralLife` at the Bedouin camp areas. No player scene and no Resources asset depends on it (`CollectionImportTests.PlacedGeneratedModelsReachThePlayerOnlyThroughTheirOwnBundles`). The rest of this section describes the other ten, as delivered.
+Update, 27 October 2026: the tent (06) now streams after the first frame in its own bundle from `Assets/Art/Collection/`, placed by `RuralLife` at the Bedouin camp areas. The five houses (01 to 05) stream after the first frame, each in its own bundle from `Assets/Art/Settlements/Prototype/Models/`, asked for by `TownModelLayer` only for towns a camera is close to: 01 to 03 in Netanya only, 04 on Tiberias's plots, 05 among the courtyard houses of the stone villages and Arab towns (Jerusalem's village plots included). The Tiberias hex board draws the lighter level of 04 in the editor (`HexModels.HouseLevels`, #1901); a player keeps the board's basalt stand-ins, since the houses' bundles carry only their full `-stream` prefabs. No player scene and no Resources asset depends on the tent or the houses (`CollectionImportTests.PlacedGeneratedModelsReachThePlayerOnlyThroughTheirOwnBundles`). The khaki tent (08) streams after the first frame in its own bundle from `Assets/Art/Collection/`, owned by `CampTentModels` only while a camera is close to a transit camp, in place of that camp's khaki ridge tents. The rest of this section describes the other four, as delivered.
-Eyal's [23 October rulings](https://github.com/eyalgolan/statecraft-israel/pull/1379#issuecomment-6358297184) require own streamed bundles after the first frame, or the houses may use #1273's town-building streaming once it lands. Current main `703d87cf` has no compatible town-stream interface. This branch does not build that system: it removes its new campaign/catalog references, leaves existing towns/camps unchanged and records only [prepared mappings](generated-buildings-props-mapping.json) outside runtime code. Nothing new enters Resources, the 1948 Collection or the initial player art dependency graph. No WebGL download measurement is claimed.
+As delivered on #1379 (24 October 2026), before #1273's town-building streaming: Eyal's [23 October rulings](https://github.com/eyalgolan/statecraft-israel/pull/1379#issuecomment-6358297184) require own streamed bundles after the first frame, or the houses may use #1273's town-building streaming once it lands. Current main `703d87cf` has no compatible town-stream interface. This branch does not build that system: it removes its new campaign/catalog references, leaves existing towns/camps unchanged and records only [prepared mappings](generated-buildings-props-mapping.json) outside runtime code. Nothing new enters Resources, the 1948 Collection or the initial player art dependency graph. No WebGL download measurement is claimed.
-The intended mappings remain Netanya houses, Tiberias stone house, generic Village/ArabTown courtyard variation, existing Bedouin tent plots and existing non-white transit-camp ridge tents. Only the tent's is active, and in a changed form: the tent stands on clear ground in the Bedouin camp area rather than in one of the code-built camps' tent plots, so the code-built tents are unchanged (coordinator decision). The others are inactive. Future activation still needs before/after screenshots at matching state/camera for each affected role, including Jerusalem, an Arab village and both camp types, and Eyal's art/sensitivity sign-off. Tal's earlier asset/repair approval is not presented as Eyal's approval. The four props remain editor review art until a sourced role exists.
+The intended mappings remain Netanya houses, Tiberias stone house, generic Village/ArabTown courtyard variation, existing Bedouin tent plots and existing non-white transit-camp ridge tents. The houses' mappings (01 to 05) are active as planned. The tent's is active in a changed form: the tent stands on clear ground in the Bedouin camp area rather than in one of the code-built camps' tent plots, so the code-built tents are unchanged (coordinator decision). The khaki tent's (08) is active as planned. The owner's sign-off of all eleven was given on 27 October 2026 (#756, "Sign off all 19"). Each placement PR still has to carry before/after screenshots at matching state and camera for the roles it touches, including Jerusalem, an Arab village and both camp types. Tal's earlier asset/repair approval is not presented as Eyal's approval. The four props remain editor review art until a sourced role exists.
## Editor review and validation
The review scene lives under `Assets/Editor/Generated1948Review/`, is absent from build settings and has no runtime loader. Its component is guarded by `UNITY_EDITOR`. Use **Statecraft → Generated 1948 → Prepare buildings and props**, then **Play buildings and props review**. Preparation validates lossless imports and sets up only editor prefabs/scene references. It never appends a catalog entry, writes TownModels.asset or generates LODs.
-The [QA receipt](generated-buildings-props-qa.json) records current verification and remaining gates. For the 24 October regeneration, each new geometry passed a single-sided opening check before it was textured: rays cast from above, from four sides and from four elevated diagonals, and they find no roof or wall opening beyond doorway and window recesses and the open porch. Rear views were 11.2% see-through for the old 03 and are 0.0% now. Top views of 01 were 2.0% see-through and are 0.0% now, and 05's roof deck is closed over both wings. Hits that remain are well under 1% from the elevated views and come from open doorway or window recesses and the 01 porch, which is open by design. The FBX conversion keeps triangle positions, connectivity and UVs, and its stored corner normals match the source exactly. For 03, Blender's reimport reports a 1.0 normal difference on a degenerate face; Unity imports the stored normals, so this does not affect the review. Unity 6000.3.25f1 EditMode `Generated1948AssetTests|Generated1948BuildingsPropsTests` passed 5/5 with no compiler warnings or errors, covering actual import and settings, source hashes, triangle counts, player dependency isolation and layout. `tools/tests/test_generated_buildings_props_package.py` passes. Local Editor Play Mode evidence is in `captures/buildings-props-regenerated-review-v3/`: `all11-overview.png`, `regenerated-overview.jpg`, and front and rear views of the three regenerated houses in `regenerated-front-rear-contact.jpg`. Previous original-source captures stay in `captures/buildings-props-originals-review-v2/` for comparison. That 24 October verification claimed no player/WebGL result and no art approval; the owner's sign-off of all eleven followed on 27 October 2026 (#756, "Sign off all 19"). Each placement PR must record its own player measurements against main: the data.gz, wasm.gz and framework sizes of a gzip WebGL build, each new streamed bundle's size, a headed boot timing, and the opening request log. They cover only that PR's change on that day's main. For the tent they are in #1893 (28 October 2026).
+The [QA receipt](generated-buildings-props-qa.json) records the verification of 24 October 2026 and the gates still open then. For the 24 October regeneration, each new geometry passed a single-sided opening check before it was textured: rays cast from above, from four sides and from four elevated diagonals, and they find no roof or wall opening beyond doorway and window recesses and the open porch. Rear views were 11.2% see-through for the old 03 and are 0.0% now. Top views of 01 were 2.0% see-through and are 0.0% now, and 05's roof deck is closed over both wings. Hits that remain are well under 1% from the elevated views and come from open doorway or window recesses and the 01 porch, which is open by design. The FBX conversion keeps triangle positions, connectivity and UVs, and its stored corner normals match the source exactly. For 03, Blender's reimport reports a 1.0 normal difference on a degenerate face; Unity imports the stored normals, so this does not affect the review. Unity 6000.3.25f1 EditMode `Generated1948AssetTests|Generated1948BuildingsPropsTests` passed 5/5 with no compiler warnings or errors, covering actual import and settings, source hashes, triangle counts, player dependency isolation and layout. `tools/tests/test_generated_buildings_props_package.py` passes. Local Editor Play Mode evidence is in `captures/buildings-props-regenerated-review-v3/`: `all11-overview.png`, `regenerated-overview.jpg`, and front and rear views of the three regenerated houses in `regenerated-front-rear-contact.jpg`. Previous original-source captures stay in `captures/buildings-props-originals-review-v2/` for comparison. That 24 October verification claimed no player/WebGL result and no art approval; the owner's sign-off of all eleven followed on 27 October 2026 (#756, "Sign off all 19"). Each placement PR must record its own player measurements against main: the data.gz, wasm.gz and framework sizes of a gzip WebGL build, each new streamed bundle's size, a headed boot timing, and the opening request log. They cover only that PR's change on that day's main. For the tent they are in #1893 (28 October 2026).
New model/map licensing is CC BY-NC-ND 4.0, credited to **Tal Heuberger**, under the precise new row in [LICENSING.md](../LICENSING.md). Older asset licences are unchanged. This records the requested file licence; it does not tick the contributor-consent checkbox.
diff --git a/docs/map-model-residency.md b/docs/map-model-residency.md
index d5f886a81..9e8ded8a3 100644
--- a/docs/map-model-residency.md
+++ b/docs/map-model-residency.md
@@ -23,4 +23,4 @@ The complete-geometry fixture intentionally admits every original town, unlike p
The 73 original FBX files and their 73 colour JPEGs are pinned in `docs/original-models.json` against Tal Heuberger's #507 and #336 commits. Of these, 54 FBX have only the author's absolute-path text blanked to ASCII spaces of the same byte length, as the owner ruled on #1273; the remaining 19 FBX and all 73 JPEGs are source-byte-identical. No geometry, clip, compression or image bytes were otherwise changed. The manifest records every unequal byte offset and only redacted path patterns. Stream prefabs, import metadata, controllers/materials and TownModels.asset are generated repository artifacts, not Tal's original files. ASSETS.yaml has exact current original-file CC BY-NC-ND 4.0 rows; retained historical slim-derivative records keep their historical basis.
-Fresh main's independently generated Syrian and Iraqi figures keep their own shared bundle, rig, clips and source art unchanged. Tal Heuberger's 73 originals each use an independent bundle; the six runtime generated characters and the static Bedouin tent bring the catalogue to 80 models in 79 bundles, including 27 animated models. The shared Arab bundle still waits for every queued people request to settle, including when people are spread across independent original bundles. Far Tal originals sample frame zero; the generated rigs remain animated at both placement details. The Egyptian and ALA infantry, the Lebanese regular and the Bedouin civilian and tent are runtime models, each in its own bundle; current formation mappings are preserved.
+Fresh main's independently generated Syrian and Iraqi figures keep their own shared bundle, rig, clips and source art unchanged. Tal Heuberger's 73 originals each use an independent bundle; the six runtime generated characters, the static Bedouin tent, the static Egyptian Spitfire, the static Syrian Renault R35, five static generated houses and the static khaki canvas tent bring the catalogue to 88 models in 87 bundles, including 27 animated models. The shared Arab bundle still waits for every queued people request to settle, including when people are spread across independent original bundles. Far Tal originals sample frame zero; the generated rigs remain animated at both placement details. The Egyptian and ALA infantry, the Lebanese regular, the Bedouin civilian and tent, the Spitfire, the R35, the five houses and the khaki tent are runtime models, each in its own bundle; current formation mappings are preserved.
diff --git a/docs/original-models.json b/docs/original-models.json
index a828fb13a..655e8dcf0 100644
--- a/docs/original-models.json
+++ b/docs/original-models.json
@@ -10566,8 +10566,8 @@
},
{
"path": "unity/Assets/Art/Settlements/TownModels.asset",
- "size": 7796,
- "shipped_sha256": "8063e189957ea8eee1af792e37fbf7b44eb0354c64272a8f7616080699748bc4",
+ "size": 9811,
+ "shipped_sha256": "b51828adcc93f3f2a383b3d806b5e1f4ea16749ee9da1fefa2c38af3182c33a9",
"source": "generated (ours)",
"tal_commit": null,
"source_path": null,
diff --git a/docs/vehicle-review-2026-10-22.md b/docs/vehicle-review-2026-10-22.md
index 80ca10712..053978405 100644
--- a/docs/vehicle-review-2026-10-22.md
+++ b/docs/vehicle-review-2026-10-22.md
@@ -1,6 +1,6 @@
# Generated vehicle review — original sources
-Refs #756. PR #1378 keeps three candidates as **editor-only review art** until a sourced gameplay placement and art/sensitivity sign-off exist. This follows the [23 October owner rulings](https://github.com/eyalgolan/statecraft-israel/pull/1378#issuecomment-6358296929) and [original review](https://github.com/eyalgolan/statecraft-israel/pull/1378#issuecomment-6357803018).
+Refs #756. PR #1378 keeps three candidates as **editor-only review art** until a sourced gameplay placement and art/sensitivity sign-off exist. Update, 27 October 2026: the owner signed off all three ("Sign off all 19") and chose the R35's placement, "Degania landmark (Recommended)": it now stands at Degania Alef from 20 May 1948 (`SpecialBuildingModels`), from `Assets/Art/Collection/generated-1948-14-syrian-renault-r35/` in its own streamed bundle, with its colour map compressed (no Crunch, full 4096 px) like the other placed generated models. The Dakota stays in review until a sourced placement exists; the Spitfire was placed later (#1932, below). This follows the [23 October owner rulings](https://github.com/eyalgolan/statecraft-israel/pull/1378#issuecomment-6358296929) and [original review](https://github.com/eyalgolan/statecraft-israel/pull/1378#issuecomment-6357803018).
| Candidate | Original GLB triangles | Original colour map | Original animation clips |
| --- | --- | --- | --- |
diff --git a/research_notes/Map/degania-r35.md b/research_notes/Map/degania-r35.md
new file mode 100644
index 000000000..4d1b6dc79
--- /dev/null
+++ b/research_notes/Map/degania-r35.md
@@ -0,0 +1,19 @@
+# Degania Alef's R35: the sources of the placed tank
+
+Sources for Tal Heuberger's Syrian Renault R35 at Degania Alef (`SpecialBuildingModels`, key `degania_r35`; owner, 27 October 2026, "Degania landmark (Recommended)").
+
+## The tank stopped at Degania Alef, 20 May 1948
+
+- Jewish Virtual Library, credited to the IDF, already cited by `content/events/degania_defence.yaml` (checked 2026-10-24): the dawn attack on Degania A and Degania B on 20 May, and "an R35 that broke through the fence and was stopped (it stands there today)".
+- English Wikipedia, "Renault R35", section on Syria and Lebanon (https://en.wikipedia.org/wiki/Renault_R35, checked 2026-10-28):
+ - "The R35 saw combat in Syrian hands when five R35s took part in an unsuccessful Syrian Army attack on the Jewish kibbutz Degania Alef in the Galilee on 20 May 1948, during the Battles of the Kinarot Valley."
+ - "One of the disabled R35s remains near the kibbutz today as a memorial of the 1947–1949 Palestine war."
+ - Photo caption: "A knocked-out Syrian R-35 at Degania Alef".
+
+## Its length
+
+- English Wikipedia, "Renault R35", infobox, Length: "4.02 m (13 ft 2 in)" (checked 2026-10-28). This is the infobox's overall length of the tank; the game sizes the model by its long side seen from above (`SpecialBuildingModels.RealLengthM`), at the one world scale of the placed models.
+
+## Its point
+
+The model's centre stands on Degania Alef's drawn kit bounds widened by one model-clearance on each side (one clearance beyond a side, up to the square root of two clearances beyond a corner), on the side facing the nearest mapped transport segment. The bounds come from the kit meshes, so they are the same with the kits hidden. If no route-facing spot is available (no kit footprint or drawn houses, no mapped route, or every candidate taken), it logs a warning and uses the stable seeded search around the settlement anchor (`content/map/settlements_1948.yaml`, `degania_alef`, lon 35.5747, lat 32.7081, from en.wiki Degania Alef). It is a schematic placement at the kibbutz, not a surveyed position of the tank or of the fence.
diff --git a/tools/tests/test_generated_buildings_props_package.py b/tools/tests/test_generated_buildings_props_package.py
index 9382c0992..7765303ac 100644
--- a/tools/tests/test_generated_buildings_props_package.py
+++ b/tools/tests/test_generated_buildings_props_package.py
@@ -18,7 +18,9 @@ def test_original_building_archive_matches_every_admission_receipt():
assert hashlib.sha256(data).hexdigest() == row['source_glb_sha256']
# A model placed in the game lives in the 1948 Collection's folder (owner, 27 October 2026, "Sign off all 19").
review = ROOT / 'unity/Assets/Editor/Generated1948Review' / row['id'] / 'provenance.json'
- placed = ROOT / 'unity/Assets/Art/Collection' / row['id'] / 'provenance.json'
- assert review.exists() != placed.exists(), row['id']
- provenance = review if review.exists() else placed
+ placed = [ROOT / 'unity/Assets/Art/Collection' / row['id'] / 'provenance.json',
+ ROOT / 'unity/Assets/Art/Settlements/Prototype/Models' / row['id'] / 'provenance.json']
+ found = [p for p in [review] + placed if p.exists()]
+ assert len(found) == 1, row['id']
+ provenance = found[0]
assert json.loads(provenance.read_text())['source_archive_path'] == row['source_archive_path']
diff --git a/tools/tests/test_slim_collection.py b/tools/tests/test_slim_collection.py
index 045d878a9..aa2ab6fcc 100644
--- a/tools/tests/test_slim_collection.py
+++ b/tools/tests/test_slim_collection.py
@@ -27,6 +27,8 @@ GENERATED_FIGURES = [
GENERATED_PROPS = [
"generated-1948-06-bedouin-b-enclosed-striped-tent",
"generated-1948-13-egyptian-spitfire",
+ "generated-1948-14-syrian-renault-r35",
+ "generated-1948-08-khaki-canvas-tent",
]
diff --git a/tools/tests/test_vehicle_review_sources.py b/tools/tests/test_vehicle_review_sources.py
index 8410373da..f723e07d1 100644
--- a/tools/tests/test_vehicle_review_sources.py
+++ b/tools/tests/test_vehicle_review_sources.py
@@ -1,6 +1,7 @@
"""unity/Assets/Editor/VehicleReviewSources.py --verify checks the three delivered vehicle archives against the files the
repo ships. #2014 moved the Egyptian Spitfire (placed in the game, #1932) to the Collection folder and renamed its FBX to
-the Collection's <id>.fbx; the other two stay review-only in the Editor folder. This fails when verify stops following
+the Collection's <id>.fbx. #2046 moved the Syrian R35 there too, under its delivered -compatibility.fbx name; the Dakota
+stays review-only in the Editor folder. This fails when verify stops following
the move (it would then look for a model that is no longer there, or pass without checking the shipped one)."""
import importlib.util
from pathlib import Path
@@ -8,6 +9,7 @@ from pathlib import Path
ROOT = Path(__file__).resolve().parents[2]
SCRIPT = ROOT / "unity/Assets/Editor/VehicleReviewSources.py"
SPITFIRE = "generated-1948-13-egyptian-spitfire"
+R35 = "generated-1948-14-syrian-renault-r35"
COLLECTION = Path("unity/Assets/Art/Collection")
REVIEW = Path("unity/Assets/Editor/Generated1948VehicleReview")
@@ -24,8 +26,11 @@ def test_the_placed_spitfire_is_verified_where_the_game_ships_it():
assert mod.home(SPITFIRE) == COLLECTION / SPITFIRE, "the placed Spitfire is checked in the Collection folder (#2014)"
assert mod.fbx_name(SPITFIRE) == SPITFIRE + ".fbx", "under the Collection's <id>.fbx name (#2014)"
assert (ROOT / mod.home(SPITFIRE) / mod.fbx_name(SPITFIRE)).is_file()
- for mid in set(mod.IDS.values()) - {SPITFIRE}:
+ # #2046 placed the R35 too: in the Collection folder, under its delivered -compatibility.fbx name.
+ assert mod.home(R35) == COLLECTION / R35, "the placed R35 is checked in the Collection folder (#2046)"
+ for mid in set(mod.IDS.values()) - {SPITFIRE, R35}:
assert mod.home(mid) == REVIEW / mid, f"{mid} stays review-only"
+ for mid in set(mod.IDS.values()) - {SPITFIRE}:
assert mod.fbx_name(mid) == mid + "-compatibility.fbx", mid
assert (ROOT / mod.home(mid) / mod.fbx_name(mid)).is_file()
diff --git a/unity/Assets/Editor/Generated1948Review/generated-1948-08-khaki-canvas-tent.meta b/unity/Assets/Art/Collection/generated-1948-08-khaki-canvas-tent.meta
similarity index 100%
rename from unity/Assets/Editor/Generated1948Review/generated-1948-08-khaki-canvas-tent.meta
rename to unity/Assets/Art/Collection/generated-1948-08-khaki-canvas-tent.meta
diff --git a/unity/Assets/Editor/Generated1948Review/generated-1948-08-khaki-canvas-tent/generated-1948-08-khaki-canvas-tent.fbx b/unity/Assets/Art/Collection/generated-1948-08-khaki-canvas-tent/generated-1948-08-khaki-canvas-tent.fbx
similarity index 100%
rename from unity/Assets/Editor/Generated1948Review/generated-1948-08-khaki-canvas-tent/generated-1948-08-khaki-canvas-tent.fbx
rename to unity/Assets/Art/Collection/generated-1948-08-khaki-canvas-tent/generated-1948-08-khaki-canvas-tent.fbx
diff --git a/unity/Assets/Editor/Generated1948Review/generated-1948-08-khaki-canvas-tent/generated-1948-08-khaki-canvas-tent.fbx.meta b/unity/Assets/Art/Collection/generated-1948-08-khaki-canvas-tent/generated-1948-08-khaki-canvas-tent.fbx.meta
similarity index 100%
rename from unity/Assets/Editor/Generated1948Review/generated-1948-08-khaki-canvas-tent/generated-1948-08-khaki-canvas-tent.fbx.meta
rename to unity/Assets/Art/Collection/generated-1948-08-khaki-canvas-tent/generated-1948-08-khaki-canvas-tent.fbx.meta
diff --git a/unity/Assets/Editor/Generated1948Review/generated-1948-08-khaki-canvas-tent/generated-1948-08-khaki-canvas-tent.mat b/unity/Assets/Art/Collection/generated-1948-08-khaki-canvas-tent/generated-1948-08-khaki-canvas-tent.mat
similarity index 100%
rename from unity/Assets/Editor/Generated1948Review/generated-1948-08-khaki-canvas-tent/generated-1948-08-khaki-canvas-tent.mat
rename to unity/Assets/Art/Collection/generated-1948-08-khaki-canvas-tent/generated-1948-08-khaki-canvas-tent.mat
diff --git a/unity/Assets/Editor/Generated1948Review/generated-1948-08-khaki-canvas-tent/generated-1948-08-khaki-canvas-tent.mat.meta b/unity/Assets/Art/Collection/generated-1948-08-khaki-canvas-tent/generated-1948-08-khaki-canvas-tent.mat.meta
similarity index 100%
rename from unity/Assets/Editor/Generated1948Review/generated-1948-08-khaki-canvas-tent/generated-1948-08-khaki-canvas-tent.mat.meta
rename to unity/Assets/Art/Collection/generated-1948-08-khaki-canvas-tent/generated-1948-08-khaki-canvas-tent.mat.meta
diff --git a/unity/Assets/Editor/Generated1948Review/generated-1948-08-khaki-canvas-tent/generated-1948-08-khaki-canvas-tent.prefab b/unity/Assets/Art/Collection/generated-1948-08-khaki-canvas-tent/generated-1948-08-khaki-canvas-tent.prefab
similarity index 100%
rename from unity/Assets/Editor/Generated1948Review/generated-1948-08-khaki-canvas-tent/generated-1948-08-khaki-canvas-tent.prefab
rename to unity/Assets/Art/Collection/generated-1948-08-khaki-canvas-tent/generated-1948-08-khaki-canvas-tent.prefab
diff --git a/unity/Assets/Editor/Generated1948Review/generated-1948-08-khaki-canvas-tent/generated-1948-08-khaki-canvas-tent.prefab.meta b/unity/Assets/Art/Collection/generated-1948-08-khaki-canvas-tent/generated-1948-08-khaki-canvas-tent.prefab.meta
similarity index 100%
rename from unity/Assets/Editor/Generated1948Review/generated-1948-08-khaki-canvas-tent/generated-1948-08-khaki-canvas-tent.prefab.meta
rename to unity/Assets/Art/Collection/generated-1948-08-khaki-canvas-tent/generated-1948-08-khaki-canvas-tent.prefab.meta
diff --git a/unity/Assets/Editor/Generated1948Review/generated-1948-08-khaki-canvas-tent/generated-1948-08-khaki-canvas-tent_basecolor.jpg b/unity/Assets/Art/Collection/generated-1948-08-khaki-canvas-tent/generated-1948-08-khaki-canvas-tent_basecolor.jpg
similarity index 100%
rename from unity/Assets/Editor/Generated1948Review/generated-1948-08-khaki-canvas-tent/generated-1948-08-khaki-canvas-tent_basecolor.jpg
rename to unity/Assets/Art/Collection/generated-1948-08-khaki-canvas-tent/generated-1948-08-khaki-canvas-tent_basecolor.jpg
diff --git a/unity/Assets/Editor/Generated1948Review/generated-1948-08-khaki-canvas-tent/generated-1948-08-khaki-canvas-tent_basecolor.jpg.meta b/unity/Assets/Art/Collection/generated-1948-08-khaki-canvas-tent/generated-1948-08-khaki-canvas-tent_basecolor.jpg.meta
similarity index 100%
rename from unity/Assets/Editor/Generated1948Review/generated-1948-08-khaki-canvas-tent/generated-1948-08-khaki-canvas-tent_basecolor.jpg.meta
rename to unity/Assets/Art/Collection/generated-1948-08-khaki-canvas-tent/generated-1948-08-khaki-canvas-tent_basecolor.jpg.meta
diff --git a/unity/Assets/Editor/Generated1948Review/generated-1948-08-khaki-canvas-tent/provenance.json b/unity/Assets/Art/Collection/generated-1948-08-khaki-canvas-tent/provenance.json
similarity index 86%
rename from unity/Assets/Editor/Generated1948Review/generated-1948-08-khaki-canvas-tent/provenance.json
rename to unity/Assets/Art/Collection/generated-1948-08-khaki-canvas-tent/provenance.json
index 564f349da..7467c3a75 100644
--- a/unity/Assets/Editor/Generated1948Review/generated-1948-08-khaki-canvas-tent/provenance.json
+++ b/unity/Assets/Art/Collection/generated-1948-08-khaki-canvas-tent/provenance.json
@@ -16,8 +16,8 @@
"compatibility_fbx": "Local GLB-to-FBX export, never provider-original FBX",
"decimation": false,
"local_geometry_repairs": false,
- "campaign_status": "Held: #1273/own-streamed bundle interface and maintainer art/sensitivity sign-off pending",
- "source_caveats": "Original source review pending at full quality",
+ "campaign_status": "In the game in place of a transit camp's khaki ridge tents up close (CampTentModels), streamed in its own bundle; signed off by the owner 27 October 2026 (#756)",
+ "source_caveats": "Signed off by the owner 27 October 2026 (#756)",
"fbx_sha256": "180d2007bef274313b9c4899570b4552cc408ccdec8c210ddcc9a6df6b904fe2",
"compatibility_export_triangles": 3988,
"triangle_corner_positions_preserved": true,
diff --git a/unity/Assets/Editor/Generated1948Review/generated-1948-08-khaki-canvas-tent/provenance.json.meta b/unity/Assets/Art/Collection/generated-1948-08-khaki-canvas-tent/provenance.json.meta
similarity index 100%
rename from unity/Assets/Editor/Generated1948Review/generated-1948-08-khaki-canvas-tent/provenance.json.meta
rename to unity/Assets/Art/Collection/generated-1948-08-khaki-canvas-tent/provenance.json.meta
diff --git a/unity/Assets/Editor/Generated1948VehicleReview/generated-1948-14-syrian-renault-r35.meta b/unity/Assets/Art/Collection/generated-1948-14-syrian-renault-r35.meta
similarity index 100%
rename from unity/Assets/Editor/Generated1948VehicleReview/generated-1948-14-syrian-renault-r35.meta
rename to unity/Assets/Art/Collection/generated-1948-14-syrian-renault-r35.meta
diff --git a/unity/Assets/Editor/Generated1948VehicleReview/generated-1948-14-syrian-renault-r35/generated-1948-14-syrian-renault-r35-compatibility.fbx b/unity/Assets/Art/Collection/generated-1948-14-syrian-renault-r35/generated-1948-14-syrian-renault-r35-compatibility.fbx
similarity index 100%
rename from unity/Assets/Editor/Generated1948VehicleReview/generated-1948-14-syrian-renault-r35/generated-1948-14-syrian-renault-r35-compatibility.fbx
rename to unity/Assets/Art/Collection/generated-1948-14-syrian-renault-r35/generated-1948-14-syrian-renault-r35-compatibility.fbx
diff --git a/unity/Assets/Editor/Generated1948VehicleReview/generated-1948-14-syrian-renault-r35/generated-1948-14-syrian-renault-r35-compatibility.fbx.meta b/unity/Assets/Art/Collection/generated-1948-14-syrian-renault-r35/generated-1948-14-syrian-renault-r35-compatibility.fbx.meta
similarity index 100%
rename from unity/Assets/Editor/Generated1948VehicleReview/generated-1948-14-syrian-renault-r35/generated-1948-14-syrian-renault-r35-compatibility.fbx.meta
rename to unity/Assets/Art/Collection/generated-1948-14-syrian-renault-r35/generated-1948-14-syrian-renault-r35-compatibility.fbx.meta
diff --git a/unity/Assets/Editor/Generated1948VehicleReview/generated-1948-14-syrian-renault-r35/generated-1948-14-syrian-renault-r35.mat b/unity/Assets/Art/Collection/generated-1948-14-syrian-renault-r35/generated-1948-14-syrian-renault-r35.mat
similarity index 100%
rename from unity/Assets/Editor/Generated1948VehicleReview/generated-1948-14-syrian-renault-r35/generated-1948-14-syrian-renault-r35.mat
rename to unity/Assets/Art/Collection/generated-1948-14-syrian-renault-r35/generated-1948-14-syrian-renault-r35.mat
diff --git a/unity/Assets/Editor/Generated1948VehicleReview/generated-1948-14-syrian-renault-r35/generated-1948-14-syrian-renault-r35.mat.meta b/unity/Assets/Art/Collection/generated-1948-14-syrian-renault-r35/generated-1948-14-syrian-renault-r35.mat.meta
similarity index 100%
rename from unity/Assets/Editor/Generated1948VehicleReview/generated-1948-14-syrian-renault-r35/generated-1948-14-syrian-renault-r35.mat.meta
rename to unity/Assets/Art/Collection/generated-1948-14-syrian-renault-r35/generated-1948-14-syrian-renault-r35.mat.meta
diff --git a/unity/Assets/Editor/Generated1948VehicleReview/generated-1948-14-syrian-renault-r35/generated-1948-14-syrian-renault-r35.prefab b/unity/Assets/Art/Collection/generated-1948-14-syrian-renault-r35/generated-1948-14-syrian-renault-r35.prefab
similarity index 100%
rename from unity/Assets/Editor/Generated1948VehicleReview/generated-1948-14-syrian-renault-r35/generated-1948-14-syrian-renault-r35.prefab
rename to unity/Assets/Art/Collection/generated-1948-14-syrian-renault-r35/generated-1948-14-syrian-renault-r35.prefab
diff --git a/unity/Assets/Editor/Generated1948VehicleReview/generated-1948-14-syrian-renault-r35/generated-1948-14-syrian-renault-r35.prefab.meta b/unity/Assets/Art/Collection/generated-1948-14-syrian-renault-r35/generated-1948-14-syrian-renault-r35.prefab.meta
similarity index 100%
rename from unity/Assets/Editor/Generated1948VehicleReview/generated-1948-14-syrian-renault-r35/generated-1948-14-syrian-renault-r35.prefab.meta
rename to unity/Assets/Art/Collection/generated-1948-14-syrian-renault-r35/generated-1948-14-syrian-renault-r35.prefab.meta
diff --git a/unity/Assets/Editor/Generated1948VehicleReview/generated-1948-14-syrian-renault-r35/generated-1948-14-syrian-renault-r35_basecolor.jpg b/unity/Assets/Art/Collection/generated-1948-14-syrian-renault-r35/generated-1948-14-syrian-renault-r35_basecolor.jpg
similarity index 100%
rename from unity/Assets/Editor/Generated1948VehicleReview/generated-1948-14-syrian-renault-r35/generated-1948-14-syrian-renault-r35_basecolor.jpg
rename to unity/Assets/Art/Collection/generated-1948-14-syrian-renault-r35/generated-1948-14-syrian-renault-r35_basecolor.jpg
diff --git a/unity/Assets/Editor/Generated1948VehicleReview/generated-1948-14-syrian-renault-r35/generated-1948-14-syrian-renault-r35_basecolor.jpg.meta b/unity/Assets/Art/Collection/generated-1948-14-syrian-renault-r35/generated-1948-14-syrian-renault-r35_basecolor.jpg.meta
similarity index 73%
rename from unity/Assets/Editor/Generated1948VehicleReview/generated-1948-14-syrian-renault-r35/generated-1948-14-syrian-renault-r35_basecolor.jpg.meta
rename to unity/Assets/Art/Collection/generated-1948-14-syrian-renault-r35/generated-1948-14-syrian-renault-r35_basecolor.jpg.meta
index 94ac56ff7..0185273bf 100644
--- a/unity/Assets/Editor/Generated1948VehicleReview/generated-1948-14-syrian-renault-r35/generated-1948-14-syrian-renault-r35_basecolor.jpg.meta
+++ b/unity/Assets/Art/Collection/generated-1948-14-syrian-renault-r35/generated-1948-14-syrian-renault-r35_basecolor.jpg.meta
@@ -42,7 +42,7 @@ TextureImporter:
wrapW: 0
nPOTScale: 1
lightmap: 0
- compressionQuality: 50
+ compressionQuality: 100
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
@@ -72,8 +72,34 @@ TextureImporter:
maxTextureSize: 4096
resizeAlgorithm: 0
textureFormat: -1
- textureCompression: 0
- compressionQuality: 50
+ textureCompression: 1
+ compressionQuality: 100
+ crunchedCompression: 0
+ allowsAlphaSplitting: 0
+ overridden: 0
+ ignorePlatformSupport: 0
+ androidETC2FallbackOverride: 0
+ forceMaximumCompressionQuality_BC6H_BC7: 0
+ - serializedVersion: 4
+ buildTarget: Standalone
+ maxTextureSize: 4096
+ resizeAlgorithm: 0
+ textureFormat: -1
+ textureCompression: 1
+ compressionQuality: 100
+ crunchedCompression: 0
+ allowsAlphaSplitting: 0
+ overridden: 0
+ ignorePlatformSupport: 0
+ androidETC2FallbackOverride: 0
+ forceMaximumCompressionQuality_BC6H_BC7: 0
+ - serializedVersion: 4
+ buildTarget: WebGL
+ maxTextureSize: 4096
+ resizeAlgorithm: 0
+ textureFormat: -1
+ textureCompression: 1
+ compressionQuality: 100
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
diff --git a/unity/Assets/Editor/Generated1948VehicleReview/generated-1948-14-syrian-renault-r35/provenance.json b/unity/Assets/Art/Collection/generated-1948-14-syrian-renault-r35/provenance.json
similarity index 90%
rename from unity/Assets/Editor/Generated1948VehicleReview/generated-1948-14-syrian-renault-r35/provenance.json
rename to unity/Assets/Art/Collection/generated-1948-14-syrian-renault-r35/provenance.json
index f609c1459..f304fe852 100644
--- a/unity/Assets/Editor/Generated1948VehicleReview/generated-1948-14-syrian-renault-r35/provenance.json
+++ b/unity/Assets/Art/Collection/generated-1948-14-syrian-renault-r35/provenance.json
@@ -23,5 +23,5 @@
"decimation": false,
"welding": false,
"conversion": "Standard glTF Y-up / FBX Y-up compatibility export; no pivot, mesh or UV rewrite; all zero source clips retained; map extracted byte-for-byte",
- "historical_status": "Candidate paint/markings/subtype are unverified; no historical deployment represented"
+ "historical_status": "Candidate paint/markings/subtype are unverified. Placed as the tank stopped at Degania Alef from 20 May 1948 (JVL; en.wiki Renault R35); owner sign-off 27 October 2026 (#756)"
}
diff --git a/unity/Assets/Editor/Generated1948VehicleReview/generated-1948-14-syrian-renault-r35/provenance.json.meta b/unity/Assets/Art/Collection/generated-1948-14-syrian-renault-r35/provenance.json.meta
similarity index 100%
rename from unity/Assets/Editor/Generated1948VehicleReview/generated-1948-14-syrian-renault-r35/provenance.json.meta
rename to unity/Assets/Art/Collection/generated-1948-14-syrian-renault-r35/provenance.json.meta
diff --git a/unity/Assets/Editor/Generated1948Review/generated-1948-01-netanya-tiled-house-original.meta b/unity/Assets/Art/Settlements/Prototype/Models/generated-1948-01-netanya-tiled-house-original.meta
similarity index 100%
rename from unity/Assets/Editor/Generated1948Review/generated-1948-01-netanya-tiled-house-original.meta
rename to unity/Assets/Art/Settlements/Prototype/Models/generated-1948-01-netanya-tiled-house-original.meta
diff --git a/unity/Assets/Editor/Generated1948Review/generated-1948-01-netanya-tiled-house-original/generated-1948-01-netanya-tiled-house-original-light.asset b/unity/Assets/Art/Settlements/Prototype/Models/generated-1948-01-netanya-tiled-house-original/generated-1948-01-netanya-tiled-house-original-light.asset
similarity index 100%
rename from unity/Assets/Editor/Generated1948Review/generated-1948-01-netanya-tiled-house-original/generated-1948-01-netanya-tiled-house-original-light.asset
rename to unity/Assets/Art/Settlements/Prototype/Models/generated-1948-01-netanya-tiled-house-original/generated-1948-01-netanya-tiled-house-original-light.asset
diff --git a/unity/Assets/Editor/Generated1948Review/generated-1948-01-netanya-tiled-house-original/generated-1948-01-netanya-tiled-house-original-light.asset.meta b/unity/Assets/Art/Settlements/Prototype/Models/generated-1948-01-netanya-tiled-house-original/generated-1948-01-netanya-tiled-house-original-light.asset.meta
similarity index 100%
rename from unity/Assets/Editor/Generated1948Review/generated-1948-01-netanya-tiled-house-original/generated-1948-01-netanya-tiled-house-original-light.asset.meta
rename to unity/Assets/Art/Settlements/Prototype/Models/generated-1948-01-netanya-tiled-house-original/generated-1948-01-netanya-tiled-house-original-light.asset.meta
diff --git a/unity/Assets/Editor/Generated1948Review/generated-1948-01-netanya-tiled-house-original/generated-1948-01-netanya-tiled-house-original-light.json b/unity/Assets/Art/Settlements/Prototype/Models/generated-1948-01-netanya-tiled-house-original/generated-1948-01-netanya-tiled-house-original-light.json
similarity index 78%
rename from unity/Assets/Editor/Generated1948Review/generated-1948-01-netanya-tiled-house-original/generated-1948-01-netanya-tiled-house-original-light.json
rename to unity/Assets/Art/Settlements/Prototype/Models/generated-1948-01-netanya-tiled-house-original/generated-1948-01-netanya-tiled-house-original-light.json
index cf85ab351..8fdc85137 100644
--- a/unity/Assets/Editor/Generated1948Review/generated-1948-01-netanya-tiled-house-original/generated-1948-01-netanya-tiled-house-original-light.json
+++ b/unity/Assets/Art/Settlements/Prototype/Models/generated-1948-01-netanya-tiled-house-original/generated-1948-01-netanya-tiled-house-original-light.json
@@ -1,6 +1,6 @@
{
"tool": "HexHouseLevels",
- "source": "Assets/Editor/Generated1948Review/generated-1948-01-netanya-tiled-house-original/generated-1948-01-netanya-tiled-house-original.fbx",
+ "source": "Assets/Art/Settlements/Prototype/Models/generated-1948-01-netanya-tiled-house-original/generated-1948-01-netanya-tiled-house-original.fbx",
"source_sha256": "e51a8a4e0c65ea6fe7f752dbc81376622242697d2f5ea509690c7b71c6b2c355",
"source_triangles": 9324,
"triangles": 8274,
diff --git a/unity/Assets/Editor/Generated1948Review/generated-1948-01-netanya-tiled-house-original/generated-1948-01-netanya-tiled-house-original-light.json.meta b/unity/Assets/Art/Settlements/Prototype/Models/generated-1948-01-netanya-tiled-house-original/generated-1948-01-netanya-tiled-house-original-light.json.meta
similarity index 100%
rename from unity/Assets/Editor/Generated1948Review/generated-1948-01-netanya-tiled-house-original/generated-1948-01-netanya-tiled-house-original-light.json.meta
rename to unity/Assets/Art/Settlements/Prototype/Models/generated-1948-01-netanya-tiled-house-original/generated-1948-01-netanya-tiled-house-original-light.json.meta
diff --git a/unity/Assets/Editor/Generated1948Review/generated-1948-01-netanya-tiled-house-original/generated-1948-01-netanya-tiled-house-original-light.prefab b/unity/Assets/Art/Settlements/Prototype/Models/generated-1948-01-netanya-tiled-house-original/generated-1948-01-netanya-tiled-house-original-light.prefab
similarity index 100%
rename from unity/Assets/Editor/Generated1948Review/generated-1948-01-netanya-tiled-house-original/generated-1948-01-netanya-tiled-house-original-light.prefab
rename to unity/Assets/Art/Settlements/Prototype/Models/generated-1948-01-netanya-tiled-house-original/generated-1948-01-netanya-tiled-house-original-light.prefab
diff --git a/unity/Assets/Editor/Generated1948Review/generated-1948-01-netanya-tiled-house-original/generated-1948-01-netanya-tiled-house-original-light.prefab.meta b/unity/Assets/Art/Settlements/Prototype/Models/generated-1948-01-netanya-tiled-house-original/generated-1948-01-netanya-tiled-house-original-light.prefab.meta
similarity index 100%
rename from unity/Assets/Editor/Generated1948Review/generated-1948-01-netanya-tiled-house-original/generated-1948-01-netanya-tiled-house-original-light.prefab.meta
rename to unity/Assets/Art/Settlements/Prototype/Models/generated-1948-01-netanya-tiled-house-original/generated-1948-01-netanya-tiled-house-original-light.prefab.meta
diff --git a/unity/Assets/Art/Settlements/Prototype/Models/generated-1948-01-netanya-tiled-house-original/generated-1948-01-netanya-tiled-house-original-stream.prefab b/unity/Assets/Art/Settlements/Prototype/Models/generated-1948-01-netanya-tiled-house-original/generated-1948-01-netanya-tiled-house-original-stream.prefab
new file mode 100644
index 000000000..790c0e8d6
--- /dev/null
+++ b/unity/Assets/Art/Settlements/Prototype/Models/generated-1948-01-netanya-tiled-house-original/generated-1948-01-netanya-tiled-house-original-stream.prefab
@@ -0,0 +1,83 @@
+%YAML 1.1
+%TAG !u! tag:unity3d.com,2011:
+--- !u!1001 &1283622474494050365
+PrefabInstance:
+ m_ObjectHideFlags: 0
+ serializedVersion: 2
+ m_Modification:
+ serializedVersion: 3
+ m_TransformParent: {fileID: 0}
+ m_Modifications:
+ - target: {fileID: -8679921383154817045, guid: 8558df465045476c92dc0503aee66a42, type: 3}
+ propertyPath: m_LocalPosition.x
+ value: -0
+ objectReference: {fileID: 0}
+ - target: {fileID: -8679921383154817045, guid: 8558df465045476c92dc0503aee66a42, type: 3}
+ propertyPath: m_LocalPosition.y
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: -8679921383154817045, guid: 8558df465045476c92dc0503aee66a42, type: 3}
+ propertyPath: m_LocalPosition.z
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: -8679921383154817045, guid: 8558df465045476c92dc0503aee66a42, type: 3}
+ propertyPath: m_LocalRotation.w
+ value: 0.7071067
+ objectReference: {fileID: 0}
+ - target: {fileID: -8679921383154817045, guid: 8558df465045476c92dc0503aee66a42, type: 3}
+ propertyPath: m_LocalRotation.x
+ value: -0.7071068
+ objectReference: {fileID: 0}
+ - target: {fileID: -8679921383154817045, guid: 8558df465045476c92dc0503aee66a42, type: 3}
+ propertyPath: m_LocalRotation.y
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: -8679921383154817045, guid: 8558df465045476c92dc0503aee66a42, type: 3}
+ propertyPath: m_LocalRotation.z
+ value: -0
+ objectReference: {fileID: 0}
+ - target: {fileID: -8679921383154817045, guid: 8558df465045476c92dc0503aee66a42, type: 3}
+ propertyPath: m_LocalEulerAnglesHint.x
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: -8679921383154817045, guid: 8558df465045476c92dc0503aee66a42, type: 3}
+ propertyPath: m_LocalEulerAnglesHint.y
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: -8679921383154817045, guid: 8558df465045476c92dc0503aee66a42, type: 3}
+ propertyPath: m_LocalEulerAnglesHint.z
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: -7511558181221131132, guid: 8558df465045476c92dc0503aee66a42, type: 3}
+ propertyPath: 'm_Materials.Array.data[0]'
+ value:
+ objectReference: {fileID: 2100000, guid: c5f9c6c6d4d944a5a842a00b7ea09027, type: 2}
+ - target: {fileID: 919132149155446097, guid: 8558df465045476c92dc0503aee66a42, type: 3}
+ propertyPath: m_Name
+ value: generated-1948-01-netanya-tiled-house-original-stream
+ objectReference: {fileID: 0}
+ m_RemovedComponents: []
+ m_RemovedGameObjects: []
+ m_AddedGameObjects: []
+ m_AddedComponents:
+ - targetCorrespondingSourceObject: {fileID: 919132149155446097, guid: 8558df465045476c92dc0503aee66a42, type: 3}
+ insertIndex: -1
+ addedObject: {fileID: 8833892162981044343}
+ m_SourcePrefab: {fileID: 100100000, guid: 8558df465045476c92dc0503aee66a42, type: 3}
+--- !u!1 &2094523501856701804 stripped
+GameObject:
+ m_CorrespondingSourceObject: {fileID: 919132149155446097, guid: 8558df465045476c92dc0503aee66a42, type: 3}
+ m_PrefabInstance: {fileID: 1283622474494050365}
+ m_PrefabAsset: {fileID: 0}
+--- !u!114 &8833892162981044343
+MonoBehaviour:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 2094523501856701804}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: e77a9d0471f794527b4c41799be6b978, type: 3}
+ m_Name:
+ m_EditorClassIdentifier: Statecraft.Game::Statecraft.Game.Map.Collection.OriginalModelDistance
diff --git a/unity/Assets/Editor/Generated1948Review/generated-1948-01-netanya-tiled-house-original/generated-1948-01-netanya-tiled-house-original.prefab.meta b/unity/Assets/Art/Settlements/Prototype/Models/generated-1948-01-netanya-tiled-house-original/generated-1948-01-netanya-tiled-house-original-stream.prefab.meta
similarity index 100%
rename from unity/Assets/Editor/Generated1948Review/generated-1948-01-netanya-tiled-house-original/generated-1948-01-netanya-tiled-house-original.prefab.meta
rename to unity/Assets/Art/Settlements/Prototype/Models/generated-1948-01-netanya-tiled-house-original/generated-1948-01-netanya-tiled-house-original-stream.prefab.meta
diff --git a/unity/Assets/Editor/Generated1948Review/generated-1948-01-netanya-tiled-house-original/generated-1948-01-netanya-tiled-house-original.fbx b/unity/Assets/Art/Settlements/Prototype/Models/generated-1948-01-netanya-tiled-house-original/generated-1948-01-netanya-tiled-house-original.fbx
similarity index 100%
rename from unity/Assets/Editor/Generated1948Review/generated-1948-01-netanya-tiled-house-original/generated-1948-01-netanya-tiled-house-original.fbx
rename to unity/Assets/Art/Settlements/Prototype/Models/generated-1948-01-netanya-tiled-house-original/generated-1948-01-netanya-tiled-house-original.fbx
diff --git a/unity/Assets/Editor/Generated1948Review/generated-1948-01-netanya-tiled-house-original/generated-1948-01-netanya-tiled-house-original.fbx.meta b/unity/Assets/Art/Settlements/Prototype/Models/generated-1948-01-netanya-tiled-house-original/generated-1948-01-netanya-tiled-house-original.fbx.meta
similarity index 100%
rename from unity/Assets/Editor/Generated1948Review/generated-1948-01-netanya-tiled-house-original/generated-1948-01-netanya-tiled-house-original.fbx.meta
rename to unity/Assets/Art/Settlements/Prototype/Models/generated-1948-01-netanya-tiled-house-original/generated-1948-01-netanya-tiled-house-original.fbx.meta
diff --git a/unity/Assets/Editor/Generated1948Review/generated-1948-01-netanya-tiled-house-original/generated-1948-01-netanya-tiled-house-original.mat b/unity/Assets/Art/Settlements/Prototype/Models/generated-1948-01-netanya-tiled-house-original/generated-1948-01-netanya-tiled-house-original.mat
similarity index 100%
rename from unity/Assets/Editor/Generated1948Review/generated-1948-01-netanya-tiled-house-original/generated-1948-01-netanya-tiled-house-original.mat
rename to unity/Assets/Art/Settlements/Prototype/Models/generated-1948-01-netanya-tiled-house-original/generated-1948-01-netanya-tiled-house-original.mat
diff --git a/unity/Assets/Editor/Generated1948Review/generated-1948-01-netanya-tiled-house-original/generated-1948-01-netanya-tiled-house-original.mat.meta b/unity/Assets/Art/Settlements/Prototype/Models/generated-1948-01-netanya-tiled-house-original/generated-1948-01-netanya-tiled-house-original.mat.meta
similarity index 100%
rename from unity/Assets/Editor/Generated1948Review/generated-1948-01-netanya-tiled-house-original/generated-1948-01-netanya-tiled-house-original.mat.meta
rename to unity/Assets/Art/Settlements/Prototype/Models/generated-1948-01-netanya-tiled-house-original/generated-1948-01-netanya-tiled-house-original.mat.meta
diff --git a/unity/Assets/Editor/Generated1948Review/generated-1948-01-netanya-tiled-house-original/generated-1948-01-netanya-tiled-house-original_basecolor.jpg b/unity/Assets/Art/Settlements/Prototype/Models/generated-1948-01-netanya-tiled-house-original/generated-1948-01-netanya-tiled-house-original_basecolor.jpg
similarity index 100%
rename from unity/Assets/Editor/Generated1948Review/generated-1948-01-netanya-tiled-house-original/generated-1948-01-netanya-tiled-house-original_basecolor.jpg
rename to unity/Assets/Art/Settlements/Prototype/Models/generated-1948-01-netanya-tiled-house-original/generated-1948-01-netanya-tiled-house-original_basecolor.jpg
diff --git a/unity/Assets/Editor/Generated1948Review/generated-1948-01-netanya-tiled-house-original/generated-1948-01-netanya-tiled-house-original_basecolor.jpg.meta b/unity/Assets/Art/Settlements/Prototype/Models/generated-1948-01-netanya-tiled-house-original/generated-1948-01-netanya-tiled-house-original_basecolor.jpg.meta
similarity index 100%
rename from unity/Assets/Editor/Generated1948Review/generated-1948-01-netanya-tiled-house-original/generated-1948-01-netanya-tiled-house-original_basecolor.jpg.meta
rename to unity/Assets/Art/Settlements/Prototype/Models/generated-1948-01-netanya-tiled-house-original/generated-1948-01-netanya-tiled-house-original_basecolor.jpg.meta
diff --git a/unity/Assets/Editor/Generated1948Review/generated-1948-01-netanya-tiled-house-original/provenance.json b/unity/Assets/Art/Settlements/Prototype/Models/generated-1948-01-netanya-tiled-house-original/provenance.json
similarity index 93%
rename from unity/Assets/Editor/Generated1948Review/generated-1948-01-netanya-tiled-house-original/provenance.json
rename to unity/Assets/Art/Settlements/Prototype/Models/generated-1948-01-netanya-tiled-house-original/provenance.json
index 705f9c42b..d7457f320 100644
--- a/unity/Assets/Editor/Generated1948Review/generated-1948-01-netanya-tiled-house-original/provenance.json
+++ b/unity/Assets/Art/Settlements/Prototype/Models/generated-1948-01-netanya-tiled-house-original/provenance.json
@@ -20,7 +20,7 @@
"compatibility_fbx": "Local GLB-to-FBX export, never provider-original FBX",
"decimation": false,
"local_geometry_repairs": false,
- "campaign_status": "Held: #1273/own-streamed bundle interface and maintainer art/sensitivity sign-off pending",
+ "campaign_status": "In the game as a town building, streamed after the first frame (TownModels); signed off by the owner 27 October 2026 (#756)",
"source_caveats": "Regenerated 24 October 2026 at the owner's request on #1379; one closed hipped roof replaces the provider original with roof openings.",
"fbx_sha256": "e51a8a4e0c65ea6fe7f752dbc81376622242697d2f5ea509690c7b71c6b2c355",
"compatibility_export_triangles": 9324,
diff --git a/unity/Assets/Editor/Generated1948Review/generated-1948-01-netanya-tiled-house-original/provenance.json.meta b/unity/Assets/Art/Settlements/Prototype/Models/generated-1948-01-netanya-tiled-house-original/provenance.json.meta
similarity index 100%
rename from unity/Assets/Editor/Generated1948Review/generated-1948-01-netanya-tiled-house-original/provenance.json.meta
rename to unity/Assets/Art/Settlements/Prototype/Models/generated-1948-01-netanya-tiled-house-original/provenance.json.meta
diff --git a/unity/Assets/Editor/Generated1948Review/generated-1948-02-netanya-two-storey-balcony-house.meta b/unity/Assets/Art/Settlements/Prototype/Models/generated-1948-02-netanya-two-storey-balcony-house.meta
similarity index 100%
rename from unity/Assets/Editor/Generated1948Review/generated-1948-02-netanya-two-storey-balcony-house.meta
rename to unity/Assets/Art/Settlements/Prototype/Models/generated-1948-02-netanya-two-storey-balcony-house.meta
diff --git a/unity/Assets/Editor/Generated1948Review/generated-1948-02-netanya-two-storey-balcony-house/generated-1948-02-netanya-two-storey-balcony-house-light.asset b/unity/Assets/Art/Settlements/Prototype/Models/generated-1948-02-netanya-two-storey-balcony-house/generated-1948-02-netanya-two-storey-balcony-house-light.asset
similarity index 100%
rename from unity/Assets/Editor/Generated1948Review/generated-1948-02-netanya-two-storey-balcony-house/generated-1948-02-netanya-two-storey-balcony-house-light.asset
rename to unity/Assets/Art/Settlements/Prototype/Models/generated-1948-02-netanya-two-storey-balcony-house/generated-1948-02-netanya-two-storey-balcony-house-light.asset
diff --git a/unity/Assets/Editor/Generated1948Review/generated-1948-02-netanya-two-storey-balcony-house/generated-1948-02-netanya-two-storey-balcony-house-light.asset.meta b/unity/Assets/Art/Settlements/Prototype/Models/generated-1948-02-netanya-two-storey-balcony-house/generated-1948-02-netanya-two-storey-balcony-house-light.asset.meta
similarity index 100%
rename from unity/Assets/Editor/Generated1948Review/generated-1948-02-netanya-two-storey-balcony-house/generated-1948-02-netanya-two-storey-balcony-house-light.asset.meta
rename to unity/Assets/Art/Settlements/Prototype/Models/generated-1948-02-netanya-two-storey-balcony-house/generated-1948-02-netanya-two-storey-balcony-house-light.asset.meta
diff --git a/unity/Assets/Editor/Generated1948Review/generated-1948-02-netanya-two-storey-balcony-house/generated-1948-02-netanya-two-storey-balcony-house-light.json b/unity/Assets/Art/Settlements/Prototype/Models/generated-1948-02-netanya-two-storey-balcony-house/generated-1948-02-netanya-two-storey-balcony-house-light.json
similarity index 77%
rename from unity/Assets/Editor/Generated1948Review/generated-1948-02-netanya-two-storey-balcony-house/generated-1948-02-netanya-two-storey-balcony-house-light.json
rename to unity/Assets/Art/Settlements/Prototype/Models/generated-1948-02-netanya-two-storey-balcony-house/generated-1948-02-netanya-two-storey-balcony-house-light.json
index 2336dfcf7..c0a7ecc92 100644
--- a/unity/Assets/Editor/Generated1948Review/generated-1948-02-netanya-two-storey-balcony-house/generated-1948-02-netanya-two-storey-balcony-house-light.json
+++ b/unity/Assets/Art/Settlements/Prototype/Models/generated-1948-02-netanya-two-storey-balcony-house/generated-1948-02-netanya-two-storey-balcony-house-light.json
@@ -1,6 +1,6 @@
{
"tool": "HexHouseLevels",
- "source": "Assets/Editor/Generated1948Review/generated-1948-02-netanya-two-storey-balcony-house/generated-1948-02-netanya-two-storey-balcony-house.fbx",
+ "source": "Assets/Art/Settlements/Prototype/Models/generated-1948-02-netanya-two-storey-balcony-house/generated-1948-02-netanya-two-storey-balcony-house.fbx",
"source_sha256": "ea562007b1a42c37a11031fc22c00e45389e887badd6a13d28ae1a63d69c58a7",
"source_triangles": 4798,
"triangles": 4432,
diff --git a/unity/Assets/Editor/Generated1948Review/generated-1948-02-netanya-two-storey-balcony-house/generated-1948-02-netanya-two-storey-balcony-house-light.json.meta b/unity/Assets/Art/Settlements/Prototype/Models/generated-1948-02-netanya-two-storey-balcony-house/generated-1948-02-netanya-two-storey-balcony-house-light.json.meta
similarity index 100%
rename from unity/Assets/Editor/Generated1948Review/generated-1948-02-netanya-two-storey-balcony-house/generated-1948-02-netanya-two-storey-balcony-house-light.json.meta
rename to unity/Assets/Art/Settlements/Prototype/Models/generated-1948-02-netanya-two-storey-balcony-house/generated-1948-02-netanya-two-storey-balcony-house-light.json.meta
diff --git a/unity/Assets/Editor/Generated1948Review/generated-1948-02-netanya-two-storey-balcony-house/generated-1948-02-netanya-two-storey-balcony-house-light.prefab b/unity/Assets/Art/Settlements/Prototype/Models/generated-1948-02-netanya-two-storey-balcony-house/generated-1948-02-netanya-two-storey-balcony-house-light.prefab
similarity index 100%
rename from unity/Assets/Editor/Generated1948Review/generated-1948-02-netanya-two-storey-balcony-house/generated-1948-02-netanya-two-storey-balcony-house-light.prefab
rename to unity/Assets/Art/Settlements/Prototype/Models/generated-1948-02-netanya-two-storey-balcony-house/generated-1948-02-netanya-two-storey-balcony-house-light.prefab
diff --git a/unity/Assets/Editor/Generated1948Review/generated-1948-02-netanya-two-storey-balcony-house/generated-1948-02-netanya-two-storey-balcony-house-light.prefab.meta b/unity/Assets/Art/Settlements/Prototype/Models/generated-1948-02-netanya-two-storey-balcony-house/generated-1948-02-netanya-two-storey-balcony-house-light.prefab.meta
similarity index 100%
rename from unity/Assets/Editor/Generated1948Review/generated-1948-02-netanya-two-storey-balcony-house/generated-1948-02-netanya-two-storey-balcony-house-light.prefab.meta
rename to unity/Assets/Art/Settlements/Prototype/Models/generated-1948-02-netanya-two-storey-balcony-house/generated-1948-02-netanya-two-storey-balcony-house-light.prefab.meta
diff --git a/unity/Assets/Art/Settlements/Prototype/Models/generated-1948-02-netanya-two-storey-balcony-house/generated-1948-02-netanya-two-storey-balcony-house-stream.prefab b/unity/Assets/Art/Settlements/Prototype/Models/generated-1948-02-netanya-two-storey-balcony-house/generated-1948-02-netanya-two-storey-balcony-house-stream.prefab
new file mode 100644
index 000000000..47d242da8
--- /dev/null
+++ b/unity/Assets/Art/Settlements/Prototype/Models/generated-1948-02-netanya-two-storey-balcony-house/generated-1948-02-netanya-two-storey-balcony-house-stream.prefab
@@ -0,0 +1,83 @@
+%YAML 1.1
+%TAG !u! tag:unity3d.com,2011:
+--- !u!1001 &632537951113094448
+PrefabInstance:
+ m_ObjectHideFlags: 0
+ serializedVersion: 2
+ m_Modification:
+ serializedVersion: 3
+ m_TransformParent: {fileID: 0}
+ m_Modifications:
+ - target: {fileID: -8679921383154817045, guid: bf14435afb9e54555818420e287dc11d, type: 3}
+ propertyPath: m_LocalPosition.x
+ value: 0.01562497
+ objectReference: {fileID: 0}
+ - target: {fileID: -8679921383154817045, guid: bf14435afb9e54555818420e287dc11d, type: 3}
+ propertyPath: m_LocalPosition.y
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: -8679921383154817045, guid: bf14435afb9e54555818420e287dc11d, type: 3}
+ propertyPath: m_LocalPosition.z
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: -8679921383154817045, guid: bf14435afb9e54555818420e287dc11d, type: 3}
+ propertyPath: m_LocalRotation.w
+ value: 0.7071067
+ objectReference: {fileID: 0}
+ - target: {fileID: -8679921383154817045, guid: bf14435afb9e54555818420e287dc11d, type: 3}
+ propertyPath: m_LocalRotation.x
+ value: -0.7071068
+ objectReference: {fileID: 0}
+ - target: {fileID: -8679921383154817045, guid: bf14435afb9e54555818420e287dc11d, type: 3}
+ propertyPath: m_LocalRotation.y
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: -8679921383154817045, guid: bf14435afb9e54555818420e287dc11d, type: 3}
+ propertyPath: m_LocalRotation.z
+ value: -0
+ objectReference: {fileID: 0}
+ - target: {fileID: -8679921383154817045, guid: bf14435afb9e54555818420e287dc11d, type: 3}
+ propertyPath: m_LocalEulerAnglesHint.x
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: -8679921383154817045, guid: bf14435afb9e54555818420e287dc11d, type: 3}
+ propertyPath: m_LocalEulerAnglesHint.y
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: -8679921383154817045, guid: bf14435afb9e54555818420e287dc11d, type: 3}
+ propertyPath: m_LocalEulerAnglesHint.z
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: -7511558181221131132, guid: bf14435afb9e54555818420e287dc11d, type: 3}
+ propertyPath: 'm_Materials.Array.data[0]'
+ value:
+ objectReference: {fileID: 2100000, guid: 8dabcb38bc6f9427282c33b40df32042, type: 2}
+ - target: {fileID: 919132149155446097, guid: bf14435afb9e54555818420e287dc11d, type: 3}
+ propertyPath: m_Name
+ value: generated-1948-02-netanya-two-storey-balcony-house-stream
+ objectReference: {fileID: 0}
+ m_RemovedComponents: []
+ m_RemovedGameObjects: []
+ m_AddedGameObjects: []
+ m_AddedComponents:
+ - targetCorrespondingSourceObject: {fileID: 919132149155446097, guid: bf14435afb9e54555818420e287dc11d, type: 3}
+ insertIndex: -1
+ addedObject: {fileID: 5638846768696143681}
+ m_SourcePrefab: {fileID: 100100000, guid: bf14435afb9e54555818420e287dc11d, type: 3}
+--- !u!1 &290007443281385569 stripped
+GameObject:
+ m_CorrespondingSourceObject: {fileID: 919132149155446097, guid: bf14435afb9e54555818420e287dc11d, type: 3}
+ m_PrefabInstance: {fileID: 632537951113094448}
+ m_PrefabAsset: {fileID: 0}
+--- !u!114 &5638846768696143681
+MonoBehaviour:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 290007443281385569}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: e77a9d0471f794527b4c41799be6b978, type: 3}
+ m_Name:
+ m_EditorClassIdentifier: Statecraft.Game::Statecraft.Game.Map.Collection.OriginalModelDistance
diff --git a/unity/Assets/Editor/Generated1948Review/generated-1948-02-netanya-two-storey-balcony-house/generated-1948-02-netanya-two-storey-balcony-house.prefab.meta b/unity/Assets/Art/Settlements/Prototype/Models/generated-1948-02-netanya-two-storey-balcony-house/generated-1948-02-netanya-two-storey-balcony-house-stream.prefab.meta
similarity index 100%
rename from unity/Assets/Editor/Generated1948Review/generated-1948-02-netanya-two-storey-balcony-house/generated-1948-02-netanya-two-storey-balcony-house.prefab.meta
rename to unity/Assets/Art/Settlements/Prototype/Models/generated-1948-02-netanya-two-storey-balcony-house/generated-1948-02-netanya-two-storey-balcony-house-stream.prefab.meta
diff --git a/unity/Assets/Editor/Generated1948Review/generated-1948-02-netanya-two-storey-balcony-house/generated-1948-02-netanya-two-storey-balcony-house.fbx b/unity/Assets/Art/Settlements/Prototype/Models/generated-1948-02-netanya-two-storey-balcony-house/generated-1948-02-netanya-two-storey-balcony-house.fbx
similarity index 100%
rename from unity/Assets/Editor/Generated1948Review/generated-1948-02-netanya-two-storey-balcony-house/generated-1948-02-netanya-two-storey-balcony-house.fbx
rename to unity/Assets/Art/Settlements/Prototype/Models/generated-1948-02-netanya-two-storey-balcony-house/generated-1948-02-netanya-two-storey-balcony-house.fbx
diff --git a/unity/Assets/Editor/Generated1948Review/generated-1948-02-netanya-two-storey-balcony-house/generated-1948-02-netanya-two-storey-balcony-house.fbx.meta b/unity/Assets/Art/Settlements/Prototype/Models/generated-1948-02-netanya-two-storey-balcony-house/generated-1948-02-netanya-two-storey-balcony-house.fbx.meta
similarity index 100%
rename from unity/Assets/Editor/Generated1948Review/generated-1948-02-netanya-two-storey-balcony-house/generated-1948-02-netanya-two-storey-balcony-house.fbx.meta
rename to unity/Assets/Art/Settlements/Prototype/Models/generated-1948-02-netanya-two-storey-balcony-house/generated-1948-02-netanya-two-storey-balcony-house.fbx.meta
diff --git a/unity/Assets/Editor/Generated1948Review/generated-1948-02-netanya-two-storey-balcony-house/generated-1948-02-netanya-two-storey-balcony-house.mat b/unity/Assets/Art/Settlements/Prototype/Models/generated-1948-02-netanya-two-storey-balcony-house/generated-1948-02-netanya-two-storey-balcony-house.mat
similarity index 100%
rename from unity/Assets/Editor/Generated1948Review/generated-1948-02-netanya-two-storey-balcony-house/generated-1948-02-netanya-two-storey-balcony-house.mat
rename to unity/Assets/Art/Settlements/Prototype/Models/generated-1948-02-netanya-two-storey-balcony-house/generated-1948-02-netanya-two-storey-balcony-house.mat
diff --git a/unity/Assets/Editor/Generated1948Review/generated-1948-02-netanya-two-storey-balcony-house/generated-1948-02-netanya-two-storey-balcony-house.mat.meta b/unity/Assets/Art/Settlements/Prototype/Models/generated-1948-02-netanya-two-storey-balcony-house/generated-1948-02-netanya-two-storey-balcony-house.mat.meta
similarity index 100%
rename from unity/Assets/Editor/Generated1948Review/generated-1948-02-netanya-two-storey-balcony-house/generated-1948-02-netanya-two-storey-balcony-house.mat.meta
rename to unity/Assets/Art/Settlements/Prototype/Models/generated-1948-02-netanya-two-storey-balcony-house/generated-1948-02-netanya-two-storey-balcony-house.mat.meta
diff --git a/unity/Assets/Editor/Generated1948Review/generated-1948-02-netanya-two-storey-balcony-house/generated-1948-02-netanya-two-storey-balcony-house_basecolor.jpg b/unity/Assets/Art/Settlements/Prototype/Models/generated-1948-02-netanya-two-storey-balcony-house/generated-1948-02-netanya-two-storey-balcony-house_basecolor.jpg
similarity index 100%
rename from unity/Assets/Editor/Generated1948Review/generated-1948-02-netanya-two-storey-balcony-house/generated-1948-02-netanya-two-storey-balcony-house_basecolor.jpg
rename to unity/Assets/Art/Settlements/Prototype/Models/generated-1948-02-netanya-two-storey-balcony-house/generated-1948-02-netanya-two-storey-balcony-house_basecolor.jpg
diff --git a/unity/Assets/Editor/Generated1948Review/generated-1948-02-netanya-two-storey-balcony-house/generated-1948-02-netanya-two-storey-balcony-house_basecolor.jpg.meta b/unity/Assets/Art/Settlements/Prototype/Models/generated-1948-02-netanya-two-storey-balcony-house/generated-1948-02-netanya-two-storey-balcony-house_basecolor.jpg.meta
similarity index 100%
rename from unity/Assets/Editor/Generated1948Review/generated-1948-02-netanya-two-storey-balcony-house/generated-1948-02-netanya-two-storey-balcony-house_basecolor.jpg.meta
rename to unity/Assets/Art/Settlements/Prototype/Models/generated-1948-02-netanya-two-storey-balcony-house/generated-1948-02-netanya-two-storey-balcony-house_basecolor.jpg.meta
diff --git a/unity/Assets/Editor/Generated1948Review/generated-1948-02-netanya-two-storey-balcony-house/provenance.json b/unity/Assets/Art/Settlements/Prototype/Models/generated-1948-02-netanya-two-storey-balcony-house/provenance.json
similarity index 88%
rename from unity/Assets/Editor/Generated1948Review/generated-1948-02-netanya-two-storey-balcony-house/provenance.json
rename to unity/Assets/Art/Settlements/Prototype/Models/generated-1948-02-netanya-two-storey-balcony-house/provenance.json
index 33a43683e..ae7e7e8a9 100644
--- a/unity/Assets/Editor/Generated1948Review/generated-1948-02-netanya-two-storey-balcony-house/provenance.json
+++ b/unity/Assets/Art/Settlements/Prototype/Models/generated-1948-02-netanya-two-storey-balcony-house/provenance.json
@@ -16,8 +16,8 @@
"compatibility_fbx": "Local GLB-to-FBX export, never provider-original FBX",
"decimation": false,
"local_geometry_repairs": false,
- "campaign_status": "Held: #1273/own-streamed bundle interface and maintainer art/sensitivity sign-off pending",
- "source_caveats": "Original source review pending at full quality",
+ "campaign_status": "In the game as a town building, streamed after the first frame (TownModels); signed off by the owner 27 October 2026 (#756)",
+ "source_caveats": "Signed off by the owner 27 October 2026 (#756)",
"fbx_sha256": "ea562007b1a42c37a11031fc22c00e45389e887badd6a13d28ae1a63d69c58a7",
"compatibility_export_triangles": 4798,
"triangle_corner_positions_preserved": true,
diff --git a/unity/Assets/Editor/Generated1948Review/generated-1948-02-netanya-two-storey-balcony-house/provenance.json.meta b/unity/Assets/Art/Settlements/Prototype/Models/generated-1948-02-netanya-two-storey-balcony-house/provenance.json.meta
similarity index 100%
rename from unity/Assets/Editor/Generated1948Review/generated-1948-02-netanya-two-storey-balcony-house/provenance.json.meta
rename to unity/Assets/Art/Settlements/Prototype/Models/generated-1948-02-netanya-two-storey-balcony-house/provenance.json.meta
diff --git a/unity/Assets/Editor/Generated1948Review/generated-1948-03-netanya-flat-roof-porch-house.meta b/unity/Assets/Art/Settlements/Prototype/Models/generated-1948-03-netanya-flat-roof-porch-house.meta
similarity index 100%
rename from unity/Assets/Editor/Generated1948Review/generated-1948-03-netanya-flat-roof-porch-house.meta
rename to unity/Assets/Art/Settlements/Prototype/Models/generated-1948-03-netanya-flat-roof-porch-house.meta
diff --git a/unity/Assets/Editor/Generated1948Review/generated-1948-03-netanya-flat-roof-porch-house/generated-1948-03-netanya-flat-roof-porch-house-light.asset b/unity/Assets/Art/Settlements/Prototype/Models/generated-1948-03-netanya-flat-roof-porch-house/generated-1948-03-netanya-flat-roof-porch-house-light.asset
similarity index 100%
rename from unity/Assets/Editor/Generated1948Review/generated-1948-03-netanya-flat-roof-porch-house/generated-1948-03-netanya-flat-roof-porch-house-light.asset
rename to unity/Assets/Art/Settlements/Prototype/Models/generated-1948-03-netanya-flat-roof-porch-house/generated-1948-03-netanya-flat-roof-porch-house-light.asset
diff --git a/unity/Assets/Editor/Generated1948Review/generated-1948-03-netanya-flat-roof-porch-house/generated-1948-03-netanya-flat-roof-porch-house-light.asset.meta b/unity/Assets/Art/Settlements/Prototype/Models/generated-1948-03-netanya-flat-roof-porch-house/generated-1948-03-netanya-flat-roof-porch-house-light.asset.meta
similarity index 100%
rename from unity/Assets/Editor/Generated1948Review/generated-1948-03-netanya-flat-roof-porch-house/generated-1948-03-netanya-flat-roof-porch-house-light.asset.meta
rename to unity/Assets/Art/Settlements/Prototype/Models/generated-1948-03-netanya-flat-roof-porch-house/generated-1948-03-netanya-flat-roof-porch-house-light.asset.meta
diff --git a/unity/Assets/Editor/Generated1948Review/generated-1948-03-netanya-flat-roof-porch-house/generated-1948-03-netanya-flat-roof-porch-house-light.json b/unity/Assets/Art/Settlements/Prototype/Models/generated-1948-03-netanya-flat-roof-porch-house/generated-1948-03-netanya-flat-roof-porch-house-light.json
similarity index 77%
rename from unity/Assets/Editor/Generated1948Review/generated-1948-03-netanya-flat-roof-porch-house/generated-1948-03-netanya-flat-roof-porch-house-light.json
rename to unity/Assets/Art/Settlements/Prototype/Models/generated-1948-03-netanya-flat-roof-porch-house/generated-1948-03-netanya-flat-roof-porch-house-light.json
index 44d66f3bd..70a1625e9 100644
--- a/unity/Assets/Editor/Generated1948Review/generated-1948-03-netanya-flat-roof-porch-house/generated-1948-03-netanya-flat-roof-porch-house-light.json
+++ b/unity/Assets/Art/Settlements/Prototype/Models/generated-1948-03-netanya-flat-roof-porch-house/generated-1948-03-netanya-flat-roof-porch-house-light.json
@@ -1,6 +1,6 @@
{
"tool": "HexHouseLevels",
- "source": "Assets/Editor/Generated1948Review/generated-1948-03-netanya-flat-roof-porch-house/generated-1948-03-netanya-flat-roof-porch-house.fbx",
+ "source": "Assets/Art/Settlements/Prototype/Models/generated-1948-03-netanya-flat-roof-porch-house/generated-1948-03-netanya-flat-roof-porch-house.fbx",
"source_sha256": "27c837e0c8a884860799e6af6c78c4ed0312cecca1791ca200329c3525b2d753",
"source_triangles": 9261,
"triangles": 8133,
diff --git a/unity/Assets/Editor/Generated1948Review/generated-1948-03-netanya-flat-roof-porch-house/generated-1948-03-netanya-flat-roof-porch-house-light.json.meta b/unity/Assets/Art/Settlements/Prototype/Models/generated-1948-03-netanya-flat-roof-porch-house/generated-1948-03-netanya-flat-roof-porch-house-light.json.meta
similarity index 100%
rename from unity/Assets/Editor/Generated1948Review/generated-1948-03-netanya-flat-roof-porch-house/generated-1948-03-netanya-flat-roof-porch-house-light.json.meta
rename to unity/Assets/Art/Settlements/Prototype/Models/generated-1948-03-netanya-flat-roof-porch-house/generated-1948-03-netanya-flat-roof-porch-house-light.json.meta
diff --git a/unity/Assets/Editor/Generated1948Review/generated-1948-03-netanya-flat-roof-porch-house/generated-1948-03-netanya-flat-roof-porch-house-light.prefab b/unity/Assets/Art/Settlements/Prototype/Models/generated-1948-03-netanya-flat-roof-porch-house/generated-1948-03-netanya-flat-roof-porch-house-light.prefab
similarity index 100%
rename from unity/Assets/Editor/Generated1948Review/generated-1948-03-netanya-flat-roof-porch-house/generated-1948-03-netanya-flat-roof-porch-house-light.prefab
rename to unity/Assets/Art/Settlements/Prototype/Models/generated-1948-03-netanya-flat-roof-porch-house/generated-1948-03-netanya-flat-roof-porch-house-light.prefab
diff --git a/unity/Assets/Editor/Generated1948Review/generated-1948-03-netanya-flat-roof-porch-house/generated-1948-03-netanya-flat-roof-porch-house-light.prefab.meta b/unity/Assets/Art/Settlements/Prototype/Models/generated-1948-03-netanya-flat-roof-porch-house/generated-1948-03-netanya-flat-roof-porch-house-light.prefab.meta
similarity index 100%
rename from unity/Assets/Editor/Generated1948Review/generated-1948-03-netanya-flat-roof-porch-house/generated-1948-03-netanya-flat-roof-porch-house-light.prefab.meta
rename to unity/Assets/Art/Settlements/Prototype/Models/generated-1948-03-netanya-flat-roof-porch-house/generated-1948-03-netanya-flat-roof-porch-house-light.prefab.meta
diff --git a/unity/Assets/Art/Settlements/Prototype/Models/generated-1948-03-netanya-flat-roof-porch-house/generated-1948-03-netanya-flat-roof-porch-house-stream.prefab b/unity/Assets/Art/Settlements/Prototype/Models/generated-1948-03-netanya-flat-roof-porch-house/generated-1948-03-netanya-flat-roof-porch-house-stream.prefab
new file mode 100644
index 000000000..28b77a2c0
--- /dev/null
+++ b/unity/Assets/Art/Settlements/Prototype/Models/generated-1948-03-netanya-flat-roof-porch-house/generated-1948-03-netanya-flat-roof-porch-house-stream.prefab
@@ -0,0 +1,83 @@
+%YAML 1.1
+%TAG !u! tag:unity3d.com,2011:
+--- !u!1001 &6408944840071199403
+PrefabInstance:
+ m_ObjectHideFlags: 0
+ serializedVersion: 2
+ m_Modification:
+ serializedVersion: 3
+ m_TransformParent: {fileID: 0}
+ m_Modifications:
+ - target: {fileID: -8679921383154817045, guid: f814cd69f13ed41789ef3e5cb1874061, type: 3}
+ propertyPath: m_LocalPosition.x
+ value: -0
+ objectReference: {fileID: 0}
+ - target: {fileID: -8679921383154817045, guid: f814cd69f13ed41789ef3e5cb1874061, type: 3}
+ propertyPath: m_LocalPosition.y
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: -8679921383154817045, guid: f814cd69f13ed41789ef3e5cb1874061, type: 3}
+ propertyPath: m_LocalPosition.z
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: -8679921383154817045, guid: f814cd69f13ed41789ef3e5cb1874061, type: 3}
+ propertyPath: m_LocalRotation.w
+ value: 0.7071067
+ objectReference: {fileID: 0}
+ - target: {fileID: -8679921383154817045, guid: f814cd69f13ed41789ef3e5cb1874061, type: 3}
+ propertyPath: m_LocalRotation.x
+ value: -0.7071068
+ objectReference: {fileID: 0}
+ - target: {fileID: -8679921383154817045, guid: f814cd69f13ed41789ef3e5cb1874061, type: 3}
+ propertyPath: m_LocalRotation.y
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: -8679921383154817045, guid: f814cd69f13ed41789ef3e5cb1874061, type: 3}
+ propertyPath: m_LocalRotation.z
+ value: -0
+ objectReference: {fileID: 0}
+ - target: {fileID: -8679921383154817045, guid: f814cd69f13ed41789ef3e5cb1874061, type: 3}
+ propertyPath: m_LocalEulerAnglesHint.x
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: -8679921383154817045, guid: f814cd69f13ed41789ef3e5cb1874061, type: 3}
+ propertyPath: m_LocalEulerAnglesHint.y
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: -8679921383154817045, guid: f814cd69f13ed41789ef3e5cb1874061, type: 3}
+ propertyPath: m_LocalEulerAnglesHint.z
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: -7511558181221131132, guid: f814cd69f13ed41789ef3e5cb1874061, type: 3}
+ propertyPath: 'm_Materials.Array.data[0]'
+ value:
+ objectReference: {fileID: 2100000, guid: 9136f969b8fc4481597f6904381a5462, type: 2}
+ - target: {fileID: 919132149155446097, guid: f814cd69f13ed41789ef3e5cb1874061, type: 3}
+ propertyPath: m_Name
+ value: generated-1948-03-netanya-flat-roof-porch-house-stream
+ objectReference: {fileID: 0}
+ m_RemovedComponents: []
+ m_RemovedGameObjects: []
+ m_AddedGameObjects: []
+ m_AddedComponents:
+ - targetCorrespondingSourceObject: {fileID: 919132149155446097, guid: f814cd69f13ed41789ef3e5cb1874061, type: 3}
+ insertIndex: -1
+ addedObject: {fileID: 6202528707520286189}
+ m_SourcePrefab: {fileID: 100100000, guid: f814cd69f13ed41789ef3e5cb1874061, type: 3}
+--- !u!1 &6066433023938201594 stripped
+GameObject:
+ m_CorrespondingSourceObject: {fileID: 919132149155446097, guid: f814cd69f13ed41789ef3e5cb1874061, type: 3}
+ m_PrefabInstance: {fileID: 6408944840071199403}
+ m_PrefabAsset: {fileID: 0}
+--- !u!114 &6202528707520286189
+MonoBehaviour:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 6066433023938201594}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: e77a9d0471f794527b4c41799be6b978, type: 3}
+ m_Name:
+ m_EditorClassIdentifier: Statecraft.Game::Statecraft.Game.Map.Collection.OriginalModelDistance
diff --git a/unity/Assets/Editor/Generated1948Review/generated-1948-03-netanya-flat-roof-porch-house/generated-1948-03-netanya-flat-roof-porch-house.prefab.meta b/unity/Assets/Art/Settlements/Prototype/Models/generated-1948-03-netanya-flat-roof-porch-house/generated-1948-03-netanya-flat-roof-porch-house-stream.prefab.meta
similarity index 100%
rename from unity/Assets/Editor/Generated1948Review/generated-1948-03-netanya-flat-roof-porch-house/generated-1948-03-netanya-flat-roof-porch-house.prefab.meta
rename to unity/Assets/Art/Settlements/Prototype/Models/generated-1948-03-netanya-flat-roof-porch-house/generated-1948-03-netanya-flat-roof-porch-house-stream.prefab.meta
diff --git a/unity/Assets/Editor/Generated1948Review/generated-1948-03-netanya-flat-roof-porch-house/generated-1948-03-netanya-flat-roof-porch-house.fbx b/unity/Assets/Art/Settlements/Prototype/Models/generated-1948-03-netanya-flat-roof-porch-house/generated-1948-03-netanya-flat-roof-porch-house.fbx
similarity index 100%
rename from unity/Assets/Editor/Generated1948Review/generated-1948-03-netanya-flat-roof-porch-house/generated-1948-03-netanya-flat-roof-porch-house.fbx
rename to unity/Assets/Art/Settlements/Prototype/Models/generated-1948-03-netanya-flat-roof-porch-house/generated-1948-03-netanya-flat-roof-porch-house.fbx
diff --git a/unity/Assets/Editor/Generated1948Review/generated-1948-03-netanya-flat-roof-porch-house/generated-1948-03-netanya-flat-roof-porch-house.fbx.meta b/unity/Assets/Art/Settlements/Prototype/Models/generated-1948-03-netanya-flat-roof-porch-house/generated-1948-03-netanya-flat-roof-porch-house.fbx.meta
similarity index 100%
rename from unity/Assets/Editor/Generated1948Review/generated-1948-03-netanya-flat-roof-porch-house/generated-1948-03-netanya-flat-roof-porch-house.fbx.meta
rename to unity/Assets/Art/Settlements/Prototype/Models/generated-1948-03-netanya-flat-roof-porch-house/generated-1948-03-netanya-flat-roof-porch-house.fbx.meta
diff --git a/unity/Assets/Editor/Generated1948Review/generated-1948-03-netanya-flat-roof-porch-house/generated-1948-03-netanya-flat-roof-porch-house.mat b/unity/Assets/Art/Settlements/Prototype/Models/generated-1948-03-netanya-flat-roof-porch-house/generated-1948-03-netanya-flat-roof-porch-house.mat
similarity index 100%
rename from unity/Assets/Editor/Generated1948Review/generated-1948-03-netanya-flat-roof-porch-house/generated-1948-03-netanya-flat-roof-porch-house.mat
rename to unity/Assets/Art/Settlements/Prototype/Models/generated-1948-03-netanya-flat-roof-porch-house/generated-1948-03-netanya-flat-roof-porch-house.mat
diff --git a/unity/Assets/Editor/Generated1948Review/generated-1948-03-netanya-flat-roof-porch-house/generated-1948-03-netanya-flat-roof-porch-house.mat.meta b/unity/Assets/Art/Settlements/Prototype/Models/generated-1948-03-netanya-flat-roof-porch-house/generated-1948-03-netanya-flat-roof-porch-house.mat.meta
similarity index 100%
rename from unity/Assets/Editor/Generated1948Review/generated-1948-03-netanya-flat-roof-porch-house/generated-1948-03-netanya-flat-roof-porch-house.mat.meta
rename to unity/Assets/Art/Settlements/Prototype/Models/generated-1948-03-netanya-flat-roof-porch-house/generated-1948-03-netanya-flat-roof-porch-house.mat.meta
diff --git a/unity/Assets/Editor/Generated1948Review/generated-1948-03-netanya-flat-roof-porch-house/generated-1948-03-netanya-flat-roof-porch-house_basecolor.jpg b/unity/Assets/Art/Settlements/Prototype/Models/generated-1948-03-netanya-flat-roof-porch-house/generated-1948-03-netanya-flat-roof-porch-house_basecolor.jpg
similarity index 100%
rename from unity/Assets/Editor/Generated1948Review/generated-1948-03-netanya-flat-roof-porch-house/generated-1948-03-netanya-flat-roof-porch-house_basecolor.jpg
rename to unity/Assets/Art/Settlements/Prototype/Models/generated-1948-03-netanya-flat-roof-porch-house/generated-1948-03-netanya-flat-roof-porch-house_basecolor.jpg
diff --git a/unity/Assets/Editor/Generated1948Review/generated-1948-03-netanya-flat-roof-porch-house/generated-1948-03-netanya-flat-roof-porch-house_basecolor.jpg.meta b/unity/Assets/Art/Settlements/Prototype/Models/generated-1948-03-netanya-flat-roof-porch-house/generated-1948-03-netanya-flat-roof-porch-house_basecolor.jpg.meta
similarity index 100%
rename from unity/Assets/Editor/Generated1948Review/generated-1948-03-netanya-flat-roof-porch-house/generated-1948-03-netanya-flat-roof-porch-house_basecolor.jpg.meta
rename to unity/Assets/Art/Settlements/Prototype/Models/generated-1948-03-netanya-flat-roof-porch-house/generated-1948-03-netanya-flat-roof-porch-house_basecolor.jpg.meta
diff --git a/unity/Assets/Editor/Generated1948Review/generated-1948-03-netanya-flat-roof-porch-house/provenance.json b/unity/Assets/Art/Settlements/Prototype/Models/generated-1948-03-netanya-flat-roof-porch-house/provenance.json
similarity index 93%
rename from unity/Assets/Editor/Generated1948Review/generated-1948-03-netanya-flat-roof-porch-house/provenance.json
rename to unity/Assets/Art/Settlements/Prototype/Models/generated-1948-03-netanya-flat-roof-porch-house/provenance.json
index 12134a495..a4d696cd4 100644
--- a/unity/Assets/Editor/Generated1948Review/generated-1948-03-netanya-flat-roof-porch-house/provenance.json
+++ b/unity/Assets/Art/Settlements/Prototype/Models/generated-1948-03-netanya-flat-roof-porch-house/provenance.json
@@ -20,7 +20,7 @@
"compatibility_fbx": "Local GLB-to-FBX export, never provider-original FBX",
"decimation": false,
"local_geometry_repairs": false,
- "campaign_status": "Held: #1273/own-streamed bundle interface and maintainer art/sensitivity sign-off pending",
+ "campaign_status": "In the game as a town building, streamed after the first frame (TownModels); signed off by the owner 27 October 2026 (#756)",
"source_caveats": "Regenerated 24 October 2026 at the owner's request on #1379; four closed walls replace the provider original with a broad rear opening.",
"fbx_sha256": "27c837e0c8a884860799e6af6c78c4ed0312cecca1791ca200329c3525b2d753",
"compatibility_export_triangles": 9261,
diff --git a/unity/Assets/Editor/Generated1948Review/generated-1948-03-netanya-flat-roof-porch-house/provenance.json.meta b/unity/Assets/Art/Settlements/Prototype/Models/generated-1948-03-netanya-flat-roof-porch-house/provenance.json.meta
similarity index 100%
rename from unity/Assets/Editor/Generated1948Review/generated-1948-03-netanya-flat-roof-porch-house/provenance.json.meta
rename to unity/Assets/Art/Settlements/Prototype/Models/generated-1948-03-netanya-flat-roof-porch-house/provenance.json.meta
diff --git a/unity/Assets/Editor/Generated1948Review/generated-1948-04-dark-basalt-house.meta b/unity/Assets/Art/Settlements/Prototype/Models/generated-1948-04-dark-basalt-house.meta
similarity index 100%
rename from unity/Assets/Editor/Generated1948Review/generated-1948-04-dark-basalt-house.meta
rename to unity/Assets/Art/Settlements/Prototype/Models/generated-1948-04-dark-basalt-house.meta
diff --git a/unity/Assets/Editor/Generated1948Review/generated-1948-04-dark-basalt-house/generated-1948-04-dark-basalt-house-light.asset b/unity/Assets/Art/Settlements/Prototype/Models/generated-1948-04-dark-basalt-house/generated-1948-04-dark-basalt-house-light.asset
similarity index 100%
rename from unity/Assets/Editor/Generated1948Review/generated-1948-04-dark-basalt-house/generated-1948-04-dark-basalt-house-light.asset
rename to unity/Assets/Art/Settlements/Prototype/Models/generated-1948-04-dark-basalt-house/generated-1948-04-dark-basalt-house-light.asset
diff --git a/unity/Assets/Editor/Generated1948Review/generated-1948-04-dark-basalt-house/generated-1948-04-dark-basalt-house-light.asset.meta b/unity/Assets/Art/Settlements/Prototype/Models/generated-1948-04-dark-basalt-house/generated-1948-04-dark-basalt-house-light.asset.meta
similarity index 100%
rename from unity/Assets/Editor/Generated1948Review/generated-1948-04-dark-basalt-house/generated-1948-04-dark-basalt-house-light.asset.meta
rename to unity/Assets/Art/Settlements/Prototype/Models/generated-1948-04-dark-basalt-house/generated-1948-04-dark-basalt-house-light.asset.meta
diff --git a/unity/Assets/Editor/Generated1948Review/generated-1948-04-dark-basalt-house/generated-1948-04-dark-basalt-house-light.json b/unity/Assets/Art/Settlements/Prototype/Models/generated-1948-04-dark-basalt-house/generated-1948-04-dark-basalt-house-light.json
similarity index 80%
rename from unity/Assets/Editor/Generated1948Review/generated-1948-04-dark-basalt-house/generated-1948-04-dark-basalt-house-light.json
rename to unity/Assets/Art/Settlements/Prototype/Models/generated-1948-04-dark-basalt-house/generated-1948-04-dark-basalt-house-light.json
index d3085bdc6..d6da01ae4 100644
--- a/unity/Assets/Editor/Generated1948Review/generated-1948-04-dark-basalt-house/generated-1948-04-dark-basalt-house-light.json
+++ b/unity/Assets/Art/Settlements/Prototype/Models/generated-1948-04-dark-basalt-house/generated-1948-04-dark-basalt-house-light.json
@@ -1,6 +1,6 @@
{
"tool": "HexHouseLevels",
- "source": "Assets/Editor/Generated1948Review/generated-1948-04-dark-basalt-house/generated-1948-04-dark-basalt-house.fbx",
+ "source": "Assets/Art/Settlements/Prototype/Models/generated-1948-04-dark-basalt-house/generated-1948-04-dark-basalt-house.fbx",
"source_sha256": "e2bc341f784d9ba436c183f3d081c1c65d8cb054c00fcd719e724531fd15f3f6",
"source_triangles": 5624,
"triangles": 3448,
diff --git a/unity/Assets/Editor/Generated1948Review/generated-1948-04-dark-basalt-house/generated-1948-04-dark-basalt-house-light.json.meta b/unity/Assets/Art/Settlements/Prototype/Models/generated-1948-04-dark-basalt-house/generated-1948-04-dark-basalt-house-light.json.meta
similarity index 100%
rename from unity/Assets/Editor/Generated1948Review/generated-1948-04-dark-basalt-house/generated-1948-04-dark-basalt-house-light.json.meta
rename to unity/Assets/Art/Settlements/Prototype/Models/generated-1948-04-dark-basalt-house/generated-1948-04-dark-basalt-house-light.json.meta
diff --git a/unity/Assets/Editor/Generated1948Review/generated-1948-04-dark-basalt-house/generated-1948-04-dark-basalt-house-light.prefab b/unity/Assets/Art/Settlements/Prototype/Models/generated-1948-04-dark-basalt-house/generated-1948-04-dark-basalt-house-light.prefab
similarity index 100%
rename from unity/Assets/Editor/Generated1948Review/generated-1948-04-dark-basalt-house/generated-1948-04-dark-basalt-house-light.prefab
rename to unity/Assets/Art/Settlements/Prototype/Models/generated-1948-04-dark-basalt-house/generated-1948-04-dark-basalt-house-light.prefab
diff --git a/unity/Assets/Editor/Generated1948Review/generated-1948-04-dark-basalt-house/generated-1948-04-dark-basalt-house-light.prefab.meta b/unity/Assets/Art/Settlements/Prototype/Models/generated-1948-04-dark-basalt-house/generated-1948-04-dark-basalt-house-light.prefab.meta
similarity index 100%
rename from unity/Assets/Editor/Generated1948Review/generated-1948-04-dark-basalt-house/generated-1948-04-dark-basalt-house-light.prefab.meta
rename to unity/Assets/Art/Settlements/Prototype/Models/generated-1948-04-dark-basalt-house/generated-1948-04-dark-basalt-house-light.prefab.meta
diff --git a/unity/Assets/Art/Settlements/Prototype/Models/generated-1948-04-dark-basalt-house/generated-1948-04-dark-basalt-house-stream.prefab b/unity/Assets/Art/Settlements/Prototype/Models/generated-1948-04-dark-basalt-house/generated-1948-04-dark-basalt-house-stream.prefab
new file mode 100644
index 000000000..b2478a5f8
--- /dev/null
+++ b/unity/Assets/Art/Settlements/Prototype/Models/generated-1948-04-dark-basalt-house/generated-1948-04-dark-basalt-house-stream.prefab
@@ -0,0 +1,83 @@
+%YAML 1.1
+%TAG !u! tag:unity3d.com,2011:
+--- !u!1001 &8123740666979573018
+PrefabInstance:
+ m_ObjectHideFlags: 0
+ serializedVersion: 2
+ m_Modification:
+ serializedVersion: 3
+ m_TransformParent: {fileID: 0}
+ m_Modifications:
+ - target: {fileID: -8679921383154817045, guid: a62b9c8119d9343f3a716dbb41cbb619, type: 3}
+ propertyPath: m_LocalPosition.x
+ value: -0
+ objectReference: {fileID: 0}
+ - target: {fileID: -8679921383154817045, guid: a62b9c8119d9343f3a716dbb41cbb619, type: 3}
+ propertyPath: m_LocalPosition.y
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: -8679921383154817045, guid: a62b9c8119d9343f3a716dbb41cbb619, type: 3}
+ propertyPath: m_LocalPosition.z
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: -8679921383154817045, guid: a62b9c8119d9343f3a716dbb41cbb619, type: 3}
+ propertyPath: m_LocalRotation.w
+ value: 0.7071067
+ objectReference: {fileID: 0}
+ - target: {fileID: -8679921383154817045, guid: a62b9c8119d9343f3a716dbb41cbb619, type: 3}
+ propertyPath: m_LocalRotation.x
+ value: -0.7071068
+ objectReference: {fileID: 0}
+ - target: {fileID: -8679921383154817045, guid: a62b9c8119d9343f3a716dbb41cbb619, type: 3}
+ propertyPath: m_LocalRotation.y
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: -8679921383154817045, guid: a62b9c8119d9343f3a716dbb41cbb619, type: 3}
+ propertyPath: m_LocalRotation.z
+ value: -0
+ objectReference: {fileID: 0}
+ - target: {fileID: -8679921383154817045, guid: a62b9c8119d9343f3a716dbb41cbb619, type: 3}
+ propertyPath: m_LocalEulerAnglesHint.x
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: -8679921383154817045, guid: a62b9c8119d9343f3a716dbb41cbb619, type: 3}
+ propertyPath: m_LocalEulerAnglesHint.y
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: -8679921383154817045, guid: a62b9c8119d9343f3a716dbb41cbb619, type: 3}
+ propertyPath: m_LocalEulerAnglesHint.z
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: -7511558181221131132, guid: a62b9c8119d9343f3a716dbb41cbb619, type: 3}
+ propertyPath: 'm_Materials.Array.data[0]'
+ value:
+ objectReference: {fileID: 2100000, guid: 1cf3529059bc341309fa14a814ce73fb, type: 2}
+ - target: {fileID: 919132149155446097, guid: a62b9c8119d9343f3a716dbb41cbb619, type: 3}
+ propertyPath: m_Name
+ value: generated-1948-04-dark-basalt-house-stream
+ objectReference: {fileID: 0}
+ m_RemovedComponents: []
+ m_RemovedGameObjects: []
+ m_AddedGameObjects: []
+ m_AddedComponents:
+ - targetCorrespondingSourceObject: {fileID: 919132149155446097, guid: a62b9c8119d9343f3a716dbb41cbb619, type: 3}
+ insertIndex: -1
+ addedObject: {fileID: 6200465497321656190}
+ m_SourcePrefab: {fileID: 100100000, guid: a62b9c8119d9343f3a716dbb41cbb619, type: 3}
+--- !u!1 &8970109195910864971 stripped
+GameObject:
+ m_CorrespondingSourceObject: {fileID: 919132149155446097, guid: a62b9c8119d9343f3a716dbb41cbb619, type: 3}
+ m_PrefabInstance: {fileID: 8123740666979573018}
+ m_PrefabAsset: {fileID: 0}
+--- !u!114 &6200465497321656190
+MonoBehaviour:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 8970109195910864971}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: e77a9d0471f794527b4c41799be6b978, type: 3}
+ m_Name:
+ m_EditorClassIdentifier: Statecraft.Game::Statecraft.Game.Map.Collection.OriginalModelDistance
diff --git a/unity/Assets/Editor/Generated1948Review/generated-1948-04-dark-basalt-house/generated-1948-04-dark-basalt-house.prefab.meta b/unity/Assets/Art/Settlements/Prototype/Models/generated-1948-04-dark-basalt-house/generated-1948-04-dark-basalt-house-stream.prefab.meta
similarity index 100%
rename from unity/Assets/Editor/Generated1948Review/generated-1948-04-dark-basalt-house/generated-1948-04-dark-basalt-house.prefab.meta
rename to unity/Assets/Art/Settlements/Prototype/Models/generated-1948-04-dark-basalt-house/generated-1948-04-dark-basalt-house-stream.prefab.meta
diff --git a/unity/Assets/Editor/Generated1948Review/generated-1948-04-dark-basalt-house/generated-1948-04-dark-basalt-house.fbx b/unity/Assets/Art/Settlements/Prototype/Models/generated-1948-04-dark-basalt-house/generated-1948-04-dark-basalt-house.fbx
similarity index 100%
rename from unity/Assets/Editor/Generated1948Review/generated-1948-04-dark-basalt-house/generated-1948-04-dark-basalt-house.fbx
rename to unity/Assets/Art/Settlements/Prototype/Models/generated-1948-04-dark-basalt-house/generated-1948-04-dark-basalt-house.fbx
diff --git a/unity/Assets/Editor/Generated1948Review/generated-1948-04-dark-basalt-house/generated-1948-04-dark-basalt-house.fbx.meta b/unity/Assets/Art/Settlements/Prototype/Models/generated-1948-04-dark-basalt-house/generated-1948-04-dark-basalt-house.fbx.meta
similarity index 100%
rename from unity/Assets/Editor/Generated1948Review/generated-1948-04-dark-basalt-house/generated-1948-04-dark-basalt-house.fbx.meta
rename to unity/Assets/Art/Settlements/Prototype/Models/generated-1948-04-dark-basalt-house/generated-1948-04-dark-basalt-house.fbx.meta
diff --git a/unity/Assets/Editor/Generated1948Review/generated-1948-04-dark-basalt-house/generated-1948-04-dark-basalt-house.mat b/unity/Assets/Art/Settlements/Prototype/Models/generated-1948-04-dark-basalt-house/generated-1948-04-dark-basalt-house.mat
similarity index 100%
rename from unity/Assets/Editor/Generated1948Review/generated-1948-04-dark-basalt-house/generated-1948-04-dark-basalt-house.mat
rename to unity/Assets/Art/Settlements/Prototype/Models/generated-1948-04-dark-basalt-house/generated-1948-04-dark-basalt-house.mat
diff --git a/unity/Assets/Editor/Generated1948Review/generated-1948-04-dark-basalt-house/generated-1948-04-dark-basalt-house.mat.meta b/unity/Assets/Art/Settlements/Prototype/Models/generated-1948-04-dark-basalt-house/generated-1948-04-dark-basalt-house.mat.meta
similarity index 100%
rename from unity/Assets/Editor/Generated1948Review/generated-1948-04-dark-basalt-house/generated-1948-04-dark-basalt-house.mat.meta
rename to unity/Assets/Art/Settlements/Prototype/Models/generated-1948-04-dark-basalt-house/generated-1948-04-dark-basalt-house.mat.meta
diff --git a/unity/Assets/Editor/Generated1948Review/generated-1948-04-dark-basalt-house/generated-1948-04-dark-basalt-house_basecolor.jpg b/unity/Assets/Art/Settlements/Prototype/Models/generated-1948-04-dark-basalt-house/generated-1948-04-dark-basalt-house_basecolor.jpg
similarity index 100%
rename from unity/Assets/Editor/Generated1948Review/generated-1948-04-dark-basalt-house/generated-1948-04-dark-basalt-house_basecolor.jpg
rename to unity/Assets/Art/Settlements/Prototype/Models/generated-1948-04-dark-basalt-house/generated-1948-04-dark-basalt-house_basecolor.jpg
diff --git a/unity/Assets/Editor/Generated1948Review/generated-1948-04-dark-basalt-house/generated-1948-04-dark-basalt-house_basecolor.jpg.meta b/unity/Assets/Art/Settlements/Prototype/Models/generated-1948-04-dark-basalt-house/generated-1948-04-dark-basalt-house_basecolor.jpg.meta
similarity index 100%
rename from unity/Assets/Editor/Generated1948Review/generated-1948-04-dark-basalt-house/generated-1948-04-dark-basalt-house_basecolor.jpg.meta
rename to unity/Assets/Art/Settlements/Prototype/Models/generated-1948-04-dark-basalt-house/generated-1948-04-dark-basalt-house_basecolor.jpg.meta
diff --git a/unity/Assets/Editor/Generated1948Review/generated-1948-04-dark-basalt-house/provenance.json b/unity/Assets/Art/Settlements/Prototype/Models/generated-1948-04-dark-basalt-house/provenance.json
similarity index 89%
rename from unity/Assets/Editor/Generated1948Review/generated-1948-04-dark-basalt-house/provenance.json
rename to unity/Assets/Art/Settlements/Prototype/Models/generated-1948-04-dark-basalt-house/provenance.json
index 8a668ad54..bfb1b117d 100644
--- a/unity/Assets/Editor/Generated1948Review/generated-1948-04-dark-basalt-house/provenance.json
+++ b/unity/Assets/Art/Settlements/Prototype/Models/generated-1948-04-dark-basalt-house/provenance.json
@@ -16,8 +16,8 @@
"compatibility_fbx": "Local GLB-to-FBX export, never provider-original FBX",
"decimation": false,
"local_geometry_repairs": false,
- "campaign_status": "Held: #1273/own-streamed bundle interface and maintainer art/sensitivity sign-off pending",
- "source_caveats": "Original source review pending at full quality",
+ "campaign_status": "In the game as a town building, streamed after the first frame (TownModels); signed off by the owner 27 October 2026 (#756)",
+ "source_caveats": "Signed off by the owner 27 October 2026 (#756)",
"fbx_sha256": "e2bc341f784d9ba436c183f3d081c1c65d8cb054c00fcd719e724531fd15f3f6",
"compatibility_export_triangles": 5624,
"triangle_corner_positions_preserved": true,
diff --git a/unity/Assets/Editor/Generated1948Review/generated-1948-04-dark-basalt-house/provenance.json.meta b/unity/Assets/Art/Settlements/Prototype/Models/generated-1948-04-dark-basalt-house/provenance.json.meta
similarity index 100%
rename from unity/Assets/Editor/Generated1948Review/generated-1948-04-dark-basalt-house/provenance.json.meta
rename to unity/Assets/Art/Settlements/Prototype/Models/generated-1948-04-dark-basalt-house/provenance.json.meta
diff --git a/unity/Assets/Editor/Generated1948Review/generated-1948-05-plastered-courtyard-house-original.meta b/unity/Assets/Art/Settlements/Prototype/Models/generated-1948-05-plastered-courtyard-house-original.meta
similarity index 100%
rename from unity/Assets/Editor/Generated1948Review/generated-1948-05-plastered-courtyard-house-original.meta
rename to unity/Assets/Art/Settlements/Prototype/Models/generated-1948-05-plastered-courtyard-house-original.meta
diff --git a/unity/Assets/Editor/Generated1948Review/generated-1948-05-plastered-courtyard-house-original/generated-1948-05-plastered-courtyard-house-original-light.asset b/unity/Assets/Art/Settlements/Prototype/Models/generated-1948-05-plastered-courtyard-house-original/generated-1948-05-plastered-courtyard-house-original-light.asset
similarity index 100%
rename from unity/Assets/Editor/Generated1948Review/generated-1948-05-plastered-courtyard-house-original/generated-1948-05-plastered-courtyard-house-original-light.asset
rename to unity/Assets/Art/Settlements/Prototype/Models/generated-1948-05-plastered-courtyard-house-original/generated-1948-05-plastered-courtyard-house-original-light.asset
diff --git a/unity/Assets/Editor/Generated1948Review/generated-1948-05-plastered-courtyard-house-original/generated-1948-05-plastered-courtyard-house-original-light.asset.meta b/unity/Assets/Art/Settlements/Prototype/Models/generated-1948-05-plastered-courtyard-house-original/generated-1948-05-plastered-courtyard-house-original-light.asset.meta
similarity index 100%
rename from unity/Assets/Editor/Generated1948Review/generated-1948-05-plastered-courtyard-house-original/generated-1948-05-plastered-courtyard-house-original-light.asset.meta
rename to unity/Assets/Art/Settlements/Prototype/Models/generated-1948-05-plastered-courtyard-house-original/generated-1948-05-plastered-courtyard-house-original-light.asset.meta
diff --git a/unity/Assets/Editor/Generated1948Review/generated-1948-05-plastered-courtyard-house-original/generated-1948-05-plastered-courtyard-house-original-light.json b/unity/Assets/Art/Settlements/Prototype/Models/generated-1948-05-plastered-courtyard-house-original/generated-1948-05-plastered-courtyard-house-original-light.json
similarity index 76%
rename from unity/Assets/Editor/Generated1948Review/generated-1948-05-plastered-courtyard-house-original/generated-1948-05-plastered-courtyard-house-original-light.json
rename to unity/Assets/Art/Settlements/Prototype/Models/generated-1948-05-plastered-courtyard-house-original/generated-1948-05-plastered-courtyard-house-original-light.json
index d750bd8f3..b26cb80c4 100644
--- a/unity/Assets/Editor/Generated1948Review/generated-1948-05-plastered-courtyard-house-original/generated-1948-05-plastered-courtyard-house-original-light.json
+++ b/unity/Assets/Art/Settlements/Prototype/Models/generated-1948-05-plastered-courtyard-house-original/generated-1948-05-plastered-courtyard-house-original-light.json
@@ -1,6 +1,6 @@
{
"tool": "HexHouseLevels",
- "source": "Assets/Editor/Generated1948Review/generated-1948-05-plastered-courtyard-house-original/generated-1948-05-plastered-courtyard-house-original.fbx",
+ "source": "Assets/Art/Settlements/Prototype/Models/generated-1948-05-plastered-courtyard-house-original/generated-1948-05-plastered-courtyard-house-original.fbx",
"source_sha256": "7f4bad13bf36c5872864932f9cdb03bace11f3b4adabd8e7726dcccd4ee71e9a",
"source_triangles": 8193,
"triangles": 6775,
diff --git a/unity/Assets/Editor/Generated1948Review/generated-1948-05-plastered-courtyard-house-original/generated-1948-05-plastered-courtyard-house-original-light.json.meta b/unity/Assets/Art/Settlements/Prototype/Models/generated-1948-05-plastered-courtyard-house-original/generated-1948-05-plastered-courtyard-house-original-light.json.meta
similarity index 100%
rename from unity/Assets/Editor/Generated1948Review/generated-1948-05-plastered-courtyard-house-original/generated-1948-05-plastered-courtyard-house-original-light.json.meta
rename to unity/Assets/Art/Settlements/Prototype/Models/generated-1948-05-plastered-courtyard-house-original/generated-1948-05-plastered-courtyard-house-original-light.json.meta
diff --git a/unity/Assets/Editor/Generated1948Review/generated-1948-05-plastered-courtyard-house-original/generated-1948-05-plastered-courtyard-house-original-light.prefab b/unity/Assets/Art/Settlements/Prototype/Models/generated-1948-05-plastered-courtyard-house-original/generated-1948-05-plastered-courtyard-house-original-light.prefab
similarity index 100%
rename from unity/Assets/Editor/Generated1948Review/generated-1948-05-plastered-courtyard-house-original/generated-1948-05-plastered-courtyard-house-original-light.prefab
rename to unity/Assets/Art/Settlements/Prototype/Models/generated-1948-05-plastered-courtyard-house-original/generated-1948-05-plastered-courtyard-house-original-light.prefab
diff --git a/unity/Assets/Editor/Generated1948Review/generated-1948-05-plastered-courtyard-house-original/generated-1948-05-plastered-courtyard-house-original-light.prefab.meta b/unity/Assets/Art/Settlements/Prototype/Models/generated-1948-05-plastered-courtyard-house-original/generated-1948-05-plastered-courtyard-house-original-light.prefab.meta
similarity index 100%
rename from unity/Assets/Editor/Generated1948Review/generated-1948-05-plastered-courtyard-house-original/generated-1948-05-plastered-courtyard-house-original-light.prefab.meta
rename to unity/Assets/Art/Settlements/Prototype/Models/generated-1948-05-plastered-courtyard-house-original/generated-1948-05-plastered-courtyard-house-original-light.prefab.meta
diff --git a/unity/Assets/Art/Settlements/Prototype/Models/generated-1948-05-plastered-courtyard-house-original/generated-1948-05-plastered-courtyard-house-original-stream.prefab b/unity/Assets/Art/Settlements/Prototype/Models/generated-1948-05-plastered-courtyard-house-original/generated-1948-05-plastered-courtyard-house-original-stream.prefab
new file mode 100644
index 000000000..eafb62a7c
--- /dev/null
+++ b/unity/Assets/Art/Settlements/Prototype/Models/generated-1948-05-plastered-courtyard-house-original/generated-1948-05-plastered-courtyard-house-original-stream.prefab
@@ -0,0 +1,83 @@
+%YAML 1.1
+%TAG !u! tag:unity3d.com,2011:
+--- !u!1001 &1098220291886980007
+PrefabInstance:
+ m_ObjectHideFlags: 0
+ serializedVersion: 2
+ m_Modification:
+ serializedVersion: 3
+ m_TransformParent: {fileID: 0}
+ m_Modifications:
+ - target: {fileID: -8679921383154817045, guid: b2a2a000b7ba43b98f24dd816e53ea49, type: 3}
+ propertyPath: m_LocalPosition.x
+ value: -0
+ objectReference: {fileID: 0}
+ - target: {fileID: -8679921383154817045, guid: b2a2a000b7ba43b98f24dd816e53ea49, type: 3}
+ propertyPath: m_LocalPosition.y
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: -8679921383154817045, guid: b2a2a000b7ba43b98f24dd816e53ea49, type: 3}
+ propertyPath: m_LocalPosition.z
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: -8679921383154817045, guid: b2a2a000b7ba43b98f24dd816e53ea49, type: 3}
+ propertyPath: m_LocalRotation.w
+ value: 0.7071067
+ objectReference: {fileID: 0}
+ - target: {fileID: -8679921383154817045, guid: b2a2a000b7ba43b98f24dd816e53ea49, type: 3}
+ propertyPath: m_LocalRotation.x
+ value: -0.7071068
+ objectReference: {fileID: 0}
+ - target: {fileID: -8679921383154817045, guid: b2a2a000b7ba43b98f24dd816e53ea49, type: 3}
+ propertyPath: m_LocalRotation.y
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: -8679921383154817045, guid: b2a2a000b7ba43b98f24dd816e53ea49, type: 3}
+ propertyPath: m_LocalRotation.z
+ value: -0
+ objectReference: {fileID: 0}
+ - target: {fileID: -8679921383154817045, guid: b2a2a000b7ba43b98f24dd816e53ea49, type: 3}
+ propertyPath: m_LocalEulerAnglesHint.x
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: -8679921383154817045, guid: b2a2a000b7ba43b98f24dd816e53ea49, type: 3}
+ propertyPath: m_LocalEulerAnglesHint.y
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: -8679921383154817045, guid: b2a2a000b7ba43b98f24dd816e53ea49, type: 3}
+ propertyPath: m_LocalEulerAnglesHint.z
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: -7511558181221131132, guid: b2a2a000b7ba43b98f24dd816e53ea49, type: 3}
+ propertyPath: 'm_Materials.Array.data[0]'
+ value:
+ objectReference: {fileID: 2100000, guid: 1c764ad843c148088b82dd6152bdc6a4, type: 2}
+ - target: {fileID: 919132149155446097, guid: b2a2a000b7ba43b98f24dd816e53ea49, type: 3}
+ propertyPath: m_Name
+ value: generated-1948-05-plastered-courtyard-house-original-stream
+ objectReference: {fileID: 0}
+ m_RemovedComponents: []
+ m_RemovedGameObjects: []
+ m_AddedGameObjects: []
+ m_AddedComponents:
+ - targetCorrespondingSourceObject: {fileID: 919132149155446097, guid: b2a2a000b7ba43b98f24dd816e53ea49, type: 3}
+ insertIndex: -1
+ addedObject: {fileID: 6549837280773111284}
+ m_SourcePrefab: {fileID: 100100000, guid: b2a2a000b7ba43b98f24dd816e53ea49, type: 3}
+--- !u!1 &287315962766665462 stripped
+GameObject:
+ m_CorrespondingSourceObject: {fileID: 919132149155446097, guid: b2a2a000b7ba43b98f24dd816e53ea49, type: 3}
+ m_PrefabInstance: {fileID: 1098220291886980007}
+ m_PrefabAsset: {fileID: 0}
+--- !u!114 &6549837280773111284
+MonoBehaviour:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 287315962766665462}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: e77a9d0471f794527b4c41799be6b978, type: 3}
+ m_Name:
+ m_EditorClassIdentifier: Statecraft.Game::Statecraft.Game.Map.Collection.OriginalModelDistance
diff --git a/unity/Assets/Editor/Generated1948Review/generated-1948-05-plastered-courtyard-house-original/generated-1948-05-plastered-courtyard-house-original.prefab.meta b/unity/Assets/Art/Settlements/Prototype/Models/generated-1948-05-plastered-courtyard-house-original/generated-1948-05-plastered-courtyard-house-original-stream.prefab.meta
similarity index 100%
rename from unity/Assets/Editor/Generated1948Review/generated-1948-05-plastered-courtyard-house-original/generated-1948-05-plastered-courtyard-house-original.prefab.meta
rename to unity/Assets/Art/Settlements/Prototype/Models/generated-1948-05-plastered-courtyard-house-original/generated-1948-05-plastered-courtyard-house-original-stream.prefab.meta
diff --git a/unity/Assets/Editor/Generated1948Review/generated-1948-05-plastered-courtyard-house-original/generated-1948-05-plastered-courtyard-house-original.fbx b/unity/Assets/Art/Settlements/Prototype/Models/generated-1948-05-plastered-courtyard-house-original/generated-1948-05-plastered-courtyard-house-original.fbx
similarity index 100%
rename from unity/Assets/Editor/Generated1948Review/generated-1948-05-plastered-courtyard-house-original/generated-1948-05-plastered-courtyard-house-original.fbx
rename to unity/Assets/Art/Settlements/Prototype/Models/generated-1948-05-plastered-courtyard-house-original/generated-1948-05-plastered-courtyard-house-original.fbx
diff --git a/unity/Assets/Editor/Generated1948Review/generated-1948-05-plastered-courtyard-house-original/generated-1948-05-plastered-courtyard-house-original.fbx.meta b/unity/Assets/Art/Settlements/Prototype/Models/generated-1948-05-plastered-courtyard-house-original/generated-1948-05-plastered-courtyard-house-original.fbx.meta
similarity index 100%
rename from unity/Assets/Editor/Generated1948Review/generated-1948-05-plastered-courtyard-house-original/generated-1948-05-plastered-courtyard-house-original.fbx.meta
rename to unity/Assets/Art/Settlements/Prototype/Models/generated-1948-05-plastered-courtyard-house-original/generated-1948-05-plastered-courtyard-house-original.fbx.meta
diff --git a/unity/Assets/Editor/Generated1948Review/generated-1948-05-plastered-courtyard-house-original/generated-1948-05-plastered-courtyard-house-original.mat b/unity/Assets/Art/Settlements/Prototype/Models/generated-1948-05-plastered-courtyard-house-original/generated-1948-05-plastered-courtyard-house-original.mat
similarity index 100%
rename from unity/Assets/Editor/Generated1948Review/generated-1948-05-plastered-courtyard-house-original/generated-1948-05-plastered-courtyard-house-original.mat
rename to unity/Assets/Art/Settlements/Prototype/Models/generated-1948-05-plastered-courtyard-house-original/generated-1948-05-plastered-courtyard-house-original.mat
diff --git a/unity/Assets/Editor/Generated1948Review/generated-1948-05-plastered-courtyard-house-original/generated-1948-05-plastered-courtyard-house-original.mat.meta b/unity/Assets/Art/Settlements/Prototype/Models/generated-1948-05-plastered-courtyard-house-original/generated-1948-05-plastered-courtyard-house-original.mat.meta
similarity index 100%
rename from unity/Assets/Editor/Generated1948Review/generated-1948-05-plastered-courtyard-house-original/generated-1948-05-plastered-courtyard-house-original.mat.meta
rename to unity/Assets/Art/Settlements/Prototype/Models/generated-1948-05-plastered-courtyard-house-original/generated-1948-05-plastered-courtyard-house-original.mat.meta
diff --git a/unity/Assets/Editor/Generated1948Review/generated-1948-05-plastered-courtyard-house-original/generated-1948-05-plastered-courtyard-house-original_basecolor.jpg b/unity/Assets/Art/Settlements/Prototype/Models/generated-1948-05-plastered-courtyard-house-original/generated-1948-05-plastered-courtyard-house-original_basecolor.jpg
similarity index 100%
rename from unity/Assets/Editor/Generated1948Review/generated-1948-05-plastered-courtyard-house-original/generated-1948-05-plastered-courtyard-house-original_basecolor.jpg
rename to unity/Assets/Art/Settlements/Prototype/Models/generated-1948-05-plastered-courtyard-house-original/generated-1948-05-plastered-courtyard-house-original_basecolor.jpg
diff --git a/unity/Assets/Editor/Generated1948Review/generated-1948-05-plastered-courtyard-house-original/generated-1948-05-plastered-courtyard-house-original_basecolor.jpg.meta b/unity/Assets/Art/Settlements/Prototype/Models/generated-1948-05-plastered-courtyard-house-original/generated-1948-05-plastered-courtyard-house-original_basecolor.jpg.meta
similarity index 100%
rename from unity/Assets/Editor/Generated1948Review/generated-1948-05-plastered-courtyard-house-original/generated-1948-05-plastered-courtyard-house-original_basecolor.jpg.meta
rename to unity/Assets/Art/Settlements/Prototype/Models/generated-1948-05-plastered-courtyard-house-original/generated-1948-05-plastered-courtyard-house-original_basecolor.jpg.meta
diff --git a/unity/Assets/Editor/Generated1948Review/generated-1948-05-plastered-courtyard-house-original/provenance.json b/unity/Assets/Art/Settlements/Prototype/Models/generated-1948-05-plastered-courtyard-house-original/provenance.json
similarity index 93%
rename from unity/Assets/Editor/Generated1948Review/generated-1948-05-plastered-courtyard-house-original/provenance.json
rename to unity/Assets/Art/Settlements/Prototype/Models/generated-1948-05-plastered-courtyard-house-original/provenance.json
index 4d1d94d9c..d75864bcd 100644
--- a/unity/Assets/Editor/Generated1948Review/generated-1948-05-plastered-courtyard-house-original/provenance.json
+++ b/unity/Assets/Art/Settlements/Prototype/Models/generated-1948-05-plastered-courtyard-house-original/provenance.json
@@ -20,7 +20,7 @@
"compatibility_fbx": "Local GLB-to-FBX export, never provider-original FBX",
"decimation": false,
"local_geometry_repairs": false,
- "campaign_status": "Held: #1273/own-streamed bundle interface and maintainer art/sensitivity sign-off pending",
+ "campaign_status": "In the game as a town building, streamed after the first frame (TownModels); signed off by the owner 27 October 2026 (#756)",
"source_caveats": "Regenerated 24 October 2026 at the owner's request on #1379; one continuous L-shaped roof deck replaces the provider original without its roof deck.",
"fbx_sha256": "7f4bad13bf36c5872864932f9cdb03bace11f3b4adabd8e7726dcccd4ee71e9a",
"compatibility_export_triangles": 8193,
diff --git a/unity/Assets/Editor/Generated1948Review/generated-1948-05-plastered-courtyard-house-original/provenance.json.meta b/unity/Assets/Art/Settlements/Prototype/Models/generated-1948-05-plastered-courtyard-house-original/provenance.json.meta
similarity index 100%
rename from unity/Assets/Editor/Generated1948Review/generated-1948-05-plastered-courtyard-house-original/provenance.json.meta
rename to unity/Assets/Art/Settlements/Prototype/Models/generated-1948-05-plastered-courtyard-house-original/provenance.json.meta
diff --git a/unity/Assets/Art/Settlements/TownModels.asset b/unity/Assets/Art/Settlements/TownModels.asset
index e4973242f..a931e6402 100644
--- a/unity/Assets/Art/Settlements/TownModels.asset
+++ b/unity/Assets/Art/Settlements/TownModels.asset
@@ -31,6 +31,11 @@ MonoBehaviour:
- {fileID: 5200642155044938382, guid: 568eb33bbe1594f8b98370f0360d5187, type: 3}
- {fileID: -1841594428100553386, guid: 4300bb4b2dd16417793cf37c78b5380f, type: 3}
- {fileID: -945331251436901558, guid: c9ee3e257fa584ef3ba25df0c5b8c9b1, type: 3}
+ - {fileID: -7036865202486628019, guid: 8558df465045476c92dc0503aee66a42, type: 3}
+ - {fileID: -6547960699132832941, guid: bf14435afb9e54555818420e287dc11d, type: 3}
+ - {fileID: 165116337296186205, guid: f814cd69f13ed41789ef3e5cb1874061, type: 3}
+ - {fileID: -68576836588332208, guid: a62b9c8119d9343f3a716dbb41cbb619, type: 3}
+ - {fileID: 6189286984566271686, guid: b2a2a000b7ba43b98f24dd816e53ea49, type: 3}
materials:
- {fileID: 2100000, guid: 977b05ea3422e4b208b99224a42478be, type: 2}
- {fileID: 2100000, guid: 9640eb0d57d974d908d698cb3398737d, type: 2}
@@ -50,6 +55,11 @@ MonoBehaviour:
- {fileID: 2100000, guid: 5facab8089c994124a6e30609fe6e98d, type: 2}
- {fileID: 2100000, guid: 3722f2764d37e4c158eac45c9fcc34b5, type: 2}
- {fileID: 2100000, guid: 150ab9e74875e490b901f20f8e0cee9f, type: 2}
+ - {fileID: 2100000, guid: c5f9c6c6d4d944a5a842a00b7ea09027, type: 2}
+ - {fileID: 2100000, guid: 8dabcb38bc6f9427282c33b40df32042, type: 2}
+ - {fileID: 2100000, guid: 9136f969b8fc4481597f6904381a5462, type: 2}
+ - {fileID: 2100000, guid: 1cf3529059bc341309fa14a814ce73fb, type: 2}
+ - {fileID: 2100000, guid: 1c764ad843c148088b82dd6152bdc6a4, type: 2}
mid:
- {fileID: -7336195377453608600, guid: 41685d08aa0694b67ade49ea8d6fee2a, type: 3}
- {fileID: -2949438766715765048, guid: 3924c51a3e0724baca4c6f96a6b79e41, type: 3}
@@ -69,6 +79,11 @@ MonoBehaviour:
- {fileID: 5200642155044938382, guid: 568eb33bbe1594f8b98370f0360d5187, type: 3}
- {fileID: -1841594428100553386, guid: 4300bb4b2dd16417793cf37c78b5380f, type: 3}
- {fileID: -945331251436901558, guid: c9ee3e257fa584ef3ba25df0c5b8c9b1, type: 3}
+ - {fileID: -7036865202486628019, guid: 8558df465045476c92dc0503aee66a42, type: 3}
+ - {fileID: -6547960699132832941, guid: bf14435afb9e54555818420e287dc11d, type: 3}
+ - {fileID: 165116337296186205, guid: f814cd69f13ed41789ef3e5cb1874061, type: 3}
+ - {fileID: -68576836588332208, guid: a62b9c8119d9343f3a716dbb41cbb619, type: 3}
+ - {fileID: 6189286984566271686, guid: b2a2a000b7ba43b98f24dd816e53ea49, type: 3}
far:
- {fileID: -7336195377453608600, guid: 41685d08aa0694b67ade49ea8d6fee2a, type: 3}
- {fileID: -2949438766715765048, guid: 3924c51a3e0724baca4c6f96a6b79e41, type: 3}
@@ -88,6 +103,11 @@ MonoBehaviour:
- {fileID: 5200642155044938382, guid: 568eb33bbe1594f8b98370f0360d5187, type: 3}
- {fileID: -1841594428100553386, guid: 4300bb4b2dd16417793cf37c78b5380f, type: 3}
- {fileID: -945331251436901558, guid: c9ee3e257fa584ef3ba25df0c5b8c9b1, type: 3}
+ - {fileID: -7036865202486628019, guid: 8558df465045476c92dc0503aee66a42, type: 3}
+ - {fileID: -6547960699132832941, guid: bf14435afb9e54555818420e287dc11d, type: 3}
+ - {fileID: 165116337296186205, guid: f814cd69f13ed41789ef3e5cb1874061, type: 3}
+ - {fileID: -68576836588332208, guid: a62b9c8119d9343f3a716dbb41cbb619, type: 3}
+ - {fileID: 6189286984566271686, guid: b2a2a000b7ba43b98f24dd816e53ea49, type: 3}
farthest:
- {fileID: -7336195377453608600, guid: 41685d08aa0694b67ade49ea8d6fee2a, type: 3}
- {fileID: -2949438766715765048, guid: 3924c51a3e0724baca4c6f96a6b79e41, type: 3}
@@ -107,3 +127,8 @@ MonoBehaviour:
- {fileID: 5200642155044938382, guid: 568eb33bbe1594f8b98370f0360d5187, type: 3}
- {fileID: -1841594428100553386, guid: 4300bb4b2dd16417793cf37c78b5380f, type: 3}
- {fileID: -945331251436901558, guid: c9ee3e257fa584ef3ba25df0c5b8c9b1, type: 3}
+ - {fileID: -7036865202486628019, guid: 8558df465045476c92dc0503aee66a42, type: 3}
+ - {fileID: -6547960699132832941, guid: bf14435afb9e54555818420e287dc11d, type: 3}
+ - {fileID: 165116337296186205, guid: f814cd69f13ed41789ef3e5cb1874061, type: 3}
+ - {fileID: -68576836588332208, guid: a62b9c8119d9343f3a716dbb41cbb619, type: 3}
+ - {fileID: 6189286984566271686, guid: b2a2a000b7ba43b98f24dd816e53ea49, type: 3}
diff --git a/unity/Assets/Editor/CollectionImport.cs b/unity/Assets/Editor/CollectionImport.cs
index 7412fbb75..a77b28fbd 100644
--- a/unity/Assets/Editor/CollectionImport.cs
+++ b/unity/Assets/Editor/CollectionImport.cs
@@ -46,14 +46,18 @@ namespace Statecraft.Game.EditorTools
/// <summary>Issue #707: the special-buildings bundle's prefabs, one per model, beside #675's imported model in its own
/// folder (CollectionCatalog.PrefabPath): the model with its own material on every renderer. The models' import
- /// settings are #675's and are left as they are.</summary>
+ /// settings are #675's and are left as they are; Tal Heuberger's generated houses keep their delivered import settings
+ /// (max 4096, quality 100, no rig), so only their prefabs are built.</summary>
public static void MakeBuildingPrefabs()
{
foreach (var id in CollectionCatalog.Ids.Where(CollectionCatalog.IsBuilding))
{
string dir = $"{CollectionCatalog.BuildingsFolder}/{id}";
- ImportModel($"{dir}/{id}.fbx", animated: false);
- ImportColourMap($"{dir}/{id}_basecolor.jpg");
+ if (!CollectionCatalog.IsGeneratedHouse(id))
+ {
+ ImportModel($"{dir}/{id}.fbx", animated: false);
+ ImportColourMap($"{dir}/{id}_basecolor.jpg");
+ }
var model = AssetDatabase.LoadAssetAtPath<GameObject>($"{dir}/{id}.fbx") ?? throw new InvalidOperationException($"{id}: no model");
var mat = AssetDatabase.LoadAssetAtPath<Material>($"{dir}/{id}.mat") ?? throw new InvalidOperationException($"{id}: no material");
mat.enableInstancing = true; EditorUtility.SetDirty(mat);
@@ -68,7 +72,7 @@ namespace Statecraft.Game.EditorTools
finally { UnityEngine.Object.DestroyImmediate(go); }
}
AssetDatabase.SaveAssets();
- Debug.Log("CollectionImport: 23 original building prefabs");
+ Debug.Log(FormattableString.Invariant($"CollectionImport: {CollectionCatalog.Ids.Count(CollectionCatalog.IsBuilding)} building prefabs"));
}
static void ImportModel(string path, bool animated)
@@ -169,12 +173,12 @@ namespace Statecraft.Game.EditorTools
/// <summary>Where a target's bundles are built (incremental, git-ignored).</summary>
public static string BundleCache(BuildTarget target) => Path.Combine("Library", "CollectionBundles", target.ToString());
- /// <summary>The bundles: each catalog bundle carries its models' far and near prefabs; their meshes, clips,
- /// controllers, materials and colour maps come in as dependencies.</summary>
+ /// <summary>The bundles: each catalog bundle carries its models' far and near prefabs and source model files
+ /// (CollectionCatalog.SourceModelPath); their meshes, clips, controllers, materials and colour maps come in as dependencies.</summary>
public static AssetBundleBuild[] Builds() => CollectionCatalog.Bundles.Select(b => new AssetBundleBuild
{
assetBundleName = b.Bundle,
- assetNames = b.Ids.SelectMany(id => new[] { CollectionCatalog.PrefabPath(id, CollectionDetail.Far), CollectionCatalog.PrefabPath(id, CollectionDetail.Near), CollectionCatalog.IsBuilding(id) ? $"{CollectionCatalog.BuildingsFolder}/{id}/{id}.fbx" : Model(id, CollectionDetail.Near) }).Distinct().ToArray(),
+ assetNames = b.Ids.SelectMany(id => new[] { CollectionCatalog.PrefabPath(id, CollectionDetail.Far), CollectionCatalog.PrefabPath(id, CollectionDetail.Near), CollectionCatalog.SourceModelPath(id) }).Distinct().ToArray(),
}).ToArray();
/// <summary>Writes <see cref="CollectionCatalog.ChecksFile"/> into <paramref name="folder"/> for the built
diff --git a/unity/Assets/Editor/Generated1948BuildingsPropsAssets.cs b/unity/Assets/Editor/Generated1948BuildingsPropsAssets.cs
index de834e5c1..33b9db0b2 100644
--- a/unity/Assets/Editor/Generated1948BuildingsPropsAssets.cs
+++ b/unity/Assets/Editor/Generated1948BuildingsPropsAssets.cs
@@ -44,9 +44,18 @@ namespace Statecraft.Game.EditorTools
var ti = AssetImporter.GetAtPath(AssetDatabase.GetAssetPath(texture)) as TextureImporter;
if (texture == null || ti == null || ti.crunchedCompression || ti.textureCompression != TextureImporterCompression.Compressed || ti.maxTextureSize < 4096)
throw new InvalidOperationException("Exact original full-size colour map required: " + Ids[i]);
- var go = UnityEngine.Object.Instantiate(source);
- foreach (var renderer in go.GetComponentsInChildren<Renderer>(true)) renderer.sharedMaterial = material;
- var prefab = PrefabUtility.SaveAsPrefabAsset(go, stem + ".prefab"); UnityEngine.Object.DestroyImmediate(go);
+ GameObject prefab;
+ if (Array.IndexOf(Statecraft.Game.Map.Kits.TownModels.Ids, Ids[i]) >= 0 || Statecraft.Game.Map.Collection.CollectionCatalog.IsGeneratedProp(Ids[i]))
+ // A model placed in the game (a house, or the Bedouin or khaki tent): the review shows the prefab the game
+ // streams and never re-saves it (as VehicleReviewAssets does for a placed vehicle, #2014).
+ prefab = AssetDatabase.LoadAssetAtPath<GameObject>(Generated1948BuildingsPropsReview.PrefabOf(Ids[i]))
+ ?? throw new InvalidOperationException("No shipped prefab for placed model " + Ids[i] + " (a house's comes from CollectionImport.MakeBuildingPrefabs)");
+ else
+ {
+ var go = UnityEngine.Object.Instantiate(source);
+ foreach (var renderer in go.GetComponentsInChildren<Renderer>(true)) renderer.sharedMaterial = material;
+ prefab = PrefabUtility.SaveAsPrefabAsset(go, stem + ".prefab"); UnityEngine.Object.DestroyImmediate(go);
+ }
prefabs.GetArrayElementAtIndex(i).objectReferenceValue = prefab;
materials.GetArrayElementAtIndex(i).objectReferenceValue = material;
labels.GetArrayElementAtIndex(i).stringValue = names[i];
diff --git a/unity/Assets/Editor/Generated1948Review/GeneratedBuildingsPropsReview.unity b/unity/Assets/Editor/Generated1948Review/GeneratedBuildingsPropsReview.unity
index abeec70c2..9d6e6dbbd 100644
--- a/unity/Assets/Editor/Generated1948Review/GeneratedBuildingsPropsReview.unity
+++ b/unity/Assets/Editor/Generated1948Review/GeneratedBuildingsPropsReview.unity
@@ -164,11 +164,11 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
prefabs:
- - {fileID: 2694748190392892041, guid: 685fd4045fb4646598b9693775bd4ce6, type: 3}
- - {fileID: 7756666670179011706, guid: 94cc1ba0472f04ad781c70e0e4ad1c02, type: 3}
- - {fileID: 6772956775808692033, guid: a76bbf9b113774ac68213ab822577b40, type: 3}
- - {fileID: 3250625692179819001, guid: 5c2ad86055ac84bce8f66e73de9ea836, type: 3}
- - {fileID: 8436987707488393102, guid: c9635551e53ea4e9e8faea7bd6624ad1, type: 3}
+ - {fileID: 2094523501856701804, guid: 685fd4045fb4646598b9693775bd4ce6, type: 3}
+ - {fileID: 290007443281385569, guid: 94cc1ba0472f04ad781c70e0e4ad1c02, type: 3}
+ - {fileID: 6066433023938201594, guid: a76bbf9b113774ac68213ab822577b40, type: 3}
+ - {fileID: 8970109195910864971, guid: 5c2ad86055ac84bce8f66e73de9ea836, type: 3}
+ - {fileID: 287315962766665462, guid: c9635551e53ea4e9e8faea7bd6624ad1, type: 3}
- {fileID: 3796475912880161466, guid: ab1a815d02c5544a6bd94eec22a3279f, type: 3}
- {fileID: 7139850653347463362, guid: f206fcf035dd04bd9bfd37a7a2bfd111, type: 3}
- {fileID: 1389401283150266740, guid: cc1ef9293b8fd48438b46fdce762a1cb, type: 3}
diff --git a/unity/Assets/Editor/Generated1948Review/generated-1948-01-netanya-tiled-house-original/generated-1948-01-netanya-tiled-house-original.prefab b/unity/Assets/Editor/Generated1948Review/generated-1948-01-netanya-tiled-house-original/generated-1948-01-netanya-tiled-house-original.prefab
deleted file mode 100644
index ba9d9c657..000000000
--- a/unity/Assets/Editor/Generated1948Review/generated-1948-01-netanya-tiled-house-original/generated-1948-01-netanya-tiled-house-original.prefab
+++ /dev/null
@@ -1,92 +0,0 @@
-%YAML 1.1
-%TAG !u! tag:unity3d.com,2011:
---- !u!1 &2694748190392892041
-GameObject:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- serializedVersion: 6
- m_Component:
- - component: {fileID: 4093467837072231943}
- - component: {fileID: 4618802066589030522}
- - component: {fileID: 6753743555065621820}
- m_Layer: 0
- m_Name: generated-1948-01-netanya-tiled-house-original
- m_TagString: Untagged
- m_Icon: {fileID: 0}
- m_NavMeshLayer: 0
- m_StaticEditorFlags: 0
- m_IsActive: 1
---- !u!4 &4093467837072231943
-Transform:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- m_GameObject: {fileID: 2694748190392892041}
- serializedVersion: 2
- m_LocalRotation: {x: -0.7071068, y: 0, z: -0, w: 0.7071067}
- m_LocalPosition: {x: -0, y: 0, z: 0}
- m_LocalScale: {x: 1, y: 1, z: 1}
- m_ConstrainProportionsScale: 0
- m_Children: []
- m_Father: {fileID: 0}
- m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
---- !u!33 &4618802066589030522
-MeshFilter:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- m_GameObject: {fileID: 2694748190392892041}
- m_Mesh: {fileID: -7036865202486628019, guid: 8558df465045476c92dc0503aee66a42, type: 3}
---- !u!23 &6753743555065621820
-MeshRenderer:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- m_GameObject: {fileID: 2694748190392892041}
- m_Enabled: 1
- m_CastShadows: 1
- m_ReceiveShadows: 1
- m_DynamicOccludee: 1
- m_StaticShadowCaster: 0
- m_MotionVectors: 1
- m_LightProbeUsage: 1
- m_ReflectionProbeUsage: 1
- m_RayTracingMode: 2
- m_RayTraceProcedural: 0
- m_RayTracingAccelStructBuildFlagsOverride: 0
- m_RayTracingAccelStructBuildFlags: 1
- m_SmallMeshCulling: 1
- m_ForceMeshLod: -1
- m_MeshLodSelectionBias: 0
- m_RenderingLayerMask: 1
- m_RendererPriority: 0
- m_Materials:
- - {fileID: 2100000, guid: c5f9c6c6d4d944a5a842a00b7ea09027, type: 2}
- m_StaticBatchInfo:
- firstSubMesh: 0
- subMeshCount: 0
- m_StaticBatchRoot: {fileID: 0}
- m_ProbeAnchor: {fileID: 0}
- m_LightProbeVolumeOverride: {fileID: 0}
- m_ScaleInLightmap: 1
- m_ReceiveGI: 1
- m_PreserveUVs: 0
- m_IgnoreNormalsForChartDetection: 0
- m_ImportantGI: 0
- m_StitchLightmapSeams: 1
- m_SelectedEditorRenderState: 3
- m_MinimumChartSize: 4
- m_AutoUVMaxDistance: 0.5
- m_AutoUVMaxAngle: 89
- m_LightmapParameters: {fileID: 0}
- m_GlobalIlluminationMeshLod: 0
- m_SortingLayerID: 0
- m_SortingLayer: 0
- m_SortingOrder: 0
- m_MaskInteraction: 0
- m_AdditionalVertexStreams: {fileID: 0}
diff --git a/unity/Assets/Editor/Generated1948Review/generated-1948-02-netanya-two-storey-balcony-house/generated-1948-02-netanya-two-storey-balcony-house.prefab b/unity/Assets/Editor/Generated1948Review/generated-1948-02-netanya-two-storey-balcony-house/generated-1948-02-netanya-two-storey-balcony-house.prefab
deleted file mode 100644
index 0bb472c4e..000000000
--- a/unity/Assets/Editor/Generated1948Review/generated-1948-02-netanya-two-storey-balcony-house/generated-1948-02-netanya-two-storey-balcony-house.prefab
+++ /dev/null
@@ -1,92 +0,0 @@
-%YAML 1.1
-%TAG !u! tag:unity3d.com,2011:
---- !u!1 &7756666670179011706
-GameObject:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- serializedVersion: 6
- m_Component:
- - component: {fileID: 6984774686208005824}
- - component: {fileID: 6287372545643420005}
- - component: {fileID: 8117117436514168239}
- m_Layer: 0
- m_Name: generated-1948-02-netanya-two-storey-balcony-house
- m_TagString: Untagged
- m_Icon: {fileID: 0}
- m_NavMeshLayer: 0
- m_StaticEditorFlags: 0
- m_IsActive: 1
---- !u!4 &6984774686208005824
-Transform:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- m_GameObject: {fileID: 7756666670179011706}
- serializedVersion: 2
- m_LocalRotation: {x: -0.7071068, y: 0, z: -0, w: 0.7071067}
- m_LocalPosition: {x: 0.01562497, y: 0, z: 0}
- m_LocalScale: {x: 1, y: 1, z: 1}
- m_ConstrainProportionsScale: 0
- m_Children: []
- m_Father: {fileID: 0}
- m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
---- !u!33 &6287372545643420005
-MeshFilter:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- m_GameObject: {fileID: 7756666670179011706}
- m_Mesh: {fileID: -6547960699132832941, guid: bf14435afb9e54555818420e287dc11d, type: 3}
---- !u!23 &8117117436514168239
-MeshRenderer:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- m_GameObject: {fileID: 7756666670179011706}
- m_Enabled: 1
- m_CastShadows: 1
- m_ReceiveShadows: 1
- m_DynamicOccludee: 1
- m_StaticShadowCaster: 0
- m_MotionVectors: 1
- m_LightProbeUsage: 1
- m_ReflectionProbeUsage: 1
- m_RayTracingMode: 2
- m_RayTraceProcedural: 0
- m_RayTracingAccelStructBuildFlagsOverride: 0
- m_RayTracingAccelStructBuildFlags: 1
- m_SmallMeshCulling: 1
- m_ForceMeshLod: -1
- m_MeshLodSelectionBias: 0
- m_RenderingLayerMask: 1
- m_RendererPriority: 0
- m_Materials:
- - {fileID: 2100000, guid: 8dabcb38bc6f9427282c33b40df32042, type: 2}
- m_StaticBatchInfo:
- firstSubMesh: 0
- subMeshCount: 0
- m_StaticBatchRoot: {fileID: 0}
- m_ProbeAnchor: {fileID: 0}
- m_LightProbeVolumeOverride: {fileID: 0}
- m_ScaleInLightmap: 1
- m_ReceiveGI: 1
- m_PreserveUVs: 0
- m_IgnoreNormalsForChartDetection: 0
- m_ImportantGI: 0
- m_StitchLightmapSeams: 1
- m_SelectedEditorRenderState: 3
- m_MinimumChartSize: 4
- m_AutoUVMaxDistance: 0.5
- m_AutoUVMaxAngle: 89
- m_LightmapParameters: {fileID: 0}
- m_GlobalIlluminationMeshLod: 0
- m_SortingLayerID: 0
- m_SortingLayer: 0
- m_SortingOrder: 0
- m_MaskInteraction: 0
- m_AdditionalVertexStreams: {fileID: 0}
diff --git a/unity/Assets/Editor/Generated1948Review/generated-1948-03-netanya-flat-roof-porch-house/generated-1948-03-netanya-flat-roof-porch-house.prefab b/unity/Assets/Editor/Generated1948Review/generated-1948-03-netanya-flat-roof-porch-house/generated-1948-03-netanya-flat-roof-porch-house.prefab
deleted file mode 100644
index 72d09ede9..000000000
--- a/unity/Assets/Editor/Generated1948Review/generated-1948-03-netanya-flat-roof-porch-house/generated-1948-03-netanya-flat-roof-porch-house.prefab
+++ /dev/null
@@ -1,92 +0,0 @@
-%YAML 1.1
-%TAG !u! tag:unity3d.com,2011:
---- !u!1 &6772956775808692033
-GameObject:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- serializedVersion: 6
- m_Component:
- - component: {fileID: 6248094538856314363}
- - component: {fileID: 6997023118402894430}
- - component: {fileID: 5115698015692738196}
- m_Layer: 0
- m_Name: generated-1948-03-netanya-flat-roof-porch-house
- m_TagString: Untagged
- m_Icon: {fileID: 0}
- m_NavMeshLayer: 0
- m_StaticEditorFlags: 0
- m_IsActive: 1
---- !u!4 &6248094538856314363
-Transform:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- m_GameObject: {fileID: 6772956775808692033}
- serializedVersion: 2
- m_LocalRotation: {x: -0.7071068, y: 0, z: -0, w: 0.7071067}
- m_LocalPosition: {x: -0, y: 0, z: 0}
- m_LocalScale: {x: 1, y: 1, z: 1}
- m_ConstrainProportionsScale: 0
- m_Children: []
- m_Father: {fileID: 0}
- m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
---- !u!33 &6997023118402894430
-MeshFilter:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- m_GameObject: {fileID: 6772956775808692033}
- m_Mesh: {fileID: 165116337296186205, guid: f814cd69f13ed41789ef3e5cb1874061, type: 3}
---- !u!23 &5115698015692738196
-MeshRenderer:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- m_GameObject: {fileID: 6772956775808692033}
- m_Enabled: 1
- m_CastShadows: 1
- m_ReceiveShadows: 1
- m_DynamicOccludee: 1
- m_StaticShadowCaster: 0
- m_MotionVectors: 1
- m_LightProbeUsage: 1
- m_ReflectionProbeUsage: 1
- m_RayTracingMode: 2
- m_RayTraceProcedural: 0
- m_RayTracingAccelStructBuildFlagsOverride: 0
- m_RayTracingAccelStructBuildFlags: 1
- m_SmallMeshCulling: 1
- m_ForceMeshLod: -1
- m_MeshLodSelectionBias: 0
- m_RenderingLayerMask: 1
- m_RendererPriority: 0
- m_Materials:
- - {fileID: 2100000, guid: 9136f969b8fc4481597f6904381a5462, type: 2}
- m_StaticBatchInfo:
- firstSubMesh: 0
- subMeshCount: 0
- m_StaticBatchRoot: {fileID: 0}
- m_ProbeAnchor: {fileID: 0}
- m_LightProbeVolumeOverride: {fileID: 0}
- m_ScaleInLightmap: 1
- m_ReceiveGI: 1
- m_PreserveUVs: 0
- m_IgnoreNormalsForChartDetection: 0
- m_ImportantGI: 0
- m_StitchLightmapSeams: 1
- m_SelectedEditorRenderState: 3
- m_MinimumChartSize: 4
- m_AutoUVMaxDistance: 0.5
- m_AutoUVMaxAngle: 89
- m_LightmapParameters: {fileID: 0}
- m_GlobalIlluminationMeshLod: 0
- m_SortingLayerID: 0
- m_SortingLayer: 0
- m_SortingOrder: 0
- m_MaskInteraction: 0
- m_AdditionalVertexStreams: {fileID: 0}
diff --git a/unity/Assets/Editor/Generated1948Review/generated-1948-04-dark-basalt-house/generated-1948-04-dark-basalt-house.prefab b/unity/Assets/Editor/Generated1948Review/generated-1948-04-dark-basalt-house/generated-1948-04-dark-basalt-house.prefab
deleted file mode 100644
index 5ac8f7695..000000000
--- a/unity/Assets/Editor/Generated1948Review/generated-1948-04-dark-basalt-house/generated-1948-04-dark-basalt-house.prefab
+++ /dev/null
@@ -1,92 +0,0 @@
-%YAML 1.1
-%TAG !u! tag:unity3d.com,2011:
---- !u!1 &3250625692179819001
-GameObject:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- serializedVersion: 6
- m_Component:
- - component: {fileID: 2762776353539535683}
- - component: {fileID: 1294927700206402790}
- - component: {fileID: 3899121841432512556}
- m_Layer: 0
- m_Name: generated-1948-04-dark-basalt-house
- m_TagString: Untagged
- m_Icon: {fileID: 0}
- m_NavMeshLayer: 0
- m_StaticEditorFlags: 0
- m_IsActive: 1
---- !u!4 &2762776353539535683
-Transform:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- m_GameObject: {fileID: 3250625692179819001}
- serializedVersion: 2
- m_LocalRotation: {x: -0.7071068, y: 0, z: -0, w: 0.7071067}
- m_LocalPosition: {x: -0, y: 0, z: 0}
- m_LocalScale: {x: 1, y: 1, z: 1}
- m_ConstrainProportionsScale: 0
- m_Children: []
- m_Father: {fileID: 0}
- m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
---- !u!33 &1294927700206402790
-MeshFilter:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- m_GameObject: {fileID: 3250625692179819001}
- m_Mesh: {fileID: -68576836588332208, guid: a62b9c8119d9343f3a716dbb41cbb619, type: 3}
---- !u!23 &3899121841432512556
-MeshRenderer:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- m_GameObject: {fileID: 3250625692179819001}
- m_Enabled: 1
- m_CastShadows: 1
- m_ReceiveShadows: 1
- m_DynamicOccludee: 1
- m_StaticShadowCaster: 0
- m_MotionVectors: 1
- m_LightProbeUsage: 1
- m_ReflectionProbeUsage: 1
- m_RayTracingMode: 2
- m_RayTraceProcedural: 0
- m_RayTracingAccelStructBuildFlagsOverride: 0
- m_RayTracingAccelStructBuildFlags: 1
- m_SmallMeshCulling: 1
- m_ForceMeshLod: -1
- m_MeshLodSelectionBias: 0
- m_RenderingLayerMask: 1
- m_RendererPriority: 0
- m_Materials:
- - {fileID: 2100000, guid: 1cf3529059bc341309fa14a814ce73fb, type: 2}
- m_StaticBatchInfo:
- firstSubMesh: 0
- subMeshCount: 0
- m_StaticBatchRoot: {fileID: 0}
- m_ProbeAnchor: {fileID: 0}
- m_LightProbeVolumeOverride: {fileID: 0}
- m_ScaleInLightmap: 1
- m_ReceiveGI: 1
- m_PreserveUVs: 0
- m_IgnoreNormalsForChartDetection: 0
- m_ImportantGI: 0
- m_StitchLightmapSeams: 1
- m_SelectedEditorRenderState: 3
- m_MinimumChartSize: 4
- m_AutoUVMaxDistance: 0.5
- m_AutoUVMaxAngle: 89
- m_LightmapParameters: {fileID: 0}
- m_GlobalIlluminationMeshLod: 0
- m_SortingLayerID: 0
- m_SortingLayer: 0
- m_SortingOrder: 0
- m_MaskInteraction: 0
- m_AdditionalVertexStreams: {fileID: 0}
diff --git a/unity/Assets/Editor/Generated1948Review/generated-1948-05-plastered-courtyard-house-original/generated-1948-05-plastered-courtyard-house-original.prefab b/unity/Assets/Editor/Generated1948Review/generated-1948-05-plastered-courtyard-house-original/generated-1948-05-plastered-courtyard-house-original.prefab
deleted file mode 100644
index 09976c9ad..000000000
--- a/unity/Assets/Editor/Generated1948Review/generated-1948-05-plastered-courtyard-house-original/generated-1948-05-plastered-courtyard-house-original.prefab
+++ /dev/null
@@ -1,92 +0,0 @@
-%YAML 1.1
-%TAG !u! tag:unity3d.com,2011:
---- !u!1 &8436987707488393102
-GameObject:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- serializedVersion: 6
- m_Component:
- - component: {fileID: 7094931228893917155}
- - component: {fileID: 8089151298370882334}
- - component: {fileID: 4142608903573328674}
- m_Layer: 0
- m_Name: generated-1948-05-plastered-courtyard-house-original
- m_TagString: Untagged
- m_Icon: {fileID: 0}
- m_NavMeshLayer: 0
- m_StaticEditorFlags: 0
- m_IsActive: 1
---- !u!4 &7094931228893917155
-Transform:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- m_GameObject: {fileID: 8436987707488393102}
- serializedVersion: 2
- m_LocalRotation: {x: -0.7071068, y: 0, z: -0, w: 0.7071067}
- m_LocalPosition: {x: -0, y: 0, z: 0}
- m_LocalScale: {x: 1, y: 1, z: 1}
- m_ConstrainProportionsScale: 0
- m_Children: []
- m_Father: {fileID: 0}
- m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
---- !u!33 &8089151298370882334
-MeshFilter:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- m_GameObject: {fileID: 8436987707488393102}
- m_Mesh: {fileID: 6189286984566271686, guid: b2a2a000b7ba43b98f24dd816e53ea49, type: 3}
---- !u!23 &4142608903573328674
-MeshRenderer:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- m_GameObject: {fileID: 8436987707488393102}
- m_Enabled: 1
- m_CastShadows: 1
- m_ReceiveShadows: 1
- m_DynamicOccludee: 1
- m_StaticShadowCaster: 0
- m_MotionVectors: 1
- m_LightProbeUsage: 1
- m_ReflectionProbeUsage: 1
- m_RayTracingMode: 2
- m_RayTraceProcedural: 0
- m_RayTracingAccelStructBuildFlagsOverride: 0
- m_RayTracingAccelStructBuildFlags: 1
- m_SmallMeshCulling: 1
- m_ForceMeshLod: -1
- m_MeshLodSelectionBias: 0
- m_RenderingLayerMask: 1
- m_RendererPriority: 0
- m_Materials:
- - {fileID: 2100000, guid: 1c764ad843c148088b82dd6152bdc6a4, type: 2}
- m_StaticBatchInfo:
- firstSubMesh: 0
- subMeshCount: 0
- m_StaticBatchRoot: {fileID: 0}
- m_ProbeAnchor: {fileID: 0}
- m_LightProbeVolumeOverride: {fileID: 0}
- m_ScaleInLightmap: 1
- m_ReceiveGI: 1
- m_PreserveUVs: 0
- m_IgnoreNormalsForChartDetection: 0
- m_ImportantGI: 0
- m_StitchLightmapSeams: 1
- m_SelectedEditorRenderState: 3
- m_MinimumChartSize: 4
- m_AutoUVMaxDistance: 0.5
- m_AutoUVMaxAngle: 89
- m_LightmapParameters: {fileID: 0}
- m_GlobalIlluminationMeshLod: 0
- m_SortingLayerID: 0
- m_SortingLayer: 0
- m_SortingOrder: 0
- m_MaskInteraction: 0
- m_AdditionalVertexStreams: {fileID: 0}
diff --git a/unity/Assets/Editor/HexTiles/HexHouseLevels.cs b/unity/Assets/Editor/HexTiles/HexHouseLevels.cs
index 3921c0a92..05d656160 100644
--- a/unity/Assets/Editor/HexTiles/HexHouseLevels.cs
+++ b/unity/Assets/Editor/HexTiles/HexHouseLevels.cs
@@ -11,7 +11,7 @@ namespace Statecraft.HexTiles
{
/// <summary>A lighter level of Tal Heuberger's generated town houses for the hex-tile boards (#1901), made in the editor
/// from their delivered FBX, which is never written. Each house gets three new files beside theirs, in
- /// Assets/Editor/Generated1948Review/&lt;id&gt;/: &lt;id&gt;-light.asset (the mesh), &lt;id&gt;-light.prefab (their prefab with that
+ /// Assets/Art/Settlements/Prototype/Models/&lt;id&gt;/: &lt;id&gt;-light.asset (the mesh), &lt;id&gt;-light.prefab (their prefab with that
/// mesh, their material) and &lt;id&gt;-light.json (the source FBX's hash and the settings). HexModels.HouseLevels says which
/// hex-tile ids draw one; HexHouseLevelTests holds the promises.
///
@@ -26,7 +26,7 @@ namespace Statecraft.HexTiles
/// source's own cracks), vertices where three or more charts meet, and vertices shared by two submeshes.</summary>
public static class HexHouseLevels
{
- public const string Folder = "Assets/Editor/Generated1948Review/";
+ public const string Folder = "Assets/Art/Settlements/Prototype/Models/";
public static readonly string[] Houses =
{
"generated-1948-01-netanya-tiled-house-original", "generated-1948-02-netanya-two-storey-balcony-house",
@@ -64,7 +64,8 @@ namespace Statecraft.HexTiles
{
foreach (var id in Houses)
{
- var prefab = AssetDatabase.LoadAssetAtPath<GameObject>(Stem(id) + ".prefab");
+ // Their streamed prefab (#2046): their FBX's mesh with their material, as the review prefab was.
+ var prefab = AssetDatabase.LoadAssetAtPath<GameObject>(Stem(id) + "-stream.prefab");
var filter = prefab != null ? prefab.GetComponentInChildren<MeshFilter>() : null;
var material = prefab != null ? prefab.GetComponentInChildren<MeshRenderer>().sharedMaterial : null;
if (prefab == null || filter == null || filter.sharedMesh == null || material == null || material.mainTexture == null)
@@ -83,6 +84,9 @@ namespace Statecraft.HexTiles
try
{
go.name = id + "-light";
+ // The lighter level is hex-tile art, not a streamed original: no residency distance switch.
+ foreach (var d in go.GetComponentsInChildren<Statecraft.Game.Map.Collection.OriginalModelDistance>(true))
+ UnityEngine.Object.DestroyImmediate(d);
go.GetComponentInChildren<MeshFilter>().sharedMesh = light;
PrefabUtility.SaveAsPrefabAsset(go, LightStem(id) + ".prefab");
}
diff --git a/unity/Assets/Editor/HexTiles/Tests/HexHouseLevelTests.cs b/unity/Assets/Editor/HexTiles/Tests/HexHouseLevelTests.cs
index 84295b70b..2fe6e74eb 100644
--- a/unity/Assets/Editor/HexTiles/Tests/HexHouseLevelTests.cs
+++ b/unity/Assets/Editor/HexTiles/Tests/HexHouseLevelTests.cs
@@ -16,14 +16,14 @@ using UnityEngine;
/// one of their own, exact; no seam or edge opened; the corners where three UV charts meet all kept; no new see-through).</summary>
public class HexHouseLevelTests
{
- const string Review = "Assets/Editor/Generated1948Review/", BasaltHouse = "tiles:tiberias_town/basalt_house";
+ const string Folder = "Assets/Art/Settlements/Prototype/Models/", BasaltHouse = "tiles:tiberias_town/basalt_house";
static readonly string[] Houses =
{
"generated-1948-01-netanya-tiled-house-original", "generated-1948-02-netanya-two-storey-balcony-house",
"generated-1948-03-netanya-flat-roof-porch-house", "generated-1948-04-dark-basalt-house",
"generated-1948-05-plastered-courtyard-house-original",
};
- static string Stem(string id) => Review + id + "/" + id;
+ static string Stem(string id) => Folder + id + "/" + id;
static string Light(string id) => Stem(id) + "-light";
[Serializable] sealed class Provenance { public string fbx_sha256 = "", embedded_image_sha256 = ""; }
@@ -71,7 +71,7 @@ public class HexHouseLevelTests
[TestCaseSource(nameof(Houses))]
public void TalsDeliveredFilesAreUntouchedAndTheRecordNamesThem(string id)
{
- var provenance = JsonUtility.FromJson<Provenance>(File.ReadAllText(Disk(Review + id + "/provenance.json")));
+ var provenance = JsonUtility.FromJson<Provenance>(File.ReadAllText(Disk(Folder + id + "/provenance.json")));
string fbx = Stem(id) + ".fbx";
Assert.AreEqual(provenance.fbx_sha256, Hash(fbx), fbx);
Assert.AreEqual(provenance.embedded_image_sha256, Hash(Stem(id) + "_basecolor.jpg"), id + " colour map");
@@ -90,7 +90,7 @@ public class HexHouseLevelTests
KeepsTheSeamsAndTheTexture(id, SourceMesh(id), light);
// No new see-through (the hex tiles' wholeness check, HexModelMeshTests).
- var full = HexMeshCheck.Of(AssetDatabase.LoadAssetAtPath<GameObject>(Stem(id) + ".prefab"));
+ var full = HexMeshCheck.Of(AssetDatabase.LoadAssetAtPath<GameObject>(Stem(id) + "-stream.prefab"));
var lighter = HexMeshCheck.Of(AssetDatabase.LoadAssetAtPath<GameObject>(Light(id) + ".prefab"));
TestContext.WriteLine($"{id}: full {full}; light {lighter}");
Assert.That(lighter.SeeThroughShare, Is.LessThanOrEqualTo(full.SeeThroughShare + 0.0005f), id);
diff --git a/unity/Assets/Editor/VehicleReviewAssets.cs b/unity/Assets/Editor/VehicleReviewAssets.cs
index 96c4cd1be..5464827fc 100644
--- a/unity/Assets/Editor/VehicleReviewAssets.cs
+++ b/unity/Assets/Editor/VehicleReviewAssets.cs
@@ -32,8 +32,8 @@ namespace Statecraft.Game.EditorTools
var entry = new VehicleReviewCatalog.Entry { id = id, label = Labels[i],
longSideM = i == 1 ? UnitFigures.VehicleLengthShare * UnitBadge.FigureHeightM * UnitShowcase.FigureScale : 11.2f * UnitShowcase.AircraftScale };
catalog.entries[i] = entry;
- // A placed model (#1932: the Spitfire) ships as the game imports it (model, compressed map, material, prefab);
- // the review only shows its prefab and never re-imports or re-saves those files (#2014).
+ // A placed model (#1932: the Spitfire; #2046: the R35) ships as the game imports it (model, compressed map at quality
+ // 100, material, prefab); the review only shows its prefab and never re-imports or re-saves those files (#2014).
if (VehicleReviewCatalog.Placed(id)) { entry.model = AssetDatabase.LoadAssetAtPath<GameObject>(dir + "/" + id + ".prefab"); continue; }
var importer = AssetImporter.GetAtPath(file) as ModelImporter ?? throw new FileNotFoundException("Documented compatibility FBX missing", file);
importer.useFileScale = true; importer.importAnimation = true; importer.animationType = ModelImporterAnimationType.Generic;
diff --git a/unity/Assets/Editor/VehicleReviewSources.py b/unity/Assets/Editor/VehicleReviewSources.py
index c36f4fea5..9c45f0d85 100644
--- a/unity/Assets/Editor/VehicleReviewSources.py
+++ b/unity/Assets/Editor/VehicleReviewSources.py
@@ -17,11 +17,13 @@ import zipfile
IDS = {13: "generated-1948-13-egyptian-spitfire", 14: "generated-1948-14-syrian-renault-r35", 16: "generated-1948-16-egyptian-dakota-c47"}
ART = Path("unity/Assets/Editor/Generated1948VehicleReview")
-# Placed in the game (#1932): moved with git mv to the Collection folder, its FBX renamed to the Collection's id.fbx (same bytes).
-PLACED = {"generated-1948-13-egyptian-spitfire"}
+# Placed in the game, moved with git mv to the Collection folder: the Spitfire (#1932), its FBX renamed to the Collection's
+# id.fbx (same bytes), and the R35 at Degania Alef (#2046; owner, 27 October 2026), which keeps its -compatibility.fbx.
+PLACED = {"generated-1948-13-egyptian-spitfire", "generated-1948-14-syrian-renault-r35"}
+RENAMED = {"generated-1948-13-egyptian-spitfire"}
COLLECTION = Path("unity/Assets/Art/Collection")
home = lambda mid: COLLECTION / mid if mid in PLACED else ART / mid
-fbx_name = lambda mid: mid + (".fbx" if mid in PLACED else "-compatibility.fbx")
+fbx_name = lambda mid: mid + (".fbx" if mid in RENAMED else "-compatibility.fbx")
SOURCES = Path("asset-sources/generated-1948/vehicles")
sha = lambda data: hashlib.sha256(data).hexdigest()
@@ -97,7 +99,7 @@ def convert(repo, batch):
if mid in PLACED:
# #2014: home(mid) is the shipped Collection folder; a re-run (another Blender) must not replace its files,
# so the placed model keeps its recorded provenance entry, as VehicleReviewAssets.Import skips it too.
- print("SKIP", mid, "is placed in the game (#1932); its shipped Collection files are left as they are", flush=True)
+ print("SKIP", mid, "is placed in the game (#1932, #2046); its shipped Collection files are left as they are", flush=True)
reports.append(next(x for x in json.loads((original / "sources.json").read_text())["items"] if x["id"] == mid))
continue
blob = bundle.read(record["member"])
diff --git a/unity/Assets/Scripts/Map/Collection/CampTentModels.cs b/unity/Assets/Scripts/Map/Collection/CampTentModels.cs
new file mode 100644
index 000000000..409ae4067
--- /dev/null
+++ b/unity/Assets/Scripts/Map/Collection/CampTentModels.cs
@@ -0,0 +1,203 @@
+#nullable enable
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using Statecraft.Game.Map.Kits;
+using UnityEngine;
+using UnityEngine.Rendering;
+
+namespace Statecraft.Game.Map.Collection
+{
+ /// <summary>Tal Heuberger's khaki canvas tent (owner, 27 October 2026, #756: "Sign off all 19"; the prepared role in
+ /// docs/generated-buildings-props-mapping.json, "Existing non-white transit-camp ridge tents") in place of a transit camp's
+ /// khaki ridge tents, up close. The camp kit builds those tents into a mesh of their own (SettlementKits.MaabarotSplit);
+ /// this component sits on that mesh's object. It owns the model the way the single-building models do (#1273's residency,
+ /// the special-buildings policy): a game camera close to the camp admits it, and the model is acquired from the collection
+ /// stream; when no camera is close any more, and on disable or destroy, its instances are destroyed and the lease is
+ /// released, so the bundle can unload. While the model stands, each camera draws one model per tent below the town models'
+ /// switch distance (TownModelLayer.CloseEnterM / CloseExitM) with the kit's khaki tents switched off, and the kit's tents
+ /// beyond it. It fails open: until the model arrives, and for ever when its bundle is missing or damaged, the kit's tents
+ /// stay.</summary>
+ [ExecuteAlways]
+ public sealed class CampTentModels : MonoBehaviour
+ {
+ public const string Model = CollectionCatalog.KhakiTent;
+ const string Key = "camp";
+
+ static readonly Func<string, CollectionDetail, Action<GameObject?>, IDisposable> DefaultAcquire = CollectionStream.Acquire;
+ /// <summary>Test seam: owned acquisition (internal; the tests see it through InternalsVisibleTo).</summary>
+ internal static Func<string, CollectionDetail, Action<GameObject?>, IDisposable> Acquire = DefaultAcquire;
+
+ readonly List<Renderer> models = new List<Renderer>();
+ readonly List<GameObject> instances = new List<GameObject>();
+ readonly Dictionary<int, bool> closeFor = new Dictionary<int, bool>();
+ IReadOnlyList<SettlementKits.KhakiTent> tents = Array.Empty<SettlementKits.KhakiTent>();
+ Renderer? kit;
+ CollectionResidencyView? view;
+ CollectionResidency? residency;
+ Vector3 centre;
+ float extent;
+ bool dirty;
+
+ /// <summary>Whether the model has arrived and its instances stand (false: the kit's tents are the only ones drawn).</summary>
+ public bool HasModels => instances.Count > 0;
+ /// <summary>The model instances, one per khaki tent (empty until the model arrives, and again after leave).</summary>
+ public int ModelCount => instances.Count;
+ /// <summary>The model instances (test seam: the tests check they are destroyed before the bundle unloads).</summary>
+ internal IReadOnlyList<GameObject> Instances => instances;
+ /// <summary>Whether a game camera is close to this camp now, so the model is demanded and its lease held.</summary>
+ public bool Demanded => view != null && view.Keys.Count > 0;
+ public bool LastClose { get; private set; }
+ internal readonly struct CameraDiagnostics
+ {
+ internal readonly int ObservedCameras;
+ internal CameraDiagnostics(int observedCameras) { ObservedCameras = observedCameras; }
+ }
+ internal CameraDiagnostics DiagnosticsSnapshot => new CameraDiagnostics(closeFor.Count);
+ bool missing;
+
+ /// <summary>This camp's counters for the residency diagnostics, in the special-buildings category whose policy it uses.</summary>
+ internal CollectionResidencyMetrics.Category ResidencySnapshot()
+ {
+ var ids = Demanded || instances.Count > 0 ? new[] { Model } : Array.Empty<string>();
+ return CollectionResidencyMetrics.Row("special", isActiveAndEnabled && Demanded ? 1 : 0, instances.Count, ids,
+ residency?.OwnerCount ?? 0, residency?.PendingCount ?? 0, 0, models.Count, 0, missing ? 1 : 0, ids.Select(id => id + "|Near"));
+ }
+
+ /// <summary>Attaches to <paramref name="khakiKit"/>, the camp's khaki tents' kit object. Nothing is asked for until a
+ /// game camera comes close to the camp (<paramref name="policy"/>).</summary>
+ internal static CampTentModels Attach(GameObject khakiKit, IReadOnlyList<SettlementKits.KhakiTent> tents, CollectionResidencyPolicy policy)
+ {
+ var layer = khakiKit.AddComponent<CampTentModels>();
+ layer.kit = khakiKit.GetComponent<Renderer>();
+ layer.tents = tents;
+ layer.view = new CollectionResidencyView(policy);
+ if (tents.Count > 0)
+ {
+ // The camp's anchor: its tents' centre, reaching out to its farthest tent's end (the kit's vertices are in world space).
+ var c = new Vector2(tents.Average(t => t.C.x), tents.Average(t => t.C.y));
+ layer.centre = new Vector3(c.x, 0f, c.y);
+ layer.extent = tents.Max(t => (t.C - c).magnitude + 0.5f * t.W);
+ }
+ return layer;
+ }
+
+ void Refresh()
+ {
+ if (view == null || !isActiveAndEnabled || tents.Count == 0) return;
+ residency ??= new CollectionResidency(Acquire, ClearForRetirement, (id, detail, prefab) =>
+ {
+ if (prefab == null) { missing = true; Debug.LogWarning($"CAMPS: {Model} did not stream; the kit's khaki tents stay."); return; }
+ missing = false; Place(prefab); CollectionResidencyMetrics.MarkDirty();
+ },
+ (instances, owners, keys, complete) => CollectionResidencyMetrics.AfterDestroyed("special", instances, owners, complete,
+ Application.isPlaying && Acquire == DefaultAcquire ? () => CollectionStream.Settled(keys) : (Func<bool>?)null, keys));
+ residency.Replace(Demanded ? new[] { (Model, CollectionDetail.Near) } : Array.Empty<(string, CollectionDetail)>());
+ }
+
+ /// <summary>Leave: the model's instances go, the kit's tents come back, and every reference to the prefab is dropped.</summary>
+ IReadOnlyList<UnityEngine.Object> ClearForRetirement()
+ {
+ var gone = instances.Where(go => go != null).ToArray();
+ foreach (var go in gone)
+ if (Application.isPlaying)
+ {
+ // Reparenting during a parent's deactivation is forbidden; inactive models are already hidden.
+ if (gameObject.activeInHierarchy) go.transform.SetParent(null);
+ Destroy(go);
+ }
+ else DestroyImmediate(go);
+ instances.Clear(); models.Clear(); closeFor.Clear(); missing = false;
+ if (kit != null) kit.forceRenderingOff = false;
+ CollectionResidencyMetrics.MarkDirty();
+ return gone;
+ }
+
+ void Place(GameObject prefab)
+ {
+ foreach (var t in tents)
+ {
+ var go = Instantiate(prefab, transform, false); go.name = Model; instances.Add(go);
+ // A streamed prefab may be stored inactive. Only its instance must be activated: otherwise HasModels is true
+ // and the fallback kit is hidden even though the replacement tent cannot draw. It is activated before it is
+ // measured because an inactive renderer reports empty bounds; the whole placement runs before the next frame.
+ go.SetActive(true);
+ // Sized in the model's own frame first, so its size does not depend on the yaw: its length along the ridge
+ // (the prefab's x once it stands up, end guy lines included) becomes the kit tent's length. Its longest side
+ // seen from above is across the ridge, where the guy lines reach out, so that is not the ridge.
+ var b = Bounds(go); float edge = b.size.x;
+ if (edge > 1e-4f) go.transform.localScale *= t.W / edge;
+ // The model's ridge lies along the prefab's x; the kit's ridge runs along the tent's length at its yaw,
+ // (cos yaw, sin yaw) in x-z (counter-clockwise), and Unity's turn about y is clockwise, so a turn of -yaw
+ // lays it along the ridge, with the kit's door props and washing line where the kit tent has them.
+ go.transform.localRotation = Quaternion.Euler(0f, -t.Yaw, 0f) * prefab.transform.localRotation;
+ b = Bounds(go);
+ go.transform.position += new Vector3(t.C.x - b.center.x, t.Y - b.min.y, t.C.y - b.center.z);
+ foreach (var r in go.GetComponentsInChildren<Renderer>(true))
+ {
+ r.shadowCastingMode = ShadowCastingMode.On; r.lightProbeUsage = LightProbeUsage.Off; r.reflectionProbeUsage = ReflectionProbeUsage.Off;
+ r.forceRenderingOff = !LastClose; models.Add(r);
+ }
+ }
+ if (kit != null) kit.forceRenderingOff = LastClose;
+ }
+
+ static Bounds Bounds(GameObject go)
+ {
+ var rs = go.GetComponentsInChildren<Renderer>(true);
+ if (rs.Length == 0) return new Bounds(go.transform.position, Vector3.zero);
+ var b = rs[0].bounds;
+ for (int i = 1; i < rs.Length; i++) b.Encapsulate(rs[i].bounds);
+ return b;
+ }
+
+ void OnEnable() => RenderPipelineManager.beginCameraRendering += OnBeginCameraRendering;
+ void OnDisable()
+ {
+ RenderPipelineManager.beginCameraRendering -= OnBeginCameraRendering;
+ closeFor.Clear(); LastClose = false;
+ view?.Clear();
+ residency?.Replace(Array.Empty<(string, CollectionDetail)>());
+ }
+ void OnDestroy() { residency?.Dispose(); residency = null; }
+ void LateUpdate() => AdvanceCameraFrame(Time.frameCount);
+ internal void AdvanceCameraFrame(int frame)
+ {
+ if (view != null && view.Prune(frame)) dirty = true;
+ foreach (int id in closeFor.Keys.Where(id => !view!.Observes(id)).ToArray()) closeFor.Remove(id);
+ if (dirty) { dirty = false; Refresh(); }
+ }
+
+ /// <summary>The render callback. A change of demand never instantiates or destroys models while a camera renders, in
+ /// edit mode either (a Scene or Game view camera): it waits for LateUpdate, as in play mode.</summary>
+ void OnBeginCameraRendering(ScriptableRenderContext context, Camera cam) => Choose(context, cam, inRender: true);
+
+ /// <summary>The per-camera step: the camera's demand for the model (residency), then the switch, the models up close
+ /// once they have arrived, the kit's tents otherwise. A direct call in edit mode (<paramref name="inRender"/> false:
+ /// tests and editor tools, outside any render) applies a change of demand at once.</summary>
+ internal void Choose(ScriptableRenderContext context, Camera cam, bool inRender = false)
+ {
+ if (cam.cameraType == CameraType.Preview || cam.cameraType == CameraType.Reflection || view == null) return;
+ bool before = Demanded;
+ view.Observe(cam, new[] { (Key, centre, extent) }, Time.frameCount);
+ if (before != Demanded)
+ {
+ if (Application.isPlaying || inRender)
+ {
+ dirty = true;
+#if UNITY_EDITOR
+ // Edit mode runs LateUpdate only when something asks for a player-loop update.
+ if (!Application.isPlaying) UnityEditor.EditorApplication.QueuePlayerLoopUpdate();
+#endif
+ }
+ else Refresh();
+ }
+ int id = cam.GetInstanceID();
+ bool close = SpecialBuildingModels.CloseAt(TownLandmarks.ViewDistance(cam), closeFor.TryGetValue(id, out var was) ? was : (bool?)null);
+ closeFor[id] = close; LastClose = close;
+ bool show = HasModels && close;
+ if (kit != null) kit.forceRenderingOff = show;
+ foreach (var r in models) if (r != null) r.forceRenderingOff = !show;
+ }
+ }
+}
diff --git a/unity/Assets/Scripts/Map/Collection/CampTentModels.cs.meta b/unity/Assets/Scripts/Map/Collection/CampTentModels.cs.meta
new file mode 100644
index 000000000..47fef8eab
--- /dev/null
+++ b/unity/Assets/Scripts/Map/Collection/CampTentModels.cs.meta
@@ -0,0 +1,2 @@
+fileFormatVersion: 2
+guid: 43c35d863982542129ae4b72af15968d
\ No newline at end of file
diff --git a/unity/Assets/Scripts/Map/Collection/CollectionCatalog.cs b/unity/Assets/Scripts/Map/Collection/CollectionCatalog.cs
index 3b01b00a3..dcc2f9183 100644
--- a/unity/Assets/Scripts/Map/Collection/CollectionCatalog.cs
+++ b/unity/Assets/Scripts/Map/Collection/CollectionCatalog.cs
@@ -88,6 +88,14 @@ namespace Statecraft.Game.Map.Collection
/// October 2026: "Sign off all 19" and "Map-only token (Recommended)"; 28 October 2026: "6 Jun to 8 Jul (Recommended)").</summary>
public const string LebaneseRegular = "figure-lebanese-regular-1948-v1";
+ /// <summary>Tal Heuberger's Syrian Renault R35, the tank stopped at Degania Alef on 20 May 1948 (SpecialBuildingModels; owner,
+ /// 27 October 2026: "Degania landmark (Recommended)"). Its source is the vehicle delivery's compatibility FBX
+ /// (<see cref="SourceModelPath"/>).</summary>
+ public const string SyrianR35 = "generated-1948-14-syrian-renault-r35";
+
+ /// <summary>Tal Heuberger's khaki canvas tent, in place of a transit camp's khaki ridge tents up close (CampTentModels).</summary>
+ public const string KhakiTent = "generated-1948-08-khaki-canvas-tent";
+
/// <summary>Every bundle, with its models in a fixed order.</summary>
public static readonly IReadOnlyList<(string Bundle, string[] Ids)> Groups = new (string, string[])[]
{
@@ -147,6 +155,8 @@ namespace Statecraft.Game.Map.Collection
{
"generated-1948-06-bedouin-b-enclosed-striped-tent",
"generated-1948-13-egyptian-spitfire",
+ "generated-1948-14-syrian-renault-r35",
+ "generated-1948-08-khaki-canvas-tent",
}),
};
@@ -187,7 +197,12 @@ namespace Statecraft.Game.Map.Collection
|| id == BedouinCivilian || id == LebaneseRegular;
/// <summary>The generated static props: full-quality originals with one prefab beside the FBX, like the generated figures.</summary>
- public static bool IsGeneratedProp(string id) => id == BedouinTent || id == EgyptianSpitfire;
+ public static bool IsGeneratedProp(string id) => id == BedouinTent || id == EgyptianSpitfire || id == SyrianR35 || id == KhakiTent;
+
+ /// <summary>The model file a catalogued id is imported from: <c>&lt;id&gt;.fbx</c> beside its prefab, except the vehicle
+ /// delivery's documented <c>&lt;id&gt;-compatibility.fbx</c> (docs/vehicle-review-2026-10-22.md).</summary>
+ public static string SourceModelPath(string id) =>
+ $"{(IsBuilding(id) ? BuildingsFolder : Folder)}/{id}/{id}{(id == SyrianR35 ? "-compatibility" : "")}.fbx";
/// <summary>Every generated model (figure or prop): imported by its own lossless importer, not the original Collection's.</summary>
public static bool IsGenerated(string id) => IsFullQualityGeneratedInfantry(id) || IsGeneratedProp(id);
@@ -200,6 +215,10 @@ namespace Statecraft.Game.Map.Collection
public static bool IsBuilding(string id) => Kits.TownModels.Ids.Contains(id)
|| Groups.Single(b => b.Bundle == Buildings).Ids.Contains(id);
+ /// <summary>Tal Heuberger's generated houses (01 to 05, #756), placed among the town buildings: they keep their delivered
+ /// import settings (CollectionImport.MakeBuildingPrefabs builds only their prefabs).</summary>
+ public static bool IsGeneratedHouse(string id) => IsBuilding(id) && id.StartsWith("generated-1948-", StringComparison.Ordinal);
+
/// <summary>The bundle that carries <paramref name="id"/>, or null for an id the collection does not have.</summary>
public static string? BundleOf(string id)
{
diff --git a/unity/Assets/Scripts/Map/Collection/CollectionResidency.cs b/unity/Assets/Scripts/Map/Collection/CollectionResidency.cs
index 33c761f07..65318a203 100644
--- a/unity/Assets/Scripts/Map/Collection/CollectionResidency.cs
+++ b/unity/Assets/Scripts/Map/Collection/CollectionResidency.cs
@@ -203,6 +203,7 @@ namespace Statecraft.Game.Map.Collection
readonly CollectionResidencyPolicy policy;
readonly Dictionary<int, Choice> cameras = new Dictionary<int, Choice>();
internal HashSet<string> Keys => new HashSet<string>(cameras.Values.SelectMany(c => c.Keys), StringComparer.Ordinal);
+ internal bool Observes(int cameraId) => cameras.ContainsKey(cameraId);
internal CollectionResidencyView(CollectionResidencyPolicy policy) { this.policy = policy; }
internal void Clear() => cameras.Clear();
// Unproject in camera space: subtracting near/far WORLD points at hundreds of kilometres loses
diff --git a/unity/Assets/Scripts/Map/Collection/CollectionResidencyMetrics.cs b/unity/Assets/Scripts/Map/Collection/CollectionResidencyMetrics.cs
index 735676f14..dd1aaa04e 100644
--- a/unity/Assets/Scripts/Map/Collection/CollectionResidencyMetrics.cs
+++ b/unity/Assets/Scripts/Map/Collection/CollectionResidencyMetrics.cs
@@ -128,6 +128,7 @@ namespace Statecraft.Game.Map.Collection
foreach (var x in FindObjectsByType<RuralLife>(FindObjectsInactive.Include, FindObjectsSortMode.None)) Add(x.ResidencySnapshot());
foreach (var x in FindObjectsByType<SeaAirCollection>(FindObjectsInactive.Include, FindObjectsSortMode.None)) Add(x.ResidencySnapshot());
foreach (var x in FindObjectsByType<SpecialBuildingModels>(FindObjectsInactive.Include, FindObjectsSortMode.None)) Add(x.ResidencySnapshot());
+ foreach (var x in FindObjectsByType<CampTentModels>(FindObjectsInactive.Include, FindObjectsSortMode.None)) Add(x.ResidencySnapshot());
foreach (var x in FindObjectsByType<Units.UnitFigureResidency>(FindObjectsInactive.Include, FindObjectsSortMode.None)) Add(x.ResidencySnapshot());
Add(Units.UnitFigures.ResidencyCaches());
foreach (var x in FindObjectsByType<Units.UnitFigureDetail>(FindObjectsInactive.Include, FindObjectsSortMode.None)) Add(x.ResidencySnapshot());
diff --git a/unity/Assets/Scripts/Map/Collection/SpecialBuildingModels.cs b/unity/Assets/Scripts/Map/Collection/SpecialBuildingModels.cs
index 07a4e2e7a..b0f11045d 100644
--- a/unity/Assets/Scripts/Map/Collection/SpecialBuildingModels.cs
+++ b/unity/Assets/Scripts/Map/Collection/SpecialBuildingModels.cs
@@ -7,7 +7,7 @@ using UnityEngine.Rendering;
namespace Statecraft.Game.Map.Collection
{
- /// <summary>Issue #707: Tal Heuberger's single-building models at sourced places. They use the collection stream after the
+ /// <summary>Issue #707: Tal Heuberger's single-building models at sourced places, and the tank stopped at Degania Alef. They use the collection stream after the
/// first frame, draw only close up (#700's switch, TownModelLayer.CloseEnterM / CloseExitM), follow the game date and
/// fail open. b21 remains catalogued but unplaced until an artisan-workshop location is sourced.</summary>
[ExecuteAlways]
@@ -16,7 +16,7 @@ namespace Statecraft.Game.Map.Collection
public const string Name = "SpecialBuildingModels";
public const string Shikun = "b11-shikun-housing-v2", Tegart = "b12-tegart-fort-v2",
Barracks = "b18-military-barracks-v2", Workshop = "b21-artisan-workshop-v2",
- Factory = "b22-industrial-factory-v2";
+ Factory = "b22-industrial-factory-v2", SyrianR35 = CollectionCatalog.SyrianR35;
/// <summary>The one world scale of Tal Heuberger's building models: <see cref="Kits.SettlementKits.ModelScale"/> (issue
/// #1032).</summary>
@@ -28,6 +28,9 @@ namespace Statecraft.Game.Map.Collection
public static float RealLengthM(string model) => model switch
{
Tegart => 30f, Barracks => 25f, Factory => 30f, Shikun => 30f, Workshop => 12f,
+ // Sourced, unlike the buildings' design values: the Renault R35's length, 4.02 m (en.wiki Renault R35, infobox,
+ // checked 2026-10-28; excerpt in research_notes/Map/degania-r35.md).
+ SyrianR35 => 4.02f,
_ => throw new ArgumentException($"'{model}' is not one of #707's models", nameof(model)),
};
@@ -56,7 +59,14 @@ namespace Statecraft.Game.Map.Collection
/// entrance, and Netanya's Kiryat Eliezer Kaplan industrial zone was inaugurated in 1949 (en.wiki Netanya, checked
/// 18 October 2026). Ramat HaHayal's shikun: most of its families moved in during 1950 (Balslev, Iyunim Bitkumat
/// Israel 23, p. 247, in the shikun research note), and the owner ruled on 18 October 2026 ("Ramat HaHayal, 1950",
- /// #1068) that the year-level date starts on 1 January 1951; its point is Wikidata Q2776362's (checked 2026-10-18).</summary>
+ /// #1068) that the year-level date starts on 1 January 1951; its point is Wikidata Q2776362's (checked 2026-10-18).
+ /// Degania's tank (owner, 27 October 2026: "Degania landmark (Recommended)"): Tal Heuberger's Syrian Renault R35 stands at
+ /// Degania Alef from the day of the attack, 20 May 1948: the Syrian attack of that dawn, "an R35 that broke through the
+ /// fence and was stopped (it stands there today)" (JVL, credited to the IDF, in content/events/degania_defence.yaml),
+ /// and en.wiki Renault R35 ("five R35s took part in an unsuccessful Syrian Army attack on the Jewish kibbutz Degania
+ /// Alef" on 20 May 1948; one disabled R35 still stands near the kibbutz as a memorial; checked 2026-10-28). Its point
+ /// is Degania Alef's row in content/map/settlements_1948.yaml (en.wiki Degania Alef). The excerpts are in
+ /// research_notes/Map/degania-r35.md.</summary>
static readonly Want[] All =
{
new Want("latrun_tegart", Tegart, new DateTime(1948, 5, 15), 34.98139, 31.83194,
@@ -68,6 +78,9 @@ namespace Statecraft.Game.Map.Collection
new Want("ramat_hahayal_shikun", Shikun, new DateTime(1951, 1, 1), 34.8365083, 32.1152583,
"research_notes/Map/shikun-before-1952.md: 1 (Balslev, Iyunim Bitkumat Israel 23, p. 247, " +
"https://in.bgu.ac.il/bgi/iyunim/23/yaron-balslev.pdf); https://www.wikidata.org/wiki/Q2776362 (checked 2026-10-18)"),
+ new Want("degania_r35", SyrianR35, new DateTime(1948, 5, 20), 35.5747, 32.7081,
+ "content/events/degania_defence.yaml (https://www.jewishvirtuallibrary.org/the-battle-for-degania-may-1948); " +
+ "https://en.wikipedia.org/wiki/Renault_R35 (checked 2026-10-28); content/map/settlements_1948.yaml: degania_alef"),
};
public static IReadOnlyList<Want> Placements(DateTime date) => All.Where(x => date >= x.From).ToList();
@@ -100,6 +113,58 @@ namespace Statecraft.Game.Map.Collection
return null;
}
+ /// <summary>The first clear point just outside <paramref name="villageBounds"/>, on the side facing the nearest
+ /// mapped transport segment. Bearings beside that segment are tried symmetrically when the exact bearing is occupied.</summary>
+ internal static Vector2? RouteFacingEdgeSpot(Vector2 centre, Bounds villageBounds, float clearance,
+ IEnumerable<(List<Vector2> line, float halfWidth)> routes, Func<Vector2, float, bool> free)
+ {
+ Vector2 toward = Vector2.zero; float nearest = float.MaxValue;
+ foreach (var (line, _) in routes)
+ for (int i = 0; i + 1 < line.Count; i++)
+ {
+ var a = line[i]; var ab = line[i + 1] - a;
+ float t = ab.sqrMagnitude > 0f ? Mathf.Clamp01(Vector2.Dot(centre - a, ab) / ab.sqrMagnitude) : 0f;
+ var q = a + ab * t; float d = (q - centre).sqrMagnitude;
+ if (d < nearest && d > 1e-4f) { nearest = d; toward = (q - centre).normalized; }
+ }
+ if (toward == Vector2.zero) return null;
+ int halfPlaneCandidateCount = SpotAttempts / 2 + 1; // Facing half-plane: the route bearing, then both sides through +/-90 degrees.
+ var exitBounds = villageBounds;
+ float boundsSizeExpansion = 2f * clearance; // Bounds.Expand takes total size growth, so 2x adds one clearance on each side.
+ exitBounds.Expand(new Vector3(boundsSizeExpansion, 0f, boundsSizeExpansion));
+ for (int i = 0; i < halfPlaneCandidateCount; i++)
+ {
+ int step = i == 0 ? 0 : (i + 1) / 2 * (i % 2 == 1 ? 1 : -1);
+ float a = 2f * Mathf.PI * step / SpotAttempts, ca = Mathf.Cos(a), sa = Mathf.Sin(a);
+ var dir = new Vector2(toward.x * ca - toward.y * sa, toward.x * sa + toward.y * ca);
+ float tx = Mathf.Abs(dir.x) > 1e-5f ? (dir.x > 0f ? exitBounds.max.x - centre.x : centre.x - exitBounds.min.x) / Mathf.Abs(dir.x) : float.MaxValue;
+ float tz = Mathf.Abs(dir.y) > 1e-5f ? (dir.y > 0f ? exitBounds.max.z - centre.y : centre.y - exitBounds.min.z) / Mathf.Abs(dir.y) : float.MaxValue;
+ var p = centre + dir * Mathf.Min(tx, tz);
+ if (free(p, clearance)) return p;
+ }
+ return null;
+ }
+
+ /// <summary>The world box of the kit meshes drawn for <paramref name="id"/> (its kit and its close kit, KitLayer), or null
+ /// when it has none. It is taken from the meshes, not from their renderers: the "kits" toggle disables the renderers, and
+ /// a disabled or inactive renderer can report an empty box at the origin.</summary>
+ internal static Bounds? KitBounds(Transform kits, string id)
+ {
+ Bounds? box = null;
+ foreach (Transform t in kits)
+ {
+ if (t.name != id && t.name != id + Kits.KitLayer.CloseSuffix) continue;
+ if (!t.TryGetComponent<MeshFilter>(out var filter) || filter.sharedMesh == null) continue;
+ var local = filter.sharedMesh.bounds; var m = t.localToWorldMatrix;
+ var b = new Bounds(m.MultiplyPoint3x4(local.center), Vector3.zero);
+ for (int corner = 0; corner < 8; corner++)
+ b.Encapsulate(m.MultiplyPoint3x4(local.center + Vector3.Scale(local.extents,
+ new Vector3((corner & 1) == 0 ? -1f : 1f, (corner & 2) == 0 ? -1f : 1f, (corner & 4) == 0 ? -1f : 1f))));
+ if (box is Bounds sofar) { sofar.Encapsulate(b); box = sofar; } else box = b;
+ }
+ return box;
+ }
+
public static Quaternion Rotation(Quaternion prefabRotation, float yaw) =>
Quaternion.AngleAxis(yaw, Vector3.up) * prefabRotation;
@@ -256,12 +321,26 @@ namespace Statecraft.Game.Map.Collection
&& ground.Inside(p.x - r, p.y - r) && ground.Inside(p.x + r, p.y + r)
&& !ground.Water(p.x, p.y) && !ground.OnRoute(p, r) && !ground.OnToken(p, r, date);
var holes = new List<(Vector2 centre, float radius)>();
+ var kits = map.transform.Find(Kits.KitLayer.RootName);
foreach (var w in wants)
{
if (!prefabs.TryGetValue(w.Model, out var prefab) || prefab == null) continue;
var anchor3 = map.Frame.ToWorld(w.Lon, w.Lat, 0); var anchor = new Vector2(anchor3.x, anchor3.z);
float clearance = ClearanceOf(w.Model);
- var at = SeededSpot(w.Key, anchor, clearance, Free, Inside(anchor, footprints));
+ Vector2? at = null;
+ if (w.Key == "degania_r35" && kits != null)
+ {
+ var village = KitBounds(kits, "degania_alef");
+ var footprint = map.KitFootprints.FirstOrDefault(f => f.id == "degania_alef");
+ if (village is Bounds drawn && footprint.id != null) // no kit or no footprint: the seeded spot below
+ at = RouteFacingEdgeSpot(footprint.centre, drawn, clearance, map.KitRouteCorridors, Free);
+ }
+ if (at == null)
+ {
+ if (w.Key == "degania_r35")
+ Debug.LogWarning("BUILDINGS: route-facing spot unavailable for degania_r35; falling back to the seeded spot.");
+ at = SeededSpot(w.Key, anchor, clearance, Free, Inside(anchor, footprints));
+ }
if (at == null) { Debug.LogWarning($"BUILDINGS: no clear ground near {w.Key}; its {w.Model} is not drawn."); continue; }
taken.Add((at.Value, clearance));
holes.Add((at.Value, clearance));
diff --git a/unity/Assets/Scripts/Map/HexTiles/Core/HexModels.cs b/unity/Assets/Scripts/Map/HexTiles/Core/HexModels.cs
index 2258fd20d..0c488d7a7 100644
--- a/unity/Assets/Scripts/Map/HexTiles/Core/HexModels.cs
+++ b/unity/Assets/Scripts/Map/HexTiles/Core/HexModels.cs
@@ -120,11 +120,11 @@ namespace Statecraft.HexTiles
/// <summary>Hex-tile ids drawn as one of Tal Heuberger's generated town houses at its lighter level (#1901; made in
/// the editor by HexHouseLevels from their FBX, which stays as delivered): Tiberias's basalt houses are house 04. The
- /// houses are editor review art until they have their own streamed bundle (docs/generated-buildings-props.md), so
- /// only the editor draws them; a player keeps the tile's stand-in.</summary>
+ /// houses' bundles carry only their full -stream prefabs (CollectionCatalog), not these lighter levels, so only the
+ /// editor draws them; a player keeps the tile's stand-in.</summary>
public static readonly (string id, string prefab)[] HouseLevels =
{
- ("tiles:tiberias_town/basalt_house", "Assets/Editor/Generated1948Review/generated-1948-04-dark-basalt-house/generated-1948-04-dark-basalt-house-light.prefab"),
+ ("tiles:tiberias_town/basalt_house", "Assets/Art/Settlements/Prototype/Models/generated-1948-04-dark-basalt-house/generated-1948-04-dark-basalt-house-light.prefab"),
};
/// <summary>A house id's lighter level in the editor (AssetDatabase), or null: in a player, or not a house id.</summary>
diff --git a/unity/Assets/Scripts/Map/HexTiles/Prototypes/TiberiasTown.cs b/unity/Assets/Scripts/Map/HexTiles/Prototypes/TiberiasTown.cs
index 76db214d3..8752e893f 100644
--- a/unity/Assets/Scripts/Map/HexTiles/Prototypes/TiberiasTown.cs
+++ b/unity/Assets/Scripts/Map/HexTiles/Prototypes/TiberiasTown.cs
@@ -47,6 +47,9 @@ namespace Statecraft.HexTiles.Prototypes
// Explicit house ids for the newer houses: kit_jerusalem_4 is the mosque-like b17 mesh.
static readonly string[] NewHouses = { "sandbox:kit_jerusalem", "sandbox:kit_jerusalem_2", "sandbox:kit_jerusalem_3", "sandbox:kit_stone_village_2" };
static readonly string[] People = { "proto:figure-townsman-c02-1948-v2", "proto:figure-woman-blue-dress-c10-1948-v2" };
+ // The old-town houses draw the lighter level of Tal Heuberger's basalt house (04) in the editor (HexModels.HouseLevels,
+ // #1901): its full mesh is 5,624 triangles, so 16 houses would come to about 90,000 against this tile's 75,000 budget.
+ // The default map's Tiberias plots draw house 04 itself (TownModels.Tiberias).
const string BasaltHouse = "tiles:tiberias_town/basalt_house", Wall = "tiles:tiberias_town/wall", Tower = "tiles:tiberias_town/round_tower",
Bathhouse = "tiles:tiberias_town/bathhouse", BathDome = "tiles:tiberias_town/bathhouse_dome",
Boat = "proto:vehicle-fishing-boat-1948-v2", Palm = "sandbox:date_palm", Olive = "sandbox:olive_lite";
diff --git a/unity/Assets/Scripts/Map/Kits/SettlementKits.Maabara.cs b/unity/Assets/Scripts/Map/Kits/SettlementKits.Maabara.cs
index 4ce9873f3..16de625b6 100644
--- a/unity/Assets/Scripts/Map/Kits/SettlementKits.Maabara.cs
+++ b/unity/Assets/Scripts/Map/Kits/SettlementKits.Maabara.cs
@@ -63,6 +63,44 @@ namespace Statecraft.Game.Map.Kits
finally { census = null; }
}
+ /// <summary>A khaki ridge tent the kit pitched (<see cref="MaabarotSplit"/>): its centre, ground height, yaw (degrees, the
+ /// ridge along its length) and size (house-scale metres).</summary>
+ public readonly struct KhakiTent
+ {
+ public readonly Vector2 C; public readonly float Y, Yaw, W, D;
+ public KhakiTent(Vector2 c, float y, float yaw, float w, float d) { C = c; Y = y; Yaw = yaw; W = w; D = d; }
+ }
+
+ // MaabarotSplit's collectors: while set, a camp's khaki ridge tents go to this mesh and list instead of the camp's mesh.
+ [System.ThreadStatic] static KitMesh? khakiMesh;
+ [System.ThreadStatic] static List<KhakiTent>? khakiTents;
+
+ /// <summary>As Maabarot with <paramref name="placed"/>, with each camp's non-white ridge tents built into a mesh of their
+ /// own and listed (owner, 27 October 2026, #756: "Sign off all 19"; Tal Heuberger's khaki canvas tent stands in for
+ /// them close up, CampTentModels). Everything else, the census and every count included, is what Maabarot builds:
+ /// the two meshes together hold exactly its vertices.</summary>
+ public static List<(Mesh? mesh, int tents, int huts, Vector2 at, Mesh? khaki, List<KhakiTent> khakiTents)> MaabarotSplit(
+ IReadOnlyList<(string id, Vector2 at, System.DateTime from)> camps, KitGround ground, out List<Placed> placed,
+ float hutShare = MaabaraHutShare)
+ {
+ census = placed = new List<Placed>();
+ try
+ {
+ var lots = new Lots();
+ var result = new List<(Mesh?, int, int, Vector2, Mesh?, List<KhakiTent>)>();
+ foreach (var (id, at, from) in camps)
+ {
+ var km = new KitMesh();
+ khakiMesh = new KitMesh(); khakiTents = new List<KhakiTent>();
+ var (tents, huts, c) = Maabara(id, at, from, ground, km, lots, hutShare);
+ result.Add((km.VertexCount > 0 ? km.ToMesh(id + "_kit") : null, tents, huts, c,
+ khakiMesh.VertexCount > 0 ? khakiMesh.ToMesh(id + "_khaki") : null, khakiTents));
+ }
+ return result;
+ }
+ finally { census = null; khakiMesh = null; khakiTents = null; }
+ }
+
/// <summary>As Maabarot, for camps with no date: each keeps off every unit token, dated or not.</summary>
public static List<(Mesh? mesh, int tents, int huts, Vector2 at)> Maabarot(IReadOnlyList<(string id, Vector2 at)> camps, KitGround ground,
float hutShare = MaabaraHutShare) => Maabarot(Undated(camps), ground, hutShare);
@@ -167,7 +205,10 @@ namespace Statecraft.Game.Map.Kits
else
{
float w = rnd.Range(5f, 6f) * m, d = rnd.Range(3.6f, 4.2f) * m;
- RidgeTent(km, p, pyaw, w, d, 1f, 1.6f, 0.3f, canvas, ground, m, ref wear, wear.Chance(0.45f));
+ // A khaki ridge tent goes to MaabarotSplit's own mesh when it asks (the same draws, so nothing else moves).
+ bool split = !white && khakiMesh != null;
+ RidgeTent(split ? khakiMesh! : km, p, pyaw, w, d, 1f, 1.6f, 0.3f, canvas, ground, m, ref wear, wear.Chance(0.45f));
+ if (split) khakiTents!.Add(new KhakiTent(p, ground.Y(p.x, p.y), pyaw, w, d));
float pa = pyaw * Mathf.Deg2Rad;
Vector2 Local(float u, float v) => p + new Vector2(u * Mathf.Cos(pa) - v * Mathf.Sin(pa), u * Mathf.Sin(pa) + v * Mathf.Cos(pa));
// Bundles, a crate or a jerrycan by the door (the +u end), and a washing line in front of some tents,
diff --git a/unity/Assets/Scripts/Map/Kits/SettlementKits.Models.cs b/unity/Assets/Scripts/Map/Kits/SettlementKits.Models.cs
index e4a9f22fd..ec9d7285b 100644
--- a/unity/Assets/Scripts/Map/Kits/SettlementKits.Models.cs
+++ b/unity/Assets/Scripts/Map/Kits/SettlementKits.Models.cs
@@ -191,10 +191,12 @@ namespace Statecraft.Game.Map.Kits
case Style.Kibbutz: return TownModels.ForKibbutz(b.part);
case Style.TelAviv: return TownModels.TelAviv;
case Style.WhiteBlock: return id == "haifa" ? TownModels.Haifa : TownModels.WhiteCity;
- case Style.TownBlock: return TownModels.Netanya;
+ // Tal Heuberger's Netanya houses (01 to 03) are Netanya's only; the other town centres keep #507's two-storey house.
+ case Style.TownBlock: return id == "netanya" ? TownModels.Netanya : TownModels.TownBlock;
case Style.StoneBlock: return TownModels.Jerusalem;
case Style.OldHouse: return TownModels.ForArchetype(Archetype.OldTown, s);
- case Style.Village: return TownModels.Stone;
+ // Tiberias's houses are its basalt house (04); every other village lattice, Jerusalem's included, is stone.
+ case Style.Village: return id == "tiberias" ? TownModels.Tiberias : TownModels.Stone;
case Style.Templer: return TownModels.Templer;
default: return TownModels.Houses(s);
}
diff --git a/unity/Assets/Scripts/Map/Kits/TownModels.cs b/unity/Assets/Scripts/Map/Kits/TownModels.cs
index d898acd24..6327b9adc 100644
--- a/unity/Assets/Scripts/Map/Kits/TownModels.cs
+++ b/unity/Assets/Scripts/Map/Kits/TownModels.cs
@@ -4,8 +4,8 @@ using UnityEngine;
namespace Statecraft.Game.Map.Kits
{
/// <summary>The building models the towns are built from (issue #659): Tal Heuberger's Tripo models from #507,
- /// imported in #675 under Assets/Art/Settlements/Prototype/Models. Only the models a town kit places are listed, so only
- /// these enter a build (through <see cref="TownModelSet"/>, referenced by the map scene: they load with the map). b11
+ /// imported in #675 under Assets/Art/Settlements/Prototype/Models, and Tal Heuberger's five generated houses of October 2026
+ /// beside them. Only the models a town kit places are listed. b11
/// shikun, b21 workshop, b22 factory, b12 Tegart fort and b18 barracks have no plot in today's 1948 town kits and are not
/// listed.</summary>
public enum TownModel
@@ -15,6 +15,9 @@ namespace Statecraft.Game.Map.Kits
B04aStoneBalconies, B04bLoadingDoors,
B05aMoshavaHouse, B07DiningHall, B09aCommunal, B13aTwoStorey,
B16Farmhouse, B17CourtyardHouse, B23Winery, B24Barn, B28WaterTower, B32CargoShed,
+ // Tal Heuberger's generated houses of 22-24 October 2026, signed off by the owner on 27 October 2026 (#756: "Sign off all
+ // 19"): docs/generated-buildings-props.md, numbers 01 to 05.
+ G01NetanyaTiledHouse, G02NetanyaBalconyHouse, G03NetanyaPorchHouse, G04BasaltHouse, G05CourtyardHouse,
}
/// <summary>Which models a plot may take (issue #659's table), by the kit's plot style or archetype and the town.</summary>
@@ -29,6 +32,9 @@ namespace Statecraft.Game.Map.Kits
"b05a-moshava-house-v2", "b07-kibbutz-dining-hall-v2", "b09a-kibbutz-communal-building-v2", "b13a-netanya-two-storey-v2",
"b16-farmhouse-v2", "b17-stone-courtyard-house-v2", "b23-winery-v2", "b24-agricultural-barn-v2", "b28-water-tower-v2",
"b32-port-cargo-shed-v2",
+ "generated-1948-01-netanya-tiled-house-original", "generated-1948-02-netanya-two-storey-balcony-house",
+ "generated-1948-03-netanya-flat-roof-porch-house", "generated-1948-04-dark-basalt-house",
+ "generated-1948-05-plastered-courtyard-house-original",
};
/// <summary>Each model's size in its own mesh space (x wide, y deep, z up; Tripo's models are Z-up, about one unit
@@ -42,18 +48,34 @@ namespace Statecraft.Game.Map.Kits
new Vector3(1.00f, 0.97f, 0.88f), new Vector3(1.00f, 0.63f, 0.34f), new Vector3(0.87f, 1.00f, 0.65f), new Vector3(0.89f, 1.00f, 0.96f),
new Vector3(0.95f, 0.90f, 0.57f), new Vector3(0.86f, 1.00f, 0.55f), new Vector3(0.77f, 1.00f, 0.52f), new Vector3(0.70f, 1.00f, 0.41f),
new Vector3(0.53f, 0.55f, 1.00f), new Vector3(1.00f, 0.50f, 0.38f),
+ // The generated houses' delivered GLB bounds (asset-sources/generated-1948/<id>/<id>.glb, POSITION accessors): x,
+ // depth (glTF z) and height (glTF y), centred, standing on 0, as the imported Z-up meshes carry them.
+ new Vector3(1.00f, 1.00f, 0.79f), new Vector3(0.94f, 1.00f, 0.95f), new Vector3(0.92f, 0.92f, 0.66f),
+ new Vector3(1.00f, 0.73f, 0.40f), new Vector3(1.00f, 0.70f, 0.37f),
};
public const string Folder = "Assets/Art/Settlements/Prototype/Models";
- /// <summary>The <see cref="TownModelSet"/> the map scene references.</summary>
+ /// <summary>The editor asset containing the town meshes and materials.</summary>
public const string SetPath = "Assets/Art/Settlements/TownModels.asset";
internal static readonly TownModel[] TelAviv = { TownModel.B01WhiteCity, TownModel.B01WhiteCity, TownModel.B02aCornerBlock, TownModel.B02bNarrowBlock };
internal static readonly TownModel[] WhiteCity = { TownModel.B01WhiteCity, TownModel.B02aCornerBlock };
internal static readonly TownModel[] Haifa = { TownModel.B04aStoneBalconies, TownModel.B04bLoadingDoors };
internal static readonly TownModel[] Jerusalem = { TownModel.B03aArches, TownModel.B03bExternalStair, TownModel.B03cPlain };
- internal static readonly TownModel[] Stone = { TownModel.B17CourtyardHouse };
- internal static readonly TownModel[] Netanya = { TownModel.B13aTwoStorey };
+ /// <summary>The stone-village house: #507's courtyard house, and Tal Heuberger's plastered courtyard house (05) as a
+ /// variation (the prepared role in docs/generated-buildings-props-mapping.json).</summary>
+ internal static readonly TownModel[] Stone = { TownModel.B17CourtyardHouse, TownModel.G05CourtyardHouse };
+ /// <summary>A town centre's houses (the large moshavot's TownBlock plots): #507's two-storey house.</summary>
+ internal static readonly TownModel[] TownBlock = { TownModel.B13aTwoStorey };
+ /// <summary>Netanya's houses: #507's two-storey house and Tal Heuberger's three Netanya houses (01 to 03) as variations
+ /// (the prepared roles in docs/generated-buildings-props-mapping.json), in Netanya only.</summary>
+ internal static readonly TownModel[] Netanya =
+ {
+ TownModel.B13aTwoStorey, TownModel.G01NetanyaTiledHouse, TownModel.G02NetanyaBalconyHouse, TownModel.G03NetanyaPorchHouse,
+ };
+ /// <summary>Tiberias's houses: Tal Heuberger's basalt house (04). The old town "was built of basalt blocks" (en.wiki
+ /// Tiberias, checked 2026-10-19, as cited in HexTiles/Prototypes/TiberiasTown.cs).</summary>
+ internal static readonly TownModel[] Tiberias = { TownModel.G04BasaltHouse };
/// <summary>A moshava's or moshav's houses: farmhouses and houses, a barn in about one plot in five.</summary>
internal static readonly TownModel[] Moshava =
{
@@ -78,7 +100,7 @@ namespace Statecraft.Game.Map.Kits
{
Archetype.WhiteCity => WhiteCity,
Archetype.OldTown => s.Id == "jerusalem" ? Jerusalem : s.Id == "haifa" ? Haifa : Stone,
- Archetype.ArabTown => Stone,
+ Archetype.ArabTown => s.Id == "tiberias" ? Tiberias : Stone,
_ => Houses(s),
};
diff --git a/unity/Assets/Scripts/Map/PlacementLayer.cs b/unity/Assets/Scripts/Map/PlacementLayer.cs
index 3d24a3422..b28d66110 100644
--- a/unity/Assets/Scripts/Map/PlacementLayer.cs
+++ b/unity/Assets/Scripts/Map/PlacementLayer.cs
@@ -7,6 +7,9 @@ using UnityEngine.Rendering;
namespace Statecraft.Game.Map
{
+ /// <summary>Marks a runtime mesh created for one placement redraw, and therefore owned by that placement.</summary>
+ sealed class PlacementMesh : MonoBehaviour { }
+
/// <summary>Draws the player's transit camps and housing projects as marker boxes on their hex centres (placeholder art
/// like the M2 settlement markers; per-era prefabs are M4). Uses the editor-made marker material with a per-kind
/// colour through a MaterialPropertyBlock (no runtime Shader.Find). Render replaces what it drew before.
@@ -49,11 +52,11 @@ namespace Statecraft.Game.Map
for (int i = transform.childCount - 1; i >= 0; i--)
{
var old = transform.GetChild(i).gameObject;
- // A camp's kit mesh is its own (the boxes share the built-in cube): it goes with its object.
- var filter = old.GetComponent<MeshFilter>();
- var own = filter != null && filter.sharedMesh != cube ? filter.sharedMesh : null;
- if (Application.isPlaying) { old.transform.SetParent(null); Destroy(old); if (own != null) Destroy(own); }
- else { DestroyImmediate(old); if (own != null) DestroyImmediate(own); }
+ var own = new List<Mesh>();
+ foreach (var marker in old.GetComponentsInChildren<PlacementMesh>(true))
+ if (marker.TryGetComponent(out MeshFilter filter) && filter.sharedMesh != null) own.Add(filter.sharedMesh);
+ if (Application.isPlaying) { old.SetActive(false); old.transform.SetParent(null); Destroy(old); foreach (var m in own) Destroy(m); }
+ else { DestroyImmediate(old); foreach (var m in own) DestroyImmediate(m); }
}
var list = new List<Placement>(placements);
lastPlacements = list; lastContent = content; lastMap = map; kitsShown = map.KitsShown;
@@ -95,7 +98,7 @@ namespace Statecraft.Game.Map
}
var drawn = new HashSet<string>();
if (camps.Count == 0) return drawn;
- var built = SettlementKits.Maabarot(camps, CampGround(map), out var placed);
+ var built = SettlementKits.MaabarotSplit(camps, CampGround(map), out var placed);
foreach (var p in placed) holes.Add((p.C, 0.5f * new Vector2(p.W, p.D).magnitude));
for (int i = 0; i < camps.Count; i++)
{
@@ -105,9 +108,23 @@ namespace Statecraft.Game.Map
go.transform.SetParent(transform, false);
go.transform.SetPositionAndRotation(Vector3.zero, Quaternion.identity); // the kit's vertices are in world space
go.AddComponent<MeshFilter>().sharedMesh = mesh;
+ go.AddComponent<PlacementMesh>();
var r = go.AddComponent<MeshRenderer>();
r.sharedMaterial = map.KitMaterial;
r.shadowCastingMode = ShadowCastingMode.On;
+ // The camp's khaki ridge tents, in a mesh of their own under the camp: Tal Heuberger's khaki canvas tent takes
+ // their place up close once it has streamed (Collection.CampTentModels); until then, or if it never does, they stay.
+ if (built[i].khaki is Mesh khaki)
+ {
+ var tents = new GameObject(camps[i].id + "_khaki");
+ tents.transform.SetParent(go.transform, false);
+ tents.AddComponent<MeshFilter>().sharedMesh = khaki;
+ tents.AddComponent<PlacementMesh>();
+ var kr = tents.AddComponent<MeshRenderer>();
+ kr.sharedMaterial = map.KitMaterial;
+ kr.shadowCastingMode = ShadowCastingMode.On;
+ Collection.CampTentModels.Attach(tents, built[i].khakiTents, map.Residency.Special);
+ }
drawn.Add(camps[i].id);
}
return drawn;
diff --git a/unity/Assets/Scripts/Review/Generated1948BuildingsPropsReview.cs b/unity/Assets/Scripts/Review/Generated1948BuildingsPropsReview.cs
index 296349ecd..d4ea56cda 100644
--- a/unity/Assets/Scripts/Review/Generated1948BuildingsPropsReview.cs
+++ b/unity/Assets/Scripts/Review/Generated1948BuildingsPropsReview.cs
@@ -16,10 +16,17 @@ namespace Statecraft.Game.Review
public const string AssetFolder = "Assets/Editor/Generated1948Review";
public const string ScenePath = AssetFolder + "/GeneratedBuildingsPropsReview.unity";
- /// <summary>The folder of model <paramref name="id"/>: the 1948 Collection's once the model is placed in the game
- /// (<see cref="Map.Collection.CollectionCatalog.IsGeneratedProp"/>), else this review's folder.</summary>
- public static string DirOf(string id) => Map.Collection.CollectionCatalog.IsGeneratedProp(id)
- ? $"{Map.Collection.CollectionCatalog.Folder}/{id}" : $"{AssetFolder}/{id}";
+ /// <summary>The folder of model <paramref name="id"/>: once the model is placed in the game, the town buildings' folder for a
+ /// house (<see cref="Map.Kits.TownModels"/>) or the 1948 Collection's for a prop
+ /// (<see cref="Map.Collection.CollectionCatalog.IsGeneratedProp"/>); else this review's folder.</summary>
+ public static string DirOf(string id) =>
+ Array.IndexOf(Map.Kits.TownModels.Ids, id) >= 0 ? $"{Map.Kits.TownModels.Folder}/{id}"
+ : Map.Collection.CollectionCatalog.IsGeneratedProp(id) ? $"{Map.Collection.CollectionCatalog.Folder}/{id}" : $"{AssetFolder}/{id}";
+
+ /// <summary>The prefab the review shows for <paramref name="id"/>: a placed house's streamed prefab
+ /// (<see cref="Map.Collection.CollectionCatalog.PrefabPath"/>), else the prefab beside its model.</summary>
+ public static string PrefabOf(string id) => Array.IndexOf(Map.Kits.TownModels.Ids, id) >= 0
+ ? Map.Collection.CollectionCatalog.PrefabPath(id, Map.Collection.CollectionDetail.Near) : $"{DirOf(id)}/{id}.prefab";
public const float Spacing = 1000f, DisplayWidth = 600f;
[SerializeField] GameObject[] prefabs = Array.Empty<GameObject>();
[SerializeField] Material[] materials = Array.Empty<Material>();
diff --git a/unity/Assets/Scripts/VehicleReview/VehicleReviewCatalog.cs b/unity/Assets/Scripts/VehicleReview/VehicleReviewCatalog.cs
index c61826fb2..c34fa6500 100644
--- a/unity/Assets/Scripts/VehicleReview/VehicleReviewCatalog.cs
+++ b/unity/Assets/Scripts/VehicleReview/VehicleReviewCatalog.cs
@@ -12,11 +12,13 @@ namespace Statecraft.Game.VehicleReview
public const string Path = Folder + "/Models.asset";
public const string ScenePath = Folder + "/VehicleReview.unity";
public static readonly string[] Ids = { "generated-1948-13-egyptian-spitfire", "generated-1948-14-syrian-renault-r35", "generated-1948-16-egyptian-dakota-c47" };
- /// <summary>A candidate placed in the game (#1932: the Spitfire) moved with git mv to the Collection folder, its FBX
- /// renamed to the Collection's id.fbx (the same bytes); the review still shows it from there.</summary>
+ /// <summary>A candidate placed in the game (#1932: the Spitfire; #2046: the R35, at Degania Alef from 20 May 1948) moved with
+ /// git mv to the Collection folder; the review still shows it from there. The Spitfire's FBX was renamed to the
+ /// Collection's id.fbx (the same bytes); the R35 keeps the delivery's -compatibility.fbx (CollectionCatalog.SourceModelPath).</summary>
public static bool Placed(string id) => Map.Collection.CollectionCatalog.IsGenerated(id);
public static string DirOf(string id) => (Placed(id) ? Map.Collection.CollectionCatalog.Folder : Folder) + "/" + id;
- public static string ModelOf(string id) => DirOf(id) + "/" + id + (Placed(id) ? ".fbx" : "-compatibility.fbx");
+ public static string ModelOf(string id) =>
+ Placed(id) ? Map.Collection.CollectionCatalog.SourceModelPath(id) : DirOf(id) + "/" + id + "-compatibility.fbx";
[Serializable] public sealed class Entry
{
public string id = "", label = "";
diff --git a/unity/Assets/Tests/EditMode/BuildingModelImportTests.cs b/unity/Assets/Tests/EditMode/BuildingModelImportTests.cs
index 77bcf4d9f..95c80cfd2 100644
--- a/unity/Assets/Tests/EditMode/BuildingModelImportTests.cs
+++ b/unity/Assets/Tests/EditMode/BuildingModelImportTests.cs
@@ -21,24 +21,33 @@ public class BuildingModelImportTests
"b09a-kibbutz-communal-building-v2", "b11-shikun-housing-v2", "b12-tegart-fort-v2", "b13a-netanya-two-storey-v2",
"b16-farmhouse-v2", "b17-stone-courtyard-house-v2", "b18-military-barracks-v2", "b21-artisan-workshop-v2",
"b22-industrial-factory-v2", "b23-winery-v2", "b24-agricultural-barn-v2", "b28-water-tower-v2", "b32-port-cargo-shed-v2",
+ // Tal Heuberger's generated houses, placed on 27 October 2026 (#756: "Sign off all 19"); each keeps its provenance receipt.
+ "generated-1948-01-netanya-tiled-house-original", "generated-1948-02-netanya-two-storey-balcony-house",
+ "generated-1948-03-netanya-flat-roof-porch-house", "generated-1948-04-dark-basalt-house",
+ "generated-1948-05-plastered-courtyard-house-original",
};
+ static bool Generated(string id) => Statecraft.Game.Map.Collection.CollectionCatalog.IsGeneratedHouse(id);
static string Model(string id) => $"{Folder}/{id}/{id}.fbx";
static string ColourMap(string id) => $"{Folder}/{id}/{id}_basecolor.jpg";
static bool UnderResources(string path) => path.Split('/').Any(s => s.Equals("Resources", StringComparison.OrdinalIgnoreCase));
- /// <summary>The 23 buildings (model, material, colour map), and beside each of #707's five the prefab its streamed
- /// bundle carries (CollectionImport.MakeBuildingPrefabs).</summary>
+ /// <summary>The 28 buildings, #507's 23 and Tal Heuberger's five generated houses (model, material, colour map, and each
+ /// house's provenance receipt and #1901 lighter level), and beside each the streamed prefab its bundle carries
+ /// (CollectionImport.MakeBuildingPrefabs).</summary>
[Test]
- public void TheFolderHoldsTheTwentyThreeBuildingsAndNothingElse()
+ public void TheFolderHoldsTheTwentyEightBuildingsAndNothingElse()
{
- Assert.AreEqual(23, Ids.Length);
+ Assert.AreEqual(28, Ids.Length, "#507's 23 and the five generated houses");
var streamed = Statecraft.Game.Map.Collection.CollectionCatalog.Ids
.Where(Statecraft.Game.Map.Collection.CollectionCatalog.IsBuilding).ToArray();
- Assert.AreEqual(23, streamed.Length);
+ Assert.AreEqual(28, streamed.Length);
CollectionAssert.IsSubsetOf(streamed, Ids);
- var expected = Ids.SelectMany(id => new[] { Model(id), $"{Folder}/{id}/{id}.mat", ColourMap(id) })
+ var expected = Ids.SelectMany(id => new[] { Model(id), $"{Folder}/{id}/{id}.mat", ColourMap(id) }
+ .Concat(Generated(id) ? new[] { $"{Folder}/{id}/provenance.json" } : Array.Empty<string>())
+ // #1901's lighter level of each generated house, for the hex-tile boards in the editor (HexHouseLevels); no bundle carries it.
+ .Concat(Generated(id) ? new[] { ".asset", ".prefab", ".json" }.Select(e => $"{Folder}/{id}/{id}-light{e}") : Array.Empty<string>()))
.Concat(streamed.Select(id => Statecraft.Game.Map.Collection.CollectionCatalog.PrefabPath(id, Statecraft.Game.Map.Collection.CollectionDetail.Near)))
.OrderBy(p => p, StringComparer.Ordinal);
var found = AssetDatabase.FindAssets("", new[] { Folder }).Select(AssetDatabase.GUIDToAssetPath)
@@ -80,7 +89,8 @@ public class BuildingModelImportTests
Assert.AreEqual(ModelImporterMeshCompression.Off, imp!.meshCompression, path + " mesh compression");
Assert.IsFalse(imp.isReadable, path + " Read/Write");
Assert.IsTrue(imp.importAnimation, path + " all original takes retained");
- Assert.AreEqual(ModelImporterAnimationType.Generic, imp.animationType, path + " rig");
+ // #507's buildings import with a Generic rig; the generated houses keep their delivered import, with none.
+ Assert.AreEqual(Generated(id) ? ModelImporterAnimationType.None : ModelImporterAnimationType.Generic, imp.animationType, path + " rig");
Assert.IsTrue(imp.importBlendShapes, path + " blend shapes");
Assert.IsFalse(imp.importVisibility, path + " visibility");
Assert.IsFalse(imp.importCameras, path + " cameras");
@@ -118,6 +128,15 @@ public class BuildingModelImportTests
Assert.IsFalse(imp.crunchedCompression, path + " no Crunch");
Assert.IsTrue(imp.mipmapEnabled, path + " mipmaps"); Assert.IsTrue(imp.sRGBTexture, path + " sRGB");
Assert.IsFalse(imp.isReadable, path + " GPU-only");
+ if (Generated(id))
+ {
+ // The generated houses keep their delivered, approved import: compressed, quality 100, exactly 4096, no overrides.
+ Assert.AreEqual(4096, imp.maxTextureSize, path + " max size");
+ Assert.AreEqual(100, imp.compressionQuality, path + " quality");
+ Assert.AreEqual(TextureImporterCompression.Compressed, imp.textureCompression, path + " compression");
+ foreach (var target in new[] { "Standalone", "WebGL", "Android", "iPhone" })
+ Assert.IsFalse(imp.GetPlatformTextureSettings(target).overridden, path + " " + target + " override");
+ }
foreach (var target in new[] { "Standalone", "WebGL" })
{
var setting = imp.GetPlatformTextureSettings(target);
diff --git a/unity/Assets/Tests/EditMode/CampParentDeactivationTests.cs b/unity/Assets/Tests/EditMode/CampParentDeactivationTests.cs
new file mode 100644
index 000000000..f5fb0d2b3
--- /dev/null
+++ b/unity/Assets/Tests/EditMode/CampParentDeactivationTests.cs
@@ -0,0 +1,108 @@
+#nullable enable
+using System.Collections;
+using System.Linq;
+using NUnit.Framework;
+using Statecraft.Game.Map;
+using Statecraft.Game.Map.Kits;
+using UnityEditor;
+using UnityEditor.SceneManagement;
+using UnityEngine;
+using UnityEngine.TestTools;
+
+public sealed class CampParentDeactivationTests
+{
+ static System.Func<string, Statecraft.Game.Map.Collection.CollectionDetail, System.Action<GameObject?>, System.IDisposable>? savedAcquire;
+ static GameObject? ownedLayer, ownedCamera, ownedPrefab;
+ static Mesh? ownedMesh;
+
+ static void ReleaseOwnedFixture()
+ {
+ if (savedAcquire != null) Statecraft.Game.Map.Collection.CampTentModels.Acquire = savedAcquire;
+ savedAcquire = null;
+ if (ownedLayer != null) Object.DestroyImmediate(ownedLayer);
+ if (ownedCamera != null) Object.DestroyImmediate(ownedCamera);
+ if (ownedPrefab != null) Object.DestroyImmediate(ownedPrefab);
+ if (ownedMesh != null) Object.DestroyImmediate(ownedMesh);
+ ownedLayer = ownedCamera = ownedPrefab = null; ownedMesh = null;
+ }
+ [UnityTearDown]
+ public IEnumerator RestoreScene()
+ {
+ // The runner may abandon a nested iterator without disposing its finally.
+ ReleaseOwnedFixture();
+ if (Application.isPlaying) yield return new ExitPlayMode();
+ EditorSceneManager.NewScene(NewSceneSetup.EmptyScene, NewSceneMode.Single);
+ ShadowFit.Restore(); VisualToggles.Clear(); KitScale.Reset();
+ }
+ sealed class FakeLease : System.IDisposable
+ {
+ readonly System.Action release; bool done;
+ public FakeLease(System.Action release) { this.release = release; }
+ public void Dispose() { if (!done) { done = true; release(); } }
+ }
+ [UnityTest]
+ public IEnumerator ADeactivatedCampRedrawKeepsTheStreamedTentMesh()
+ {
+ EditorSceneManager.OpenScene("Assets/Map.unity", OpenSceneMode.Single);
+ yield return new EnterPlayMode();
+ yield return VerifyDeactivatedCampRedraw();
+ }
+
+ static IEnumerator VerifyDeactivatedCampRedraw()
+ {
+ var saved = Statecraft.Game.Map.Collection.CampTentModels.Acquire;
+ Assert.IsNotNull(saved, "the fixture must begin with a valid acquisition service");
+ savedAcquire = saved;
+ GameObject? camGo = null, prefab = null, layerGo = null;
+ Mesh? shared = null;
+ try
+ {
+ var map = Object.FindFirstObjectByType<MapScene>();
+ Assert.IsNotNull(map); map.Build();
+ var c = Statecraft.Sim.ContentLoader.Load(Statecraft.Game.Paths.Content);
+ var hex = c.SettlementHexes.Single(s => s.Id == "revivim");
+ prefab = ownedPrefab = new GameObject("owned streamed tent fixture", typeof(MeshFilter), typeof(MeshRenderer));
+ shared = ownedMesh = Object.Instantiate(Resources.GetBuiltinResource<Mesh>("Cube.fbx"));
+ prefab.GetComponent<MeshFilter>().sharedMesh = shared;
+ prefab.GetComponent<MeshRenderer>().sharedMaterial = AssetDatabase.LoadAssetAtPath<Material>("Assets/Materials/Kit.mat");
+ prefab.transform.position = Vector3.down * 1000000f;
+ int released = 0;
+ Statecraft.Game.Map.Collection.CampTentModels.Acquire = (id, detail, done) => { done(prefab); return new FakeLease(() => released++); };
+ layerGo = ownedLayer = new GameObject("owned camp redraw fixture");
+ var layer = layerGo.AddComponent<PlacementLayer>();
+ layer.Render(new[] { new Statecraft.Sim.Placement(Statecraft.Sim.MapActions.TransitCamp, hex.Q, hex.R,
+ new System.DateTime(1950, 8, 26)) }, c, map);
+ var camp = layer.transform.GetChild(0);
+ var khaki = camp.Find(camp.name + "_khaki");
+ Assert.IsNotNull(khaki);
+ var campMesh = camp.GetComponent<MeshFilter>().sharedMesh;
+ var khakiMesh = khaki.GetComponent<MeshFilter>().sharedMesh;
+ Assert.IsNotNull(campMesh); Assert.IsNotNull(khakiMesh);
+ var tents = khaki.GetComponent<Statecraft.Game.Map.Collection.CampTentModels>();
+ camGo = ownedCamera = new GameObject("owned camp redraw camera", typeof(Camera));
+ camGo.transform.SetPositionAndRotation(khaki.GetComponent<MeshRenderer>().bounds.center + Vector3.up * 10000f,
+ Quaternion.Euler(90f, 0f, 0f));
+ tents.Choose(default, camGo.GetComponent<Camera>());
+ yield return null; // Real play-mode LateUpdate admits the requested model.
+ Assert.Greater(tents.ModelCount, 0, "the real camp must own streamed instances before deactivation");
+ var models = tents.Instances.ToArray();
+ Assert.IsTrue(models.All(m => m.activeInHierarchy));
+ Assert.IsTrue(models.SelectMany(m => m.GetComponentsInChildren<MeshFilter>()).All(f => f.sharedMesh == shared));
+
+ layerGo.SetActive(false);
+ Assert.IsFalse(tents.LastClose, "disable clears the close-view state before any later placement");
+ Assert.AreEqual(0, tents.DiagnosticsSnapshot.ObservedCameras, "disable clears per-camera hysteresis");
+ layer.Render(System.Array.Empty<Statecraft.Sim.Placement>(), c, map); // Same frame as OnDisable.
+ yield return null; // Deferred instance and kit destruction has now completed.
+ Assert.IsTrue(shared != null, "redrawing an inactive camp must never destroy the streamed prefab mesh");
+ Assert.IsTrue(campMesh == null && khakiMesh == null, "the camp still destroys its own kit meshes");
+ Assert.IsTrue(models.All(m => m == null), "the retired model instances are destroyed");
+ Assert.AreEqual(1, released, "the original lease is released exactly once");
+ }
+ finally
+ {
+ ReleaseOwnedFixture();
+ }
+ }
+
+}
diff --git a/unity/Assets/Tests/EditMode/CampParentDeactivationTests.cs.meta b/unity/Assets/Tests/EditMode/CampParentDeactivationTests.cs.meta
new file mode 100644
index 000000000..03057965e
--- /dev/null
+++ b/unity/Assets/Tests/EditMode/CampParentDeactivationTests.cs.meta
@@ -0,0 +1,2 @@
+fileFormatVersion: 2
+guid: 5ac1d9d05e924eb098a00a993a441f00
diff --git a/unity/Assets/Tests/EditMode/CivilianPeopleTests.cs b/unity/Assets/Tests/EditMode/CivilianPeopleTests.cs
index 84674d9d9..44a47f568 100644
--- a/unity/Assets/Tests/EditMode/CivilianPeopleTests.cs
+++ b/unity/Assets/Tests/EditMode/CivilianPeopleTests.cs
@@ -505,7 +505,8 @@ public sealed class CivilianPeopleTests
placed.UnionWith(new[] { Statecraft.Game.Map.Routes.ServiceTrain.ModelId, Statecraft.Game.Map.Routes.RoadVehicles.CitrusTruck,
Statecraft.Game.Map.Routes.RoadVehicles.CanvasLorry, Statecraft.Game.Map.Routes.RoadVehicles.SandwichConvoy,
Statecraft.Game.Map.Routes.RoadVehicles.IntercityBus });
- placed.UnionWith(new[] { SpecialBuildingModels.Shikun, SpecialBuildingModels.Tegart, SpecialBuildingModels.Barracks, SpecialBuildingModels.Factory });
+ placed.Add(CampTentModels.Model); // the camp-tent layer requests this model for placed transit camps
+ placed.UnionWith(SpecialBuildingModels.Placements(DateTime.MaxValue).Select(w => w.Model)); // every dated single-building placement, the R35 among them
placed.UnionWith(TownLandmarks.ById.Values.Concat(TownLandmarks.ByType.Values).Concat(TownLandmarks.ByAction.Values.Select(v => v.Model))
);
var units = Statecraft.Game.Map.Units.UnitFigures.ByHeadgear.Values.Concat(Statecraft.Game.Map.Units.UnitFigures.ThirdFigure.Values)
@@ -513,7 +514,7 @@ public sealed class CivilianPeopleTests
.Concat(Statecraft.Game.Map.Units.UnitFigures.ByVehicle.Values)
.Append(Statecraft.Game.Map.Units.UnitFigures.PioneerVeteran);
placed.UnionWith(units);
- placed.UnionWith(Statecraft.Game.Map.Kits.TownModels.Ids); // #1273: the 18 kit originals are now catalogued and requested by TownModelLayer
+ placed.UnionWith(Statecraft.Game.Map.Kits.TownModels.Ids); // #1273: 18 originals and five generated houses are catalogued and requested by TownModelLayer
CollectionAssert.AreEquivalent(new[] { SpecialBuildingModels.Workshop, TownLandmarks.Jerusalem }, CollectionCatalog.Ids.Where(id => !placed.Contains(id)).ToList(),
"every catalogued model has a place but b21 and the first Jerusalem, each held back by an owner ruling");
CollectionAssert.IsSubsetOf(placed.ToList(), CollectionCatalog.Ids.ToList(), "every placed id is a catalogued model");
diff --git a/unity/Assets/Tests/EditMode/CollectionImportTests.cs b/unity/Assets/Tests/EditMode/CollectionImportTests.cs
index c956871ed..123792cf8 100644
--- a/unity/Assets/Tests/EditMode/CollectionImportTests.cs
+++ b/unity/Assets/Tests/EditMode/CollectionImportTests.cs
@@ -62,13 +62,13 @@ public class CollectionImportTests
public void TheCatalogKeeps73IndependentOriginalsAndTheGeneratedInfantryBundle()
{
var ids = CollectionCatalog.Ids.ToList();
- Assert.AreEqual(81, ids.Count);
+ Assert.AreEqual(88, ids.Count);
Assert.AreEqual(ids.Count, ids.Distinct().Count(), "an id in two bundles");
- Assert.AreEqual(80, CollectionCatalog.Bundles.Count,
+ Assert.AreEqual(87, CollectionCatalog.Bundles.Count,
"73 independent originals, #1763's shared generated bundle and one bundle for each later generated model");
Assert.IsTrue(CollectionCatalog.Bundles.Where(b => b.Bundle != CollectionCatalog.ArabArmies)
.All(b => b.Ids.Length == 1 && b.Bundle == "collection-" + b.Ids[0]));
- CollectionAssert.AreEqual(new[] { 21, 13, 6, 10, 5, 2, 4, 2 }, CollectionCatalog.Groups.Select(g => g.Ids.Length));
+ CollectionAssert.AreEqual(new[] { 21, 13, 6, 10, 5, 2, 4, 4 }, CollectionCatalog.Groups.Select(g => g.Ids.Length));
CollectionAssert.AreEqual(GeneratedInfantry, CollectionCatalog.Bundles.Single(b => b.Bundle == CollectionCatalog.ArabArmies).Ids);
Assert.AreEqual(27, CollectionCatalog.Animated.Count);
CollectionAssert.IsSubsetOf(CollectionCatalog.Animated, ids);
@@ -162,7 +162,7 @@ public class CollectionImportTests
CollectionCatalog.PrefabPath(id, CollectionDetail.Far), CollectionCatalog.PrefabPath(id, CollectionDetail.Near),
};
if (CollectionCatalog.IsGenerated(id))
- return new[] { $"{Dir(id)}/{id}.fbx", $"{Dir(id)}/{id}.mat", ColourMap(id), $"{Dir(id)}/{id}.prefab", $"{Dir(id)}/provenance.json" }
+ return new[] { CollectionCatalog.SourceModelPath(id), $"{Dir(id)}/{id}.mat", ColourMap(id), $"{Dir(id)}/{id}.prefab", $"{Dir(id)}/provenance.json" }
.Concat(CollectionCatalog.IsGeneratedProp(id) ? Array.Empty<string>() : new[] { $"{Dir(id)}/{id}.controller" }).ToArray();
if (Animated(id) || OriginalModelPose.Required(id)) files.Add($"{Dir(id)}/{id}-near.controller");
foreach (var suffix in new[] { "-far.fbx", "-near.fbx", "-far.prefab", "-near.prefab" })
@@ -333,10 +333,15 @@ public class CollectionImportTests
CollectionAssert.IsEmpty(AssetDatabase.GetAllAssetBundleNames(), "asset bundle labels");
}
- /// <summary>The paths of <paramref name="closure"/> that belong to the model <paramref name="id"/>: the files of its folder.</summary>
- static string[] FilesOf(string id, IEnumerable<string> closure) => closure.Where(p => p.StartsWith(Dir(id) + "/", StringComparison.Ordinal)).ToArray();
+ /// <summary>The paths of <paramref name="closure"/> that belong to the model <paramref name="id"/>: the files of its folder
+ /// (the collection's, or the town buildings' for a house).</summary>
+ static string[] FilesOf(string id, IEnumerable<string> closure)
+ {
+ string source = CollectionCatalog.SourceModelPath(id), folder = source.Substring(0, source.LastIndexOf('/') + 1);
+ return closure.Where(p => p.StartsWith(folder, StringComparison.Ordinal)).ToArray();
+ }
- /// <summary>Every placed generated model (Tal Heuberger's figures and props, #756) reaches the player only through its own
+ /// <summary>Every placed generated model (Tal Heuberger's figures, props and houses, #756) reaches the player only through its own
/// streamed bundle: no enabled build scene and no asset under any Resources folder (nested ones too) depends on a file of
/// its folder, its own bundle's build entry pulls in its model, and no other bundle pulls in any of its files.</summary>
[Test]
@@ -347,14 +352,18 @@ public class CollectionImportTests
var closures = builds.ToDictionary(b => b.assetBundleName, b => AssetDatabase.GetDependencies(b.assetNames, true));
var scenes = AssetDatabase.GetDependencies(EditorBuildSettings.scenes.Where(s => s.enabled).Select(s => s.path).ToArray(), true);
var resources = ResourcesClosure();
- var placed = CollectionCatalog.Ids.Where(CollectionCatalog.IsGenerated).ToList();
- CollectionAssert.IsSubsetOf(new[] { CollectionCatalog.BedouinCivilian, CollectionCatalog.BedouinTent }, placed);
+ var placed = CollectionCatalog.Ids.Where(id => CollectionCatalog.IsGenerated(id) || CollectionCatalog.IsGeneratedHouse(id)).ToList();
+ CollectionAssert.IsSubsetOf(new[] { CollectionCatalog.BedouinCivilian, CollectionCatalog.BedouinTent, CollectionCatalog.SyrianR35, CollectionCatalog.KhakiTent }, placed);
+ Assert.AreEqual(5, placed.Count(CollectionCatalog.IsGeneratedHouse), "the five generated houses");
foreach (var id in placed)
{
CollectionAssert.IsEmpty(FilesOf(id, scenes), id + " in a player scene's closure");
CollectionAssert.IsEmpty(FilesOf(id, resources), id + " in a Resources asset's closure");
string own = CollectionCatalog.BundleOf(id)!;
- CollectionAssert.Contains(closures[own], Model(id), id + " in its own bundle");
+ string source = CollectionCatalog.SourceModelPath(id), folder = source.Substring(0, source.LastIndexOf('/') + 1);
+ // Its model, streamed prefab, material and colour map are all in its own bundle's closure.
+ foreach (var file in new[] { source, CollectionCatalog.PrefabPath(id, CollectionDetail.Near), folder + id + ".mat", folder + id + "_basecolor.jpg" })
+ CollectionAssert.Contains(closures[own], file, id + " in its own bundle");
foreach (var other in closures.Where(c => c.Key != own))
CollectionAssert.IsEmpty(FilesOf(id, other.Value), id + " pulled into " + other.Key);
}
@@ -369,21 +378,26 @@ public class CollectionImportTests
[Test]
public void TheResourcesCheckSeesANestedResourcesPrefabThatPlacesAGeneratedModel()
{
- string root = "Assets/TalClosureProbe" + Guid.NewGuid().ToString("N");
- try
+ // The tent (a collection prop) and a house (a town building), each placed by its own probe.
+ foreach (var id in new[] { CollectionCatalog.BedouinTent, "generated-1948-01-netanya-tiled-house-original" })
{
- AssetDatabase.CreateFolder("Assets", root.Substring("Assets/".Length));
- AssetDatabase.CreateFolder(root, "Deep");
- AssetDatabase.CreateFolder(root + "/Deep", "Resources");
- CollectionAssert.IsEmpty(FilesOf(CollectionCatalog.BedouinTent, ResourcesClosure()), "no Resources reference before the probe");
- var tent = AssetDatabase.LoadAssetAtPath<GameObject>(CollectionCatalog.PrefabPath(CollectionCatalog.BedouinTent, CollectionDetail.Near));
- var go = (GameObject)PrefabUtility.InstantiatePrefab(tent);
- try { PrefabUtility.SaveAsPrefabAsset(go, root + "/Deep/Resources/Probe.prefab"); }
- finally { UnityEngine.Object.DestroyImmediate(go); }
- CollectionAssert.IsNotEmpty(FilesOf(CollectionCatalog.BedouinTent, ResourcesClosure()), "the probe's reference reaches the tent's files");
+ string root = "Assets/TalClosureProbe" + Guid.NewGuid().ToString("N");
+ try
+ {
+ AssetDatabase.CreateFolder("Assets", root.Substring("Assets/".Length));
+ AssetDatabase.CreateFolder(root, "Deep");
+ AssetDatabase.CreateFolder(root + "/Deep", "Resources");
+ CollectionAssert.IsEmpty(FilesOf(id, ResourcesClosure()), id + ": no Resources reference before the probe");
+ var model = AssetDatabase.LoadAssetAtPath<GameObject>(CollectionCatalog.PrefabPath(id, CollectionDetail.Near));
+ Assert.IsNotNull(model, id);
+ var go = (GameObject)PrefabUtility.InstantiatePrefab(model);
+ try { PrefabUtility.SaveAsPrefabAsset(go, root + "/Deep/Resources/Probe.prefab"); }
+ finally { UnityEngine.Object.DestroyImmediate(go); }
+ CollectionAssert.IsNotEmpty(FilesOf(id, ResourcesClosure()), id + ": the probe's reference reaches its files");
+ }
+ finally { AssetDatabase.DeleteAsset(root); }
+ CollectionAssert.IsEmpty(FilesOf(id, ResourcesClosure()), id + ": the probe is gone");
}
- finally { AssetDatabase.DeleteAsset(root); }
- CollectionAssert.IsEmpty(FilesOf(CollectionCatalog.BedouinTent, ResourcesClosure()), "the probe is gone");
}
[Test]
@@ -393,8 +407,19 @@ public class CollectionImportTests
Assert.IsNotNull(t, "CollectionImport");
var builds = (AssetBundleBuild[])t!.GetMethod("Builds")!.Invoke(null, null)!;
CollectionAssert.AreEqual(CollectionCatalog.Bundles.Select(b => b.Bundle), builds.Select(b => b.assetBundleName));
+ // Each model's source file, written out here rather than read from CollectionCatalog.SourceModelPath (which Builds
+ // uses): a town building's <id>.fbx in the buildings' folder, the R35's compatibility FBX, every other model's
+ // <id>.fbx in its own Collection folder (never a -near.fbx or -far.fbx).
+ string Source(string id) => CollectionCatalog.IsBuilding(id) ? $"{CollectionCatalog.BuildingsFolder}/{id}/{id}.fbx"
+ : id == CollectionCatalog.SyrianR35 ? $"{Dir(id)}/{id}-compatibility.fbx" : Model(id);
foreach (var (b, (bundle, ids)) in builds.Zip(CollectionCatalog.Bundles, (b, c) => (b, c)))
- CollectionAssert.AreEquivalent(ids.SelectMany(id => new[] { CollectionCatalog.PrefabPath(id, CollectionDetail.Far), CollectionCatalog.PrefabPath(id, CollectionDetail.Near), CollectionCatalog.IsBuilding(id) ? $"{CollectionCatalog.BuildingsFolder}/{id}/{id}.fbx" : Model(id) }).Distinct(),
+ CollectionAssert.AreEquivalent(ids.SelectMany(id => new[] { CollectionCatalog.PrefabPath(id, CollectionDetail.Far), CollectionCatalog.PrefabPath(id, CollectionDetail.Near), Source(id) }).Distinct(),
b.assetNames, bundle);
+ // A strict bundle build fails on a name with no asset behind it, and the map above would not see it: every name is a file.
+ var missing = builds.SelectMany(b => b.assetNames.Where(n => !System.IO.File.Exists(n) || string.IsNullOrEmpty(AssetDatabase.AssetPathToGUID(n))).Select(n => b.assetBundleName + ": " + n)).ToList();
+ CollectionAssert.IsEmpty(missing, "bundle asset names with no asset");
+ // The R35 is imported from the vehicle delivery's compatibility FBX, not from an <id>.fbx.
+ var r35 = builds.Single(b => b.assetBundleName == CollectionCatalog.BundleOf(CollectionCatalog.SyrianR35));
+ CollectionAssert.Contains(r35.assetNames, $"{CollectionCatalog.Folder}/{CollectionCatalog.SyrianR35}/{CollectionCatalog.SyrianR35}-compatibility.fbx");
}
}
diff --git a/unity/Assets/Tests/EditMode/Generated1948AssetTests.cs b/unity/Assets/Tests/EditMode/Generated1948AssetTests.cs
index 73f778734..f798e8d0a 100644
--- a/unity/Assets/Tests/EditMode/Generated1948AssetTests.cs
+++ b/unity/Assets/Tests/EditMode/Generated1948AssetTests.cs
@@ -30,11 +30,12 @@ public class Generated1948AssetTests
[Test] public void OriginalDeliveriesAndExactMapsMatchReceiptsWithLosslessImport()
{
- var files = AssetDatabase.FindAssets("t:Model", new[] { Generated1948BuildingsPropsReview.AssetFolder, Statecraft.Game.Map.Collection.CollectionCatalog.Folder })
+ var files = AssetDatabase.FindAssets("t:Model", new[] { Generated1948BuildingsPropsReview.AssetFolder, Statecraft.Game.Map.Collection.CollectionCatalog.Folder, TownModels.Folder })
.Select(AssetDatabase.GUIDToAssetPath).Where(p => p.EndsWith(".fbx", StringComparison.Ordinal))
// The folder also holds #1377's review-only characters (figure-*); the buildings and props are generated-1948-*.
.Where(p => Path.GetFileName(p).StartsWith("generated-1948-", StringComparison.Ordinal))
- // The placed vehicle (#1932, the Spitfire) has the vehicle receipt; VehicleReviewTests checks it.
+ // The placed vehicles (#1932, the Spitfire; #2046, the R35, which keeps its -compatibility.fbx) have the vehicle
+ // receipt; VehicleReviewTests checks them.
.Where(p => !Statecraft.Game.VehicleReview.VehicleReviewCatalog.Ids.Any(id => Path.GetFileName(p).StartsWith(id, StringComparison.Ordinal))).ToArray();
Assert.AreEqual(11, files.Length);
foreach (string fbx in files)
@@ -65,7 +66,7 @@ public class Generated1948AssetTests
Assert.IsFalse(ti.crunchedCompression, image);
Assert.AreEqual(TextureImporterCompression.Compressed, ti.textureCompression, image);
Assert.GreaterOrEqual(ti.maxTextureSize, Math.Max(receipt.embedded_dimensions[0], receipt.embedded_dimensions[1]));
- Assert.IsNotNull(AssetDatabase.LoadAssetAtPath<GameObject>(dir + "/" + receipt.id + ".prefab"));
+ Assert.IsNotNull(AssetDatabase.LoadAssetAtPath<GameObject>(Generated1948BuildingsPropsReview.PrefabOf(receipt.id)), receipt.id);
}
}
@@ -104,10 +105,10 @@ public class Generated1948AssetTests
[Test] public void PlacedGeneratedPropsKeepTheirSourceMeshMaterialAndMap()
{
var props = CollectionCatalog.Ids.Where(CollectionCatalog.IsGeneratedProp).ToList();
- CollectionAssert.Contains(props, CollectionCatalog.BedouinTent);
+ CollectionAssert.IsSubsetOf(new[] { CollectionCatalog.BedouinTent, CollectionCatalog.SyrianR35 }, props);
foreach (string id in props)
{
- string dir = $"{CollectionCatalog.Folder}/{id}", fbx = $"{dir}/{id}.fbx", map = $"{dir}/{id}_basecolor.jpg";
+ string dir = $"{CollectionCatalog.Folder}/{id}", fbx = CollectionCatalog.SourceModelPath(id), map = $"{dir}/{id}_basecolor.jpg";
var sourceMeshes = AssetDatabase.LoadAssetAtPath<GameObject>(fbx).GetComponentsInChildren<MeshFilter>(true).Select(f => f.sharedMesh).ToArray();
var prefab = AssetDatabase.LoadAssetAtPath<GameObject>(CollectionCatalog.PrefabPath(id, CollectionDetail.Near));
var material = AssetDatabase.LoadAssetAtPath<Material>($"{dir}/{id}.mat");
@@ -145,11 +146,14 @@ public class Generated1948AssetTests
finally { AssetDatabase.DeleteAsset(root); }
}
- [Test] public void CampaignActivationWaitsForStreamingAndAddsNoBootAssetReference()
+ /// <summary>The five houses placed in the town kits (owner, 27 October 2026, #756) stream after the first frame like the other
+ /// town buildings: the map scene reaches none of the generated models, in review or placed.</summary>
+ [Test] public void PlacedHousesStreamAndAddNoBootAssetReference()
{
- Assert.IsFalse(TownModels.Ids.Any(id => id.StartsWith("generated-1948-", StringComparison.Ordinal)));
- Assert.IsFalse(File.ReadAllText(Disk(TownModels.SetPath)).Contains("generated-1948-"));
+ CollectionAssert.AreEqual(new[] { "generated-1948-01-netanya-tiled-house-original", "generated-1948-02-netanya-two-storey-balcony-house",
+ "generated-1948-03-netanya-flat-roof-porch-house", "generated-1948-04-dark-basalt-house", "generated-1948-05-plastered-courtyard-house-original" },
+ TownModels.Ids.Where(id => id.StartsWith("generated-1948-", StringComparison.Ordinal)));
Assert.IsFalse(AssetDatabase.GetDependencies("Assets/Map.unity", true)
- .Any(p => p.StartsWith(Generated1948BuildingsPropsReview.AssetFolder, StringComparison.Ordinal)));
+ .Any(p => p.StartsWith(Generated1948BuildingsPropsReview.AssetFolder, StringComparison.Ordinal) || p.Contains("/generated-1948-")));
}
}
diff --git a/unity/Assets/Tests/EditMode/Generated1948BuildingsPropsTests.cs b/unity/Assets/Tests/EditMode/Generated1948BuildingsPropsTests.cs
index eca950e75..f2aac642a 100644
--- a/unity/Assets/Tests/EditMode/Generated1948BuildingsPropsTests.cs
+++ b/unity/Assets/Tests/EditMode/Generated1948BuildingsPropsTests.cs
@@ -35,13 +35,52 @@ public class Generated1948BuildingsPropsTests
{
Assert.IsNotNull(review.Prefabs[i]); Assert.IsNotNull(review.Materials[i]);
string stem = Generated1948BuildingsPropsReview.DirOf(ids[i]) + "/" + ids[i];
- Assert.AreEqual(stem + ".prefab", AssetDatabase.GetAssetPath(review.Prefabs[i]), ids[i] + " prefab");
+ Assert.AreEqual(Generated1948BuildingsPropsReview.PrefabOf(ids[i]), AssetDatabase.GetAssetPath(review.Prefabs[i]), ids[i] + " prefab");
Assert.AreEqual(stem + ".mat", AssetDatabase.GetAssetPath(review.Materials[i]), ids[i] + " material");
}
// 01, 03 and 05 were regenerated on #1379; no label may still mark a roof gap or rear opening.
Assert.IsFalse(review.Labels.Any(s => s.Contains("roof gaps") || s.Contains("rear opening")));
}
+ /// <summary>The buildings-props review shows a placed model's shipped prefab (the five houses' streamed prefabs, the
+ /// Bedouin tent and the khaki tent in the 1948 Collection) and must never re-save it, as VehicleReviewAssets does not for a
+ /// placed vehicle (#2014). Each shipped prefab gets a marker child first: a re-save from the FBX would drop it. Every file
+ /// the run writes is put back afterwards.</summary>
+ [Test] public void PrepareLeavesThePlacedModelsShippedPrefabsUntouched()
+ {
+ var ids = (string[])System.Type.GetType("Statecraft.Game.EditorTools.Generated1948BuildingsPropsAssets, Assembly-CSharp-Editor")!
+ .GetField("Ids")!.GetValue(null)!;
+ var placed = ids.Where(id => System.Array.IndexOf(Statecraft.Game.Map.Kits.TownModels.Ids, id) >= 0
+ || Statecraft.Game.Map.Collection.CollectionCatalog.IsGeneratedProp(id)).ToArray();
+ Assert.AreEqual(7, placed.Length, "five houses, the Bedouin tent and the khaki tent are placed");
+ var shipped = placed.Select(Generated1948BuildingsPropsReview.PrefabOf).ToArray();
+ var before = new[] { Generated1948BuildingsPropsReview.AssetFolder }.Concat(ids.Select(Generated1948BuildingsPropsReview.DirOf))
+ .Concat(shipped.Select(p => System.IO.Path.GetDirectoryName(p)!)).Distinct()
+ .SelectMany(d => System.IO.Directory.GetFiles(AssetFile(d), "*", System.IO.SearchOption.AllDirectories))
+ .Distinct().ToDictionary(f => f, System.IO.File.ReadAllBytes);
+ const string Marker = "prepare-must-not-resave";
+ string[] resaved;
+ try
+ {
+ foreach (string path in shipped)
+ {
+ var contents = PrefabUtility.LoadPrefabContents(path);
+ try { new GameObject(Marker).transform.SetParent(contents.transform, false); PrefabUtility.SaveAsPrefabAsset(contents, path); }
+ finally { PrefabUtility.UnloadPrefabContents(contents); }
+ }
+ System.Type.GetType("Statecraft.Game.EditorTools.Generated1948BuildingsPropsAssets, Assembly-CSharp-Editor")!.GetMethod("Prepare")!.Invoke(null, null);
+ resaved = shipped.Where(path => AssetDatabase.LoadAssetAtPath<GameObject>(path).transform.Find(Marker) == null).ToArray();
+ }
+ finally
+ {
+ foreach (var file in before.Keys.Where(f => !System.IO.File.ReadAllBytes(f).SequenceEqual(before[f]))) System.IO.File.WriteAllBytes(file, before[file]);
+ AssetDatabase.Refresh();
+ }
+ CollectionAssert.IsEmpty(resaved, "Prepare re-saved the shipped prefab of a placed model");
+ }
+
+ static string AssetFile(string path) => System.IO.Path.GetFullPath(System.IO.Path.Combine(Application.dataPath, "..", path));
+
[Test] public void EditorSamplesFitPlatformAndTouchFloor()
{
EditorSceneManager.OpenScene("Assets/Map.unity", OpenSceneMode.Single);
diff --git a/unity/Assets/Tests/EditMode/KitTests.cs b/unity/Assets/Tests/EditMode/KitTests.cs
index 803c5de1a..51f27b483 100644
--- a/unity/Assets/Tests/EditMode/KitTests.cs
+++ b/unity/Assets/Tests/EditMode/KitTests.cs
@@ -677,6 +677,460 @@ public class KitTests
foreach (var k in new[] { mixed, tents, huts }) if (k.mesh != null) Object.DestroyImmediate(k.mesh);
}
+ /// <summary>Owner, 27 October 2026 (#756: "Sign off all 19"): a camp's khaki ridge tents can be built into a mesh of their
+ /// own (MaabarotSplit), for Tal Heuberger's khaki canvas tent to stand in for them up close. Nothing else moves: the two
+ /// meshes hold Maabarot's vertex positions, split between them, and the counts and the census are the same.</summary>
+ [Test]
+ public void TheSplitCampHoldsTheSameKitWithItsKhakiTentsApart()
+ {
+ var map = OpenMap();
+ var camps = new List<(string id, Vector2 at, System.DateTime from)> { ("a", Spot(map, "revivim"), System.DateTime.MinValue) };
+ var whole = SettlementKits.Maabarot(camps, PlacementLayer.CampGround(map), out var placedWhole);
+ var split = SettlementKits.MaabarotSplit(camps, PlacementLayer.CampGround(map), out var placedSplit);
+ try
+ {
+ Assert.IsNotNull(whole[0].mesh); Assert.IsNotNull(split[0].mesh); Assert.IsNotNull(split[0].khaki, "the camp has khaki ridge tents");
+ Assert.AreEqual((whole[0].tents, whole[0].huts, whole[0].at), (split[0].tents, split[0].huts, split[0].at));
+ Assert.AreEqual(whole[0].mesh!.vertexCount, split[0].mesh!.vertexCount + split[0].khaki!.vertexCount, "the vertices are only partitioned");
+ static Vector3[] Sorted(IEnumerable<Vector3> v) => v.OrderBy(p => p.x).ThenBy(p => p.y).ThenBy(p => p.z).ToArray();
+ CollectionAssert.AreEqual(Sorted(whole[0].mesh!.vertices), Sorted(split[0].mesh!.vertices.Concat(split[0].khaki!.vertices)),
+ "the same vertex positions, split between the two meshes");
+ CollectionAssert.AreEqual(placedWhole.Select(p => (p.Kind, p.C, p.W, p.D)), placedSplit.Select(p => (p.Kind, p.C, p.W, p.D)));
+ Assert.IsNotEmpty(split[0].khakiTents);
+ foreach (var t in split[0].khakiTents)
+ Assert.IsTrue(placedSplit.Any(p => p.Kind == "tent" && p.C == t.C && p.W == t.W && p.D == t.D), $"{t.C}: a census tent");
+ // The partition is white against khaki: the census records each tent's canvas (Placed.Wall). White canvas
+ // (0.88 base, jitter 0.04) never reads below r 211, khaki (0.72, 0.05) never above 198, grey-olive lower still.
+ // A ridge tent has W != D (5-6 x 3.6-4.2), a bell tent W == D (2r); bell tents are never split.
+ const byte WhiteFloor = 205;
+ var ridge = placedSplit.Where(p => p.Kind == "tent" && p.W != p.D).ToList();
+ var khakiRidge = ridge.Where(p => p.Wall.r < WhiteFloor).ToList();
+ var whiteRidge = ridge.Where(p => p.Wall.r >= WhiteFloor).ToList();
+ Assert.IsNotEmpty(whiteRidge, "the camp also has white ridge tents, so the partition is tested");
+ Assert.AreEqual(khakiRidge.Count, split[0].khakiTents.Count, "every non-white ridge tent, and only those, is split");
+ foreach (var t in khakiRidge)
+ Assert.IsTrue(split[0].khakiTents.Any(k => k.C == t.C && k.W == t.W && k.D == t.D && k.Yaw == t.Yaw), $"{t.C}: a khaki ridge tent left in the camp's mesh");
+ foreach (var t in whiteRidge)
+ Assert.IsFalse(split[0].khakiTents.Any(k => k.C == t.C), $"{t.C}: a white ridge tent split off as khaki");
+ foreach (var t in placedSplit.Where(p => p.Kind == "tent" && p.W == p.D))
+ Assert.IsFalse(split[0].khakiTents.Any(k => k.C == t.C), $"{t.C}: a bell tent split off");
+ foreach (var t in placedSplit.Where(p => p.Kind == "hut"))
+ Assert.IsFalse(split[0].khakiTents.Any(k => k.C == t.C), $"{t.C}: a hut split off");
+ }
+ finally
+ {
+ foreach (var k in whole) if (k.mesh != null) Object.DestroyImmediate(k.mesh);
+ foreach (var k in split) { if (k.mesh != null) Object.DestroyImmediate(k.mesh); if (k.khaki != null) Object.DestroyImmediate(k.khaki); }
+ }
+ }
+
+ sealed class FakeLease : System.IDisposable
+ {
+ readonly System.Action release; bool done;
+ public FakeLease(System.Action release) { this.release = release; }
+ public void Dispose() { if (!done) { done = true; release(); } }
+ }
+
+ /// <summary>Tal Heuberger's khaki canvas tent (#756) stands in for a camp's khaki ridge tents up close, and is owned like the
+ /// single-building models (#1273's residency): nothing is asked for until a game camera comes close to the camp; leaving,
+ /// disabling or destroying the camp destroys the models, brings the kit's tents back and releases the lease; coming back
+ /// asks again; an answer that arrives after leave places nothing; a model that does not stream leaves the kit's tents.</summary>
+ [Test]
+ public void TheKhakiTentModelIsOwnedUpCloseAndReleasedOnLeave()
+ {
+ var saved = Statecraft.Game.Map.Collection.CampTentModels.Acquire;
+ var policy = Statecraft.Game.Map.Collection.ProductionResidency.Approved().Special;
+ var root = new GameObject("camp tents fixture");
+ var camGo = new GameObject("camp tents camera", typeof(Camera));
+ try
+ {
+ var tents = new[] { new SettlementKits.KhakiTent(new Vector2(100f, 200f), 5f, 30f, 60f, 40f),
+ new SettlementKits.KhakiTent(new Vector2(300f, 200f), 6f, 30f, 55f, 40f) };
+ var prefab = AssetDatabase.LoadAssetAtPath<GameObject>(Statecraft.Game.Map.Collection.CollectionCatalog.PrefabPath(
+ Statecraft.Game.Map.Collection.CampTentModels.Model, Statecraft.Game.Map.Collection.CollectionDetail.Near));
+ Assert.IsNotNull(prefab, "the khaki tent's prefab is in the 1948 Collection's folder");
+ GameObject Kit(string name) { var go = GameObject.CreatePrimitive(PrimitiveType.Cube); go.name = name; go.transform.SetParent(root.transform, false); return go; }
+ var cam = camGo.GetComponent<Camera>(); camGo.transform.rotation = Quaternion.Euler(90f, 0f, 0f);
+ void Near() => camGo.transform.position = new Vector3(200f, 10000f, 200f);
+ void Far() => camGo.transform.position = new Vector3(200f, 60000f, 200f);
+
+ int acquired = 0, released = 0;
+ System.Action<GameObject?>? late = null; bool answerNow = true; GameObject? answer = prefab;
+ Statecraft.Game.Map.Collection.CampTentModels.Acquire = (id, d, done) =>
+ {
+ acquired++;
+ Assert.AreEqual(Statecraft.Game.Map.Collection.CampTentModels.Model, id);
+ if (answerNow) done(answer); else late = done;
+ return new FakeLease(() => released++);
+ };
+
+ var kit = Kit("with model");
+ var layer = Statecraft.Game.Map.Collection.CampTentModels.Attach(kit, tents, policy);
+ Assert.AreEqual(0, acquired, "nothing is asked for before a camera comes close");
+ Near(); layer.Choose(default, cam);
+ Assert.AreEqual(1, acquired); Assert.AreEqual(tents.Length, layer.ModelCount, "one model per khaki tent");
+ Assert.IsTrue(kit.GetComponent<Renderer>().forceRenderingOff, "up close the kit's khaki tents give way");
+ var drawn = layer.GetComponentsInChildren<Renderer>().Where(r => r.gameObject != kit).ToList();
+ Assert.IsNotEmpty(drawn); Assert.IsTrue(drawn.All(r => !r.forceRenderingOff), "and the models draw");
+
+ Far(); layer.Choose(default, cam);
+ Assert.AreEqual(1, released, "leaving releases the lease, so the bundle can unload");
+ Assert.AreEqual(0, layer.ModelCount, "and the models go");
+ Assert.IsEmpty(layer.GetComponentsInChildren<Renderer>().Where(r => r.gameObject != kit));
+ Assert.IsFalse(kit.GetComponent<Renderer>().forceRenderingOff, "far off the kit's tents are back");
+
+ Near(); layer.Choose(default, cam);
+ Assert.AreEqual(2, acquired, "coming back asks again"); Assert.AreEqual(tents.Length, layer.ModelCount);
+ layer.enabled = false;
+ Assert.AreEqual(2, released, "disabling releases it"); Assert.AreEqual(0, layer.ModelCount);
+ Assert.IsFalse(kit.GetComponent<Renderer>().forceRenderingOff);
+ layer.enabled = true;
+ Near(); layer.Choose(default, cam);
+ Assert.AreEqual(3, acquired); Assert.AreEqual(tents.Length, layer.ModelCount);
+ Object.DestroyImmediate(layer);
+ Assert.AreEqual(3, released, "destroying releases it");
+ Assert.IsEmpty(kit.GetComponentsInChildren<Renderer>().Where(r => r.gameObject != kit), "and destroys the models");
+
+ // An answer that arrives after leave places nothing.
+ answerNow = false;
+ var slow = Kit("slow model");
+ var later = Statecraft.Game.Map.Collection.CampTentModels.Attach(slow, tents, policy);
+ Near(); later.Choose(default, cam);
+ Far(); later.Choose(default, cam);
+ Assert.AreEqual(4, released);
+ late!(prefab);
+ Assert.AreEqual(0, later.ModelCount, "the departed view is not rebuilt");
+
+ // A model that does not stream: the kit's tents stay, close or far.
+ answerNow = true; answer = null;
+ var bare = Kit("missing model");
+ LogAssert.Expect(LogType.Warning, new System.Text.RegularExpressions.Regex("^CAMPS: .* did not stream"));
+ var failed = Statecraft.Game.Map.Collection.CampTentModels.Attach(bare, tents, policy);
+ Near(); failed.Choose(default, cam);
+ Assert.AreEqual(0, failed.ModelCount);
+ Assert.IsFalse(bare.GetComponent<Renderer>().forceRenderingOff, "no model: the kit's tents stay");
+ }
+ finally
+ {
+ Statecraft.Game.Map.Collection.CampTentModels.Acquire = saved;
+ Object.DestroyImmediate(root); Object.DestroyImmediate(camGo);
+ }
+ }
+
+ [Test]
+ public void AnInactiveStreamedTentRootIsActivatedBeforeItReplacesTheKit()
+ {
+ var saved = Statecraft.Game.Map.Collection.CampTentModels.Acquire;
+ var root = new GameObject("inactive streamed tent fixture");
+ var camGo = new GameObject("inactive streamed tent camera", typeof(Camera));
+ GameObject? inactive = null;
+ try
+ {
+ var asset = AssetDatabase.LoadAssetAtPath<GameObject>(Statecraft.Game.Map.Collection.CollectionCatalog.PrefabPath(
+ Statecraft.Game.Map.Collection.CampTentModels.Model, Statecraft.Game.Map.Collection.CollectionDetail.Near));
+ inactive = Object.Instantiate(asset); inactive.SetActive(false);
+ Statecraft.Game.Map.Collection.CampTentModels.Acquire = (_, __, done) => { done(inactive); return new FakeLease(() => { }); };
+ var kit = GameObject.CreatePrimitive(PrimitiveType.Cube); kit.transform.SetParent(root.transform, false);
+ var tents = new[] { new SettlementKits.KhakiTent(Vector2.zero, 0f, 0f, 60f, 40f) };
+ var layer = Statecraft.Game.Map.Collection.CampTentModels.Attach(kit, tents, Statecraft.Game.Map.Collection.ProductionResidency.Approved().Special);
+ camGo.transform.SetPositionAndRotation(new Vector3(0f, 10000f, 0f), Quaternion.Euler(90f, 0f, 0f));
+ layer.Choose(default, camGo.GetComponent<Camera>());
+ Assert.IsTrue(layer.HasModels); Assert.IsTrue(kit.GetComponent<Renderer>().forceRenderingOff);
+ Assert.IsTrue(layer.Instances.All(i => i.activeInHierarchy), "the replacement that hides the fallback must itself be drawable");
+ }
+ finally
+ {
+ Statecraft.Game.Map.Collection.CampTentModels.Acquire = saved;
+ Object.DestroyImmediate(root); Object.DestroyImmediate(camGo); if (inactive != null) Object.DestroyImmediate(inactive);
+ }
+ }
+
+ /// <summary>A real render callback in edit mode (a Scene or Game view camera) never instantiates or destroys the khaki tent
+ /// models mid-render: coming close or leaving only marks the camp, and the models come and go at the next LateUpdate
+ /// (AdvanceCameraFrame), as in play mode.</summary>
+ [Test]
+ public void AnEditModeRenderCallbackDefersTheTentModelsToLateUpdate()
+ {
+ var saved = Statecraft.Game.Map.Collection.CampTentModels.Acquire;
+ var root = new GameObject("deferred tent fixture");
+ var camGo = new GameObject("deferred tent camera", typeof(Camera));
+ try
+ {
+ Assert.IsFalse(Application.isPlaying, "the edit-mode render path");
+ var prefab = AssetDatabase.LoadAssetAtPath<GameObject>(Statecraft.Game.Map.Collection.CollectionCatalog.PrefabPath(
+ Statecraft.Game.Map.Collection.CampTentModels.Model, Statecraft.Game.Map.Collection.CollectionDetail.Near));
+ int acquired = 0, released = 0;
+ Statecraft.Game.Map.Collection.CampTentModels.Acquire = (_, __, done) => { acquired++; done(prefab); return new FakeLease(() => released++); };
+ var kit = GameObject.CreatePrimitive(PrimitiveType.Cube); kit.transform.SetParent(root.transform, false);
+ var layer = Statecraft.Game.Map.Collection.CampTentModels.Attach(kit,
+ new[] { new SettlementKits.KhakiTent(Vector2.zero, 0f, 0f, 60f, 40f) }, Statecraft.Game.Map.Collection.ProductionResidency.Approved().Special);
+ var cam = camGo.GetComponent<Camera>();
+ camGo.transform.SetPositionAndRotation(new Vector3(0f, 10000f, 0f), Quaternion.Euler(90f, 0f, 0f));
+
+ layer.Choose(default, cam, inRender: true);
+ Assert.IsTrue(layer.Demanded, "the close camera demands the model");
+ Assert.AreEqual(0, acquired, "but nothing is acquired inside the render callback");
+ Assert.AreEqual(0, layer.ModelCount, "and nothing is instantiated there");
+ Assert.IsFalse(kit.GetComponent<Renderer>().forceRenderingOff, "the kit's tents draw until the models stand");
+ layer.AdvanceCameraFrame(Time.frameCount);
+ Assert.AreEqual(1, acquired, "LateUpdate acquires the model");
+ Assert.AreEqual(1, layer.ModelCount, "and places it");
+
+ camGo.transform.position = new Vector3(0f, 60000f, 0f);
+ layer.Choose(default, cam, inRender: true);
+ Assert.IsFalse(layer.Demanded, "the far camera no longer demands it");
+ Assert.AreEqual(0, released, "but nothing is released inside the render callback");
+ Assert.AreEqual(1, layer.ModelCount, "and nothing is destroyed there");
+ layer.AdvanceCameraFrame(Time.frameCount);
+ Assert.AreEqual(1, released, "LateUpdate releases the lease");
+ Assert.AreEqual(0, layer.ModelCount, "and destroys the models");
+ Assert.IsFalse(kit.GetComponent<Renderer>().forceRenderingOff, "the kit's tents are back");
+ }
+ finally
+ {
+ Statecraft.Game.Map.Collection.CampTentModels.Acquire = saved;
+ Object.DestroyImmediate(root); Object.DestroyImmediate(camGo);
+ }
+ }
+
+ [Test]
+ public void ADeadTentCameraIsPrunedWhileAnotherCameraKeepsTheCampResident()
+ {
+ var saved = Statecraft.Game.Map.Collection.CampTentModels.Acquire;
+ var root = new GameObject("tent camera pruning fixture");
+ var a = new GameObject("departed tent camera", typeof(Camera)); var b = new GameObject("resident tent camera", typeof(Camera));
+ try
+ {
+ var prefab = AssetDatabase.LoadAssetAtPath<GameObject>(Statecraft.Game.Map.Collection.CollectionCatalog.PrefabPath(
+ Statecraft.Game.Map.Collection.CampTentModels.Model, Statecraft.Game.Map.Collection.CollectionDetail.Near));
+ Statecraft.Game.Map.Collection.CampTentModels.Acquire = (_, __, done) => { done(prefab); return new FakeLease(() => { }); };
+ var kit = GameObject.CreatePrimitive(PrimitiveType.Cube); kit.transform.SetParent(root.transform, false);
+ var layer = Statecraft.Game.Map.Collection.CampTentModels.Attach(kit,
+ new[] { new SettlementKits.KhakiTent(Vector2.zero, 0f, 0f, 60f, 40f) }, Statecraft.Game.Map.Collection.ProductionResidency.Approved().Special);
+ foreach (var go in new[] { a, b }) go.transform.SetPositionAndRotation(new Vector3(0f, 10000f, 0f), Quaternion.Euler(90f, 0f, 0f));
+ layer.Choose(default, a.GetComponent<Camera>()); layer.Choose(default, b.GetComponent<Camera>());
+ Assert.AreEqual(2, layer.DiagnosticsSnapshot.ObservedCameras);
+ a.SetActive(false);
+ layer.AdvanceCameraFrame(Time.frameCount);
+ Assert.IsTrue(layer.Demanded, "the other camera keeps the camp resident");
+ Assert.AreEqual(1, layer.DiagnosticsSnapshot.ObservedCameras, "the inactive camera's hysteresis entry is released");
+ }
+ finally
+ {
+ Statecraft.Game.Map.Collection.CampTentModels.Acquire = saved;
+ Object.DestroyImmediate(root); Object.DestroyImmediate(a); Object.DestroyImmediate(b);
+ }
+ }
+
+ /// <summary>The khaki tent model's ridge follows the kit tent's ridge whatever the tent's yaw: the model's ridge (its own x
+ /// once it stands up, measured on the mesh's top vertices, not on the bounds that the guy lines widen) lies along the kit
+ /// tent's length, (cos yaw, sin yaw) in x-z, as the kit's RidgeTent and its door props and washing line lay it. Tents of one
+ /// length at 0, 45 and 90 degrees get the same scale, the model's full length along the ridge is the kit tent's length,
+ /// and they stand centred on their plots on the ground.</summary>
+ [Test]
+ public void TheKhakiTentModelsRidgeFollowsTheKitTentAtEveryYaw()
+ {
+ var saved = Statecraft.Game.Map.Collection.CampTentModels.Acquire;
+ var root = new GameObject("camp tents yaw fixture");
+ var camGo = new GameObject("camp tents yaw camera", typeof(Camera));
+ try
+ {
+ var prefab = AssetDatabase.LoadAssetAtPath<GameObject>(Statecraft.Game.Map.Collection.CollectionCatalog.PrefabPath(
+ Statecraft.Game.Map.Collection.CampTentModels.Model, Statecraft.Game.Map.Collection.CollectionDetail.Near));
+ Assert.IsNotNull(prefab, "the khaki tent prefab");
+ // The premise: the ridge runs along the model's own x once it stands up. The top 5% of the mesh's vertices by height
+ // (the ridge line) span x and hardly z; the whole bounds are widest in z only because of the guy lines.
+ var standUp = prefab!.transform.localRotation;
+ var up = prefab.GetComponentsInChildren<MeshFilter>(true).SelectMany(f => f.sharedMesh.vertices.Select(v => f.transform.localToWorldMatrix.MultiplyPoint3x4(v))).ToList();
+ Assert.Greater(up.Count, 0, "the model's vertices");
+ float yMin = up.Min(v => v.y), yMax = up.Max(v => v.y);
+ var ridgeLine = up.Where(v => v.y > yMax - 0.05f * (yMax - yMin)).ToList();
+ float spanX = ridgeLine.Max(v => v.x) - ridgeLine.Min(v => v.x), spanZ = ridgeLine.Max(v => v.z) - ridgeLine.Min(v => v.z);
+ Assert.Greater(spanX, 10f * spanZ, $"the ridge runs along the model's x (top vertices span x {spanX}, z {spanZ})");
+
+ Statecraft.Game.Map.Collection.CampTentModels.Acquire = (id, d, done) => { done(prefab); return new FakeLease(() => { }); };
+ var yaws = new[] { 0f, 45f, 90f };
+ var tents = yaws.Select((yaw, i) => new SettlementKits.KhakiTent(new Vector2(200f * i, 0f), 5f, yaw, 60f, 40f)).ToArray();
+ var kit = GameObject.CreatePrimitive(PrimitiveType.Cube); kit.transform.SetParent(root.transform, false);
+ var layer = Statecraft.Game.Map.Collection.CampTentModels.Attach(kit, tents, Statecraft.Game.Map.Collection.ProductionResidency.Approved().Special);
+ var cam = camGo.GetComponent<Camera>(); camGo.transform.SetPositionAndRotation(new Vector3(200f, 10000f, 0f), Quaternion.Euler(90f, 0f, 0f));
+ layer.Choose(default, cam);
+ var models = Enumerable.Range(0, kit.transform.childCount).Select(i => kit.transform.GetChild(i))
+ .Where(c => c.name == Statecraft.Game.Map.Collection.CampTentModels.Model).ToList();
+ Assert.AreEqual(tents.Length, models.Count);
+ Bounds Of(Transform t) => t.GetComponentsInChildren<Renderer>(true).Select(r => r.bounds).Aggregate((x, y) => { x.Encapsulate(y); return x; });
+ // The model's full length along the ridge (guy lines and end pegs included) is the kit tent's length: at yaw 0 the
+ // ridge lies along world x, at 90 along world z.
+ Assert.AreEqual(tents[0].W, Of(models[0]).size.x, 0.01f, "yaw 0: the model's length along the ridge is the kit tent's");
+ Assert.AreEqual(tents[2].W, Of(models[2]).size.z, 0.01f, "yaw 90: the model's length along the ridge is the kit tent's");
+ for (int i = 0; i < models.Count; i++)
+ {
+ // Its ridge runs along the kit tent's: (cos yaw, sin yaw) in x-z (RidgeTent's u axis, SettlementKits.Maabara.cs).
+ var ridge = (models[i].rotation * Quaternion.Inverse(standUp)) * Vector3.right;
+ float yawRad = yaws[i] * Mathf.Deg2Rad;
+ Assert.AreEqual(Mathf.Cos(yawRad), ridge.x, 1e-3f, $"yaw {yaws[i]}: the model's ridge along the kit's ridge (x)");
+ Assert.AreEqual(Mathf.Sin(yawRad), ridge.z, 1e-3f, $"yaw {yaws[i]}: the model's ridge along the kit's ridge (z)");
+ Assert.AreEqual(models[0].localScale.x, models[i].localScale.x, 1e-4f, $"yaw {yaws[i]}: the same scale");
+ Assert.AreEqual(models[0].localScale.y, models[i].localScale.y, 1e-4f, $"yaw {yaws[i]}: the same height scale");
+ Assert.AreEqual(models[0].localScale.z, models[i].localScale.z, 1e-4f, $"yaw {yaws[i]}: the same depth scale");
+ // A pure turn about y by the yaw difference, signed: the kit's yaw is counter-clockwise in x-z, Unity's y turn clockwise.
+ float turn = Mathf.DeltaAngle(0f, (models[i].rotation * Quaternion.Inverse(models[0].rotation)).eulerAngles.y);
+ Assert.AreEqual(-(yaws[i] - yaws[0]), turn, 0.01f, $"yaw {yaws[i]}: turned by its yaw, the right way");
+ var b = Of(models[i]);
+ Assert.AreEqual(tents[i].C.x, b.center.x, 0.01f, $"yaw {yaws[i]}: centred"); Assert.AreEqual(tents[i].C.y, b.center.z, 0.01f);
+ Assert.AreEqual(tents[i].Y, b.min.y, 0.01f, $"yaw {yaws[i]}: on the ground");
+ }
+ }
+ finally
+ {
+ Statecraft.Game.Map.Collection.CampTentModels.Acquire = saved;
+ Object.DestroyImmediate(root); Object.DestroyImmediate(camGo);
+ }
+ }
+
+ sealed class TentSource : Statecraft.Game.Map.Collection.CollectionStream.ISource
+ {
+ public readonly List<string> Opened = new List<string>(), Unloaded = new List<string>();
+ public GameObject? Prefab;
+ public System.Action? BeforeUnload;
+ public IEnumerator Open(string bundle, System.Action<string?> done) { Opened.Add(bundle); yield return null; done(null); }
+ public IEnumerator Load(string bundle, string path, System.Action<GameObject?> done) { yield return null; yield return null; done(Prefab); }
+ public void Unload(string bundle) { BeforeUnload?.Invoke(); Unloaded.Add(bundle); }
+ }
+
+ static void Pump(Stack<IEnumerator> stack, int frames)
+ {
+ int seen = 0;
+ while (stack.Count != 0 && seen < frames)
+ {
+ var top = stack.Peek();
+ if (!top.MoveNext()) stack.Pop();
+ else if (top.Current is IEnumerator nested) stack.Push(nested);
+ else seen++;
+ }
+ }
+
+ /// <summary>The khaki tent's bundle really unloads: through the production acquisition (CampTentModels' default Acquire, the
+ /// shared collection stream's owned leases) on a stream with a stand-in source, two camps that a camera comes close to
+ /// share one open bundle; one camp's leave keeps it, the last one's unloads it, with no owner and no pin left. While admitted, the residency diagnostics count the camps' live models and leases in the special
+ /// category; after leave they count none.</summary>
+ [Test]
+ public void TheKhakiTentsBundleUnloadsWhenTheLastCampLeaves()
+ {
+ var saved = Statecraft.Game.Map.Collection.CampTentModels.Acquire;
+ // The production acquisition: CampTentModels.Acquire stays its default (CollectionStream.Acquire), and the shared stream
+ // the game would make is this one, with a stand-in source; an inert host keeps the stream from starting its own runner,
+ // so the test runs it.
+ var streamType = typeof(Statecraft.Game.Map.Collection.CollectionStream);
+ var sharedField = streamType.GetField("shared", System.Reflection.BindingFlags.NonPublic | System.Reflection.BindingFlags.Static)!;
+ var hostField = streamType.GetField("host", System.Reflection.BindingFlags.NonPublic | System.Reflection.BindingFlags.Static)!;
+ var savedShared = sharedField.GetValue(null); var savedHost = hostField.GetValue(null);
+ var root = new GameObject("camp tents unload fixture");
+ var camGo = new GameObject("camp tents unload camera", typeof(Camera));
+ var hostGo = new GameObject("inert collection stream host");
+ try
+ {
+ var prefab = AssetDatabase.LoadAssetAtPath<GameObject>(Statecraft.Game.Map.Collection.CollectionCatalog.PrefabPath(
+ Statecraft.Game.Map.Collection.CampTentModels.Model, Statecraft.Game.Map.Collection.CollectionDetail.Near));
+ var source = new TentSource { Prefab = prefab };
+ var stream = new Statecraft.Game.Map.Collection.CollectionStream(source);
+ var run = new Stack<IEnumerator>(); run.Push(stream.Run());
+ sharedField.SetValue(null, stream); hostField.SetValue(null, hostGo.AddComponent<Statecraft.Game.Map.Collection.CollectionStreamHost>());
+ Assert.AreEqual(streamType.GetMethod("Acquire", new[] { typeof(string), typeof(Statecraft.Game.Map.Collection.CollectionDetail), typeof(System.Action<GameObject?>) }),
+ Statecraft.Game.Map.Collection.CampTentModels.Acquire.Method, "the production acquisition, CollectionStream.Acquire, not a test stand-in");
+ string bundle = Statecraft.Game.Map.Collection.CollectionCatalog.BundleOf(Statecraft.Game.Map.Collection.CampTentModels.Model)!;
+ var policy = Statecraft.Game.Map.Collection.ProductionResidency.Approved().Special;
+ var tents = new[] { new SettlementKits.KhakiTent(new Vector2(100f, 200f), 5f, 30f, 60f, 40f) };
+ GameObject Kit(string name) { var go = GameObject.CreatePrimitive(PrimitiveType.Cube); go.name = name; go.transform.SetParent(root.transform, false); return go; }
+ var a = Statecraft.Game.Map.Collection.CampTentModels.Attach(Kit("camp a"), tents, policy);
+ var b = Statecraft.Game.Map.Collection.CampTentModels.Attach(Kit("camp b"), tents, policy);
+ var cam = camGo.GetComponent<Camera>(); camGo.transform.rotation = Quaternion.Euler(90f, 0f, 0f);
+ Statecraft.Game.Map.Collection.CollectionResidencyMetrics.Category Special() =>
+ Statecraft.Game.Map.Collection.CollectionResidencyMetrics.Capture().categories.Single(c => c.category == "special");
+ object Field(string name) => typeof(Statecraft.Game.Map.Collection.CollectionStream)
+ .GetField(name, System.Reflection.BindingFlags.NonPublic | System.Reflection.BindingFlags.Instance)!.GetValue(stream)!;
+ int Owners() => ((System.Collections.IDictionary)Field("owners")).Count;
+ bool Pinned() => ((ICollection<string>)Field("pinned")).Contains(bundle);
+ bool Inflight() => ((ICollection<string>)Field("inflight")).Contains(bundle);
+ int Leases() { var d = (System.Collections.IDictionary)Field("owners"); return d.Contains(bundle) ? (int)d[bundle]! : 0; }
+ bool Open() => ((System.Collections.IDictionary)Field("bundles")).Contains(bundle);
+ int Cached() => ((Dictionary<string, string>)Field("paths")).Count(kv => kv.Value == bundle);
+ int Queued() => ((System.Collections.ICollection)Field("pending")).Count;
+ int Loaded() => ((System.Collections.ICollection)Field("loaded")).Count;
+ int PendingEvictions() => ((ICollection<string>)Field("pendingEvictions")).Count;
+ // The whole stream back to empty, not only this bundle's entries: no owner, pin, load in flight, open bundle, cached
+ // prefab, queued request, loaded model or waiting eviction.
+ void StreamEmpty(string when)
+ {
+ Assert.AreEqual(0, Owners(), $"{when}: no owner");
+ Assert.AreEqual(0, ((ICollection<string>)Field("pinned")).Count, $"{when}: no pin");
+ Assert.AreEqual(0, ((ICollection<string>)Field("inflight")).Count, $"{when}: no load in flight");
+ Assert.AreEqual(0, ((System.Collections.IDictionary)Field("bundles")).Count, $"{when}: no open bundle");
+ Assert.AreEqual(0, ((Dictionary<string, string>)Field("paths")).Count, $"{when}: no cached prefab");
+ Assert.AreEqual(0, Queued(), $"{when}: nothing queued");
+ Assert.AreEqual(0, Loaded(), $"{when}: nothing loaded");
+ Assert.AreEqual(0, PendingEvictions(), $"{when}: no eviction waits");
+ }
+
+ camGo.transform.position = new Vector3(100f, 10000f, 200f); a.Choose(default, cam); b.Choose(default, cam);
+ Pump(run, 20);
+ Assert.AreEqual(new[] { bundle }, source.Opened.ToArray(), "one open bundle for both camps");
+ Assert.AreEqual(tents.Length, a.ModelCount); Assert.AreEqual(tents.Length, b.ModelCount);
+ var live = Special();
+ Assert.AreEqual(2 * tents.Length, live.liveInstances, "the diagnostics count the camps' models");
+ Assert.AreEqual(2, live.ownedLeases, "and their leases");
+ Assert.AreEqual(1, Owners(), "one owned bundle"); Assert.AreEqual(2, Leases(), "held by both camps' leases");
+ Assert.IsFalse(Pinned(), "never pinned"); Assert.IsFalse(Inflight()); Assert.AreEqual(1, Cached(), "its prefab cached"); Assert.AreEqual(0, Queued());
+ var aModels = a.Instances.ToList(); var bModels = b.Instances.ToList();
+
+ camGo.transform.position = new Vector3(100f, 60000f, 200f); a.Choose(default, cam);
+ Assert.AreEqual(1, Leases(), "one camp's leave drops its lease");
+ Assert.IsTrue(aModels.All(m => m == null), "and destroys its models");
+ CollectionAssert.IsEmpty(source.Unloaded, "the other camp still owns the bundle"); Assert.IsTrue(Open());
+ source.BeforeUnload = () => Assert.IsTrue(bModels.All(m => m == null), "no model instance is left when the bundle unloads");
+ b.Choose(default, cam);
+ source.BeforeUnload = null;
+ Assert.AreEqual(new[] { bundle }, source.Unloaded.ToArray(), "the last leave unloads it: no owner, no pin");
+ var after = Special();
+ Assert.AreEqual(0, after.liveInstances); Assert.AreEqual(0, after.ownedLeases);
+ Assert.AreEqual(0, Owners(), "the stream holds no owner"); Assert.AreEqual(0, Leases()); Assert.IsFalse(Pinned(), "and no pin"); Assert.IsFalse(Inflight());
+ Assert.IsFalse(Open(), "the bundle is gone"); Assert.AreEqual(0, Cached(), "and its cached prefab"); Assert.AreEqual(0, Queued(), "nothing queued");
+ StreamEmpty("after the last leave");
+
+ // A load still in flight when the camera leaves: nothing is placed, and the bundle unloads once the load ends.
+ camGo.transform.position = new Vector3(100f, 10000f, 200f); a.Choose(default, cam);
+ Pump(run, 2);
+ Assert.AreEqual(2, source.Opened.Count, "the bundle is opening again");
+ Assert.IsTrue(Inflight(), "its load is in flight");
+ camGo.transform.position = new Vector3(100f, 60000f, 200f); a.Choose(default, cam);
+ Assert.AreEqual(0, Owners(), "leaving drops the owner at once"); Assert.AreEqual(1, source.Unloaded.Count, "but the load in flight holds the bundle");
+ Pump(run, 20);
+ Assert.AreEqual(0, a.ModelCount, "the cancelled load places nothing");
+ Assert.AreEqual(2, source.Unloaded.Count, "and the bundle unloads after it");
+ Assert.IsFalse(Inflight()); Assert.IsFalse(Pinned());
+ StreamEmpty("after the cancelled load");
+
+ // Destroying a camp while its models stand destroys them before the bundle unloads.
+ camGo.transform.position = new Vector3(100f, 10000f, 200f); b.Choose(default, cam);
+ Pump(run, 20);
+ Assert.AreEqual(tents.Length, b.ModelCount);
+ var standing = b.Instances.ToList();
+ source.BeforeUnload = () => Assert.IsTrue(standing.All(m => m == null), "no model instance is left when the bundle unloads");
+ Object.DestroyImmediate(b);
+ source.BeforeUnload = null;
+ Assert.AreEqual(3, source.Unloaded.Count, "destroying the last owner unloads it");
+ Assert.AreEqual(0, Owners()); Assert.IsFalse(Pinned());
+ Assert.AreEqual(0, Loaded(), "nothing loaded is left"); Assert.AreEqual(0, PendingEvictions(), "and no eviction waits");
+ StreamEmpty("after the destroy");
+ }
+ finally
+ {
+ Statecraft.Game.Map.Collection.CampTentModels.Acquire = saved;
+ sharedField.SetValue(null, savedShared); hostField.SetValue(null, savedHost);
+ Object.DestroyImmediate(root); Object.DestroyImmediate(camGo); Object.DestroyImmediate(hostGo);
+ }
+ }
+
/// <summary>Issue #32: ma'abarot are seeded (two builds, the same camps), stand on dry land clear of every town's plots,
/// the 1948 localities and the Bedouin camps, keep off the routes, and two camps asked for on the same ground keep
/// apart: a camp stands in its own hex (review #557), so the second finds none left there (the first camp's lots) and
@@ -741,6 +1195,70 @@ public class KitTests
Assert.AreSame(map.MarkerMaterial, layer.transform.GetChild(0).GetComponent<MeshRenderer>().sharedMaterial, "housing keeps its box");
}
+ /// <summary>#756 through PlacementLayer: a transit camp's khaki ridge tents get a child of their own carrying
+ /// CampTentModels; up close the streamed tent models stand under it. Redrawing (housing in the camp's place) destroys
+ /// the camp's and the khaki child's own meshes, destroys the models and releases the lease, and leaves the streamed
+ /// prefab's shared meshes alive.</summary>
+ [Test]
+ public void APlacedCampsKhakiTentModelsRetireWithItAndKeepThePrefabsMeshes()
+ {
+ var saved = Statecraft.Game.Map.Collection.CampTentModels.Acquire;
+ GameObject? camGo = null, prefabFixture = null;
+ Mesh? sharedFixture = null;
+ try
+ {
+ var map = OpenMap();
+ camGo = new GameObject("placed camp tents camera", typeof(Camera));
+ var c = Statecraft.Sim.ContentLoader.Load(Statecraft.Game.Paths.Content);
+ var hex = c.SettlementHexes.Single(s => s.Id == "revivim");
+ var date = new System.DateTime(1950, 8, 26);
+ // Owned transient geometry makes the cleanup control safe even when it intentionally collects a model mesh.
+ // Import tests separately verify the shipped tent's original mesh, material and texture.
+ var prefab = prefabFixture = new GameObject("camp model source fixture", typeof(MeshFilter), typeof(MeshRenderer));
+ sharedFixture = Object.Instantiate(Resources.GetBuiltinResource<Mesh>("Cube.fbx"));
+ prefab.GetComponent<MeshFilter>().sharedMesh = sharedFixture;
+ prefab.GetComponent<MeshRenderer>().sharedMaterial = AssetDatabase.LoadAssetAtPath<Material>("Assets/Materials/Kit.mat");
+ prefab.SetActive(false);
+ var prefabMeshes = new List<Mesh> { sharedFixture };
+ int acquired = 0, released = 0;
+ Statecraft.Game.Map.Collection.CampTentModels.Acquire = (id, d, done) => { acquired++; done(prefab); return new FakeLease(() => released++); };
+
+ var layer = new GameObject("Placements").AddComponent<PlacementLayer>();
+ layer.Render(new[] { new Statecraft.Sim.Placement(Statecraft.Sim.MapActions.TransitCamp, hex.Q, hex.R, date) }, c, map);
+ var camp = layer.transform.GetChild(0);
+ var campMesh = camp.GetComponent<MeshFilter>().sharedMesh;
+ var khaki = camp.Find(camp.name + "_khaki");
+ Assert.IsNotNull(khaki, "the camp's khaki ridge tents are a child of their own");
+ var khakiMesh = khaki.GetComponent<MeshFilter>().sharedMesh;
+ Assert.IsNotNull(khakiMesh); Assert.AreNotSame(campMesh, khakiMesh);
+ var tents = khaki.GetComponent<Statecraft.Game.Map.Collection.CampTentModels>();
+ Assert.IsNotNull(tents, "PlacementLayer attaches CampTentModels to the khaki child");
+ Assert.AreEqual(0, acquired, "nothing asked for before a camera comes close");
+
+ var cam = camGo.GetComponent<Camera>();
+ camGo.transform.SetPositionAndRotation(khaki.GetComponent<MeshRenderer>().bounds.center + Vector3.up * 10000f, Quaternion.Euler(90f, 0f, 0f));
+ tents.Choose(default, cam);
+ Assert.AreEqual(1, acquired); Assert.Greater(tents.ModelCount, 0, "up close the models stand under the khaki child");
+ var models = tents.Instances.ToList();
+ CollectionAssert.IsSubsetOf(models.SelectMany(m => m.GetComponentsInChildren<MeshFilter>(true)).Select(f => f.sharedMesh).Where(m => m != null).Distinct().ToList(),
+ prefabMeshes, "the models share the prefab's meshes");
+
+ layer.Render(new[] { new Statecraft.Sim.Placement(Statecraft.Sim.MapActions.Housing, hex.Q, hex.R, date) }, c, map);
+ Assert.IsTrue(campMesh == null, "the camp's own mesh goes with it");
+ Assert.IsTrue(khakiMesh == null, "the khaki tents' own mesh goes with it");
+ Assert.IsTrue(models.All(m => m == null), "the tent models go");
+ Assert.AreEqual(1, released, "and the lease is released");
+ Assert.IsTrue(prefabMeshes.All(m => m != null), "the streamed prefab's shared meshes stay");
+ }
+ finally
+ {
+ Statecraft.Game.Map.Collection.CampTentModels.Acquire = saved;
+ if (camGo != null) Object.DestroyImmediate(camGo);
+ if (prefabFixture != null) Object.DestroyImmediate(prefabFixture);
+ if (sharedFixture != null) Object.DestroyImmediate(sharedFixture);
+ }
+ }
+
/// <summary>Review (issue #32): with the "kits" toggle off a transit camp is drawn as its marker box, as the settlements
/// are, and no camp kit is visible; switching the kits back on draws the ma'abara again.</summary>
[Test]
diff --git a/unity/Assets/Tests/EditMode/OriginalModelsStreamingTests.cs b/unity/Assets/Tests/EditMode/OriginalModelsStreamingTests.cs
index cf39ed0fc..8136c03ca 100644
--- a/unity/Assets/Tests/EditMode/OriginalModelsStreamingTests.cs
+++ b/unity/Assets/Tests/EditMode/OriginalModelsStreamingTests.cs
@@ -13,7 +13,7 @@ public class OriginalModelsStreamingTests
[Test]
public void EveryOriginalHasItsOwnBundle()
{
- var ids = CollectionCatalog.Ids.Where(id => !CollectionCatalog.IsGenerated(id)).ToArray();
+ var ids = CollectionCatalog.Ids.Where(id => !CollectionCatalog.IsGenerated(id) && !CollectionCatalog.IsGeneratedHouse(id)).ToArray();
Assert.AreEqual(73, ids.Length, "all 23 buildings and 50 collection models");
Assert.AreEqual(ids.Length, ids.Select(CollectionCatalog.BundleOf).Distinct().Count(), "one model per bundle");
}
@@ -129,22 +129,22 @@ public class OriginalModelsStreamingTests
{
foreach (var id in CollectionCatalog.Ids)
{
- string dir = CollectionCatalog.IsBuilding(id) ? CollectionCatalog.BuildingsFolder : CollectionCatalog.Folder;
- string path = $"{dir}/{id}/{id}.fbx";
+ string path = CollectionCatalog.SourceModelPath(id);
var model = (ModelImporter)AssetImporter.GetAtPath(path);
Assert.AreEqual(ModelImporterMeshCompression.Off, model.meshCompression, id);
Assert.AreEqual(ModelImporterAnimationCompression.Off, model.animationCompression, id);
int clips = AssetDatabase.LoadAllAssetsAtPath(path).OfType<AnimationClip>()
.Count(c => !c.name.StartsWith("__preview__", StringComparison.Ordinal));
Assert.AreEqual(model.defaultClipAnimations.Length, clips, id);
- // A generated static prop keeps its delivered import untouched (curve resampling on): it has no clips, so the
+ // A generated static prop or house keeps its delivered import untouched (curve resampling on): it has no clips, so the
// setting changes nothing. Every model with clips imports with resampling off.
- if (CollectionCatalog.IsGeneratedProp(id)) { Assert.AreEqual(0, clips, id + " is a static prop"); Assert.IsTrue(model.resampleCurves, id + " keeps its delivered import"); }
+ if (CollectionCatalog.IsGeneratedProp(id) || CollectionCatalog.IsGeneratedHouse(id)) { Assert.AreEqual(0, clips, id + " is static"); Assert.IsTrue(model.resampleCurves, id + " keeps its delivered import"); }
else Assert.IsFalse(model.resampleCurves, id);
var serialized = new SerializedObject(model);
var lod = serialized.FindProperty("m_GenerateMeshLods") ?? serialized.FindProperty("generateMeshLods");
Assert.IsNotNull(lod, "Unity's LOD setting must be verifiable");
Assert.IsFalse(lod.boolValue, id);
+ string dir = CollectionCatalog.IsBuilding(id) ? CollectionCatalog.BuildingsFolder : CollectionCatalog.Folder;
var texture = (TextureImporter)AssetImporter.GetAtPath($"{dir}/{id}/{id}_basecolor.jpg");
texture.GetSourceTextureWidthAndHeight(out int width, out int height);
Assert.GreaterOrEqual(texture.maxTextureSize, Math.Max(width, height), id);
diff --git a/unity/Assets/Tests/EditMode/OriginalResidencyPlayerTests.cs b/unity/Assets/Tests/EditMode/OriginalResidencyPlayerTests.cs
index 29f91c404..af0a36f4c 100644
--- a/unity/Assets/Tests/EditMode/OriginalResidencyPlayerTests.cs
+++ b/unity/Assets/Tests/EditMode/OriginalResidencyPlayerTests.cs
@@ -23,6 +23,18 @@ public sealed class OriginalResidencyPlayerTests
readonly Dictionary<FieldInfo, object?> originals = new Dictionary<FieldInfo, object?>();
readonly List<Object> owned = new List<Object>();
CollectionStreamHost? host;
+ readonly List<string> timeline = new List<string>();
+ int observedFrames;
+ void Mark(string stage) => timeline.Add($"f{Time.frameCount}: {stage}; camera observations={observedFrames}");
+ IEnumerator ObserveCamera(TownLandmarks towns, Camera camera)
+ {
+ while (true)
+ {
+ yield return null;
+ if (towns == null || camera == null || !towns.isActiveAndEnabled || !camera.isActiveAndEnabled) yield break;
+ towns.Choose(default, camera); observedFrames++;
+ }
+ }
static object? Call(object? owner, Type type, string name, params object?[] args)
{
var method = type.GetMethod(name, Flags); Assert.IsNotNull(method, name);
@@ -52,6 +64,7 @@ public sealed class OriginalResidencyPlayerTests
[UnityTearDown]
public IEnumerator LeavePlayerBranch()
{
+ Debug.Log("RESIDENCY TIMELINE\n" + string.Join("\n", timeline));
foreach (var pair in originals) pair.Key.SetValue(null, pair.Value); originals.Clear();
foreach (var item in owned) if (item != null) Object.Destroy(item); owned.Clear();
// Let the destruction acknowledgement hosts finish before stopping the observed stream.
@@ -65,10 +78,21 @@ public sealed class OriginalResidencyPlayerTests
public GameObject Prefab = null!;
public bool FailNear;
public readonly HashSet<string> Opened = new HashSet<string>(), Unloaded = new HashSet<string>(), CompletedLoads = new HashSet<string>();
+ public readonly HashSet<string> NullPaths = new HashSet<string>(StringComparer.Ordinal);
public Action<string>? BeforeUnload;
public IEnumerator Open(string bundle, Action<string?> done) { Opened.Add(bundle); yield return null; done(null); }
public IEnumerator Load(string bundle, string path, Action<GameObject?> done)
- { yield return null; CompletedLoads.Add(bundle); done(FailNear && path.Contains("/Settlements/Prototype/", StringComparison.Ordinal) ? null : Prefab); }
+ {
+ yield return null; CompletedLoads.Add(bundle);
+ bool fail = FailNear && path.Contains("/Settlements/Prototype/", StringComparison.Ordinal);
+ if (fail)
+ {
+ // Arm the exact warning before this uncached null reply, not after a coroutine wait.
+ LogAssert.Expect(LogType.Warning, $"Collection: bundle {bundle} has no {path}; nothing is drawn for it.");
+ NullPaths.Add(path);
+ }
+ done(fail ? null : Prefab);
+ }
public void Unload(string bundle) { BeforeUnload?.Invoke(bundle); Unloaded.Add(bundle); }
}
(CollectionStream stream, Source source, List<(string id, CollectionDetail detail)> asks) Stream()
@@ -119,7 +143,9 @@ public sealed class OriginalResidencyPlayerTests
});
var camera = new GameObject("controlled residency camera").AddComponent<Camera>(); owned.Add(camera.gameObject);
camera.tag = "MainCamera";
- camera.cullingMask = 0; // begin/end lifecycle still runs; unrelated scene geometry never renders
+ camera.cullingMask = 0; // unrelated scene geometry never renders
+ // The batch fixture must observe this camera every player frame, including nested coroutine waits.
+ host!.StartCoroutine(ObserveCamera(towns, camera));
return (map, layer, towns, focus, camera);
}
static void Choose(TownLandmarks towns, Camera camera, Vector2 at, bool close)
@@ -139,15 +165,37 @@ public sealed class OriginalResidencyPlayerTests
Assert.AreEqual(1, asks.Count(a => a.id == focus.Model && a.detail == CollectionDetail.Far), "the one map-wide whole-town request");
Assert.AreEqual(1, asks.Count(a => a.id == focus.Model), "no duplicate whole-town acquisition while Near loads");
Assert.IsFalse((bool)Call(layer, typeof(TownModelLayer), "ReadyForTown", focus.Key, camera)!);
+ Mark("before Near readiness wait");
yield return Until(() => { towns.Choose(default, camera); return (bool)Call(layer, typeof(TownModelLayer), "ReadyForTown", focus.Key, camera)!; }, "near ready: " + focus.Key);
+ Mark("resumed after Near readiness wait");
+ Assert.IsNotNull(asks, "request witness survives Near readiness");
var near = asks.Where(a => a.detail == CollectionDetail.Near).Select(a => CollectionCatalog.BundleOf(a.id)!).ToHashSet();
+ Mark("Near request snapshot taken");
Choose(towns, camera, focus.At, false);
var activeNear = (System.Collections.IDictionary)typeof(TownModelLayer).GetField("models", Flags)!.GetValue(layer)!;
yield return Until(() => activeNear.Count == 0, "near references retired");
Assert.IsEmpty(activeNear, "Near consumer references are retired on overview handoff; leases await safe release");
- yield return Until(() => { towns.Choose(default, camera); return towns.Seats.ContainsKey(focus.Key) && near.All(source.Unloaded.Contains); }, "whole ready and near unloaded: " + focus.Key);
+ GameObject? witnessed = null; int witnessFrame = -1;
+ yield return Until(() =>
+ {
+ towns.Choose(default, camera);
+ bool ready = towns.Seats.ContainsKey(focus.Key) && near.All(source.Unloaded.Contains);
+ if (ready)
+ {
+ var found = towns.transform.Find(focus.Key);
+ Assert.IsNotNull(found, "a ready seat must have its whole instance in the same frame");
+ witnessed = found!.gameObject; witnessFrame = Time.frameCount;
+ }
+ return ready;
+ }, "whole ready and near unloaded: " + focus.Key);
+ Mark("resumed after whole readiness wait");
+ string phase = $"whole witness frame {witnessFrame}, resumed {Time.frameCount}, seats {towns.Seats.Count}";
+ Assert.IsTrue(witnessed != null, "whole instance survives coroutine resume: " + phase);
+ Assert.AreSame(towns.transform, witnessed!.transform.parent, "whole instance remains owned: " + phase);
+ Assert.IsTrue(towns.Seats.ContainsKey(focus.Key), "whole seat survives coroutine resume: " + phase);
+ Assert.AreSame(witnessed!.transform, towns.transform.Find(focus.Key), "same whole generation survives: " + phase);
Assert.IsTrue(asks.Any(a => a.id == focus.Model && a.detail == CollectionDetail.Far));
- var instance = towns.transform.Find(focus.Key).gameObject;
+ var instance = witnessed!;
var detached = instance.GetComponentsInChildren<Transform>(true).Select(t => t.gameObject).ToArray();
var renderers = instance.GetComponentsInChildren<Renderer>(true); Assert.IsNotEmpty(renderers);
string whole = CollectionCatalog.BundleOf(focus.Model)!;
@@ -172,12 +220,36 @@ public sealed class OriginalResidencyPlayerTests
yield return Until(() => asks.Any(a => a.detail == CollectionDetail.Near), "near requested");
var nearIds = asks.Where(a => a.detail == CollectionDetail.Near).Select(a => a.id).Distinct().ToArray();
Assert.IsNotEmpty(nearIds, "failure proof requires actual Near requests");
- foreach (var _ in nearIds)
- LogAssert.Expect(LogType.Warning, new System.Text.RegularExpressions.Regex("Collection: bundle .* has no .*"));
+ var models = (System.Collections.IDictionary)typeof(TownModelLayer).GetField("models", Flags)!.GetValue(layer)!;
+ // Source completion precedes the stream's warning and callback; wait for the actual null replies too.
+ Mark("before null Near reply wait");
// Owner ruling 29 (30 Oct 2026): "Far models map-wide (Recommended)": whole towns are requested map-wide; only near detail is camera-gated.
// The map-wide whole-town loads now queue ahead of the Near load: keep the close camera rendering while waiting, as a
// player's camera does every frame, or its admission expires (grace frames) and the Near request is withdrawn.
- yield return Until(() => { towns.Choose(default, camera); return nearIds.All(id => source.CompletedLoads.Contains(CollectionCatalog.BundleOf(id)!)); });
+ yield return Until(() => { towns.Choose(default, camera); return nearIds.All(id => source.CompletedLoads.Contains(CollectionCatalog.BundleOf(id)!))
+ && models.Count > 0 && models.Values.Cast<object>().All(model =>
+ (bool)model.GetType().GetField("answered", Flags)!.GetValue(model)!); }, "null Near replies answered");
+ Mark("resumed after null Near reply wait");
+ Assert.IsTrue((bool)Call(layer, typeof(TownModelLayer), "WantsTown", focus.Key, camera)!,
+ "null-reply proof requires the actual focus town to be admitted");
+ var required = (System.Collections.IDictionary)typeof(TownModelLayer).GetField("required", Flags)!.GetValue(layer)!;
+ Assert.IsTrue(required.Contains(focus.Key), "the focus town must require original models");
+ var kinds = ((System.Collections.IEnumerable)required[focus.Key]!).Cast<object>().ToArray();
+ Assert.IsNotEmpty(kinds);
+ Assert.IsNotEmpty(source.NullPaths, "the source must actually answer a Near path with null");
+ foreach (var kind in kinds)
+ {
+ string id = TownModels.Ids[(int)(TownModel)kind];
+ string path = CollectionCatalog.PrefabPath(id, CollectionDetail.Near);
+ StringAssert.Contains("/Settlements/Prototype/", path, "required kind must exercise the null route: " + id);
+ Assert.IsTrue(asks.Contains((id, CollectionDetail.Near)), "required kind acquired at Near: " + id);
+ Assert.IsTrue(source.NullPaths.Contains(path), "required kind was actually answered null: " + id);
+ Assert.IsTrue(models.Contains(kind), "every required focus-town kind must have a response");
+ var model = models[kind]!;
+ Assert.IsTrue((bool)model.GetType().GetField("answered", Flags)!.GetValue(model)!);
+ Assert.IsNull(model.GetType().GetField("mesh", Flags)!.GetValue(model));
+ Assert.IsNull(model.GetType().GetField("material", Flags)!.GetValue(model));
+ }
Assert.IsFalse((bool)Call(layer, typeof(TownModelLayer), "ReadyForTown", focus.Key, camera)!);
Assert.IsFalse((bool)Call(layer, typeof(TownModelLayer), "WantsWholeTown", focus.Key, camera)!);
// The failed Near acquires no replacement: the focus town's whole-town Far stays its one map-wide request.
diff --git a/unity/Assets/Tests/EditMode/SpecialBuildingModelsTests.cs b/unity/Assets/Tests/EditMode/SpecialBuildingModelsTests.cs
index 47023d78d..968e0d433 100644
--- a/unity/Assets/Tests/EditMode/SpecialBuildingModelsTests.cs
+++ b/unity/Assets/Tests/EditMode/SpecialBuildingModelsTests.cs
@@ -34,6 +34,14 @@ namespace Statecraft.Game.Tests
SpecialBuildingModels.Shikun, "Ramat HaHayal starts after the sourced year 1950");
Assert.AreEqual(1, SpecialBuildingModels.Placements(new DateTime(1951, 1, 1))
.Count(x => x.Model == SpecialBuildingModels.Shikun), "Ramat HaHayal on the owner-ruled year-level date");
+ // Degania's tank from the day of the Syrian attack, 20 May 1948 (owner, 27 October 2026: "Degania landmark").
+ CollectionAssert.DoesNotContain(SpecialBuildingModels.Placements(new DateTime(1948, 5, 19)).Select(x => x.Model), SpecialBuildingModels.SyrianR35);
+ var tank = SpecialBuildingModels.Placements(new DateTime(1948, 5, 20)).Single(x => x.Model == SpecialBuildingModels.SyrianR35);
+ Assert.AreEqual("degania_r35", tank.Key);
+ Assert.AreEqual(35.5747, tank.Lon, 1e-9, "Degania Alef's row in settlements_1948.yaml");
+ Assert.AreEqual(32.7081, tank.Lat, 1e-9);
+ StringAssert.Contains("degania_defence.yaml", tank.Source);
+ Assert.AreEqual(4.02f, SpecialBuildingModels.RealLengthM(SpecialBuildingModels.SyrianR35), 1e-6f, "the R35's length, en.wiki Renault R35 (research_notes/Map/degania-r35.md)");
}
[Test]
@@ -124,10 +132,10 @@ namespace Statecraft.Game.Tests
var props = people.Wanted.Select(w => (new Vector2(w.At.x, w.At.z), CivilianPeople.FigureClearanceM))
.Concat(WildlifeLayer.Wants(map).Select(w => (w.At, 0.5f * WildlifeLayer.SizeM))).ToList();
var layer = CollectionGeometryFixture.Special(map, After)!;
- CollectionAssert.AreEquivalent(new[] { SpecialBuildingModels.Tegart, SpecialBuildingModels.Barracks, SpecialBuildingModels.Factory, SpecialBuildingModels.Shikun },
- asked.Select(a => a.id), "one request per placed model");
+ CollectionAssert.AreEquivalent(new[] { SpecialBuildingModels.Tegart, SpecialBuildingModels.Barracks, SpecialBuildingModels.Factory, SpecialBuildingModels.Shikun,
+ SpecialBuildingModels.SyrianR35 }, asked.Select(a => a.id), "one request per placed model");
AnswerAll();
- CollectionAssert.AreEquivalent(new[] { "latrun_tegart", "tzrifin_barracks", "camp_80_barracks", "netanya_factory", "ramat_hahayal_shikun" }, layer.Placed.Select(p => p.Key));
+ CollectionAssert.AreEquivalent(new[] { "latrun_tegart", "tzrifin_barracks", "camp_80_barracks", "netanya_factory", "ramat_hahayal_shikun", "degania_r35" }, layer.Placed.Select(p => p.Key));
var ground = PlacementLayer.CampGround(map);
var footprints = map.KitFootprints.Select(f => (f.centre, f.radius)).ToList();
var wants = SpecialBuildingModels.Placements(After).ToDictionary(w => w.Key);
@@ -178,6 +186,58 @@ namespace Statecraft.Game.Tests
Assert.IsTrue(layer.GetComponentsInChildren<Renderer>(true).All(x => x.forceRenderingOff), "hidden beyond the close zoom's exit");
}
+ /// <summary>The R35 stands just outside Degania Alef's drawn kit, on the side facing the nearest mapped route: its centre
+ /// is on the kit's box widened by one model-clearance on each side (one clearance out from a side, up to the square root
+ /// of two clearances off a corner). The same spot with the "kits" toggle off when it is placed: the box comes from the
+ /// kit meshes, not from their (then disabled) renderers.</summary>
+ [TestCase(true)]
+ [TestCase(false)]
+ public void DeganiaTankStandsJustOutsideEveryVillageKitBoundAtTheTransportSide(bool kitsShown)
+ {
+ var map = OpenMap();
+ // Placement runs inside the fixture; record what it logs so a seeded fallback cannot pass unnoticed.
+ var logged = new List<string>();
+ Application.LogCallback watch = (message, stack, type) => logged.Add(message);
+ Application.logMessageReceived += watch;
+ SpecialBuildingModels layer;
+ if (!kitsShown) VisualToggles.Set("kits", false);
+ try { layer = CollectionGeometryFixture.Special(map, new DateTime(1948, 5, 20))!; AnswerAll(); }
+ finally { Application.logMessageReceived -= watch; if (!kitsShown) VisualToggles.Set("kits", true); }
+ Assert.IsFalse(logged.Any(m => m.Contains("route-facing spot unavailable for degania_r35")),
+ "the R35 took its route-facing village spot, not the seeded fallback");
+ var tank = layer.Placed.Single(p => p.Key == "degania_r35");
+ var kits = map.transform.Find(Statecraft.Game.Map.Kits.KitLayer.RootName)!;
+ var bounds = kits.Cast<Transform>()
+ .Where(t => t.name == "degania_alef" || t.name == "degania_alef" + Statecraft.Game.Map.Kits.KitLayer.CloseSuffix)
+ .Select(t => t.GetComponent<Renderer>().bounds).ToArray();
+ Assert.IsNotEmpty(bounds, "Degania's far and close kit meshes define its drawn village bounds");
+ var at = tank.At; float clearance = SpecialBuildingModels.ClearanceOf(tank.Model);
+ // A box's gaps to the R35's centre on the ground plane, x and z (the tank's height is the terrain's, not the kit box's).
+ (float x, float z) Gaps(Bounds b) => (Mathf.Max(b.min.x - at.x, at.x - b.max.x, 0f), Mathf.Max(b.min.z - at.z, at.z - b.max.z, 0f));
+ foreach (var b in bounds) Assert.Greater(Mathf.Max(Gaps(b).x, Gaps(b).z), 0f, "the R35 centre lies outside " + b);
+ var village = bounds[0]; for (int i = 1; i < bounds.Length; i++) village.Encapsulate(bounds[i]);
+ const float FloatSlackM = 1e-3f; // the spot is computed on the widened box's edge; 1 mm absorbs float rounding
+ // On the widened box's edge: its larger axis gap to the village box (x or z) is exactly one clearance.
+ var (gapX, gapZ) = Gaps(village);
+ Assert.AreEqual(clearance, Mathf.Max(gapX, gapZ), FloatSlackM, "the R35's centre is on the village box widened by its clearance");
+ Assert.That(Mathf.Sqrt(gapX * gapX + gapZ * gapZ), Is.InRange(clearance - FloatSlackM, Mathf.Sqrt(2f) * clearance + FloatSlackM),
+ "one clearance beyond a side of the village, up to the square root of two clearances beyond a corner");
+ var footprint = map.KitFootprints.Single(f => f.id == "degania_alef");
+ Vector2 nearest = Vector2.zero; float best = float.MaxValue;
+ foreach (var (line, _) in map.KitRouteCorridors)
+ for (int i = 0; i + 1 < line.Count; i++)
+ {
+ var a = line[i]; var ab = line[i + 1] - a;
+ float t = ab.sqrMagnitude > 0f ? Mathf.Clamp01(Vector2.Dot(footprint.centre - a, ab) / ab.sqrMagnitude) : 0f;
+ var q = a + ab * t; float d = (q - footprint.centre).sqrMagnitude;
+ // As the placement does: a segment through the centre gives no bearing.
+ if (d < best && d > 1e-4f) { best = d; nearest = q; }
+ }
+ // The candidates sweep the facing half-plane, its +/-90 degree edges included.
+ Assert.GreaterOrEqual(Vector2.Dot((new Vector2(at.x, at.z) - footprint.centre).normalized, (nearest - footprint.centre).normalized), -1e-4f,
+ "the chosen village edge is on the side facing the nearest mapped transport segment");
+ }
+
/// <summary>The owner on v0.1.1 (18 October 2026): Tal Heuberger's buildings were "way bigger then the train". The #707
/// buildings stand at the #700 buildings' one world scale (an 8.5 m house as long as the steam train's locomotive car,
/// about 204 m: 24x real): the fort, the factory and the shikun are 3 to 4 locomotive cars long, the barracks 2.5 to 3.25, and
@@ -195,8 +255,10 @@ namespace Statecraft.Game.Tests
{
[SpecialBuildingModels.Tegart] = (3f, 4f), [SpecialBuildingModels.Factory] = (3f, 4f), [SpecialBuildingModels.Barracks] = (2.5f, 3.25f),
[SpecialBuildingModels.Shikun] = (3f, 4f),
+ // The R35, 4.02 m at the same world scale: about 96 m, under half a locomotive car.
+ [SpecialBuildingModels.SyrianR35] = (0.42f, 0.52f),
};
- Assert.AreEqual(5, layer.Placed.Count);
+ Assert.AreEqual(6, layer.Placed.Count);
foreach (var p in layer.Placed)
{
var b = layer.transform.Find(p.Key)!.GetComponentsInChildren<Renderer>(true).Select(x => x.bounds).Aggregate((x, y) => { x.Encapsulate(y); return x; });
@@ -223,7 +285,7 @@ namespace Statecraft.Game.Tests
Assert.IsTrue(fort != null && fort.transform.parent == layer.transform, "the same date keeps the same models");
CollectionGeometryFixture.Special(map, After);
AnswerAll();
- Assert.AreEqual(5, layer.Placed.Count);
+ Assert.AreEqual(6, layer.Placed.Count);
CollectionGeometryFixture.Special(map, new DateTime(1948, 5, 16));
AnswerAll(); // Earlier-date retirement reacquires its still-needed original through the fake source.
CollectionAssert.AreEqual(new[] { "latrun_tegart" }, layer.Placed.Select(p => p.Key), "an earlier date shows only what stood then");
diff --git a/unity/Assets/Tests/EditMode/TalModelsShots.cs b/unity/Assets/Tests/EditMode/TalModelsShots.cs
index 8999f946c..fda5f6b82 100644
--- a/unity/Assets/Tests/EditMode/TalModelsShots.cs
+++ b/unity/Assets/Tests/EditMode/TalModelsShots.cs
@@ -7,6 +7,7 @@ using System.Linq;
using NUnit.Framework;
using Statecraft.Game.Map;
using Statecraft.Game.Map.Collection;
+using Statecraft.Game.Map.Kits;
using Statecraft.Game.Map.Units;
using Statecraft.Game.UI;
using Statecraft.Sim;
@@ -28,20 +29,23 @@ public class TalModelsShots
string saveDir = "";
RenderTexture? rt; PanelSettings? ps;
GameRoot root = null!;
- Action<string, CollectionDetail, Action<GameObject?>>? savedRural, savedPeople, savedUnits;
+ Action<string, CollectionDetail, Action<GameObject?>>? savedRural, savedPeople, savedSpecial, savedUnits;
+ Func<string, CollectionDetail, Action<GameObject?>, IDisposable>? savedTown;
[SetUp]
public void Prepare()
{
saveDir = Path.Combine(Path.GetTempPath(), "statecraft-tal-shots-" + Guid.NewGuid().ToString("N"));
Directory.CreateDirectory(ShotDir); Directory.CreateDirectory(CivMovementShots.ShotDir);
- savedRural = RuralLife.Request; savedPeople = CivilianPeople.Request; savedUnits = UnitFigures.Source;
+ savedRural = RuralLife.Request; savedPeople = CivilianPeople.Request; savedSpecial = SpecialBuildingModels.Request;
+ savedUnits = UnitFigures.Source; savedTown = TownModelLayer.ModelAcquire;
}
[TearDown]
public void DiscardScene()
{
- RuralLife.Request = savedRural!; CivilianPeople.Request = savedPeople!; UnitFigures.Source = savedUnits;
+ RuralLife.Request = savedRural!; CivilianPeople.Request = savedPeople!; SpecialBuildingModels.Request = savedSpecial!;
+ UnitFigures.Source = savedUnits; TownModelLayer.ModelAcquire = savedTown!;
EditorSceneManager.NewScene(NewSceneSetup.EmptyScene, NewSceneMode.Single);
if (ps != null) Object.DestroyImmediate(ps);
if (rt != null) { rt.Release(); Object.DestroyImmediate(rt); }
@@ -123,6 +127,86 @@ public class TalModelsShots
}
}
+ /// <summary>Degania Alef after the first turn (15 June 1948: the tank stands from 20 May), the camera on the kibbutz's own point,
+ /// so the frame is the same with and without the tank.</summary>
+ IEnumerator Degania(bool hebrew, bool after)
+ {
+ yield return Boot(hebrew);
+ root.Bridge!.EndTurn();
+ for (int i = 0; i < 3; i++) yield return null;
+ var ui = Object.FindFirstObjectByType<UIDocument>().rootVisualElement;
+ var close = ui.Q<Button>("turn-report-close");
+ if (close != null && close.resolvedStyle.display == DisplayStyle.Flex) UiTestKit.Press(close);
+ for (int i = 0; i < 3; i++) yield return null;
+ // The new turn opens a decision card over the map; the player's Hide button puts it away, and the card shrinks away
+ // (ScreenNav.Show). The frame is taken only once the card itself is undisplayed.
+ var card = ui.Q("event-card");
+ Assert.IsNotNull(card, "the event card");
+ if (card.resolvedStyle.display == DisplayStyle.Flex) UiTestKit.Press(ui.Q<Button>("event-hide"));
+ for (int i = 0; i < 120 && card.resolvedStyle.display != DisplayStyle.None; i++) yield return null;
+ Assert.AreEqual(DisplayStyle.None, card.resolvedStyle.display, "the decision card is hidden before the frame");
+ var map = Object.FindFirstObjectByType<MapScene>();
+ SpecialBuildingModels Layer(ICollection<string> withheld)
+ {
+ SpecialBuildingModels.Request = Answer(withheld);
+ Drop(map, SpecialBuildingModels.Name);
+ return CollectionGeometryFixture.Special(map, root.Bridge.State.Date)!;
+ }
+ // The frame is where the tank stands on this date with the model answered, the same before and after.
+ var layer = Layer(Array.Empty<string>());
+ var tank = layer.Placed.First(p => p.Model == CollectionCatalog.SyrianR35);
+ if (!after) layer = Layer(new[] { CollectionCatalog.SyrianR35 });
+ var point = tank.At;
+ point.y = map.Terrain.SampleHeight(point) + map.Terrain.transform.position.y;
+ // The closest the player's camera comes (CameraController.MinDistance).
+ Look(point, CameraController.MinDistance);
+ for (int i = 0; i < 5; i++) yield return null;
+ CivMovementShots.Shot(rt!, Path.Combine("..", "tal-models-shots", $"degania-{(after ? "after" : "before")}-{(hebrew ? "he" : "en")}"));
+ Debug.Log($"SHOT degania on {root.Bridge.State.Date:yyyy-MM-dd} at {point} from {CameraController.MinDistance:F0} m, event card display {card.resolvedStyle.display}: {string.Join(", ", layer.Placed.Select(p => p.Key))}");
+ }
+
+ sealed class NoLease : IDisposable { public void Dispose() { } }
+
+ /// <summary>A town's houses from the closest zoom the player can reach, the camera on the centre of the town's placed
+ /// houses (the plots are the same on main and on this branch: the model choice draws no random number). The town layer's
+ /// building requests are answered with the editor's prefabs, as the player's stream would answer them. Run on main and on
+ /// this branch for the before and after.</summary>
+ IEnumerator Houses(bool hebrew, string? town)
+ {
+ yield return Boot(hebrew);
+ TownModelLayer.ModelAcquire = (id, detail, done) => { done(Prefab(id, detail)); return new NoLease(); };
+ var layer = Object.FindFirstObjectByType<TownModelLayer>();
+ Assert.IsNotNull(layer, "the town layer");
+ // The village: the first locality (by id) on the stone-village lattice whose houses include the plastered courtyard house.
+ town ??= ((IEnumerable<(string id, Bounds bounds)>)typeof(TownModelLayer)
+ .GetField("buildingPlaces", System.Reflection.BindingFlags.NonPublic | System.Reflection.BindingFlags.Instance)!.GetValue(layer)!)
+ .Select(p => p.id).Where(id => layer.InstancesOf(id).Any(i => i.Model == TownModel.G05CourtyardHouse))
+ .OrderBy(id => id, StringComparer.Ordinal).First();
+ var placed = layer.InstancesOf(town);
+ Assert.IsNotEmpty(placed, town);
+ var map = Object.FindFirstObjectByType<MapScene>();
+ var sum = Vector3.zero; foreach (var i in placed) sum += (Vector3)i.M.GetColumn(3);
+ var at = sum / placed.Count;
+ at.y = map.Terrain.SampleHeight(at) + map.Terrain.transform.position.y;
+ Look(at, CameraController.MinDistance);
+ for (int i = 0; i < 3; i++) { Camera.main.Render(); yield return null; }
+ string models = string.Join(", ", placed.GroupBy(i => i.Model).OrderBy(g => g.Key).Select(g => $"{g.Key} x{g.Count()}"));
+ CivMovementShots.Shot(rt!, Path.Combine("..", "tal-models-shots", $"houses-{town}-{(hebrew ? "he" : "en")}"));
+ Debug.Log($"SHOT houses {town} at {at} from {CameraController.MinDistance:F0} m: {models}");
+ }
+
+ [UnityTest] public IEnumerator HousesNetanyaEnglish() { yield return Houses(false, "netanya"); }
+ [UnityTest] public IEnumerator HousesNetanyaHebrew() { yield return Houses(true, "netanya"); }
+ [UnityTest] public IEnumerator HousesTiberiasEnglish() { yield return Houses(false, "tiberias"); }
+ [UnityTest] public IEnumerator HousesTiberiasHebrew() { yield return Houses(true, "tiberias"); }
+ [UnityTest] public IEnumerator HousesVillageEnglish() { yield return Houses(false, null); }
+ [UnityTest] public IEnumerator HousesVillageHebrew() { yield return Houses(true, null); }
+
+ [UnityTest] public IEnumerator DeganiaBeforeEnglish() { yield return Degania(false, false); }
+ [UnityTest] public IEnumerator DeganiaAfterEnglish() { yield return Degania(false, true); }
+ [UnityTest] public IEnumerator DeganiaBeforeHebrew() { yield return Degania(true, false); }
+ [UnityTest] public IEnumerator DeganiaAfterHebrew() { yield return Degania(true, true); }
+
/// <summary>The Lebanese token's actual placed spot near Al-Malikiyya after the first turn (15 June
/// 1948, inside the token's 6 June to 8 July window), from the unit zoom and from the closest zoom. The unit figures are
/// answered with the editor's prefabs, as the player's stream would answer them. The admitted frame is a candidate-only diagnostic; a matched before requires this identical fixture and state.</summary>
diff --git a/unity/Assets/Tests/EditMode/TownModelScaleTests.cs b/unity/Assets/Tests/EditMode/TownModelScaleTests.cs
index 056111c27..f471dcbbe 100644
--- a/unity/Assets/Tests/EditMode/TownModelScaleTests.cs
+++ b/unity/Assets/Tests/EditMode/TownModelScaleTests.cs
@@ -126,7 +126,7 @@ public class TownModelScaleTests
}
/// <summary>"jaffa's buildings be over tel avivs buildings": Jaffa (an Arab town in May 1948) keeps its stone houses
- /// (b17) and Tel Aviv its White City blocks, at one scale: Jaffa's tallest house stands lower than the locomotive's car is
+ /// (b17 and g05) and Tel Aviv its White City blocks, at one scale: Jaffa's tallest house stands lower than the locomotive's car is
/// long and lower than Tel Aviv's typical block. On v0.1.1 Jaffa's 100x houses rose up to about 490 m, in front of Tel
/// Aviv's blocks from the camera's side (it looks north), so they covered them.</summary>
[Test]
@@ -136,7 +136,7 @@ public class TownModelScaleTests
bool Port(SettlementKits.ModelInstance m) => m.Model == M.B32CargoShed || m.Model == M.B28WaterTower; // a port's sheds, a water tower
var jaffa = models.Where(m => m.Id == "jaffa" && !Port(m)).ToList(); var tel = models.Where(m => m.Id == "tel_aviv" && !Port(m)).ToList();
Assert.Greater(jaffa.Count, 10); Assert.Greater(tel.Count, 20);
- Assert.IsTrue(jaffa.All(m => m.Model == M.B17CourtyardHouse), "Jaffa's stone houses");
+ Assert.IsTrue(jaffa.All(m => m.Model == M.B17CourtyardHouse || m.Model == M.G05CourtyardHouse), "Jaffa's stone houses (b17 and g05)");
Assert.IsTrue(tel.All(m => m.Model == M.B01WhiteCity || m.Model == M.B02aCornerBlock || m.Model == M.B02bNarrowBlock), "the White City");
var th = tel.Select(m => Box(m).height).OrderBy(x => x).ToList();
float jaffaMax = jaffa.Max(m => Box(m).height), telMedian = th[th.Count / 2];
diff --git a/unity/Assets/Tests/EditMode/TownModelTests.cs b/unity/Assets/Tests/EditMode/TownModelTests.cs
index 902a85db1..bab868e3e 100644
--- a/unity/Assets/Tests/EditMode/TownModelTests.cs
+++ b/unity/Assets/Tests/EditMode/TownModelTests.cs
@@ -54,8 +54,10 @@ public class TownModelTests
{
case "tel_aviv": return new HashSet<M> { M.B01WhiteCity, M.B02aCornerBlock, M.B02bNarrowBlock, M.B32CargoShed };
case "haifa": return new HashSet<M> { M.B04aStoneBalconies, M.B04bLoadingDoors, M.B32CargoShed, M.B05aMoshavaHouse };
- case "jerusalem": return new HashSet<M> { M.B03aArches, M.B03bExternalStair, M.B03cPlain, M.B17CourtyardHouse };
- case "netanya": return new HashSet<M> { M.B13aTwoStorey, M.B28WaterTower };
+ case "jerusalem": return new HashSet<M> { M.B03aArches, M.B03bExternalStair, M.B03cPlain, M.B17CourtyardHouse, M.G05CourtyardHouse };
+ // Tal Heuberger's Netanya houses (01 to 03) in Netanya only, and the basalt house (04) in Tiberias only (#756).
+ case "netanya": return new HashSet<M> { M.B13aTwoStorey, M.G01NetanyaTiledHouse, M.G02NetanyaBalconyHouse, M.G03NetanyaPorchHouse, M.B28WaterTower };
+ case "tiberias": return new HashSet<M> { M.G04BasaltHouse };
}
switch (s.Type)
{
@@ -65,7 +67,7 @@ public class TownModelTests
var h = new HashSet<M>(moshava) { M.B13aTwoStorey };
if (TownModels.WineMoshava(s.Id)) h.Add(M.B23Winery);
return h;
- default: return new HashSet<M> { M.B17CourtyardHouse }; // the old towns and the Arab towns
+ default: return new HashSet<M> { M.B17CourtyardHouse, M.G05CourtyardHouse }; // the old towns and the Arab towns: the courtyard houses
}
}
@@ -95,12 +97,21 @@ public class TownModelTests
}
// The cities' own models are there (not only a fallback).
foreach (var (id, model) in new[] { ("tel_aviv", M.B01WhiteCity), ("tel_aviv", M.B02bNarrowBlock), ("haifa", M.B04aStoneBalconies),
- ("haifa", M.B32CargoShed), ("jerusalem", M.B03cPlain), ("jaffa", M.B17CourtyardHouse), ("netanya", M.B13aTwoStorey) })
+ ("haifa", M.B32CargoShed), ("jerusalem", M.B03cPlain), ("jaffa", M.B17CourtyardHouse), ("netanya", M.B13aTwoStorey),
+ ("netanya", M.G01NetanyaTiledHouse), ("netanya", M.G02NetanyaBalconyHouse), ("netanya", M.G03NetanyaPorchHouse),
+ ("tiberias", M.G04BasaltHouse) })
if (!built.Models.Any(m => m.Id == id && m.Model == model)) bad.Add($"{id} has no {model}");
+ // The generated houses stand only where they were placed: 01 to 03 in Netanya, 04 in Tiberias (game settlements and
+ // 1948 localities alike).
+ foreach (var m in built.Models)
+ {
+ if ((m.Model == M.G01NetanyaTiledHouse || m.Model == M.G02NetanyaBalconyHouse || m.Model == M.G03NetanyaPorchHouse) && m.Id != "netanya") bad.Add($"{m.Id} has {m.Model}");
+ if (m.Model == M.G04BasaltHouse && m.Id != "tiberias") bad.Add($"{m.Id} has {m.Model}");
+ }
// A 1948 Arab village is built of courtyard houses.
var villages = map.Localities.Select(p => p.Settlement).Where(s => s.Type == "village" && !Localities.IsMixed(s.Id)).Select(s => s.Id).ToHashSet();
var villageModels = built.Models.Where(m => villages.Contains(m.Id) && m.Model != M.B28WaterTower).Select(m => m.Model).Distinct().ToList();
- CollectionAssert.AreEqual(new[] { M.B17CourtyardHouse }, villageModels, "the villages' houses");
+ CollectionAssert.AreEquivalent(new[] { M.B17CourtyardHouse, M.G05CourtyardHouse }, villageModels, "the villages' houses: the two courtyard houses");
// Every farm shed of every kibbutz (#820: the game settlements' and the localities') is a b24 barn, and no kibbutz
// house is.
var kibbutzim = map.Settlements.Concat(map.Localities.Select(p => p.Settlement)).Where(s => s.Type == "kibbutz").Select(s => s.Id).ToHashSet();
@@ -330,7 +341,7 @@ public class TownModelTests
probe.meshes[(int)M.B17CourtyardHouse] = null!;
StringAssert.Contains("B17CourtyardHouse has no mesh", probe.Missing());
var empty = ScriptableObject.CreateInstance<TownModelSet>();
- StringAssert.Contains("want 18", empty.Missing());
+ StringAssert.Contains("want 23", empty.Missing());
UnityEngine.Object.DestroyImmediate(empty);
}
finally { UnityEngine.Object.DestroyImmediate(probe); }
diff --git a/unity/Assets/Tests/EditMode/VehicleReviewTests.cs b/unity/Assets/Tests/EditMode/VehicleReviewTests.cs
index 890d8005a..ac066fe92 100644
--- a/unity/Assets/Tests/EditMode/VehicleReviewTests.cs
+++ b/unity/Assets/Tests/EditMode/VehicleReviewTests.cs
@@ -16,12 +16,19 @@ public class VehicleReviewTests
{
[SetUp] public void EmptyScene() => EditorSceneManager.NewScene(NewSceneSetup.EmptyScene, NewSceneMode.Single);
[TearDown] public void Cleanup() => EditorSceneManager.NewScene(NewSceneSetup.EmptyScene, NewSceneMode.Single);
+ /// <summary>The candidates still in review: every one but the placed two, the Spitfire in flight near the board edge (#1932)
+ /// and the R35, which stands at Degania Alef from 20 May 1948 (owner, 27 October 2026: "Degania landmark (Recommended)"),
+ /// each in its own streamed bundle.</summary>
+ static readonly string[] InReview = VehicleReviewCatalog.Ids.Where(id => !VehicleReviewCatalog.Placed(id)).ToArray();
+
[Test]
public void ReviewIsEditorOnlyAndHasNoPlayerDependencyOrBundle()
{
+ CollectionAssert.AreEqual(new[] { "generated-1948-16-egyptian-dakota-c47" }, InReview);
+ Assert.AreEqual("collection-" + CollectionCatalog.SyrianR35, CollectionCatalog.BundleOf(CollectionCatalog.SyrianR35), "the placed R35 streams on its own");
foreach (var id in VehicleReviewCatalog.Ids)
{
- // #1932: the Spitfire streams in a bundle of its own; the other two stay review-only.
+ // #1932 and #2046: the Spitfire and the R35 each stream in a bundle of their own; the Dakota stays review-only.
Assert.AreEqual(VehicleReviewCatalog.Placed(id) ? "collection-" + id : null, CollectionCatalog.BundleOf(id), id);
Assert.IsFalse(UnitFigures.BySide.Values.Contains(id));
Assert.IsFalse(UnitFigures.ByVehicle.Values.Contains(id));
@@ -72,7 +79,7 @@ public class VehicleReviewTests
foreach (var entry in catalog.entries)
{
string path = AssetDatabase.GetAssetPath(entry.model);
- Assert.IsTrue(path.StartsWith(VehicleReviewCatalog.DirOf(entry.id) + "/", StringComparison.Ordinal));
+ Assert.IsTrue(path.StartsWith(VehicleReviewCatalog.DirOf(entry.id) + "/", StringComparison.Ordinal), path);
var dependencies = AssetDatabase.GetDependencies(path, true);
CollectionAssert.Contains(dependencies, VehicleReviewCatalog.ModelOf(entry.id));
Assert.IsTrue(dependencies.Any(p => p.EndsWith("_basecolor.jpg", StringComparison.Ordinal)));
@@ -85,9 +92,9 @@ public class VehicleReviewTests
}
static string AssetFile(string path) => System.IO.Path.GetFullPath(System.IO.Path.Combine(Application.dataPath, "..", path));
- /// <summary>#2014: the review menu only shows a placed model (the Spitfire); it must not re-import, re-texture or re-save
- /// the model, material and prefab the game ships. Every file Import writes is put back afterwards, so a run leaves the
- /// tree as it found it.</summary>
+ /// <summary>#2014: the review menu only shows a placed model (the Spitfire, and the R35 since #2046); it must not re-import,
+ /// re-texture or re-save the model, material and prefab the game ships. Every file Import writes is put back afterwards,
+ /// so a run leaves the tree as it found it.</summary>
[Test]
public void ImportLeavesThePlacedModelsShippedFilesUntouched()
{
@@ -95,8 +102,9 @@ public class VehicleReviewTests
.SelectMany(d => System.IO.Directory.GetFiles(AssetFile(d), "*", System.IO.SearchOption.AllDirectories))
.ToDictionary(f => f, System.IO.File.ReadAllBytes);
var shipped = VehicleReviewCatalog.Ids.Where(VehicleReviewCatalog.Placed)
- .SelectMany(id => new[] { ".fbx.meta", ".mat", ".prefab" }.Select(ext => AssetFile(VehicleReviewCatalog.DirOf(id) + "/" + id + ext))).ToArray();
- Assert.IsNotEmpty(shipped, "the Spitfire is placed (#1932)");
+ .SelectMany(id => new[] { VehicleReviewCatalog.ModelOf(id) + ".meta" }.Concat(new[] { ".mat", ".prefab" }.Select(ext => VehicleReviewCatalog.DirOf(id) + "/" + id + ext)))
+ .Select(AssetFile).ToArray();
+ Assert.AreEqual(6, shipped.Length, "the Spitfire (#1932) and the R35 (#2046) are placed");
string[] changed;
try
{
@@ -122,8 +130,9 @@ public class VehicleReviewTests
var importer = (ModelImporter)AssetImporter.GetAtPath(file);
Assert.AreEqual(ModelImporterMeshCompression.Off, importer.meshCompression);
Assert.IsTrue(importer.importAnimation); Assert.AreEqual(ModelImporterAnimationCompression.Off, importer.animationCompression);
- // #2014: the placed Spitfire imports rig-free (no Animator on the shipped prefab); the review-only two keep Generic.
- Assert.AreEqual(VehicleReviewCatalog.Placed(id) ? ModelImporterAnimationType.None : ModelImporterAnimationType.Generic, importer.animationType, id);
+ // #2014: the placed Spitfire imports rig-free (no Animator on the shipped prefab); the R35 (placed by #2046 with the
+ // delivery's import settings) and the review-only Dakota keep Generic.
+ Assert.AreEqual(id == CollectionCatalog.EgyptianSpitfire ? ModelImporterAnimationType.None : ModelImporterAnimationType.Generic, importer.animationType, id);
Assert.AreEqual(0, importer.defaultClipAnimations.Length, "The three original GLBs contain no animation clips");
Assert.AreEqual(0, AssetDatabase.LoadAllAssetsAtPath(file).OfType<AnimationClip>().Count());
Assert.AreEqual(triangles, AssetDatabase.LoadAllAssetsAtPath(file).OfType<Mesh>().Sum(m => (int)m.GetIndexCount(0) / 3));
@@ -131,9 +140,16 @@ public class VehicleReviewTests
texture.GetSourceTextureWidthAndHeight(out int width, out int height);
Assert.AreEqual(4096, width); Assert.AreEqual(4096, height);
Assert.GreaterOrEqual(texture.maxTextureSize, Mathf.Max(width, height));
- // The placed Spitfire's map streams compressed, as the placed tent's (#1893); its source bytes are unchanged (hash below).
+ // The placed Spitfire's and R35's maps stream compressed, as the placed tent's (#1893), at their full 4096 px and quality
+ // 100 like the placed generated tents and houses (no Crunch); their source bytes are unchanged (hash below). The
+ // review-only Dakota stays uncompressed.
Assert.AreEqual(VehicleReviewCatalog.Placed(id) ? TextureImporterCompression.Compressed : TextureImporterCompression.Uncompressed, texture.textureCompression);
Assert.IsFalse(texture.crunchedCompression);
+ if (VehicleReviewCatalog.Placed(id))
+ {
+ Assert.AreEqual(4096, texture.maxTextureSize, id);
+ Assert.AreEqual(100, texture.compressionQuality, id);
+ }
foreach (string platform in new[] { "Standalone", "WebGL", "Android", "iPhone" })
Assert.IsFalse(texture.GetPlatformTextureSettings(platform).overridden, platform);
var image = AssetDatabase.LoadAssetAtPath<Texture2D>(map); Assert.AreEqual(width, image.width); Assert.AreEqual(height, image.height);