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 K98k and Sten on the token soldiers, C06's point-fire aim on attack (Refs #2083 #2084) (#2277)

Eyal Golanf05d0cef926c
diff --git a/ASSETS.yaml b/ASSETS.yaml
index 15b3daf9b..1c44d4ab4 100644
--- a/ASSETS.yaml
+++ b/ASSETS.yaml
@@ -3224,7 +3224,7 @@ rules:
credit: "Tal Heuberger · CC BY-NC-ND 4.0"
note: "Public source/export distribution authorized 31 October 2026; own paid account confirmed. Input reference bases separately recorded; no photographs included. No exact 1948 historical, modular, hex, art or Unity/runtime acceptance asserted. No existing asset grant changed. Landed in the project's own PR, crediting Tal Heuberger, under the owner's ruling of 2 November 2026 (\"Yes, #1177 covers them\") and the #1177 ruling of 20 and 22 October 2026 (CC BY-NC-ND 4.0 for Tal's new models, confirmed by Tal as the owner reported)."
- # Recovered source pair, Tal scoped contribution permission 31 October 2026; no runtime registration.
+ # Recovered source pair, Tal scoped contribution permission 31 October 2026; the game's copies are the hex-tile props rows (#2082).
- glob: "asset-sources/recovered-vegetation-20261031/g25_papyrus/g25_papyrus.obj"
licence: CC-BY-NC-ND-4.0
ai_generated: true
@@ -3232,7 +3232,7 @@ rules:
status: verified
artist: "Tal Heuberger"
credit: "Tal Heuberger · CC BY-NC-ND 4.0"
- note: "Author permitted public redistribution and approved export conversions 31 October 2026 and confirmed own paid generation account. This records the author statement, not independent legal review. Byte-preserved recovery; no historical/ecological, art, registration or Unity acceptance asserted. Provider/input restrictions remain; see provenance.json. Landed in the project's own PR, crediting Tal Heuberger, under the owner's ruling of 2 November 2026 (\"Yes, #1177 covers them\") and the #1177 ruling of 20 and 22 October 2026 (CC BY-NC-ND 4.0 for Tal's new models, confirmed by Tal as the owner reported)."
+ note: "Author permitted public redistribution and approved export conversions 31 October 2026 and confirmed own paid generation account. This records the author statement, not independent legal review. Byte-preserved recovery; no historical/ecological, art, registration or Unity acceptance asserted. The papyrus and tamarisk are in the game through their byte-identical copies in the hex-tile props rows (#2082). This folder's README is Tal's as delivered on 31 October 2026 and describes the files before that. Provider/input restrictions remain; see provenance.json. Landed in the project's own PR, crediting Tal Heuberger, under the owner's ruling of 2 November 2026 (\"Yes, #1177 covers them\") and the #1177 ruling of 20 and 22 October 2026 (CC BY-NC-ND 4.0 for Tal's new models, confirmed by Tal as the owner reported)."
- glob: "asset-sources/recovered-vegetation-20261031/g25_papyrus/albedo.jpg"
licence: CC-BY-NC-ND-4.0
ai_generated: true
@@ -3240,7 +3240,7 @@ rules:
status: verified
artist: "Tal Heuberger"
credit: "Tal Heuberger · CC BY-NC-ND 4.0"
- note: "Author permitted public redistribution and approved export conversions 31 October 2026 and confirmed own paid generation account. This records the author statement, not independent legal review. Byte-preserved recovery; no historical/ecological, art, registration or Unity acceptance asserted. Provider/input restrictions remain; see provenance.json. Landed in the project's own PR, crediting Tal Heuberger, under the owner's ruling of 2 November 2026 (\"Yes, #1177 covers them\") and the #1177 ruling of 20 and 22 October 2026 (CC BY-NC-ND 4.0 for Tal's new models, confirmed by Tal as the owner reported)."
+ note: "Author permitted public redistribution and approved export conversions 31 October 2026 and confirmed own paid generation account. This records the author statement, not independent legal review. Byte-preserved recovery; no historical/ecological, art, registration or Unity acceptance asserted. The papyrus and tamarisk are in the game through their byte-identical copies in the hex-tile props rows (#2082). This folder's README is Tal's as delivered on 31 October 2026 and describes the files before that. Provider/input restrictions remain; see provenance.json. Landed in the project's own PR, crediting Tal Heuberger, under the owner's ruling of 2 November 2026 (\"Yes, #1177 covers them\") and the #1177 ruling of 20 and 22 October 2026 (CC BY-NC-ND 4.0 for Tal's new models, confirmed by Tal as the owner reported)."
- glob: "asset-sources/recovered-vegetation-20261031/g25_papyrus/normal.jpg"
licence: CC-BY-NC-ND-4.0
ai_generated: true
@@ -3248,7 +3248,7 @@ rules:
status: verified
artist: "Tal Heuberger"
credit: "Tal Heuberger · CC BY-NC-ND 4.0"
- note: "Author permitted public redistribution and approved export conversions 31 October 2026 and confirmed own paid generation account. This records the author statement, not independent legal review. Byte-preserved recovery; no historical/ecological, art, registration or Unity acceptance asserted. Provider/input restrictions remain; see provenance.json. Landed in the project's own PR, crediting Tal Heuberger, under the owner's ruling of 2 November 2026 (\"Yes, #1177 covers them\") and the #1177 ruling of 20 and 22 October 2026 (CC BY-NC-ND 4.0 for Tal's new models, confirmed by Tal as the owner reported)."
+ note: "Author permitted public redistribution and approved export conversions 31 October 2026 and confirmed own paid generation account. This records the author statement, not independent legal review. Byte-preserved recovery; no historical/ecological, art, registration or Unity acceptance asserted. The papyrus and tamarisk are in the game through their byte-identical copies in the hex-tile props rows (#2082). This folder's README is Tal's as delivered on 31 October 2026 and describes the files before that. Provider/input restrictions remain; see provenance.json. Landed in the project's own PR, crediting Tal Heuberger, under the owner's ruling of 2 November 2026 (\"Yes, #1177 covers them\") and the #1177 ruling of 20 and 22 October 2026 (CC BY-NC-ND 4.0 for Tal's new models, confirmed by Tal as the owner reported)."
- glob: "asset-sources/recovered-vegetation-20261031/hf_tamarisk/hf_tamarisk.obj"
licence: CC-BY-NC-ND-4.0
ai_generated: true
@@ -3256,7 +3256,7 @@ rules:
status: verified
artist: "Tal Heuberger"
credit: "Tal Heuberger · CC BY-NC-ND 4.0"
- note: "Author permitted public redistribution and approved export conversions 31 October 2026 and confirmed own paid generation account. This records the author statement, not independent legal review. Byte-preserved recovery; no historical/ecological, art, registration or Unity acceptance asserted. Provider/input restrictions remain; see provenance.json. Landed in the project's own PR, crediting Tal Heuberger, under the owner's ruling of 2 November 2026 (\"Yes, #1177 covers them\") and the #1177 ruling of 20 and 22 October 2026 (CC BY-NC-ND 4.0 for Tal's new models, confirmed by Tal as the owner reported)."
+ note: "Author permitted public redistribution and approved export conversions 31 October 2026 and confirmed own paid generation account. This records the author statement, not independent legal review. Byte-preserved recovery; no historical/ecological, art, registration or Unity acceptance asserted. The papyrus and tamarisk are in the game through their byte-identical copies in the hex-tile props rows (#2082). This folder's README is Tal's as delivered on 31 October 2026 and describes the files before that. Provider/input restrictions remain; see provenance.json. Landed in the project's own PR, crediting Tal Heuberger, under the owner's ruling of 2 November 2026 (\"Yes, #1177 covers them\") and the #1177 ruling of 20 and 22 October 2026 (CC BY-NC-ND 4.0 for Tal's new models, confirmed by Tal as the owner reported)."
- glob: "asset-sources/recovered-vegetation-20261031/hf_tamarisk/albedo.jpg"
licence: CC-BY-NC-ND-4.0
ai_generated: true
@@ -3264,7 +3264,7 @@ rules:
status: verified
artist: "Tal Heuberger"
credit: "Tal Heuberger · CC BY-NC-ND 4.0"
- note: "Author permitted public redistribution and approved export conversions 31 October 2026 and confirmed own paid generation account. This records the author statement, not independent legal review. Byte-preserved recovery; no historical/ecological, art, registration or Unity acceptance asserted. Provider/input restrictions remain; see provenance.json. Landed in the project's own PR, crediting Tal Heuberger, under the owner's ruling of 2 November 2026 (\"Yes, #1177 covers them\") and the #1177 ruling of 20 and 22 October 2026 (CC BY-NC-ND 4.0 for Tal's new models, confirmed by Tal as the owner reported)."
+ note: "Author permitted public redistribution and approved export conversions 31 October 2026 and confirmed own paid generation account. This records the author statement, not independent legal review. Byte-preserved recovery; no historical/ecological, art, registration or Unity acceptance asserted. The papyrus and tamarisk are in the game through their byte-identical copies in the hex-tile props rows (#2082). This folder's README is Tal's as delivered on 31 October 2026 and describes the files before that. Provider/input restrictions remain; see provenance.json. Landed in the project's own PR, crediting Tal Heuberger, under the owner's ruling of 2 November 2026 (\"Yes, #1177 covers them\") and the #1177 ruling of 20 and 22 October 2026 (CC BY-NC-ND 4.0 for Tal's new models, confirmed by Tal as the owner reported)."
- glob: "asset-sources/recovered-vegetation-20261031/hf_tamarisk/normal.jpg"
licence: CC-BY-NC-ND-4.0
ai_generated: true
@@ -3272,9 +3272,9 @@ rules:
status: verified
artist: "Tal Heuberger"
credit: "Tal Heuberger · CC BY-NC-ND 4.0"
- note: "Author permitted public redistribution and approved export conversions 31 October 2026 and confirmed own paid generation account. This records the author statement, not independent legal review. Byte-preserved recovery; no historical/ecological, art, registration or Unity acceptance asserted. Provider/input restrictions remain; see provenance.json. Landed in the project's own PR, crediting Tal Heuberger, under the owner's ruling of 2 November 2026 (\"Yes, #1177 covers them\") and the #1177 ruling of 20 and 22 October 2026 (CC BY-NC-ND 4.0 for Tal's new models, confirmed by Tal as the owner reported)."
+ note: "Author permitted public redistribution and approved export conversions 31 October 2026 and confirmed own paid generation account. This records the author statement, not independent legal review. Byte-preserved recovery; no historical/ecological, art, registration or Unity acceptance asserted. The papyrus and tamarisk are in the game through their byte-identical copies in the hex-tile props rows (#2082). This folder's README is Tal's as delivered on 31 October 2026 and describes the files before that. Provider/input restrictions remain; see provenance.json. Landed in the project's own PR, crediting Tal Heuberger, under the owner's ruling of 2 November 2026 (\"Yes, #1177 covers them\") and the #1177 ruling of 20 and 22 October 2026 (CC BY-NC-ND 4.0 for Tal's new models, confirmed by Tal as the owner reported)."
- # New exact source-only weapon records; no change to existing Collection grants.
+ # Exact weapon source records; the K98k and the Sten are in the game through the Collection rows below (#2083), the MG34 is not.
- glob: "asset-sources/prepared-weapons-20261031/k98k/statecraft-k98k-approved-textured-b48a435f.glb"
licence: CC-BY-NC-ND-4.0
ai_generated: true
@@ -3282,7 +3282,7 @@ rules:
status: verified
artist: "Tal Heuberger"
credit: "Tal Heuberger · CC BY-NC-ND 4.0"
- note: "Public source redistribution authorized 31 October 2026; own paid generation account confirmed by author. Original bytes preserved. No Unity, fixed-pair, historical/faction or art acceptance; provider/input restrictions remain. No museum photographs were uploaded according to saved generation handoff. Landed in the project's own PR, crediting Tal Heuberger, under the owner's ruling of 2 November 2026 (\"Yes, #1177 covers them\") and the #1177 ruling of 20 and 22 October 2026 (CC BY-NC-ND 4.0 for Tal's new models, confirmed by Tal as the owner reported)."
+ note: "Public source redistribution authorized 31 October 2026; own paid generation account confirmed by author. Original bytes preserved. No Unity, fixed-pair, historical/faction or art acceptance; provider/input restrictions remain. No museum photographs were uploaded according to saved generation handoff. The K98k and the Sten are in the game through their compatibility exports in the Collection rows (#2083); the MG34 stays a source. This folder's README is Tal's as delivered on 31 October 2026 and describes the files before that. Landed in the project's own PR, crediting Tal Heuberger, under the owner's ruling of 2 November 2026 (\"Yes, #1177 covers them\") and the #1177 ruling of 20 and 22 October 2026 (CC BY-NC-ND 4.0 for Tal's new models, confirmed by Tal as the owner reported)."
- glob: "asset-sources/prepared-weapons-20261031/k98k/statecraft-k98k-approved-textured-b48a435f_basecolor.jpg"
licence: CC-BY-NC-ND-4.0
ai_generated: true
@@ -3290,7 +3290,7 @@ rules:
status: verified
artist: "Tal Heuberger"
credit: "Tal Heuberger · CC BY-NC-ND 4.0"
- note: "Public source redistribution authorized 31 October 2026; own paid generation account confirmed by author. Original bytes preserved. No Unity, fixed-pair, historical/faction or art acceptance; provider/input restrictions remain. No museum photographs were uploaded according to saved generation handoff. Landed in the project's own PR, crediting Tal Heuberger, under the owner's ruling of 2 November 2026 (\"Yes, #1177 covers them\") and the #1177 ruling of 20 and 22 October 2026 (CC BY-NC-ND 4.0 for Tal's new models, confirmed by Tal as the owner reported)."
+ note: "Public source redistribution authorized 31 October 2026; own paid generation account confirmed by author. Original bytes preserved. No Unity, fixed-pair, historical/faction or art acceptance; provider/input restrictions remain. No museum photographs were uploaded according to saved generation handoff. The K98k and the Sten are in the game through their compatibility exports in the Collection rows (#2083); the MG34 stays a source. This folder's README is Tal's as delivered on 31 October 2026 and describes the files before that. Landed in the project's own PR, crediting Tal Heuberger, under the owner's ruling of 2 November 2026 (\"Yes, #1177 covers them\") and the #1177 ruling of 20 and 22 October 2026 (CC BY-NC-ND 4.0 for Tal's new models, confirmed by Tal as the owner reported)."
- glob: "asset-sources/prepared-weapons-20261031/mg34/statecraft-mg34-approved-textured-3a384995.glb"
licence: CC-BY-NC-ND-4.0
ai_generated: true
@@ -3298,7 +3298,7 @@ rules:
status: verified
artist: "Tal Heuberger"
credit: "Tal Heuberger · CC BY-NC-ND 4.0"
- note: "Public source redistribution authorized 31 October 2026; own paid generation account confirmed by author. Original bytes preserved. No Unity, fixed-pair, historical/faction or art acceptance; provider/input restrictions remain. No museum photographs were uploaded according to saved generation handoff. Landed in the project's own PR, crediting Tal Heuberger, under the owner's ruling of 2 November 2026 (\"Yes, #1177 covers them\") and the #1177 ruling of 20 and 22 October 2026 (CC BY-NC-ND 4.0 for Tal's new models, confirmed by Tal as the owner reported)."
+ note: "Public source redistribution authorized 31 October 2026; own paid generation account confirmed by author. Original bytes preserved. No Unity, fixed-pair, historical/faction or art acceptance; provider/input restrictions remain. No museum photographs were uploaded according to saved generation handoff. The K98k and the Sten are in the game through their compatibility exports in the Collection rows (#2083); the MG34 stays a source. This folder's README is Tal's as delivered on 31 October 2026 and describes the files before that. Landed in the project's own PR, crediting Tal Heuberger, under the owner's ruling of 2 November 2026 (\"Yes, #1177 covers them\") and the #1177 ruling of 20 and 22 October 2026 (CC BY-NC-ND 4.0 for Tal's new models, confirmed by Tal as the owner reported)."
- glob: "asset-sources/prepared-weapons-20261031/mg34/statecraft-mg34-approved-textured-3a384995_basecolor.jpg"
licence: CC-BY-NC-ND-4.0
ai_generated: true
@@ -3306,7 +3306,7 @@ rules:
status: verified
artist: "Tal Heuberger"
credit: "Tal Heuberger · CC BY-NC-ND 4.0"
- note: "Public source redistribution authorized 31 October 2026; own paid generation account confirmed by author. Original bytes preserved. No Unity, fixed-pair, historical/faction or art acceptance; provider/input restrictions remain. No museum photographs were uploaded according to saved generation handoff. Landed in the project's own PR, crediting Tal Heuberger, under the owner's ruling of 2 November 2026 (\"Yes, #1177 covers them\") and the #1177 ruling of 20 and 22 October 2026 (CC BY-NC-ND 4.0 for Tal's new models, confirmed by Tal as the owner reported)."
+ note: "Public source redistribution authorized 31 October 2026; own paid generation account confirmed by author. Original bytes preserved. No Unity, fixed-pair, historical/faction or art acceptance; provider/input restrictions remain. No museum photographs were uploaded according to saved generation handoff. The K98k and the Sten are in the game through their compatibility exports in the Collection rows (#2083); the MG34 stays a source. This folder's README is Tal's as delivered on 31 October 2026 and describes the files before that. Landed in the project's own PR, crediting Tal Heuberger, under the owner's ruling of 2 November 2026 (\"Yes, #1177 covers them\") and the #1177 ruling of 20 and 22 October 2026 (CC BY-NC-ND 4.0 for Tal's new models, confirmed by Tal as the owner reported)."
- glob: "asset-sources/prepared-weapons-20261031/sten/statecraft-sten-approved-textured-bc6b06c8.glb"
licence: CC-BY-NC-ND-4.0
ai_generated: true
@@ -3314,7 +3314,7 @@ rules:
status: verified
artist: "Tal Heuberger"
credit: "Tal Heuberger · CC BY-NC-ND 4.0"
- note: "Public source redistribution authorized 31 October 2026; own paid generation account confirmed by author. Original bytes preserved. No Unity, fixed-pair, historical/faction or art acceptance; provider/input restrictions remain. No museum photographs were uploaded according to saved generation handoff. Landed in the project's own PR, crediting Tal Heuberger, under the owner's ruling of 2 November 2026 (\"Yes, #1177 covers them\") and the #1177 ruling of 20 and 22 October 2026 (CC BY-NC-ND 4.0 for Tal's new models, confirmed by Tal as the owner reported)."
+ note: "Public source redistribution authorized 31 October 2026; own paid generation account confirmed by author. Original bytes preserved. No Unity, fixed-pair, historical/faction or art acceptance; provider/input restrictions remain. No museum photographs were uploaded according to saved generation handoff. The K98k and the Sten are in the game through their compatibility exports in the Collection rows (#2083); the MG34 stays a source. This folder's README is Tal's as delivered on 31 October 2026 and describes the files before that. Landed in the project's own PR, crediting Tal Heuberger, under the owner's ruling of 2 November 2026 (\"Yes, #1177 covers them\") and the #1177 ruling of 20 and 22 October 2026 (CC BY-NC-ND 4.0 for Tal's new models, confirmed by Tal as the owner reported)."
- glob: "asset-sources/prepared-weapons-20261031/sten/statecraft-sten-approved-textured-bc6b06c8_basecolor.jpg"
licence: CC-BY-NC-ND-4.0
ai_generated: true
@@ -3322,9 +3322,9 @@ rules:
status: verified
artist: "Tal Heuberger"
credit: "Tal Heuberger · CC BY-NC-ND 4.0"
- note: "Public source redistribution authorized 31 October 2026; own paid generation account confirmed by author. Original bytes preserved. No Unity, fixed-pair, historical/faction or art acceptance; provider/input restrictions remain. No museum photographs were uploaded according to saved generation handoff. Landed in the project's own PR, crediting Tal Heuberger, under the owner's ruling of 2 November 2026 (\"Yes, #1177 covers them\") and the #1177 ruling of 20 and 22 October 2026 (CC BY-NC-ND 4.0 for Tal's new models, confirmed by Tal as the owner reported)."
+ note: "Public source redistribution authorized 31 October 2026; own paid generation account confirmed by author. Original bytes preserved. No Unity, fixed-pair, historical/faction or art acceptance; provider/input restrictions remain. No museum photographs were uploaded according to saved generation handoff. The K98k and the Sten are in the game through their compatibility exports in the Collection rows (#2083); the MG34 stays a source. This folder's README is Tal's as delivered on 31 October 2026 and describes the files before that. Landed in the project's own PR, crediting Tal Heuberger, under the owner's ruling of 2 November 2026 (\"Yes, #1177 covers them\") and the #1177 ruling of 20 and 22 October 2026 (CC BY-NC-ND 4.0 for Tal's new models, confirmed by Tal as the owner reported)."
- # Separate C06 point-fire reference derivative; never enabled by this source-only draft.
+ # Separate C06 point-fire reference derivative; one still frame of its byte-identical Unity copy is used in the game (#2084).
- glob: "asset-sources/c06-point-fire-reference-20261031/C06-POINT-FIRE-PROVISIONAL-PUBLIC.fbx"
licence: CC-BY-NC-ND-4.0
ai_generated: true
@@ -3332,7 +3332,7 @@ rules:
status: verified
artist: "Tal Heuberger"
credit: "Tal Heuberger · CC BY-NC-ND 4.0"
- note: "Public derivative/export distribution authorized 31 October 2026; own paid generation account confirmed. Source/reference only,not enabled. Existing fire/shoot retained;fallback need unproven;project owner decision required. Cheek/sight/contact limitations and unrun Unity/runtime gates remain. Provider/input restrictions remain. Landed in the project's own PR, crediting Tal Heuberger, under the owner's ruling of 2 November 2026 (\"Yes, #1177 covers them\") and the #1177 ruling of 20 and 22 October 2026 (CC BY-NC-ND 4.0 for Tal's new models, confirmed by Tal as the owner reported)."
+ note: "Public derivative/export distribution authorized 31 October 2026; own paid generation account confirmed. In the game: one still frame (37 of 97) of its byte-identical Unity copy is held by an attacking token's C06 figures (UnitFigurePointFire; owner, 2 November 2026, #2084: \"Yes, for firing units (Recommended)\"); every other figure keeps its existing fire take, and C06 keeps it when the pose source does not arrive. This folder's README is Tal's as delivered on 31 October 2026 and describes the files before that. Cheek/sight/contact limitations remain. Provider/input restrictions remain. Landed in the project's own PR, crediting Tal Heuberger, under the owner's ruling of 2 November 2026 (\"Yes, #1177 covers them\") and the #1177 ruling of 20 and 22 October 2026 (CC BY-NC-ND 4.0 for Tal's new models, confirmed by Tal as the owner reported)."
- glob: "asset-sources/c06-point-fire-reference-20261031/C06-POINT-FIRE-FULL-REVIEW.mp4"
licence: CC-BY-NC-ND-4.0
ai_generated: true
@@ -3340,7 +3340,7 @@ rules:
status: verified
artist: "Tal Heuberger"
credit: "Tal Heuberger · CC BY-NC-ND 4.0"
- note: "Public derivative/export distribution authorized 31 October 2026; own paid generation account confirmed. Source/reference only,not enabled. Existing fire/shoot retained;fallback need unproven;project owner decision required. Cheek/sight/contact limitations and unrun Unity/runtime gates remain. Provider/input restrictions remain. Landed in the project's own PR, crediting Tal Heuberger, under the owner's ruling of 2 November 2026 (\"Yes, #1177 covers them\") and the #1177 ruling of 20 and 22 October 2026 (CC BY-NC-ND 4.0 for Tal's new models, confirmed by Tal as the owner reported)."
+ note: "Public derivative/export distribution authorized 31 October 2026; own paid generation account confirmed. In the game: one still frame (37 of 97) of its byte-identical Unity copy is held by an attacking token's C06 figures (UnitFigurePointFire; owner, 2 November 2026, #2084: \"Yes, for firing units (Recommended)\"); every other figure keeps its existing fire take, and C06 keeps it when the pose source does not arrive. This folder's README is Tal's as delivered on 31 October 2026 and describes the files before that. Cheek/sight/contact limitations remain. Provider/input restrictions remain. Landed in the project's own PR, crediting Tal Heuberger, under the owner's ruling of 2 November 2026 (\"Yes, #1177 covers them\") and the #1177 ruling of 20 and 22 October 2026 (CC BY-NC-ND 4.0 for Tal's new models, confirmed by Tal as the owner reported)."
- glob: "asset-sources/c06-point-fire-reference-20261031/C06-POINT-FIRE-REVIEW-CONTACT-SHEET.png"
licence: CC-BY-NC-ND-4.0
ai_generated: true
@@ -3348,8 +3348,50 @@ rules:
status: verified
artist: "Tal Heuberger"
credit: "Tal Heuberger · CC BY-NC-ND 4.0"
- note: "Public derivative/export distribution authorized 31 October 2026; own paid generation account confirmed. Source/reference only,not enabled. Existing fire/shoot retained;fallback need unproven;project owner decision required. Cheek/sight/contact limitations and unrun Unity/runtime gates remain. Provider/input restrictions remain. Landed in the project's own PR, crediting Tal Heuberger, under the owner's ruling of 2 November 2026 (\"Yes, #1177 covers them\") and the #1177 ruling of 20 and 22 October 2026 (CC BY-NC-ND 4.0 for Tal's new models, confirmed by Tal as the owner reported)."
+ note: "Public derivative/export distribution authorized 31 October 2026; own paid generation account confirmed. In the game: one still frame (37 of 97) of its byte-identical Unity copy is held by an attacking token's C06 figures (UnitFigurePointFire; owner, 2 November 2026, #2084: \"Yes, for firing units (Recommended)\"); every other figure keeps its existing fire take, and C06 keeps it when the pose source does not arrive. This folder's README is Tal's as delivered on 31 October 2026 and describes the files before that. Cheek/sight/contact limitations remain. Provider/input restrictions remain. Landed in the project's own PR, crediting Tal Heuberger, under the owner's ruling of 2 November 2026 (\"Yes, #1177 covers them\") and the #1177 ruling of 20 and 22 October 2026 (CC BY-NC-ND 4.0 for Tal's new models, confirmed by Tal as the owner reported)."
+ # Tal Heuberger's #2083 weapons and #2084 C06 point-fire in the game's Collection: lossless FBX compatibility exports, the
+ # delivered colour maps and the byte-for-byte point-fire export.
+ - glob: "unity/Assets/Art/Collection/weapon-k98k-v1/weapon-k98k-v1.fbx"
+ licence: CC-BY-NC-ND-4.0
+ ai_generated: true
+ source: "Documented full-geometry compatibility export of Tal Heuberger's textured GLB asset-sources/prepared-weapons-20261031/k98k/statecraft-k98k-approved-textured-b48a435f.glb (SHA-256 325d86cb42490ad95ed8c367e2c7511fc3bb9c676d6a797074a6ba74a01c7da5) by tools/prepared_weapons.py (Blender 5.0.1): 5485 triangles, connectivity identical, max vertex error 2.9e-08, UV error 0.0; no decimation, welding, pivot or UV rewrite. SHA-256 24f360c34f364daeb12fba4eb25eeb6f5220a50a61bfd7f98979d999377db9f4."
+ status: verified
+ artist: "Tal Heuberger"
+ credit: "Tal Heuberger · CC BY-NC-ND 4.0"
+ note: "Tal Heuberger's K98k from #2083 (Tripo Studio, approved AI concepts; provenance in asset-sources/prepared-weapons-20261031/provenance.json and this folder's provenance.json) in the game: held in the right hand of the Israeli soldier figures by UnitWeapons (owner, 2 November 2026, #2083: \"Yes, on the soldier figures (Recommended)\"). Tal's 31 October 2026 permission covers approved export conversions; the same compatibility-export precedent as the #2085 towns and the placed vehicles (#1932, #2046). Landed in the project's own PR, crediting Tal Heuberger, under the owner's ruling of 2 November 2026 (\"Yes, #1177 covers them\") and the #1177 ruling of 20 and 22 October 2026 (CC BY-NC-ND 4.0 for Tal's new models, confirmed by Tal as the owner reported). Period and army use per the sourced rows in UnitWeapons (agent-read, a person's check pending); no art or historical acceptance asserted."
+ - glob: "unity/Assets/Art/Collection/weapon-k98k-v1/weapon-k98k-v1_basecolor.jpg"
+ licence: CC-BY-NC-ND-4.0
+ ai_generated: true
+ source: "Byte-for-byte copy of Tal Heuberger's delivered base-colour map asset-sources/prepared-weapons-20261031/k98k/statecraft-k98k-approved-textured-b48a435f_basecolor.jpg (the image the GLB embeds), 2048x2048. SHA-256 615e7f6f28db4cec59704c2b8cc554e5e9e4736bc0692ab6a79e98de57f3b57a."
+ status: verified
+ artist: "Tal Heuberger"
+ credit: "Tal Heuberger · CC BY-NC-ND 4.0"
+ note: "Tal Heuberger's K98k from #2083 (Tripo Studio, approved AI concepts; provenance in asset-sources/prepared-weapons-20261031/provenance.json and this folder's provenance.json) in the game: held in the right hand of the Israeli soldier figures by UnitWeapons (owner, 2 November 2026, #2083: \"Yes, on the soldier figures (Recommended)\"). Tal's 31 October 2026 permission covers approved export conversions; the same compatibility-export precedent as the #2085 towns and the placed vehicles (#1932, #2046). Landed in the project's own PR, crediting Tal Heuberger, under the owner's ruling of 2 November 2026 (\"Yes, #1177 covers them\") and the #1177 ruling of 20 and 22 October 2026 (CC BY-NC-ND 4.0 for Tal's new models, confirmed by Tal as the owner reported). Period and army use per the sourced rows in UnitWeapons (agent-read, a person's check pending); no art or historical acceptance asserted."
+ - glob: "unity/Assets/Art/Collection/weapon-sten-v1/weapon-sten-v1.fbx"
+ licence: CC-BY-NC-ND-4.0
+ ai_generated: true
+ source: "Documented full-geometry compatibility export of Tal Heuberger's textured GLB asset-sources/prepared-weapons-20261031/sten/statecraft-sten-approved-textured-bc6b06c8.glb (SHA-256 3c0d0cc4d3c9d086a4883ea23a2940a311f6c4548233a3403c515ad636753f1e) by tools/prepared_weapons.py (Blender 5.0.1): 4851 triangles, connectivity identical, max vertex error 4.2e-08, UV error 0.0; no decimation, welding, pivot or UV rewrite. SHA-256 e4d07630ac3d161e5930e3edee35b16e74569b114f86bfa66ede163941d725da."
+ status: verified
+ artist: "Tal Heuberger"
+ credit: "Tal Heuberger · CC BY-NC-ND 4.0"
+ note: "Tal Heuberger's Sten from #2083 (Tripo Studio, approved AI concepts; provenance in asset-sources/prepared-weapons-20261031/provenance.json and this folder's provenance.json) in the game: held in the right hand of the Israeli soldier figures by UnitWeapons (owner, 2 November 2026, #2083: \"Yes, on the soldier figures (Recommended)\"). Tal's 31 October 2026 permission covers approved export conversions; the same compatibility-export precedent as the #2085 towns and the placed vehicles (#1932, #2046). Landed in the project's own PR, crediting Tal Heuberger, under the owner's ruling of 2 November 2026 (\"Yes, #1177 covers them\") and the #1177 ruling of 20 and 22 October 2026 (CC BY-NC-ND 4.0 for Tal's new models, confirmed by Tal as the owner reported). Period and army use per the sourced rows in UnitWeapons (agent-read, a person's check pending); no art or historical acceptance asserted."
+ - glob: "unity/Assets/Art/Collection/weapon-sten-v1/weapon-sten-v1_basecolor.jpg"
+ licence: CC-BY-NC-ND-4.0
+ ai_generated: true
+ source: "Byte-for-byte copy of Tal Heuberger's delivered base-colour map asset-sources/prepared-weapons-20261031/sten/statecraft-sten-approved-textured-bc6b06c8_basecolor.jpg (the image the GLB embeds), 2048x2048. SHA-256 c5ba4fbddd345bbf5da58be295b330981650f52b9e15f0d285e8fe5425b0d270."
+ status: verified
+ artist: "Tal Heuberger"
+ credit: "Tal Heuberger · CC BY-NC-ND 4.0"
+ note: "Tal Heuberger's Sten from #2083 (Tripo Studio, approved AI concepts; provenance in asset-sources/prepared-weapons-20261031/provenance.json and this folder's provenance.json) in the game: held in the right hand of the Israeli soldier figures by UnitWeapons (owner, 2 November 2026, #2083: \"Yes, on the soldier figures (Recommended)\"). Tal's 31 October 2026 permission covers approved export conversions; the same compatibility-export precedent as the #2085 towns and the placed vehicles (#1932, #2046). Landed in the project's own PR, crediting Tal Heuberger, under the owner's ruling of 2 November 2026 (\"Yes, #1177 covers them\") and the #1177 ruling of 20 and 22 October 2026 (CC BY-NC-ND 4.0 for Tal's new models, confirmed by Tal as the owner reported). Period and army use per the sourced rows in UnitWeapons (agent-read, a person's check pending); no art or historical acceptance asserted."
+ - glob: "unity/Assets/Art/Collection/c06-point-fire-v1/C06-POINT-FIRE-PROVISIONAL-PUBLIC.fbx"
+ licence: CC-BY-NC-ND-4.0
+ ai_generated: true
+ source: "Byte-for-byte copy of Tal Heuberger's C06 point-fire export asset-sources/c06-point-fire-reference-20261031/C06-POINT-FIRE-PROVISIONAL-PUBLIC.fbx (exact input/output hashes, scoped permission and metadata edits in that folder's provenance.json), imported losslessly (every frame, no compression); only its 97-frame clip streams, in the pose source prefab, never its mesh or texture. SHA-256 9a7c8b59eb6dbf5138ee9fe1b8cb6296e430cda105b98cecae9c3a93bfdd3868."
+ status: verified
+ artist: "Tal Heuberger"
+ credit: "Tal Heuberger · CC BY-NC-ND 4.0"
+ note: "C06 point-fire from #2084 in the game: one still frame of it (frame 37 of 97) is held by an attacking token's C06 figures (UnitFigurePointFire; owner, 2 November 2026, #2084: \"Yes, for firing units (Recommended)\"). Landed in the project's own PR, crediting Tal Heuberger, under the owner's ruling of 2 November 2026 (\"Yes, #1177 covers them\") and the #1177 ruling of 20 and 22 October 2026 (CC BY-NC-ND 4.0 for Tal's new models, confirmed by Tal as the owner reported). Tal's labels (provisional, review, not accepted) and known limits stand; no art or production acceptance asserted."
# Tal Heuberger's #2085 whole towns in the game's Collection: lossless FBX compatibility exports and the delivered colour maps.
- glob: "unity/Assets/Art/Collection/tiberias-town-v1/tiberias-town-v1.fbx"
licence: CC-BY-NC-ND-4.0
diff --git a/LICENSING.md b/LICENSING.md
index 5556f24c8..68496ca20 100644
--- a/LICENSING.md
+++ b/LICENSING.md
@@ -26,8 +26,8 @@ Different parts of this repository are under different licences. Where a file is
| 3D models (hex-tile props, streamed) | `unity/Assets/Art/HexTiles/Props/` (20 props by Tal Heuberger for the opt-in hex-tile map, slimmed in Blender, with their colour maps; and their papyrus and tamarisk from #2082 in `hula_swamp_papyrus/` and `arava_oasis_tamarisk/`, byte-identical copies of `asset-sources/recovered-vegetation-20261031/` with their colour and normal maps, placed under the owner's ruling of 2 November 2026, "Hula + Arava, map and boards (Recommended)", and covered by #1177 by the owner's ruling of the same day, "Yes, #1177 covers them"; the prefabs in `unity/Assets/Art/HexTiles/<tile>/` and the materials beside the models are under the code row) | CC BY-NC-ND 4.0, credit "Tal Heuberger", by the owner's ruling of 22 October 2026 on all of Tal Heuberger's models (#1177; [licence text](LICENSES/CC-BY-NC-ND-4.0.txt)). AI-generated on Higgsfield (Tripo H3.1 image to 3D from Nano Banana Pro and GPT Image 2.5 concept images); per-file records in `ASSETS.yaml` |
| Tal Heuberger's prepared Tiberias, Safed, Netanya and Ramla whole towns (from #2085) | `asset-sources/prepared-towns-20261031/**/*.glb`, `asset-sources/prepared-towns-20261031/**/*.jpg` (the nine exact source files in its `provenance.json`); and in the game, only `unity/Assets/Art/Collection/tiberias-town-v1/`, `safed-town-v1/`, `netanya-town-v1/` and `ramla-town-v1/` `*.fbx` (documented full-geometry compatibility exports, `tools/generated_towns.py`) and `*_basecolor.jpg` (byte-for-byte copies of the delivered maps). Materials, prefabs and the folders' `provenance.json` stay under their path rows; the source README/provenance under the docs/JSON row | [CC BY-NC-ND 4.0](LICENSES/CC-BY-NC-ND-4.0.txt), credit "Tal Heuberger", https://creativecommons.org/licenses/by-nc-nd/4.0/, under the owner's ruling of 2 November 2026 that #1177 covers them ("Yes, #1177 covers them") and the #1177 ruling of 20 and 22 October 2026 ("CC BY-NC-ND 4.0 for Tal's new models", with Tal's confirmation as the owner reported); Tal's scoped permission of 31 October 2026 (public source/export distribution, including approved export conversions). Underlying PD/CC0 reference bases remain separate; no exact 1948 historical acceptance. Per-file records with SHA-256 in `ASSETS.yaml` |
| Tal Heuberger's recovered papyrus and tamarisk (from #2082) | `asset-sources/recovered-vegetation-20261031/**/*.obj`, `asset-sources/recovered-vegetation-20261031/**/*.jpg` (six files only; hashes in its `provenance.json`) | [CC BY-NC-ND 4.0](LICENSES/CC-BY-NC-ND-4.0.txt), credit "Tal Heuberger", https://creativecommons.org/licenses/by-nc-nd/4.0/, under the owner's ruling of 2 November 2026 that #1177 covers them ("Yes, #1177 covers them") and the #1177 ruling of 20 and 22 October 2026 ("CC BY-NC-ND 4.0 for Tal's new models", with Tal's confirmation as the owner reported); Tal's scoped permission of 31 October 2026. The game's copies are in the hex-tile props row; provider/input restrictions remain. Per-file records in `ASSETS.yaml` |
-| Tal Heuberger's prepared K98k, MG34 and Sten (from #2083) | `asset-sources/prepared-weapons-20261031/**/*.glb`, `asset-sources/prepared-weapons-20261031/**/*.jpg` (six exact files in its `provenance.json`) | [CC BY-NC-ND 4.0](LICENSES/CC-BY-NC-ND-4.0.txt), credit "Tal Heuberger", https://creativecommons.org/licenses/by-nc-nd/4.0/, under the owner's ruling of 2 November 2026 that #1177 covers them ("Yes, #1177 covers them") and the #1177 ruling of 20 and 22 October 2026 ("CC BY-NC-ND 4.0 for Tal's new models", with Tal's confirmation as the owner reported); Tal's scoped permission of 31 October 2026. Stored sources only, not placed in the game; no period approval implied. Per-file records in `ASSETS.yaml` |
-| Tal Heuberger's C06 point-fire reference derivative (from #2084) | `asset-sources/c06-point-fire-reference-20261031/*.fbx`, `*.mp4`, `*.png` only (three exact files in its `provenance.json`) | [CC BY-NC-ND 4.0](LICENSES/CC-BY-NC-ND-4.0.txt), credit "Tal Heuberger", https://creativecommons.org/licenses/by-nc-nd/4.0/, under the owner's ruling of 2 November 2026 that #1177 covers them ("Yes, #1177 covers them") and the #1177 ruling of 20 and 22 October 2026 ("CC BY-NC-ND 4.0 for Tal's new models", with Tal's confirmation as the owner reported); Tal's scoped permission of 31 October 2026. Source/reference only, not enabled in the game; its reports, provenance and README are under the docs/JSON row. Per-file records in `ASSETS.yaml` |
+| Tal Heuberger's prepared K98k, MG34 and Sten (from #2083) | `asset-sources/prepared-weapons-20261031/**/*.glb`, `asset-sources/prepared-weapons-20261031/**/*.jpg` (six exact files in its `provenance.json`); and in the game, only `unity/Assets/Art/Collection/weapon-k98k-v1/` and `weapon-sten-v1/` `*.fbx` (documented full-geometry compatibility exports, `tools/prepared_weapons.py`) and `*_basecolor.jpg` (byte-for-byte copies of the delivered maps). Materials, prefabs and the folders' `provenance.json` stay under their path rows | [CC BY-NC-ND 4.0](LICENSES/CC-BY-NC-ND-4.0.txt), credit "Tal Heuberger", https://creativecommons.org/licenses/by-nc-nd/4.0/, under the owner's ruling of 2 November 2026 that #1177 covers them ("Yes, #1177 covers them") and the #1177 ruling of 20 and 22 October 2026 ("CC BY-NC-ND 4.0 for Tal's new models", with Tal's confirmation as the owner reported); Tal's scoped permission of 31 October 2026. The K98k and the Sten are held by the Israeli soldier figures (owner, 2 November 2026, #2083: "Yes, on the soldier figures (Recommended)"); the MG34 stays a stored source. Period and army use follow the sourced rows in `UnitWeapons` (agent-read). Per-file records in `ASSETS.yaml` |
+| Tal Heuberger's C06 point-fire reference derivative (from #2084) | `asset-sources/c06-point-fire-reference-20261031/*.fbx`, `*.mp4`, `*.png` only (three exact files in its `provenance.json`); and in the game, its FBX byte for byte at `unity/Assets/Art/Collection/c06-point-fire-v1/C06-POINT-FIRE-PROVISIONAL-PUBLIC.fbx` (the pose source prefab beside it stays under its path row) | [CC BY-NC-ND 4.0](LICENSES/CC-BY-NC-ND-4.0.txt), credit "Tal Heuberger", https://creativecommons.org/licenses/by-nc-nd/4.0/, under the owner's ruling of 2 November 2026 that #1177 covers them ("Yes, #1177 covers them") and the #1177 ruling of 20 and 22 October 2026 ("CC BY-NC-ND 4.0 for Tal's new models", with Tal's confirmation as the owner reported); Tal's scoped permission of 31 October 2026. One still frame is held by an attacking token's C06 figures (owner, 2 November 2026, #2084: "Yes, for firing units (Recommended)"); Tal's provisional labels and known limits stand. Its reports, provenance and README are under the docs/JSON row. Per-file records in `ASSETS.yaml` |
| Fonts | `unity/Assets/UI/Fonts/` | EB Garamond, [SIL Open Font License 1.1](unity/Assets/UI/Fonts/OFL.txt); Frank Ruhl Libre (`FrankRuhlLibre/`), [SIL Open Font License 1.1](unity/Assets/UI/Fonts/FrankRuhlLibre/OFL.txt) |
| Terrain heightmap | `unity/Assets/StreamingAssets/map/heightmap.*`, `content/map/hexes.json` (elevations) | Derived from Copernicus GLO-30 under the Copernicus DEM licence. Required notice: "produced using Copernicus WorldDEM-30 (c) DLR e.V. 2010-2014 and (c) Airbus Defence and Space GmbH 2014-2018 provided under COPERNICUS by the European Union and ESA; all rights reserved" |
| Derived map bakes | `unity/Assets/Resources/Map/BiomeColours.bytes` (biome colours, #529), `unity/Assets/Resources/Routes/RouteRibbons.bytes` (route ribbons, #436), `unity/Assets/Textures/Map/landuse.png` (land-use texture, `tools/land_bake.py`, #33), `unity/Assets/Resources/Map/MinimapRelief.png` (the minimap's painted relief, `tools/minimap_bake.py`, #398) | Made by the bakes from the map content (`content/map/`, CC BY-SA 4.0) and the Copernicus-derived heightmap. The hexes' biomes come from the Copernicus DEM, CHELSA V2.1 and the IMS station normals. [CC BY-SA 4.0](LICENSES/CC-BY-SA-4.0.txt), the most restrictive input, by the owner's decision D13 (`docs/oss/DECISIONS.md`); per-file records in `ASSETS.yaml` |
diff --git a/changelog.d/tal-weapons-pose.md b/changelog.d/tal-weapons-pose.md
new file mode 100644
index 000000000..fc7785f72
--- /dev/null
+++ b/changelog.d/tal-weapons-pose.md
@@ -0,0 +1,8 @@
+### Added
+
+- The Israeli soldier figures on the map's unit tokens now hold Tal Heuberger's weapons: the K98k rifle (from the
+ Czechoslovak shipments of April 1948) and, for the Palmach scout, the Sten (Refs #2083). The MG34 is not shown in the
+ game yet. Arab forces' figures stay as they are: no source gives them these weapons, and their rifles and machine guns
+ have no model yet.
+- When a token with the young recruit (C06) attacks, his figure holds Tal Heuberger's point-fire aim for the attack, then
+ stands again (Refs #2084). The weapons and the aim stream after the first frame, never in the first download.
diff --git a/docs/ai-disclosure.md b/docs/ai-disclosure.md
index 4d16433c7..9c94632e6 100644
--- a/docs/ai-disclosure.md
+++ b/docs/ai-disclosure.md
@@ -92,6 +92,8 @@ This is not a licence clearance or a completed store content survey. owner-verif
| unity/Assets/Art/Collection/vehicle-fishing-boat-1948-v2wl/vehicle-fishing-boat-1948-v2wl_basecolor.jpg | ASSETS.yaml | Tal Heuberger original offered in PR #507 at 3ef0a7a5a36887aee7a24fd11ddf722507695f3c, unity/Assets/Art/Settlements/Prototype/Models/vehicle-fishing-boat-1948-v2wl/vehicle-fishing-boat-1948-v2wl_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/vehicle-immigrant-steamer-1948-v2wl/vehicle-immigrant-steamer-1948-v2wl_basecolor.jpg | ASSETS.yaml | Tal Heuberger original offered in PR #507 at 3ef0a7a5a36887aee7a24fd11ddf722507695f3c, unity/Assets/Art/Settlements/Prototype/Models/vehicle-immigrant-steamer-1948-v2wl/vehicle-immigrant-steamer-1948-v2wl_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/vehicle-steam-locomotive-1948-v2/vehicle-steam-locomotive-1948-v2_basecolor.jpg | ASSETS.yaml | Tal Heuberger original offered in PR #507 at 3ef0a7a5a36887aee7a24fd11ddf722507695f3c, unity/Assets/Art/Settlements/Prototype/Models/vehicle-steam-locomotive-1948-v2/vehicle-steam-locomotive-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/weapon-k98k-v1/weapon-k98k-v1_basecolor.jpg | ASSETS.yaml | Byte-for-byte copy of Tal Heuberger's delivered base-colour map asset-sources/prepared-weapons-20261031/k98k/statecraft-k98k-approved-textured-b48a435f_basecolor.jpg (the image the GLB embeds), 2048x2048. SHA-256 615e7f6f28db4cec59704c2b8cc554e5e9e4736bc0692ab6a79e98de57f3b57a. | verified |
+| unity/Assets/Art/Collection/weapon-sten-v1/weapon-sten-v1_basecolor.jpg | ASSETS.yaml | Byte-for-byte copy of Tal Heuberger's delivered base-colour map asset-sources/prepared-weapons-20261031/sten/statecraft-sten-approved-textured-bc6b06c8_basecolor.jpg (the image the GLB embeds), 2048x2048. SHA-256 c5ba4fbddd345bbf5da58be295b330981650f52b9e15f0d285e8fe5425b0d270. | verified |
| unity/Assets/Art/HexTiles/Props/arava_oasis_tamarisk/albedo.jpg | ASSETS.yaml | Tal Heuberger, Tripo H3.1 through Higgsfield, 19 October 2026, text-generated concept; byte-identical copy of asset-sources/recovered-vegetation-20261031/hf_tamarisk/albedo.jpg (route and task id: its provenance.json). SHA-256 077ecbef3f2ee64eb76d2e11789f41d385587af024b0903a19df9ca0558c0e72. | verified |
| unity/Assets/Art/HexTiles/Props/arava_oasis_tamarisk/normal.jpg | ASSETS.yaml | Tal Heuberger, Tripo H3.1 through Higgsfield, 19 October 2026, text-generated concept; byte-identical copy of asset-sources/recovered-vegetation-20261031/hf_tamarisk/normal.jpg (route and task id: its provenance.json). SHA-256 1488db247a20ea6a18af5a4f2cda01fc25b3f85ce2a5818c026bcaa9b9c06235. | verified |
| unity/Assets/Art/HexTiles/Props/hula_swamp_papyrus/albedo.jpg | ASSETS.yaml | Tal Heuberger, Tripo H3.1 through Higgsfield, 19 October 2026, text-generated concept; byte-identical copy of asset-sources/recovered-vegetation-20261031/g25_papyrus/albedo.jpg (route and task id: its provenance.json). SHA-256 97307421442321d3a8e1fa2fd479fa49c755a775e485fffff9f67a1004dfcfd8. | verified |
@@ -212,6 +214,7 @@ This is not a licence clearance or a completed store content survey. owner-verif
| asset-sources/prepared-weapons-20261031/sten/statecraft-sten-approved-textured-bc6b06c8.glb | ASSETS.yaml | Tal Heuberger, Tripo Studio Smart Mesh P2.0 from text-generated concepts; exact original hash and task provenance: asset-sources/prepared-weapons-20261031/provenance.json. SHA-256 3c0d0cc4d3c9d086a4883ea23a2940a311f6c4548233a3403c515ad636753f1e. | verified |
| asset-sources/recovered-vegetation-20261031/g25_papyrus/g25_papyrus.obj | ASSETS.yaml | Tal Heuberger recovered prepared vegetation; Tripo H3.1 through Higgsfield, 19 October 2026, text-generated concept. Exact SHA-256 and task route: asset-sources/recovered-vegetation-20261031/provenance.json. SHA-256 8adf0838554e68bca68019a75bcea12316926a1ddc8cd88550570a09e6be0506. | verified |
| asset-sources/recovered-vegetation-20261031/hf_tamarisk/hf_tamarisk.obj | ASSETS.yaml | Tal Heuberger recovered prepared vegetation; Tripo H3.1 through Higgsfield, 19 October 2026, text-generated concept. Exact SHA-256 and task route: asset-sources/recovered-vegetation-20261031/provenance.json. SHA-256 3a8c9979fa0db9600f3a1c97b96c6bcf6092e76fdbdc80c51351ead85aedeccf. | verified |
+| unity/Assets/Art/Collection/c06-point-fire-v1/C06-POINT-FIRE-PROVISIONAL-PUBLIC.fbx | ASSETS.yaml | Byte-for-byte copy of Tal Heuberger's C06 point-fire export asset-sources/c06-point-fire-reference-20261031/C06-POINT-FIRE-PROVISIONAL-PUBLIC.fbx (exact input/output hashes, scoped permission and metadata edits in that folder's provenance.json), imported losslessly (every frame, no compression); only its 97-frame clip streams, in the pose source prefab, never its mesh or texture. SHA-256 9a7c8b59eb6dbf5138ee9fe1b8cb6296e430cda105b98cecae9c3a93bfdd3868. | verified |
| unity/Assets/Art/Collection/figure-ala-infantry-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/Art/Collection/figure-arab-villager-v1/figure-arab-villager-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), 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 (#200). | verified |
| unity/Assets/Art/Collection/figure-arab-villager-v1/figure-arab-villager-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 (#200). | verified |
@@ -376,6 +379,8 @@ This is not a licence clearance or a completed store content survey. owner-verif
| unity/Assets/Art/Collection/vehicle-steam-locomotive-1948-v2/vehicle-steam-locomotive-1948-v2-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/vehicle-steam-locomotive-1948-v2/vehicle-steam-locomotive-1948-v2-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/vehicle-steam-locomotive-1948-v2/vehicle-steam-locomotive-1948-v2.fbx | ASSETS.yaml | Tal Heuberger original offered in PR #507 at 3ef0a7a5a36887aee7a24fd11ddf722507695f3c, unity/Assets/Art/Settlements/Prototype/Models/vehicle-steam-locomotive-1948-v2/vehicle-steam-locomotive-1948-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/Collection/weapon-k98k-v1/weapon-k98k-v1.fbx | ASSETS.yaml | Documented full-geometry compatibility export of Tal Heuberger's textured GLB asset-sources/prepared-weapons-20261031/k98k/statecraft-k98k-approved-textured-b48a435f.glb (SHA-256 325d86cb42490ad95ed8c367e2c7511fc3bb9c676d6a797074a6ba74a01c7da5) by tools/prepared_weapons.py (Blender 5.0.1): 5485 triangles, connectivity identical, max vertex error 2.9e-08, UV error 0.0; no decimation, welding, pivot or UV rewrite. SHA-256 24f360c34f364daeb12fba4eb25eeb6f5220a50a61bfd7f98979d999377db9f4. | verified |
+| unity/Assets/Art/Collection/weapon-sten-v1/weapon-sten-v1.fbx | ASSETS.yaml | Documented full-geometry compatibility export of Tal Heuberger's textured GLB asset-sources/prepared-weapons-20261031/sten/statecraft-sten-approved-textured-bc6b06c8.glb (SHA-256 3c0d0cc4d3c9d086a4883ea23a2940a311f6c4548233a3403c515ad636753f1e) by tools/prepared_weapons.py (Blender 5.0.1): 4851 triangles, connectivity identical, max vertex error 4.2e-08, UV error 0.0; no decimation, welding, pivot or UV rewrite. SHA-256 e4d07630ac3d161e5930e3edee35b16e74569b114f86bfa66ede163941d725da. | verified |
| unity/Assets/Art/HexTiles/Props/arava_oasis_tamarisk/arava_oasis_tamarisk.obj | ASSETS.yaml | Tal Heuberger, Tripo H3.1 through Higgsfield, 19 October 2026, text-generated concept; byte-identical copy of asset-sources/recovered-vegetation-20261031/hf_tamarisk/hf_tamarisk.obj (route and task id: its provenance.json). SHA-256 3a8c9979fa0db9600f3a1c97b96c6bcf6092e76fdbdc80c51351ead85aedeccf. | verified |
| unity/Assets/Art/HexTiles/Props/hula_swamp_papyrus/hula_swamp_papyrus.obj | ASSETS.yaml | Tal Heuberger, Tripo H3.1 through Higgsfield, 19 October 2026, text-generated concept; byte-identical copy of asset-sources/recovered-vegetation-20261031/g25_papyrus/g25_papyrus.obj (route and task id: its provenance.json). SHA-256 8adf0838554e68bca68019a75bcea12316926a1ddc8cd88550570a09e6be0506. | verified |
| unity/Assets/Art/Settlements/Prototype/Models/*-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). Building modules decimated to 3,608-8,000 triangles in Blender 4.4; colour maps made at 1024 px and committed at 512 px (2x2 box average, JPEG quality 90, issue #659; owner ruling of 15 October 2026: plain git, only what ships, no masters). The masters and 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. The texture paths from the author's machine inside each FBX are blanked to same-length placeholders (owner ruling, 15 October 2026, PR #675). | verified |
diff --git a/docs/units.md b/docs/units.md
index a2a200abe..5cea76e30 100644
--- a/docs/units.md
+++ b/docs/units.md
@@ -293,6 +293,44 @@ own root rotation kept (the FBX axis turn, -90 degrees about X), so the camera's
- Tests: `UnitFiguresTests` (every one of the nine is placed on some day of the war; the table; the swap; arms down;
fail open; the close-zoom swap and its idle clip, the missing near model and C05).
+### Weapons and the C06 point-fire aim (#2083, #2084)
+
+The owner ruled on 2 November 2026: #2083, "Yes, on the soldier figures (Recommended)" ("Attach a period-correct weapon to
+the unit-token soldier figures (sourced per army and date), measured for load"), and #2084, "Yes, for firing units
+(Recommended)" ("Show the aiming pose on a unit token when it attacks"). Models by Tal Heuberger (CC BY-NC-ND 4.0).
+
+| Weapon | Army | From | Figures | Sources (agent-read; a person's check is pending) |
+|---|---|---|---|---|
+| K98k (Tal's `weapon-k98k-v1`) | Israel (Haganah, IDF) | 2 April 1948: the Nora's 4,500 Czechoslovak P-18 (K98k) rifles at Tel Aviv; the first air shipment landed the night of 31 March to 1 April | C04, C05, C06, C07 | en.wiki Arms shipments from Czechoslovakia to Israel 1947–1949; Palyam, "Nora" (Ben-Tzur); en.wiki Karabiner 98k |
+| Sten (Tal's `weapon-sten-v1`) | Israel (the Palmach) | in use 1945–1948 | C12F, the Palmach scout (Harel's third figure) | en.wiki Ayalon Institute ("the personal weapon of the Palmach"); en.wiki Sten ("clandestinely manufactured in Tel Aviv and on various kibbutzim in 1945–1948") |
+
+Every token's first day is 15 May 1948 or later (`units_1948.yaml`), after both rows' dates, so no figure is dated by
+hand (`UnitWeaponsTests` keeps that true). The rows live in `UnitWeapons.Rows`.
+
+- **[GAP] The Arab forces.** No source found places a K98k, an MG34 or a Sten with the Arab Legion, Egypt, Iraq, Syria,
+ Lebanon, the ALA or local irregulars in 1948 (Syria's Czech rifles for the ALA sank in the Lino at Bari and were later
+ captured). Their armies' British Lee-Enfield and Bren are not among Tal's models, so their figures stay as they are.
+- **[GAP] #336's 1948 soldier** (Yiftach's and Negev's third figure) has no rig and no hand bone; he stays as he is.
+- **The MG34** stays a stored source: the Czech contract and the Nora brought 200 MG34s, but nothing places a machine gun
+ on one token figure (an owner question).
+- **The hand:** each weapon hangs under the figure's `Right_Hand` bone. The socket is Tal's own fixed pair: in their C06
+ point-fire export the K98k does not move against C06's right hand over all 97 frames, and that relation, turned into the
+ C06 rig's frame, is `UnitWeapons.SocketPosition`/`SocketRotation`/`K98kSocketScale` (the rifle about 1.1 m long on a
+ 1.78 m man). C04, C05, C07 and C12F share C06's 67-bone rig and hold it the same way: in each one's bind pose the rifle's long axis
+ is within 45 degrees of C06's (measured 2 November 2026: C04 34.4, C05 10.1, C07 13.5, C12F 37.8), along the hand. The Sten takes the same socket,
+ scaled by the sourced lengths (Sten Mk II 762 mm, K98k 1,110 mm); its grip is not authored by Tal, and in C12F's idle pose it lies across her thighs, partly inside them (an owner question; Tal's own notes leave the Sten's handedness to a 3D review).
+- **The C06 aim:** while its token's attack plays (`UnitTokenMotion`), a C06 figure, near or far, holds one still frame of
+ Tal's 97-frame point-fire clip (frame 37, inside the still aim of their contact sheet) for the whole attack, which lasts
+ as long as the longest fire take on the token (C06's own is 37 frames); then every bone it moved is put back and its
+ Animator runs again, also when the units are hidden mid-attack. Tal's export is one figure, so only C06
+ takes it; every other figure keeps its own fire take. The export's rig has the same bones and rest mesh as C06's but
+ other local axes, so each sampled bone is turned into C06's frame by a correction computed from the two meshes' bind
+ poses (`UnitFigurePoseSource`); our C06 in the aim lies on Tal's export and our K98k on their rifle (`UnitWeaponsTests`).
+- **Load:** the K98k, the Sten and the pose source each stream in a bundle of their own after the people's, never in the
+ first download; the pose source carries only the clip, not the export's mesh or texture.
+- **Fail open:** until a weapon or the pose source arrives, and for good if its bundle is missing, the figure stands and
+ fires as before.
+
### What the player sees
| Unit | Positions (dated, from the sources) | Ends |
diff --git a/scripts/oss/tests/test_licensing.py b/scripts/oss/tests/test_licensing.py
index 4dd44f420..e9d1cc090 100644
--- a/scripts/oss/tests/test_licensing.py
+++ b/scripts/oss/tests/test_licensing.py
@@ -150,10 +150,14 @@ def test_tal_original_licensing_matches_manifest_exactly():
# byte-identical Unity copies of the six recovered sources.
plants = {f"unity/Assets/Art/HexTiles/Props/{d}/{f}" for d in ("hula_swamp_papyrus", "arava_oasis_tamarisk")
for f in (d + ".obj", "albedo.jpg", "normal.jpg")}
- added = sources | towns | plants
- assert len(sources) == 24 and len(towns) == 8 and len(plants) == 6
+ # #2083 and #2084 in the game (owner, 2 November 2026): the K98k's and the Sten's compatibility FBX and colour map, and
+ # the C06 point-fire export byte for byte.
+ weapons = {f"unity/Assets/Art/Collection/weapon-{w}-v1/weapon-{w}-v1{x}" for w in ("k98k", "sten") for x in (".fbx", "_basecolor.jpg")} | {
+ "unity/Assets/Art/Collection/c06-point-fire-v1/C06-POINT-FIRE-PROVISIONAL-PUBLIC.fbx"}
+ added = sources | towns | plants | weapons
+ assert len(sources) == 24 and len(towns) == 8 and len(plants) == 6 and len(weapons) == 5
added_rows = [r for r in independent if r["glob"] in added]
- assert {r["glob"] for r in added_rows} == added and len(added_rows) == 38
+ assert {r["glob"] for r in added_rows} == added and len(added_rows) == 43
assert all("Hula + Arava, map and boards" in r["note"] for r in added_rows if r["glob"] in plants)
assert all(r["artist"] == "Tal Heuberger" and r["ai_generated"] is True for r in added_rows)
assert all("#1177" in r["note"] and "2 November 2026" in r["note"] for r in added_rows)
@@ -161,7 +165,7 @@ def test_tal_original_licensing_matches_manifest_exactly():
for r in added_rows: # each row records its file's SHA-256
assert hashlib.sha256((ROOT / r["glob"]).read_bytes()).hexdigest() in r["source"], r["glob"]
assert len([r for r in independent if r["glob"] not in added]) == 50 # the hex-tile props row and the #1901 -light meshes among them
- assert len(independent) == 88 # 146 originals + 88 independent grants = 234 total
+ assert len(independent) == 93 # 146 originals + 93 independent grants = 239 total
for row in selected:
assert row["licence"] == "CC-BY-NC-ND-4.0"
assert row["artist"] == "Tal Heuberger"
diff --git a/tools/prepared_weapons.py b/tools/prepared_weapons.py
new file mode 100644
index 000000000..a9d45a19b
--- /dev/null
+++ b/tools/prepared_weapons.py
@@ -0,0 +1,145 @@
+"""Tal Heuberger's prepared weapon models (#2083) for the Israeli unit-token soldier figures (owner, 2 November 2026: "Yes, on the
+soldier figures (Recommended)").
+
+Unity has no glTF importer in this project, so each delivered textured GLB gets a labelled lossless FBX compatibility export,
+with the recipe of tools/generated_towns.py (#2085): no decimation, welding, pivot, mesh, UV or image rewrite. The base-colour
+map is Tal's delivered JPG copied byte for byte (it is the same image the GLB embeds).
+
+ python3 tools/prepared_weapons.py --verify # stdlib only: every hash against provenance.json
+ python prepared_weapons.py --convert <id> (with Blender's bpy importable; one weapon per process; writes the FBX,
+ the map copy and provenance.json)
+
+Tal's files under asset-sources/prepared-weapons-20261031/ are only read, never written.
+"""
+from __future__ import annotations
+
+import argparse
+from collections import Counter
+import json
+from pathlib import Path
+import sys
+
+ROOT = Path(__file__).resolve().parents[1]
+sys.path.insert(0, str(ROOT / "tools"))
+from generated_towns import glb, jpeg_size, sha # noqa: E402 (one GLB reader for both of Tal's batches)
+
+SOURCES = Path("asset-sources/prepared-weapons-20261031")
+COLLECTION = Path("unity/Assets/Art/Collection")
+# Unity id -> Tal's delivered textured GLB (its _basecolor.jpg sits beside it), from #2083's provenance.json. Only the weapons
+# a figure carries are converted (UnitWeapons); the MG34 stays a source until a figure has a sourced use for it.
+WEAPONS = {
+ "weapon-k98k-v1": "k98k/statecraft-k98k-approved-textured-b48a435f.glb",
+ "weapon-sten-v1": "sten/statecraft-sten-approved-textured-bc6b06c8.glb",
+}
+
+
+def check(condition: bool, message: str) -> None:
+ """A verification failure; unlike a bare assert it also holds under python -O."""
+ if not condition:
+ raise AssertionError(message)
+
+
+def source(repo: Path, mid: str):
+ """Tal's GLB bytes, its glTF JSON, and the delivered JPG beside it, checked to be the image the GLB embeds."""
+ path = repo / SOURCES / WEAPONS[mid]
+ blob = path.read_bytes()
+ data, embedded = glb(blob)
+ colour = path.with_name(path.stem + "_basecolor.jpg").read_bytes()
+ check(colour == embedded, f"{mid}: the delivered JPG is not the image the GLB embeds")
+ check(len(data["meshes"]) == 1 and len(data["meshes"][0]["primitives"]) == 1, f"{mid}: not one mesh with one primitive")
+ check(not data.get("animations") and not data.get("skins"), f"{mid}: the GLB has clips or a skin")
+ return blob, data, colour
+
+
+def verify(repo: Path) -> None:
+ tal = {f["path"]: f["sha256"] for f in json.loads((repo / SOURCES / "provenance.json").read_text(encoding="utf-8"))["files"]}
+ for mid, rel in WEAPONS.items():
+ blob, _, colour = source(repo, mid)
+ check(sha(blob) == tal[rel], f"{mid}: the GLB is not the file #2083's provenance.json records")
+ dest = repo / COLLECTION / mid
+ record = json.loads((dest / "provenance.json").read_text(encoding="utf-8"))
+ check(record["id"] == mid and record["source"] == (SOURCES / rel).as_posix(), f"{mid}: provenance names another source")
+ check(sha(blob) == record["source_glb_sha256"], f"{mid}: the GLB hash differs from provenance.json")
+ check((dest / f"{mid}_basecolor.jpg").read_bytes() == colour, f"{mid}: the Unity map is not Tal's JPG byte for byte")
+ check(sha(colour) == record["texture_sha256"] and jpeg_size(colour) == record["texture_dimensions"], f"{mid}: the map's hash or size differs")
+ check(sha((dest / f"{mid}.fbx").read_bytes()) == record["compatibility_fbx_sha256"], f"{mid}: the FBX differs from its recorded export")
+ print("VERIFIED", mid, record["triangles"], "triangles", record["texture_dimensions"])
+ print(f"PASS: {len(WEAPONS)} weapon GLBs and maps byte-identical to #2083; compatibility exports match provenance")
+
+
+def convert(repo: Path, mid: str) -> None:
+ import bpy # Blender as a module; never imported by --verify. One weapon per process.
+ from mathutils.kdtree import KDTree
+ import slim_collection as privacy # its scrub blanks machine paths Blender's FBX writer leaves in a file
+
+ rel = WEAPONS[mid]
+ blob, data, colour = source(repo, mid)
+ dest = repo / COLLECTION / mid; dest.mkdir(parents=True, exist_ok=True)
+ (dest / f"{mid}_basecolor.jpg").write_bytes(colour)
+ bpy.ops.wm.read_factory_settings(use_empty=True)
+ bpy.ops.import_scene.gltf(filepath=str(repo / SOURCES / rel), merge_vertices=False)
+ meshes = [o for o in bpy.data.objects if o.type == "MESH"]
+ assert len(meshes) == 1 and not bpy.data.actions and not meshes[0].modifiers
+ obj = meshes[0]; obj.data.calc_loop_triangles()
+ triangles = len(obj.data.loop_triangles)
+ accessor = data["accessors"][data["meshes"][0]["primitives"][0]["indices"]]
+ assert triangles == accessor["count"] // 3, f"{mid}: {triangles} imported, {accessor['count'] // 3} in the GLB"
+ points = [obj.matrix_world @ v.co for v in obj.data.vertices]
+ tree = KDTree(len(points))
+ for i, co in enumerate(points):
+ tree.insert(co, i)
+ tree.balance()
+ keys = [tuple(round(float(c), 7) for c in p) for p in points]
+ faces = Counter(tuple(sorted(keys[v] for v in t.vertices)) for t in obj.data.loop_triangles)
+ uvs = {}
+ for t in obj.data.loop_triangles:
+ key = tuple(sorted(keys[v] for v in t.vertices))
+ uvs.setdefault(key, []).append(sorted((keys[obj.data.loops[i].vertex_index], tuple(obj.data.uv_layers.active.data[i].uv)) for i in t.loops))
+ # The Unity material uses the exact delivered map; no material in the FBX means no authoring-machine texture path in it.
+ obj.data.materials.clear()
+ bpy.ops.object.select_all(action="DESELECT"); obj.select_set(True); bpy.context.view_layer.objects.active = obj
+ fbx = dest / f"{mid}.fbx"
+ bpy.ops.export_scene.fbx(filepath=str(fbx), use_selection=True, object_types={"MESH"},
+ use_mesh_modifiers=False, add_leaf_bones=False, apply_unit_scale=True,
+ apply_scale_options="FBX_SCALE_UNITS", axis_forward="-Z", axis_up="Y",
+ bake_anim=False, path_mode="STRIP", embed_textures=False)
+ privacy.scrub(fbx, repo)
+ # Round trip: the exported FBX read back must give the same vertices, triangles and UVs.
+ bpy.ops.wm.read_factory_settings(use_empty=True); bpy.ops.import_scene.fbx(filepath=str(fbx))
+ rt = [o for o in bpy.data.objects if o.type == "MESH"]
+ assert len(rt) == 1 and not bpy.data.actions
+ rt = rt[0]; rt.data.calc_loop_triangles(); nearest = []; max_error = 0.0
+ for v in rt.data.vertices:
+ _, index, error = tree.find(rt.matrix_world @ v.co)
+ nearest.append(keys[index]); max_error = max(max_error, error)
+ assert max_error < 1e-6, f"{mid}: vertex error {max_error}"
+ assert Counter(tuple(sorted(nearest[v] for v in t.vertices)) for t in rt.data.loop_triangles) == faces, mid
+ uv_error = 0.0
+ for t in rt.data.loop_triangles:
+ key = tuple(sorted(nearest[v] for v in t.vertices))
+ actual = sorted((nearest[rt.data.loops[i].vertex_index], tuple(rt.data.uv_layers.active.data[i].uv)) for i in t.loops)
+ options = uvs[key]
+ errors = [max(abs(actual[j][1][k] - c[j][1][k]) for j in range(3) for k in range(2)) for c in options]
+ best = min(range(len(errors)), key=errors.__getitem__); uv_error = max(uv_error, errors[best]); options.pop(best)
+ assert uv_error < 1e-6, f"{mid}: UV error {uv_error}"
+ record = dict(id=mid, source=(SOURCES / rel).as_posix(), source_glb_sha256=sha(blob), creator_credit="Tal Heuberger",
+ licence="CC-BY-NC-ND-4.0", pull_request=2083, texture_dimensions=jpeg_size(colour), texture_sha256=sha(colour),
+ compatibility_fbx_sha256=sha(fbx.read_bytes()), triangles=triangles, geometry_max_vertex_error=max_error,
+ uv_max_error=uv_error, triangle_connectivity="identical", blender=bpy.app.version_string, decimation=False, welding=False,
+ conversion="Standard glTF Y-up / FBX Y-up compatibility export (Tal's permission of 31 October 2026 covers export "
+ "conversions); no pivot, mesh or UV rewrite; no clips in the source; map copied byte for byte from the delivered JPG")
+ (dest / "provenance.json").write_text(json.dumps(record, indent=2) + "\n", encoding="utf-8")
+ print("LOSSLESS COMPATIBILITY", mid, triangles, max_error, uv_error, flush=True)
+
+
+if __name__ == "__main__":
+ parser = argparse.ArgumentParser(description=__doc__, formatter_class=argparse.RawDescriptionHelpFormatter)
+ mode = parser.add_mutually_exclusive_group(required=True)
+ mode.add_argument("--verify", action="store_true")
+ mode.add_argument("--convert", choices=sorted(WEAPONS))
+ parser.add_argument("--repo", type=Path, default=ROOT)
+ args = parser.parse_args()
+ if args.verify:
+ verify(args.repo.resolve())
+ else:
+ convert(args.repo.resolve(), args.convert)
diff --git a/tools/tests/test_prepared_weapons.py b/tools/tests/test_prepared_weapons.py
new file mode 100644
index 000000000..bf58aad39
--- /dev/null
+++ b/tools/tests/test_prepared_weapons.py
@@ -0,0 +1,63 @@
+"""tools/prepared_weapons.py --verify: Tal Heuberger's #2083 K98k and Sten ship in the Unity Collection as their delivered files.
+
+Each weapon's GLB under asset-sources/ matches the hash #2083's provenance.json and its Unity folder's provenance.json record,
+the Unity colour map is their delivered JPG byte for byte (the image the GLB embeds), and the compatibility FBX is the one the
+conversion recorded. The C06 point-fire export in the Unity Collection is Tal's file byte for byte.
+"""
+import hashlib
+import importlib.util
+import json
+from pathlib import Path
+
+import pytest
+
+ROOT = Path(__file__).resolve().parents[2]
+
+
+def weapons():
+ spec = importlib.util.spec_from_file_location("prepared_weapons", ROOT / "tools/prepared_weapons.py")
+ mod = importlib.util.module_from_spec(spec)
+ spec.loader.exec_module(mod)
+ return mod
+
+
+def test_verify_passes_on_the_shipped_files():
+ weapons().verify(ROOT)
+
+
+def test_the_k98k_and_sten_are_tals_2083_exports_with_their_recorded_triangles():
+ mod = weapons()
+ assert list(mod.WEAPONS) == ["weapon-k98k-v1", "weapon-sten-v1"]
+ for mid, triangles in {"weapon-k98k-v1": 5485, "weapon-sten-v1": 4851}.items():
+ record = json.loads((ROOT / mod.COLLECTION / mid / "provenance.json").read_text(encoding="utf-8"))
+ assert record["triangles"] == triangles and record["triangle_connectivity"] == "identical"
+ assert record["decimation"] is False and record["welding"] is False
+ assert record["geometry_max_vertex_error"] < 1e-6 and record["uv_max_error"] < 1e-6
+ assert record["creator_credit"] == "Tal Heuberger" and record["licence"] == "CC-BY-NC-ND-4.0"
+
+
+def test_the_point_fire_export_in_unity_is_tals_file_byte_for_byte():
+ tal = ROOT / "asset-sources/c06-point-fire-reference-20261031"
+ record = json.loads((tal / "provenance.json").read_text(encoding="utf-8"))
+ want = next(f["sha256"] for f in record["files"] if f["path"] == "C06-POINT-FIRE-PROVISIONAL-PUBLIC.fbx")
+ ours = ROOT / "unity/Assets/Art/Collection/c06-point-fire-v1/C06-POINT-FIRE-PROVISIONAL-PUBLIC.fbx"
+ assert hashlib.sha256(ours.read_bytes()).hexdigest() == want
+
+
+def test_verify_rejects_a_changed_colour_map(tmp_path):
+ mod = weapons()
+ (tmp_path / mod.SOURCES).mkdir(parents=True)
+ (tmp_path / mod.SOURCES / "provenance.json").write_bytes((ROOT / mod.SOURCES / "provenance.json").read_bytes())
+ for mid, rel in mod.WEAPONS.items():
+ for src in (mod.SOURCES / rel, (mod.SOURCES / rel).with_name(Path(rel).stem + "_basecolor.jpg")):
+ (tmp_path / src).parent.mkdir(parents=True, exist_ok=True)
+ (tmp_path / src).write_bytes((ROOT / src).read_bytes())
+ dest = tmp_path / mod.COLLECTION / mid
+ dest.mkdir(parents=True)
+ for name in (f"{mid}.fbx", f"{mid}_basecolor.jpg", "provenance.json"):
+ (dest / name).write_bytes((ROOT / mod.COLLECTION / mid / name).read_bytes())
+ mod.verify(tmp_path)
+ jpg = tmp_path / mod.COLLECTION / "weapon-sten-v1" / "weapon-sten-v1_basecolor.jpg"
+ jpg.write_bytes(jpg.read_bytes() + b"\0")
+ with pytest.raises(AssertionError, match="byte for byte"):
+ mod.verify(tmp_path)
diff --git a/unity/Assets/Art/Collection/c06-point-fire-v1.meta b/unity/Assets/Art/Collection/c06-point-fire-v1.meta
new file mode 100644
index 000000000..bb8e04aa1
--- /dev/null
+++ b/unity/Assets/Art/Collection/c06-point-fire-v1.meta
@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: 7dbca02e458cc4231968d70170fcaa61
+folderAsset: yes
+DefaultImporter:
+ externalObjects: {}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/unity/Assets/Art/Collection/c06-point-fire-v1/C06-POINT-FIRE-PROVISIONAL-PUBLIC.fbx b/unity/Assets/Art/Collection/c06-point-fire-v1/C06-POINT-FIRE-PROVISIONAL-PUBLIC.fbx
new file mode 100644
index 000000000..e82de8b62
Binary files /dev/null and b/unity/Assets/Art/Collection/c06-point-fire-v1/C06-POINT-FIRE-PROVISIONAL-PUBLIC.fbx differ
diff --git a/unity/Assets/Art/Collection/c06-point-fire-v1/C06-POINT-FIRE-PROVISIONAL-PUBLIC.fbx.meta b/unity/Assets/Art/Collection/c06-point-fire-v1/C06-POINT-FIRE-PROVISIONAL-PUBLIC.fbx.meta
new file mode 100644
index 000000000..34280f6c7
--- /dev/null
+++ b/unity/Assets/Art/Collection/c06-point-fire-v1/C06-POINT-FIRE-PROVISIONAL-PUBLIC.fbx.meta
@@ -0,0 +1,140 @@
+fileFormatVersion: 2
+guid: a08b1991cffa64e93817b6e132440b73
+ModelImporter:
+ serializedVersion: 24300
+ internalIDToNameTable: []
+ externalObjects: {}
+ materials:
+ materialImportMode: 0
+ materialName: 0
+ materialSearch: 1
+ materialLocation: 1
+ searchTexturesGlobally: 0
+ animations:
+ legacyGenerateAnimations: 4
+ bakeSimulation: 0
+ resampleCurves: 0
+ optimizeGameObjects: 0
+ removeConstantScaleCurves: 0
+ motionNodeName:
+ animationImportErrors:
+ animationImportWarnings:
+ animationRetargetingWarnings:
+ animationDoRetargetingWarnings: 0
+ importAnimatedCustomProperties: 0
+ importConstraints: 0
+ animationCompression: 0
+ animationRotationError: 0.5
+ animationPositionError: 0.5
+ animationScaleError: 0.5
+ animationWrapMode: 0
+ extraExposedTransformPaths: []
+ extraUserProperties: []
+ clipAnimations:
+ - serializedVersion: 16
+ name: C06_POINT_FIRE_PROVISIONAL_REVIEW_97F
+ takeName: C06_POINT_FIRE_PROVISIONAL_REVIEW_97F
+ internalID: -2014901346901264397
+ firstFrame: 1
+ lastFrame: 97
+ wrapMode: 0
+ orientationOffsetY: 0
+ level: 0
+ cycleOffset: 0
+ loop: 0
+ hasAdditiveReferencePose: 0
+ loopTime: 0
+ loopBlend: 0
+ loopBlendOrientation: 0
+ loopBlendPositionY: 0
+ loopBlendPositionXZ: 0
+ keepOriginalOrientation: 0
+ keepOriginalPositionY: 1
+ keepOriginalPositionXZ: 0
+ heightFromFeet: 0
+ mirror: 0
+ bodyMask: 01000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000
+ curves: []
+ events: []
+ transformMask: []
+ maskType: 3
+ maskSource: {instanceID: 0}
+ additiveReferencePoseFrame: 0
+ isReadable: 0
+ meshes:
+ lODScreenPercentages: []
+ globalScale: 1
+ meshCompression: 0
+ addColliders: 0
+ useSRGBMaterialColor: 1
+ sortHierarchyByName: 1
+ importPhysicalCameras: 1
+ importVisibility: 0
+ importBlendShapes: 1
+ importCameras: 0
+ importLights: 0
+ nodeNameCollisionStrategy: 1
+ fileIdsGeneration: 2
+ swapUVChannels: 0
+ generateSecondaryUV: 0
+ useFileUnits: 1
+ keepQuads: 0
+ weldVertices: 1
+ bakeAxisConversion: 0
+ preserveHierarchy: 0
+ skinWeightsMode: 0
+ maxBonesPerVertex: 4
+ minBoneWeight: 0.001
+ optimizeBones: 1
+ generateMeshLods: 0
+ meshLodGenerationFlags: 0
+ maximumMeshLod: -1
+ meshOptimizationFlags: -4
+ indexFormat: 0
+ secondaryUVAngleDistortion: 8
+ secondaryUVAreaDistortion: 15.000001
+ secondaryUVHardAngle: 88
+ secondaryUVMarginMethod: 1
+ secondaryUVMinLightmapResolution: 40
+ secondaryUVMinObjectScale: 1
+ secondaryUVPackMargin: 4
+ useFileScale: 1
+ strictVertexDataChecks: 0
+ tangentSpace:
+ normalSmoothAngle: 60
+ normalImportMode: 0
+ tangentImportMode: 2
+ normalCalculationMode: 4
+ legacyComputeAllNormalsFromSmoothingGroupsWhenMeshHasBlendShapes: 0
+ blendShapeNormalImportMode: 1
+ normalSmoothingSource: 0
+ referencedClips: []
+ importAnimation: 1
+ humanDescription:
+ serializedVersion: 3
+ human: []
+ skeleton: []
+ armTwist: 0.5
+ foreArmTwist: 0.5
+ upperLegTwist: 0.5
+ legTwist: 0.5
+ armStretch: 0.05
+ legStretch: 0.05
+ feetSpacing: 0
+ globalScale: 1
+ rootMotionBoneName:
+ hasTranslationDoF: 0
+ hasExtraRoot: 0
+ skeletonHasParents: 1
+ lastHumanDescriptionAvatarSource: {instanceID: 0}
+ autoGenerateAvatarMappingIfUnspecified: 1
+ animationType: 2
+ humanoidOversampling: 1
+ avatarSetup: 1
+ addHumanoidExtraRootOnlyWhenUsingAvatar: 1
+ importBlendShapeDeformPercent: 1
+ remapMaterialsIfMaterialImportModeIsNone: 0
+ additionalBone: 0
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/unity/Assets/Art/Collection/c06-point-fire-v1/c06-point-fire-v1.prefab b/unity/Assets/Art/Collection/c06-point-fire-v1/c06-point-fire-v1.prefab
new file mode 100644
index 000000000..212c178c5
--- /dev/null
+++ b/unity/Assets/Art/Collection/c06-point-fire-v1/c06-point-fire-v1.prefab
@@ -0,0 +1,1190 @@
+%YAML 1.1
+%TAG !u! tag:unity3d.com,2011:
+--- !u!1 &7275031605240759427
+GameObject:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ serializedVersion: 6
+ m_Component:
+ - component: {fileID: 4124459316081254608}
+ - component: {fileID: 2118179271660863072}
+ m_Layer: 0
+ m_Name: c06-point-fire-v1
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!4 &4124459316081254608
+Transform:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 7275031605240759427}
+ serializedVersion: 2
+ m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
+ 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!114 &2118179271660863072
+MonoBehaviour:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 7275031605240759427}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: b3815417fc023417a9e8bb9e3eb6cbb0, type: 3}
+ m_Name:
+ m_EditorClassIdentifier: Statecraft.Game::Statecraft.Game.Map.Units.UnitFigurePoseSource
+ Clip: {fileID: -2014901346901264397, guid: a08b1991cffa64e93817b6e132440b73, type: 3}
+ AimTime: 1.5
+ Figure: figure-c06-young-recruit-v2
+ Bones:
+ - Hips
+ - Spine
+ - Left_UpperLeg
+ - Right_UpperLeg
+ - Chest
+ - Left_LowerLeg
+ - Right_LowerLeg
+ - UpperChest
+ - Left_Foot
+ - Right_Foot
+ - Neck
+ - Left_Shoulder
+ - Right_Shoulder
+ - Left_Toes
+ - Right_Toes
+ - Neck_Twist_A
+ - Head
+ - Left_UpperArm
+ - Right_UpperArm
+ - Left_ToesEnd
+ - Right_ToesEnd
+ - Left_Eye
+ - Right_Eye
+ - Left_LowerArm
+ - Right_LowerArm
+ - Left_Hand
+ - Right_Hand
+ - Left_ThumbProximal
+ - Left_IndexProximal
+ - Left_MiddleProximal
+ - Left_RingProximal
+ - Left_PinkyProximal
+ - Right_ThumbProximal
+ - Right_IndexProximal
+ - Right_MiddleProximal
+ - Right_RingProximal
+ - Right_PinkyProximal
+ - Left_ThumbIntermediate
+ - Left_IndexIntermediate
+ - Left_MiddleIntermediate
+ - Left_RingIntermediate
+ - Left_PinkyIntermediate
+ - Right_ThumbIntermediate
+ - Right_IndexIntermediate
+ - Right_MiddleIntermediate
+ - Right_RingIntermediate
+ - Right_PinkyIntermediate
+ - Left_ThumbDistal
+ - Left_IndexDistal
+ - Left_MiddleDistal
+ - Left_RingDistal
+ - Left_PinkyDistal
+ - Right_ThumbDistal
+ - Right_IndexDistal
+ - Right_MiddleDistal
+ - Right_RingDistal
+ - Right_PinkyDistal
+ - Left_ThumbDistalEnd
+ - Left_IndexDistalEnd
+ - Left_MiddleDistalEnd
+ - Left_RingDistalEnd
+ - Left_PinkyDistalEnd
+ - Right_ThumbDistalEnd
+ - Right_IndexDistalEnd
+ - Right_MiddleDistalEnd
+ - Right_RingDistalEnd
+ - Right_PinkyDistalEnd
+ Correction:
+ - e00: 0.01
+ e01: 1.0027762e-10
+ e02: 1.2464373e-10
+ e03: 1.0465347e-10
+ e10: -1.6231424e-11
+ e11: 0.01
+ e12: -9.4794025e-12
+ e13: -4.446461e-11
+ e20: -1.3739476e-10
+ e21: -3.0275237e-11
+ e22: 0.009999999
+ e23: 2.9191705e-12
+ e30: 0
+ e31: 0
+ e32: 0
+ e33: 1
+ - e00: 0.01
+ e01: 1.3730776e-12
+ e02: 1.14128096e-10
+ e03: 3.7089807e-11
+ e10: 1.3899811e-11
+ e11: 0.01
+ e12: 7.243674e-12
+ e13: 6.1587685e-10
+ e20: 1.1762243e-10
+ e21: 1.3723771e-11
+ e22: 0.010000001
+ e23: 4.2085675e-12
+ e30: 0
+ e31: 0
+ e32: 0
+ e33: 1
+ - e00: 0.01
+ e01: 1.3158669e-10
+ e02: 5.106991e-10
+ e03: 5.344923e-11
+ e10: 1.1729326e-11
+ e11: 0.009999999
+ e12: 1.5703746e-11
+ e13: -8.5248186e-10
+ e20: -2.6713654e-10
+ e21: -1.3960583e-10
+ e22: 0.009999999
+ e23: -1.0041388e-10
+ e30: 0
+ e31: 0
+ e32: 0
+ e33: 1
+ - e00: 0.01
+ e01: -2.5774475e-11
+ e02: 3.0842755e-11
+ e03: -2.7288187e-11
+ e10: -2.501375e-11
+ e11: 0.010000001
+ e12: -1.5056707e-10
+ e13: 1.1024554e-10
+ e20: 2.958154e-11
+ e21: 4.527399e-10
+ e22: 0.009999999
+ e23: -2.2809414e-10
+ e30: 0
+ e31: 0
+ e32: 0
+ e33: 1
+ - e00: 0.010000001
+ e01: -7.277094e-11
+ e02: -8.533556e-11
+ e03: -1.3804034e-10
+ e10: -3.6420042e-10
+ e11: 0.010000002
+ e12: -5.5207e-10
+ e13: 0.000000001223105
+ e20: 1.8596691e-10
+ e21: 5.463414e-10
+ e22: 0.01
+ e23: -1.4120374e-11
+ e30: 0
+ e31: 0
+ e32: 0
+ e33: 1
+ - e00: 0.009999998
+ e01: -1.8904303e-10
+ e02: -3.1321923e-10
+ e03: -2.2350722e-11
+ e10: -2.347614e-10
+ e11: 0.01
+ e12: 6.8521894e-10
+ e13: 6.8691296e-11
+ e20: -5.7534605e-10
+ e21: -7.094951e-10
+ e22: 0.01
+ e23: 1.0132824e-10
+ e30: 0
+ e31: 0
+ e32: 0
+ e33: 1
+ - e00: 0.009999998
+ e01: -4.1353287e-10
+ e02: -0.000000001431076
+ e03: -1.7018997e-10
+ e10: -1.8204941e-11
+ e11: 0.009999999
+ e12: -4.6144735e-10
+ e13: 2.5591837e-10
+ e20: 0.0000000010766158
+ e21: 4.7824145e-10
+ e22: 0.01
+ e23: 1.7131505e-10
+ e30: 0
+ e31: 0
+ e32: 0
+ e33: 1
+ - e00: 0.010000001
+ e01: 1.0149874e-12
+ e02: 2.7951862e-12
+ e03: -2.9495864e-11
+ e10: 3.8179897e-11
+ e11: 0.009999999
+ e12: 2.4918728e-10
+ e13: -2.5534477e-10
+ e20: -1.7790545e-10
+ e21: -3.352416e-10
+ e22: 0.010000001
+ e23: -1.6016197e-11
+ e30: 0
+ e31: 0
+ e32: 0
+ e33: 1
+ - e00: 0.009999999
+ e01: 5.3065713e-10
+ e02: -0.0000000014449542
+ e03: -7.7785445e-11
+ e10: -1.8411159e-10
+ e11: 0.01
+ e12: -7.337948e-10
+ e13: -1.5179887e-10
+ e20: 3.6232273e-10
+ e21: -1.08847105e-10
+ e22: 0.010000001
+ e23: 2.9000205e-12
+ e30: 0
+ e31: 0
+ e32: 0
+ e33: 1
+ - e00: 0.010000003
+ e01: -8.7735846e-10
+ e02: -1.5651075e-10
+ e03: 1.8060987e-10
+ e10: 4.1433593e-11
+ e11: 0.010000001
+ e12: -2.2262373e-10
+ e13: -2.2454937e-12
+ e20: 0.0000000012290129
+ e21: 8.3109386e-10
+ e22: 0.01
+ e23: -4.9714788e-11
+ e30: 0
+ e31: 0
+ e32: 0
+ e33: 1
+ - e00: 0.009999999
+ e01: 3.254603e-10
+ e02: 5.2561167e-11
+ e03: -1.2357391e-10
+ e10: -2.553121e-10
+ e11: 0.009999998
+ e12: 4.55038e-10
+ e13: -0.0000000013641887
+ e20: -2.1733759e-10
+ e21: -5.310464e-10
+ e22: 0.009999999
+ e23: -1.0142369e-11
+ e30: 0
+ e31: 0
+ e32: 0
+ e33: 1
+ - e00: 0.01
+ e01: -8.2459983e-10
+ e02: 1.2275071e-11
+ e03: 1.0257661e-10
+ e10: -4.5537002e-10
+ e11: 0.0100000035
+ e12: 3.8868544e-10
+ e13: -8.568453e-11
+ e20: -4.4602117e-11
+ e21: 5.1330556e-10
+ e22: 0.01
+ e23: -8.299846e-10
+ e30: 0
+ e31: 0
+ e32: 0
+ e33: 1
+ - e00: 0.009999999
+ e01: -0.0000000010718835
+ e02: 1.4279326e-10
+ e03: 0.0000000011970026
+ e10: -5.3673226e-11
+ e11: 0.009999999
+ e12: -1.3364077e-10
+ e13: -1.8457014e-11
+ e20: 3.445071e-11
+ e21: 2.8724076e-10
+ e22: 0.009999999
+ e23: 9.39171e-11
+ e30: 0
+ e31: 0
+ e32: 0
+ e33: 1
+ - e00: 0.010000001
+ e01: 0.0000000017352888
+ e02: -4.484153e-10
+ e03: -7.0903505e-11
+ e10: 7.6264696e-11
+ e11: 0.009999998
+ e12: -3.7130596e-10
+ e13: -4.410926e-11
+ e20: 4.1509407e-10
+ e21: 3.5893946e-10
+ e22: 0.009999997
+ e23: -1.4542595e-10
+ e30: 0
+ e31: 0
+ e32: 0
+ e33: 1
+ - e00: 0.0100000035
+ e01: 2.1560738e-10
+ e02: -0.0000000019941602
+ e03: 1.3235091e-10
+ e10: -9.138892e-10
+ e11: 0.01
+ e12: -8.114619e-10
+ e13: -7.54164e-11
+ e20: 0.0000000019886348
+ e21: 8.1470797e-10
+ e22: 0.01
+ e23: -8.499964e-11
+ e30: 0
+ e31: 0
+ e32: 0
+ e33: 1
+ - e00: 0.010000001
+ e01: 2.229235e-10
+ e02: 1.5023444e-10
+ e03: 6.981074e-10
+ e10: -2.3200325e-10
+ e11: 0.010000001
+ e12: 5.084859e-11
+ e13: -1.1491936e-10
+ e20: 2.538522e-10
+ e21: -2.692749e-11
+ e22: 0.01
+ e23: 5.9393324e-11
+ e30: 0
+ e31: 0
+ e32: 0
+ e33: 1
+ - e00: 0.009999999
+ e01: -2.0005474e-10
+ e02: 3.2511216e-12
+ e03: -0.0000000015439197
+ e10: -1.6395532e-10
+ e11: 0.010000001
+ e12: -1.8973002e-11
+ e13: -0.0000000012093399
+ e20: -4.2946818e-10
+ e21: -4.1788129e-10
+ e22: 0.009999999
+ e23: -0.0000000013057958
+ e30: 0
+ e31: 0
+ e32: 0
+ e33: 1
+ - e00: 0.010000001
+ e01: 3.726944e-10
+ e02: 5.3673066e-10
+ e03: 1.5580591e-10
+ e10: 0.0000000013026871
+ e11: 0.010000002
+ e12: -0.0000000010960565
+ e13: -0.0000000014616557
+ e20: 1.8090399e-10
+ e21: -1.5331374e-10
+ e22: 0.010000001
+ e23: 5.446821e-10
+ e30: 0
+ e31: 0
+ e32: 0
+ e33: 1
+ - e00: 0.010000001
+ e01: 2.8404695e-10
+ e02: -6.672256e-10
+ e03: -4.769909e-10
+ e10: 3.9097892e-10
+ e11: 0.010000001
+ e12: 0.0000000017173647
+ e13: -6.9728295e-10
+ e20: -8.518635e-10
+ e21: 7.095676e-10
+ e22: 0.01
+ e23: 6.738029e-11
+ e30: 0
+ e31: 0
+ e32: 0
+ e33: 1
+ - e00: 0.009999999
+ e01: 0.0000000010420321
+ e02: -3.322202e-10
+ e03: -1.5636364e-10
+ e10: -0.0000000013187227
+ e11: 0.009999998
+ e12: 5.3889937e-10
+ e13: -9.64821e-11
+ e20: 3.3444691e-10
+ e21: -5.5645333e-10
+ e22: 0.009999999
+ e23: -5.6757193e-11
+ e30: 0
+ e31: 0
+ e32: 0
+ e33: 1
+ - e00: 0.010000003
+ e01: 4.2072146e-10
+ e02: 5.618227e-10
+ e03: 1.7785928e-10
+ e10: -7.3540257e-10
+ e11: 0.010000002
+ e12: -0.0000000012638903
+ e13: -1.1011328e-10
+ e20: -5.5322313e-10
+ e21: 0.0000000012722405
+ e22: 0.010000002
+ e23: -5.072202e-11
+ e30: 0
+ e31: 0
+ e32: 0
+ e33: 1
+ - e00: 0.010000001
+ e01: 6.683354e-10
+ e02: 0.000000002132226
+ e03: 3.103907e-10
+ e10: 3.26156e-10
+ e11: 0.009999999
+ e12: 6.094198e-10
+ e13: 8.095009e-10
+ e20: -0.000000002976244
+ e21: -0.0000000016442596
+ e22: 0.010000001
+ e23: -5.627835e-10
+ e30: 0
+ e31: 0
+ e32: 0
+ e33: 1
+ - e00: 0.01
+ e01: -3.526741e-10
+ e02: 6.55206e-10
+ e03: 7.563735e-10
+ e10: 0.0000000013196243
+ e11: 0.01
+ e12: -0.0000000012756434
+ e13: 0.0000000019979867
+ e20: -1.2951296e-10
+ e21: 2.8565778e-10
+ e22: 0.009999999
+ e23: -0.0000000011983955
+ e30: 0
+ e31: 0
+ e32: 0
+ e33: 1
+ - e00: 0.009999999
+ e01: -0.0000000013166096
+ e02: -2.8688829e-11
+ e03: 1.1329083e-10
+ e10: 2.1851883e-10
+ e11: 0.009999998
+ e12: 5.956538e-11
+ e13: -2.2497983e-10
+ e20: 1.125464e-10
+ e21: 3.2682032e-10
+ e22: 0.009999998
+ e23: -7.349515e-10
+ e30: 0
+ e31: 0
+ e32: 0
+ e33: 1
+ - e00: 0.010000002
+ e01: 0.0000000015219639
+ e02: 6.629249e-10
+ e03: 1.1884624e-10
+ e10: 4.77896e-10
+ e11: 0.01
+ e12: 9.561393e-10
+ e13: -7.4553635e-10
+ e20: -8.666068e-10
+ e21: 6.2856853e-10
+ e22: 0.01
+ e23: -4.9779947e-10
+ e30: 0
+ e31: 0
+ e32: 0
+ e33: 1
+ - e00: 0.010000003
+ e01: -4.694646e-10
+ e02: -5.9797883e-10
+ e03: -3.0646247e-10
+ e10: -0.0000000010498199
+ e11: 0.009999998
+ e12: -6.8816763e-10
+ e13: -2.7986147e-10
+ e20: 5.648182e-10
+ e21: 0.0000000018079198
+ e22: 0.009999999
+ e23: -9.1296276e-10
+ e30: 0
+ e31: 0
+ e32: 0
+ e33: 1
+ - e00: 0.01
+ e01: -1.1442261e-10
+ e02: -9.2100966e-11
+ e03: -0.0000000011445572
+ e10: -0.0000000012834203
+ e11: 0.009999999
+ e12: -7.6125595e-10
+ e13: 5.4620325e-10
+ e20: -7.823725e-11
+ e21: 0.0000000011470448
+ e22: 0.01
+ e23: 6.501415e-10
+ e30: 0
+ e31: 0
+ e32: 0
+ e33: 1
+ - e00: 0.01
+ e01: -0.0000000014773367
+ e02: -0.0000000014625413
+ e03: -7.0166933e-10
+ e10: -2.790304e-10
+ e11: 0.010000003
+ e12: -0.0000000010228921
+ e13: 5.208008e-11
+ e20: -2.4772173e-10
+ e21: 9.652716e-10
+ e22: 0.010000002
+ e23: -0.0000000016107695
+ e30: 0
+ e31: 0
+ e32: 0
+ e33: 1
+ - e00: 0.009999999
+ e01: 3.4819378e-10
+ e02: 3.6906617e-10
+ e03: -2.0018581e-10
+ e10: -1.6511317e-10
+ e11: 0.009999999
+ e12: -9.836602e-10
+ e13: 0.0000000012289421
+ e20: -7.6650145e-11
+ e21: -2.2995852e-10
+ e22: 0.009999998
+ e23: 1.3187833e-10
+ e30: 0
+ e31: 0
+ e32: 0
+ e33: 1
+ - e00: 0.009999999
+ e01: -2.731166e-10
+ e02: 2.1096011e-10
+ e03: 1.7589624e-11
+ e10: 5.4448016e-11
+ e11: 0.009999999
+ e12: -1.7196548e-10
+ e13: -5.914072e-10
+ e20: 2.7162844e-10
+ e21: -8.352502e-10
+ e22: 0.009999999
+ e23: 3.1913922e-10
+ e30: 0
+ e31: 0
+ e32: 0
+ e33: 1
+ - e00: 0.01
+ e01: -2.9992298e-10
+ e02: -5.016791e-10
+ e03: 1.6935274e-10
+ e10: -2.1741388e-10
+ e11: 0.01
+ e12: 3.681308e-10
+ e13: 0.0000000015080505
+ e20: 5.139086e-10
+ e21: 8.20746e-10
+ e22: 0.009999998
+ e23: -5.3913495e-11
+ e30: 0
+ e31: 0
+ e32: 0
+ e33: 1
+ - e00: 0.01
+ e01: -1.9090488e-10
+ e02: -6.2535493e-10
+ e03: -2.3333002e-12
+ e10: -3.46794e-10
+ e11: 0.01
+ e12: -0.0000000016183062
+ e13: -0.0000000014876533
+ e20: -1.0949564e-10
+ e21: -4.5500528e-10
+ e22: 0.01
+ e23: 0.0000000018226197
+ e30: 0
+ e31: 0
+ e32: 0
+ e33: 1
+ - e00: 0.010000001
+ e01: 0.0000000010262008
+ e02: -5.004627e-10
+ e03: -7.790904e-10
+ e10: -4.014371e-10
+ e11: 0.01
+ e12: -3.593869e-10
+ e13: 8.060198e-10
+ e20: 4.1574028e-10
+ e21: -6.242963e-10
+ e22: 0.009999999
+ e23: -0.000000001283228
+ e30: 0
+ e31: 0
+ e32: 0
+ e33: 1
+ - e00: 0.010000001
+ e01: 5.766267e-10
+ e02: 7.615505e-10
+ e03: 2.3660726e-10
+ e10: -2.0313254e-10
+ e11: 0.01
+ e12: -4.1091175e-10
+ e13: -4.7731694e-11
+ e20: -1.3177888e-10
+ e21: 0.000000001254259
+ e22: 0.010000002
+ e23: 7.095537e-10
+ e30: 0
+ e31: 0
+ e32: 0
+ e33: 1
+ - e00: 0.01
+ e01: 4.2995113e-10
+ e02: 1.5550189e-10
+ e03: 0.0000000015032762
+ e10: -0.0000000014883145
+ e11: 0.010000002
+ e12: -1.0212531e-10
+ e13: 4.0523504e-10
+ e20: -9.135358e-11
+ e21: -0.0000000013046761
+ e22: 0.01
+ e23: 7.9310625e-10
+ e30: 0
+ e31: 0
+ e32: 0
+ e33: 1
+ - e00: 0.01
+ e01: -1.5216398e-11
+ e02: 4.0790832e-10
+ e03: 9.246308e-11
+ e10: 6.3378613e-10
+ e11: 0.010000001
+ e12: 3.6529155e-10
+ e13: -1.6482335e-10
+ e20: 4.0319287e-10
+ e21: -3.4277833e-10
+ e22: 0.01
+ e23: -4.919766e-10
+ e30: 0
+ e31: 0
+ e32: 0
+ e33: 1
+ - e00: 0.009999999
+ e01: 4.142896e-10
+ e02: 4.8350673e-10
+ e03: -1.5612514e-10
+ e10: -9.190183e-11
+ e11: 0.009999999
+ e12: -2.0460328e-11
+ e13: 1.4335633e-10
+ e20: -2.4053942e-10
+ e21: 0.000000001636288
+ e22: 0.010000001
+ e23: -0.0000000036324161
+ e30: 0
+ e31: 0
+ e32: 0
+ e33: 1
+ - e00: 0.010000001
+ e01: 6.9169614e-10
+ e02: -3.165692e-10
+ e03: -4.3599763e-10
+ e10: -2.709373e-10
+ e11: 0.009999999
+ e12: -2.6777663e-11
+ e13: 4.6606674e-10
+ e20: 0.0000000017063344
+ e21: 7.830771e-10
+ e22: 0.009999999
+ e23: -5.083794e-10
+ e30: 0
+ e31: 0
+ e32: 0
+ e33: 1
+ - e00: 0.01
+ e01: -1.8483487e-10
+ e02: -2.6859975e-10
+ e03: -6.150626e-11
+ e10: -0.0000000010384353
+ e11: 0.009999999
+ e12: -0.0000000012536282
+ e13: -2.6038047e-11
+ e20: -5.5847993e-10
+ e21: -4.919856e-10
+ e22: 0.009999999
+ e23: 1.5994837e-10
+ e30: 0
+ e31: 0
+ e32: 0
+ e33: 1
+ - e00: 0.009999999
+ e01: 2.518717e-10
+ e02: -3.8673084e-10
+ e03: -1.0951632e-10
+ e10: -6.9983375e-10
+ e11: 0.009999999
+ e12: 1.14843884e-10
+ e13: -5.0586263e-10
+ e20: 7.739478e-10
+ e21: 5.2168797e-10
+ e22: 0.009999998
+ e23: 2.3293395e-10
+ e30: 0
+ e31: 0
+ e32: 0
+ e33: 1
+ - e00: 0.010000001
+ e01: -1.2236658e-10
+ e02: -9.638497e-10
+ e03: 3.56073e-10
+ e10: -1.6520989e-10
+ e11: 0.009999998
+ e12: 0.0000000030352758
+ e13: 0.0000000012317363
+ e20: -2.0636794e-11
+ e21: -0.0000000020795945
+ e22: 0.01
+ e23: 2.8793912e-10
+ e30: 0
+ e31: 0
+ e32: 0
+ e33: 1
+ - e00: 0.010000001
+ e01: 6.585922e-10
+ e02: 5.4437246e-11
+ e03: 2.0006628e-10
+ e10: 6.095916e-10
+ e11: 0.009999998
+ e12: -0.0000000013849754
+ e13: -0.0000000011606959
+ e20: 1.8648995e-10
+ e21: -5.8486077e-10
+ e22: 0.009999997
+ e23: -4.3807978e-11
+ e30: 0
+ e31: 0
+ e32: 0
+ e33: 1
+ - e00: 0.009999999
+ e01: -1.4075792e-10
+ e02: -7.0570094e-10
+ e03: 0.0000000013299344
+ e10: -0.0000000010006702
+ e11: 0.01
+ e12: 4.7960813e-10
+ e13: 5.080205e-10
+ e20: 4.9366905e-10
+ e21: 4.669871e-10
+ e22: 0.010000002
+ e23: 6.210011e-10
+ e30: 0
+ e31: 0
+ e32: 0
+ e33: 1
+ - e00: 0.009999998
+ e01: 2.478517e-10
+ e02: 0.0000000014377245
+ e03: 0.0000000010176396
+ e10: -2.7706618e-10
+ e11: 0.01
+ e12: -9.102438e-11
+ e13: 6.329045e-10
+ e20: 1.1583105e-10
+ e21: 4.8245442e-11
+ e22: 0.01
+ e23: 3.3367029e-10
+ e30: 0
+ e31: 0
+ e32: 0
+ e33: 1
+ - e00: 0.010000002
+ e01: 4.294587e-10
+ e02: 1.4962559e-10
+ e03: 1.8136195e-10
+ e10: 5.096351e-10
+ e11: 0.009999999
+ e12: -0.0000000013914712
+ e13: -1.4290684e-10
+ e20: 3.6416178e-10
+ e21: 5.128705e-10
+ e22: 0.009999999
+ e23: -8.155145e-10
+ e30: 0
+ e31: 0
+ e32: 0
+ e33: 1
+ - e00: 0.010000002
+ e01: -1.9491841e-10
+ e02: -3.6277747e-10
+ e03: 7.718559e-11
+ e10: -1.3148033e-10
+ e11: 0.01
+ e12: 2.99117e-10
+ e13: 5.387262e-10
+ e20: -3.0284217e-10
+ e21: -0.0000000013918344
+ e22: 0.009999999
+ e23: 0.0000000018236033
+ e30: 0
+ e31: 0
+ e32: 0
+ e33: 1
+ - e00: 0.009999998
+ e01: -0.0000000010996817
+ e02: -1.3225279e-10
+ e03: 2.2789677e-10
+ e10: -8.9591494e-11
+ e11: 0.009999998
+ e12: -5.553943e-10
+ e13: 1.07019955e-10
+ e20: 0.0000000013214192
+ e21: 2.7462058e-10
+ e22: 0.009999997
+ e23: 4.806655e-10
+ e30: 0
+ e31: 0
+ e32: 0
+ e33: 1
+ - e00: 0.010000001
+ e01: 8.346982e-10
+ e02: 1.1744515e-10
+ e03: -5.124199e-10
+ e10: -0.0000000024047078
+ e11: 0.010000001
+ e12: 1.621422e-10
+ e13: 6.943731e-10
+ e20: -0.0000000010870158
+ e21: 2.4408098e-10
+ e22: 0.010000001
+ e23: 4.446847e-10
+ e30: 0
+ e31: 0
+ e32: 0
+ e33: 1
+ - e00: 0.010000001
+ e01: -0.0000000010798072
+ e02: -3.814341e-10
+ e03: -4.4985102e-10
+ e10: 0.0000000010557382
+ e11: 0.010000001
+ e12: -1.9180418e-10
+ e13: -7.577316e-10
+ e20: 7.826962e-10
+ e21: -4.6186144e-10
+ e22: 0.01
+ e23: -2.6570668e-10
+ e30: 0
+ e31: 0
+ e32: 0
+ e33: 1
+ - e00: 0.010000001
+ e01: -1.4627749e-10
+ e02: -5.863823e-10
+ e03: 1.4150742e-10
+ e10: 1.7026845e-10
+ e11: 0.01
+ e12: -7.2743733e-10
+ e13: 4.6113363e-10
+ e20: 2.2740884e-10
+ e21: 0.0000000010868345
+ e22: 0.010000001
+ e23: 3.721795e-10
+ e30: 0
+ e31: 0
+ e32: 0
+ e33: 1
+ - e00: 0.01
+ e01: 6.8678105e-11
+ e02: 4.0114696e-11
+ e03: 7.592933e-11
+ e10: 2.46149e-10
+ e11: 0.010000002
+ e12: -1.4095914e-11
+ e13: 6.8602624e-10
+ e20: -1.2898965e-10
+ e21: -4.632541e-10
+ e22: 0.01
+ e23: 4.7221427e-10
+ e30: 0
+ e31: 0
+ e32: 0
+ e33: 1
+ - e00: 0.010000001
+ e01: 6.6214056e-10
+ e02: -4.8153864e-10
+ e03: 3.5366624e-10
+ e10: 7.376967e-10
+ e11: 0.009999999
+ e12: 0.0000000010847191
+ e13: 8.379543e-10
+ e20: 2.2671516e-10
+ e21: 6.414357e-10
+ e22: 0.009999998
+ e23: -0.0000000015981908
+ e30: 0
+ e31: 0
+ e32: 0
+ e33: 1
+ - e00: 0.009999998
+ e01: -0.00000000101584
+ e02: 7.3904327e-10
+ e03: 0.0000000011535938
+ e10: 9.416012e-10
+ e11: 0.01
+ e12: -4.8490967e-10
+ e13: -3.0371772e-10
+ e20: -0.0000000013320481
+ e21: 4.532489e-10
+ e22: 0.009999998
+ e23: 6.3069516e-10
+ e30: 0
+ e31: 0
+ e32: 0
+ e33: 1
+ - e00: 0.009999999
+ e01: 5.8164507e-10
+ e02: 7.6719703e-10
+ e03: 8.087045e-11
+ e10: -6.115554e-11
+ e11: 0.01
+ e12: -4.1523526e-10
+ e13: -1.5769143e-10
+ e20: -8.4125734e-10
+ e21: 4.752533e-10
+ e22: 0.01
+ e23: 7.2955325e-10
+ e30: 0
+ e31: 0
+ e32: 0
+ e33: 1
+ - e00: 0.01
+ e01: -4.816986e-10
+ e02: -8.817604e-10
+ e03: 1.794324e-10
+ e10: -6.9741574e-10
+ e11: 0.01
+ e12: -2.37245e-10
+ e13: 2.669381e-10
+ e20: 5.816731e-10
+ e21: -9.878391e-10
+ e22: 0.009999999
+ e23: 2.8877187e-10
+ e30: 0
+ e31: 0
+ e32: 0
+ e33: 1
+ - e00: 0.010000003
+ e01: 7.566947e-11
+ e02: -4.4522988e-10
+ e03: 8.3230506e-11
+ e10: 1.8184113e-10
+ e11: 0.010000002
+ e12: 0.0000000013750941
+ e13: 1.6489998e-10
+ e20: -1.0956086e-10
+ e21: -5.0757374e-11
+ e22: 0.01
+ e23: 3.324493e-11
+ e30: 0
+ e31: 0
+ e32: 0
+ e33: 1
+ - e00: 0.01
+ e01: 4.430731e-10
+ e02: 4.3989548e-11
+ e03: -4.0796283e-10
+ e10: -0.0000000010698074
+ e11: 0.009999999
+ e12: -2.3068619e-10
+ e13: -2.2944714e-10
+ e20: 1.2138059e-10
+ e21: 0.0000000014421481
+ e22: 0.010000001
+ e23: 0.0000000010640246
+ e30: 0
+ e31: 0
+ e32: 0
+ e33: 1
+ - e00: 0.01
+ e01: -3.794805e-10
+ e02: 6.193438e-10
+ e03: -7.952272e-10
+ e10: 4.877445e-10
+ e11: 0.01
+ e12: 6.3579336e-10
+ e13: 0.0000000013757376
+ e20: -8.815791e-10
+ e21: -9.8424255e-11
+ e22: 0.009999999
+ e23: -0.0000000015767805
+ e30: 0
+ e31: 0
+ e32: 0
+ e33: 1
+ - e00: 0.01
+ e01: -5.4529853e-11
+ e02: 2.7075248e-10
+ e03: 6.134064e-11
+ e10: -1.4489418e-10
+ e11: 0.01
+ e12: -0.0000000015461654
+ e13: -0.0000000015502751
+ e20: -6.2473604e-10
+ e21: -6.7128436e-10
+ e22: 0.010000001
+ e23: 9.860053e-10
+ e30: 0
+ e31: 0
+ e32: 0
+ e33: 1
+ - e00: 0.01
+ e01: -2.919202e-10
+ e02: -9.697724e-10
+ e03: 6.459887e-11
+ e10: -1.7521051e-10
+ e11: 0.009999999
+ e12: -0.0000000033810068
+ e13: -0.000000001357738
+ e20: 1.6168746e-10
+ e21: 4.029802e-10
+ e22: 0.009999999
+ e23: -0.0000000010747425
+ e30: 0
+ e31: 0
+ e32: 0
+ e33: 1
+ - e00: 0.010000001
+ e01: 5.67364e-10
+ e02: -0.0000000014948516
+ e03: 4.9361626e-12
+ e10: 2.128257e-10
+ e11: 0.010000002
+ e12: 0.0000000035141714
+ e13: 5.8957325e-11
+ e20: 0.0000000013721588
+ e21: -0.0000000022723137
+ e22: 0.010000001
+ e23: 4.770327e-10
+ e30: 0
+ e31: 0
+ e32: 0
+ e33: 1
+ - e00: 0.01
+ e01: 6.008652e-11
+ e02: 3.5405234e-10
+ e03: 4.725371e-10
+ e10: 4.3614418e-10
+ e11: 0.009999999
+ e12: 2.419942e-10
+ e13: -0.0000000013410799
+ e20: 8.079286e-10
+ e21: 7.85005e-10
+ e22: 0.009999999
+ e23: -6.988542e-10
+ e30: 0
+ e31: 0
+ e32: 0
+ e33: 1
+ - e00: 0.009999999
+ e01: 0.0000000016975628
+ e02: -4.4639442e-10
+ e03: -6.701428e-10
+ e10: -6.2603434e-10
+ e11: 0.009999998
+ e12: 0.000000001241912
+ e13: 9.1148566e-10
+ e20: 1.2992477e-10
+ e21: -2.1372842e-10
+ e22: 0.009999999
+ e23: -2.911554e-10
+ e30: 0
+ e31: 0
+ e32: 0
+ e33: 1
+ - e00: 0.01
+ e01: -0.000000001442563
+ e02: 5.0613463e-10
+ e03: 0.0000000013242976
+ e10: 7.241353e-10
+ e11: 0.010000001
+ e12: 2.5723657e-10
+ e13: -0.0000000014147087
+ e20: -6.8196365e-10
+ e21: 0.0000000010653752
+ e22: 0.010000001
+ e23: 1.7217228e-10
+ e30: 0
+ e31: 0
+ e32: 0
+ e33: 1
+ - e00: 0.01
+ e01: -8.8662533e-10
+ e02: -8.5291085e-10
+ e03: -4.751012e-10
+ e10: 8.445731e-10
+ e11: 0.01
+ e12: 0.0000000011099086
+ e13: -8.2740245e-11
+ e20: 0.0000000012899879
+ e21: 1.3388257e-10
+ e22: 0.009999999
+ e23: -0.0000000011650435
+ e30: 0
+ e31: 0
+ e32: 0
+ e33: 1
+ - e00: 0.009999999
+ e01: 9.281244e-11
+ e02: 4.5221013e-10
+ e03: -1.0674428e-10
+ e10: -2.65695e-10
+ e11: 0.009999999
+ e12: -2.0874315e-10
+ e13: -0.0000000012079089
+ e20: 6.160315e-11
+ e21: -3.5563713e-10
+ e22: 0.009999998
+ e23: -2.6290337e-10
+ e30: 0
+ e31: 0
+ e32: 0
+ e33: 1
+ - e00: 0.009999999
+ e01: 4.8528304e-10
+ e02: 3.1751116e-11
+ e03: -3.195751e-10
+ e10: -0.0000000012454383
+ e11: 0.009999998
+ e12: 0.0000000017755288
+ e13: -5.8712546e-10
+ e20: -5.3334104e-10
+ e21: 3.839301e-11
+ e22: 0.009999999
+ e23: -3.983587e-10
+ e30: 0
+ e31: 0
+ e32: 0
+ e33: 1
diff --git a/unity/Assets/Art/Collection/c06-point-fire-v1/c06-point-fire-v1.prefab.meta b/unity/Assets/Art/Collection/c06-point-fire-v1/c06-point-fire-v1.prefab.meta
new file mode 100644
index 000000000..0637bff0e
--- /dev/null
+++ b/unity/Assets/Art/Collection/c06-point-fire-v1/c06-point-fire-v1.prefab.meta
@@ -0,0 +1,7 @@
+fileFormatVersion: 2
+guid: 8d362ffa713c344b3bdc374eeb28b43a
+PrefabImporter:
+ externalObjects: {}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/unity/Assets/Art/Collection/weapon-k98k-v1.meta b/unity/Assets/Art/Collection/weapon-k98k-v1.meta
new file mode 100644
index 000000000..07e2d02f7
--- /dev/null
+++ b/unity/Assets/Art/Collection/weapon-k98k-v1.meta
@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: b56fa0f96e4a045d18c629db4ada6595
+folderAsset: yes
+DefaultImporter:
+ externalObjects: {}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/unity/Assets/Art/Collection/weapon-k98k-v1/provenance.json b/unity/Assets/Art/Collection/weapon-k98k-v1/provenance.json
new file mode 100644
index 000000000..39ca786f2
--- /dev/null
+++ b/unity/Assets/Art/Collection/weapon-k98k-v1/provenance.json
@@ -0,0 +1,22 @@
+{
+ "id": "weapon-k98k-v1",
+ "source": "asset-sources/prepared-weapons-20261031/k98k/statecraft-k98k-approved-textured-b48a435f.glb",
+ "source_glb_sha256": "325d86cb42490ad95ed8c367e2c7511fc3bb9c676d6a797074a6ba74a01c7da5",
+ "creator_credit": "Tal Heuberger",
+ "licence": "CC-BY-NC-ND-4.0",
+ "pull_request": 2083,
+ "texture_dimensions": [
+ 2048,
+ 2048
+ ],
+ "texture_sha256": "615e7f6f28db4cec59704c2b8cc554e5e9e4736bc0692ab6a79e98de57f3b57a",
+ "compatibility_fbx_sha256": "24f360c34f364daeb12fba4eb25eeb6f5220a50a61bfd7f98979d999377db9f4",
+ "triangles": 5485,
+ "geometry_max_vertex_error": 2.8870999813079834e-08,
+ "uv_max_error": 0.0,
+ "triangle_connectivity": "identical",
+ "blender": "5.0.1",
+ "decimation": false,
+ "welding": false,
+ "conversion": "Standard glTF Y-up / FBX Y-up compatibility export (Tal's permission of 31 October 2026 covers export conversions); no pivot, mesh or UV rewrite; no clips in the source; map copied byte for byte from the delivered JPG"
+}
diff --git a/unity/Assets/Art/Collection/weapon-k98k-v1/provenance.json.meta b/unity/Assets/Art/Collection/weapon-k98k-v1/provenance.json.meta
new file mode 100644
index 000000000..ba4969c5a
--- /dev/null
+++ b/unity/Assets/Art/Collection/weapon-k98k-v1/provenance.json.meta
@@ -0,0 +1,7 @@
+fileFormatVersion: 2
+guid: cb6f57f197d6a458eb0906d0267fbde4
+TextScriptImporter:
+ externalObjects: {}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/unity/Assets/Art/Collection/weapon-k98k-v1/weapon-k98k-v1.fbx b/unity/Assets/Art/Collection/weapon-k98k-v1/weapon-k98k-v1.fbx
new file mode 100644
index 000000000..81eb5b876
Binary files /dev/null and b/unity/Assets/Art/Collection/weapon-k98k-v1/weapon-k98k-v1.fbx differ
diff --git a/unity/Assets/Art/Collection/weapon-k98k-v1/weapon-k98k-v1.fbx.meta b/unity/Assets/Art/Collection/weapon-k98k-v1/weapon-k98k-v1.fbx.meta
new file mode 100644
index 000000000..eca91bb1a
--- /dev/null
+++ b/unity/Assets/Art/Collection/weapon-k98k-v1/weapon-k98k-v1.fbx.meta
@@ -0,0 +1,111 @@
+fileFormatVersion: 2
+guid: 66afb01fd8614934b82ffcf039833fd9
+ModelImporter:
+ serializedVersion: 24300
+ internalIDToNameTable: []
+ externalObjects: {}
+ materials:
+ materialImportMode: 0
+ materialName: 0
+ materialSearch: 1
+ materialLocation: 1
+ searchTexturesGlobally: 0
+ animations:
+ legacyGenerateAnimations: 4
+ bakeSimulation: 0
+ resampleCurves: 1
+ optimizeGameObjects: 0
+ removeConstantScaleCurves: 0
+ motionNodeName:
+ animationImportErrors:
+ animationImportWarnings:
+ animationRetargetingWarnings:
+ animationDoRetargetingWarnings: 0
+ importAnimatedCustomProperties: 0
+ importConstraints: 0
+ animationCompression: 0
+ animationRotationError: 0.5
+ animationPositionError: 0.5
+ animationScaleError: 0.5
+ animationWrapMode: 0
+ extraExposedTransformPaths: []
+ extraUserProperties: []
+ clipAnimations: []
+ isReadable: 0
+ meshes:
+ lODScreenPercentages: []
+ globalScale: 1
+ meshCompression: 0
+ addColliders: 0
+ useSRGBMaterialColor: 1
+ sortHierarchyByName: 1
+ importPhysicalCameras: 1
+ importVisibility: 1
+ importBlendShapes: 1
+ importCameras: 0
+ importLights: 0
+ nodeNameCollisionStrategy: 1
+ fileIdsGeneration: 2
+ swapUVChannels: 0
+ generateSecondaryUV: 0
+ useFileUnits: 1
+ keepQuads: 0
+ weldVertices: 1
+ bakeAxisConversion: 0
+ preserveHierarchy: 0
+ skinWeightsMode: 0
+ maxBonesPerVertex: 4
+ minBoneWeight: 0.001
+ optimizeBones: 1
+ generateMeshLods: 0
+ meshLodGenerationFlags: 0
+ maximumMeshLod: -1
+ meshOptimizationFlags: -4
+ indexFormat: 0
+ secondaryUVAngleDistortion: 8
+ secondaryUVAreaDistortion: 15.000001
+ secondaryUVHardAngle: 88
+ secondaryUVMarginMethod: 1
+ secondaryUVMinLightmapResolution: 40
+ secondaryUVMinObjectScale: 1
+ secondaryUVPackMargin: 4
+ useFileScale: 1
+ strictVertexDataChecks: 0
+ tangentSpace:
+ normalSmoothAngle: 60
+ normalImportMode: 0
+ tangentImportMode: 3
+ normalCalculationMode: 4
+ legacyComputeAllNormalsFromSmoothingGroupsWhenMeshHasBlendShapes: 0
+ blendShapeNormalImportMode: 1
+ normalSmoothingSource: 0
+ referencedClips: []
+ importAnimation: 1
+ humanDescription:
+ serializedVersion: 3
+ human: []
+ skeleton: []
+ armTwist: 0.5
+ foreArmTwist: 0.5
+ upperLegTwist: 0.5
+ legTwist: 0.5
+ armStretch: 0.05
+ legStretch: 0.05
+ feetSpacing: 0
+ globalScale: 1
+ rootMotionBoneName:
+ hasTranslationDoF: 0
+ hasExtraRoot: 0
+ skeletonHasParents: 1
+ lastHumanDescriptionAvatarSource: {instanceID: 0}
+ autoGenerateAvatarMappingIfUnspecified: 1
+ animationType: 0
+ humanoidOversampling: 1
+ avatarSetup: 0
+ addHumanoidExtraRootOnlyWhenUsingAvatar: 1
+ importBlendShapeDeformPercent: 1
+ remapMaterialsIfMaterialImportModeIsNone: 0
+ additionalBone: 0
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/unity/Assets/Art/Collection/weapon-k98k-v1/weapon-k98k-v1.mat b/unity/Assets/Art/Collection/weapon-k98k-v1/weapon-k98k-v1.mat
new file mode 100644
index 000000000..005490e4e
--- /dev/null
+++ b/unity/Assets/Art/Collection/weapon-k98k-v1/weapon-k98k-v1.mat
@@ -0,0 +1,137 @@
+%YAML 1.1
+%TAG !u! tag:unity3d.com,2011:
+--- !u!114 &-1749340758764622553
+MonoBehaviour:
+ m_ObjectHideFlags: 11
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 0}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: d0353a89b1f911e48b9e16bdc9f2e058, type: 3}
+ m_Name:
+ m_EditorClassIdentifier: Unity.RenderPipelines.Universal.Editor::UnityEditor.Rendering.Universal.AssetVersion
+ version: 10
+--- !u!21 &2100000
+Material:
+ serializedVersion: 8
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_Name: weapon-k98k-v1
+ m_Shader: {fileID: 4800000, guid: 933532a4fcc9baf4fa0491de14d08ed7, type: 3}
+ m_Parent: {fileID: 0}
+ m_ModifiedSerializedProperties: 0
+ m_ValidKeywords: []
+ m_InvalidKeywords: []
+ m_LightmapFlags: 4
+ m_EnableInstancingVariants: 1
+ m_DoubleSidedGI: 1
+ m_CustomRenderQueue: -1
+ stringTagMap:
+ RenderType: Opaque
+ disabledShaderPasses:
+ - MOTIONVECTORS
+ m_LockedProperties:
+ m_SavedProperties:
+ serializedVersion: 3
+ m_TexEnvs:
+ - _BaseMap:
+ m_Texture: {fileID: 2800000, guid: 5d2d3e82fad64b6cb74444d3bbabfcd2, type: 3}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _BumpMap:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _DetailAlbedoMap:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _DetailMask:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _DetailNormalMap:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _EmissionMap:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _MainTex:
+ m_Texture: {fileID: 2800000, guid: 5d2d3e82fad64b6cb74444d3bbabfcd2, type: 3}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _MetallicGlossMap:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _OcclusionMap:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _ParallaxMap:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _SpecGlossMap:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - unity_Lightmaps:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - unity_LightmapsInd:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - unity_ShadowMasks:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ m_Ints: []
+ m_Floats:
+ - _AddPrecomputedVelocity: 0
+ - _AlphaClip: 0
+ - _AlphaToMask: 0
+ - _Blend: 0
+ - _BlendModePreserveSpecular: 1
+ - _BumpScale: 1
+ - _ClearCoatMask: 0
+ - _ClearCoatSmoothness: 0
+ - _Cull: 0
+ - _Cutoff: 0.5
+ - _DetailAlbedoMapScale: 1
+ - _DetailNormalMapScale: 1
+ - _DstBlend: 0
+ - _DstBlendAlpha: 0
+ - _EnvironmentReflections: 1
+ - _GlossMapScale: 0
+ - _Glossiness: 0
+ - _GlossyReflections: 0
+ - _Metallic: 0
+ - _OcclusionStrength: 1
+ - _Parallax: 0.005
+ - _QueueOffset: 0
+ - _ReceiveShadows: 1
+ - _Smoothness: 0
+ - _SmoothnessTextureChannel: 0
+ - _SpecularHighlights: 1
+ - _SrcBlend: 1
+ - _SrcBlendAlpha: 1
+ - _Surface: 0
+ - _WorkflowMode: 1
+ - _XRMotionVectorsPass: 1
+ - _ZWrite: 1
+ m_Colors:
+ - _BaseColor: {r: 1, g: 1, b: 1, a: 1}
+ - _Color: {r: 1, g: 1, b: 1, a: 1}
+ - _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
+ - _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1}
+ m_BuildTextureStacks: []
+ m_AllowLocking: 1
diff --git a/unity/Assets/Art/Collection/weapon-k98k-v1/weapon-k98k-v1.mat.meta b/unity/Assets/Art/Collection/weapon-k98k-v1/weapon-k98k-v1.mat.meta
new file mode 100644
index 000000000..d6792cfce
--- /dev/null
+++ b/unity/Assets/Art/Collection/weapon-k98k-v1/weapon-k98k-v1.mat.meta
@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: af0596938db5d4bd887ff248c53b2f24
+NativeFormatImporter:
+ externalObjects: {}
+ mainObjectFileID: 2100000
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/unity/Assets/Art/Collection/weapon-k98k-v1/weapon-k98k-v1.prefab b/unity/Assets/Art/Collection/weapon-k98k-v1/weapon-k98k-v1.prefab
new file mode 100644
index 000000000..1f283cec0
--- /dev/null
+++ b/unity/Assets/Art/Collection/weapon-k98k-v1/weapon-k98k-v1.prefab
@@ -0,0 +1,63 @@
+%YAML 1.1
+%TAG !u! tag:unity3d.com,2011:
+--- !u!1001 &1931848599173997386
+PrefabInstance:
+ m_ObjectHideFlags: 0
+ serializedVersion: 2
+ m_Modification:
+ serializedVersion: 3
+ m_TransformParent: {fileID: 0}
+ m_Modifications:
+ - target: {fileID: -8679921383154817045, guid: 66afb01fd8614934b82ffcf039833fd9, type: 3}
+ propertyPath: m_LocalPosition.x
+ value: -0
+ objectReference: {fileID: 0}
+ - target: {fileID: -8679921383154817045, guid: 66afb01fd8614934b82ffcf039833fd9, type: 3}
+ propertyPath: m_LocalPosition.y
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: -8679921383154817045, guid: 66afb01fd8614934b82ffcf039833fd9, type: 3}
+ propertyPath: m_LocalPosition.z
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: -8679921383154817045, guid: 66afb01fd8614934b82ffcf039833fd9, type: 3}
+ propertyPath: m_LocalRotation.w
+ value: 0.7071067
+ objectReference: {fileID: 0}
+ - target: {fileID: -8679921383154817045, guid: 66afb01fd8614934b82ffcf039833fd9, type: 3}
+ propertyPath: m_LocalRotation.x
+ value: -0.7071068
+ objectReference: {fileID: 0}
+ - target: {fileID: -8679921383154817045, guid: 66afb01fd8614934b82ffcf039833fd9, type: 3}
+ propertyPath: m_LocalRotation.y
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: -8679921383154817045, guid: 66afb01fd8614934b82ffcf039833fd9, type: 3}
+ propertyPath: m_LocalRotation.z
+ value: -0
+ objectReference: {fileID: 0}
+ - target: {fileID: -8679921383154817045, guid: 66afb01fd8614934b82ffcf039833fd9, type: 3}
+ propertyPath: m_LocalEulerAnglesHint.x
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: -8679921383154817045, guid: 66afb01fd8614934b82ffcf039833fd9, type: 3}
+ propertyPath: m_LocalEulerAnglesHint.y
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: -8679921383154817045, guid: 66afb01fd8614934b82ffcf039833fd9, type: 3}
+ propertyPath: m_LocalEulerAnglesHint.z
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: -7511558181221131132, guid: 66afb01fd8614934b82ffcf039833fd9, type: 3}
+ propertyPath: 'm_Materials.Array.data[0]'
+ value:
+ objectReference: {fileID: 2100000, guid: af0596938db5d4bd887ff248c53b2f24, type: 2}
+ - target: {fileID: 919132149155446097, guid: 66afb01fd8614934b82ffcf039833fd9, type: 3}
+ propertyPath: m_Name
+ value: weapon-k98k-v1
+ objectReference: {fileID: 0}
+ m_RemovedComponents: []
+ m_RemovedGameObjects: []
+ m_AddedGameObjects: []
+ m_AddedComponents: []
+ m_SourcePrefab: {fileID: 100100000, guid: 66afb01fd8614934b82ffcf039833fd9, type: 3}
diff --git a/unity/Assets/Art/Collection/weapon-k98k-v1/weapon-k98k-v1.prefab.meta b/unity/Assets/Art/Collection/weapon-k98k-v1/weapon-k98k-v1.prefab.meta
new file mode 100644
index 000000000..ba51ae725
--- /dev/null
+++ b/unity/Assets/Art/Collection/weapon-k98k-v1/weapon-k98k-v1.prefab.meta
@@ -0,0 +1,7 @@
+fileFormatVersion: 2
+guid: 5a6a9777215fb4a0eaaff001c5f01756
+PrefabImporter:
+ externalObjects: {}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/unity/Assets/Art/Collection/weapon-k98k-v1/weapon-k98k-v1_basecolor.jpg b/unity/Assets/Art/Collection/weapon-k98k-v1/weapon-k98k-v1_basecolor.jpg
new file mode 100644
index 000000000..8bf99e4b5
Binary files /dev/null and b/unity/Assets/Art/Collection/weapon-k98k-v1/weapon-k98k-v1_basecolor.jpg differ
diff --git a/unity/Assets/Art/Collection/weapon-k98k-v1/weapon-k98k-v1_basecolor.jpg.meta b/unity/Assets/Art/Collection/weapon-k98k-v1/weapon-k98k-v1_basecolor.jpg.meta
new file mode 100644
index 000000000..6b60008d8
--- /dev/null
+++ b/unity/Assets/Art/Collection/weapon-k98k-v1/weapon-k98k-v1_basecolor.jpg.meta
@@ -0,0 +1,130 @@
+fileFormatVersion: 2
+guid: 5d2d3e82fad64b6cb74444d3bbabfcd2
+TextureImporter:
+ internalIDToNameTable: []
+ externalObjects: {}
+ serializedVersion: 13
+ mipmaps:
+ mipMapMode: 0
+ enableMipMap: 1
+ sRGBTexture: 1
+ linearTexture: 0
+ fadeOut: 0
+ borderMipMap: 0
+ mipMapsPreserveCoverage: 0
+ alphaTestReferenceValue: 0.5
+ mipMapFadeDistanceStart: 1
+ mipMapFadeDistanceEnd: 3
+ bumpmap:
+ convertToNormalMap: 0
+ externalNormalMap: 0
+ heightScale: 0.25
+ normalMapFilter: 0
+ flipGreenChannel: 0
+ isReadable: 0
+ streamingMipmaps: 0
+ streamingMipmapsPriority: 0
+ vTOnly: 0
+ ignoreMipmapLimit: 0
+ grayScaleToAlpha: 0
+ generateCubemap: 6
+ cubemapConvolution: 0
+ seamlessCubemap: 0
+ textureFormat: 1
+ maxTextureSize: 4096
+ textureSettings:
+ serializedVersion: 2
+ filterMode: 1
+ aniso: 1
+ mipBias: 0
+ wrapU: 0
+ wrapV: 0
+ wrapW: 0
+ nPOTScale: 1
+ lightmap: 0
+ compressionQuality: 100
+ spriteMode: 0
+ spriteExtrude: 1
+ spriteMeshType: 1
+ alignment: 0
+ spritePivot: {x: 0.5, y: 0.5}
+ spritePixelsToUnits: 100
+ spriteBorder: {x: 0, y: 0, z: 0, w: 0}
+ spriteGenerateFallbackPhysicsShape: 1
+ alphaUsage: 1
+ alphaIsTransparency: 0
+ spriteTessellationDetail: -1
+ textureType: 0
+ textureShape: 1
+ singleChannelComponent: 0
+ flipbookRows: 1
+ flipbookColumns: 1
+ maxTextureSizeSet: 0
+ compressionQualitySet: 0
+ textureFormatSet: 0
+ ignorePngGamma: 0
+ applyGammaDecoding: 0
+ swizzle: 50462976
+ cookieLightType: 0
+ platformSettings:
+ - serializedVersion: 4
+ buildTarget: DefaultTexturePlatform
+ 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: 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
+ ignorePlatformSupport: 0
+ androidETC2FallbackOverride: 0
+ forceMaximumCompressionQuality_BC6H_BC7: 0
+ spriteSheet:
+ serializedVersion: 2
+ sprites: []
+ outline: []
+ customData:
+ physicsShape: []
+ bones: []
+ spriteID:
+ internalID: 0
+ vertices: []
+ indices:
+ edges: []
+ weights: []
+ secondaryTextures: []
+ spriteCustomMetadata:
+ entries: []
+ nameFileIdTable: {}
+ mipmapLimitGroupName:
+ pSDRemoveMatte: 0
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/unity/Assets/Art/Collection/weapon-sten-v1.meta b/unity/Assets/Art/Collection/weapon-sten-v1.meta
new file mode 100644
index 000000000..8f04ac8cf
--- /dev/null
+++ b/unity/Assets/Art/Collection/weapon-sten-v1.meta
@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: 89ddadd8a7c814acdb4e20bdcd5d2448
+folderAsset: yes
+DefaultImporter:
+ externalObjects: {}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/unity/Assets/Art/Collection/weapon-sten-v1/provenance.json b/unity/Assets/Art/Collection/weapon-sten-v1/provenance.json
new file mode 100644
index 000000000..280f934fb
--- /dev/null
+++ b/unity/Assets/Art/Collection/weapon-sten-v1/provenance.json
@@ -0,0 +1,22 @@
+{
+ "id": "weapon-sten-v1",
+ "source": "asset-sources/prepared-weapons-20261031/sten/statecraft-sten-approved-textured-bc6b06c8.glb",
+ "source_glb_sha256": "3c0d0cc4d3c9d086a4883ea23a2940a311f6c4548233a3403c515ad636753f1e",
+ "creator_credit": "Tal Heuberger",
+ "licence": "CC-BY-NC-ND-4.0",
+ "pull_request": 2083,
+ "texture_dimensions": [
+ 2048,
+ 2048
+ ],
+ "texture_sha256": "c5ba4fbddd345bbf5da58be295b330981650f52b9e15f0d285e8fe5425b0d270",
+ "compatibility_fbx_sha256": "e4d07630ac3d161e5930e3edee35b16e74569b114f86bfa66ede163941d725da",
+ "triangles": 4851,
+ "geometry_max_vertex_error": 4.214684778958144e-08,
+ "uv_max_error": 0.0,
+ "triangle_connectivity": "identical",
+ "blender": "5.0.1",
+ "decimation": false,
+ "welding": false,
+ "conversion": "Standard glTF Y-up / FBX Y-up compatibility export (Tal's permission of 31 October 2026 covers export conversions); no pivot, mesh or UV rewrite; no clips in the source; map copied byte for byte from the delivered JPG"
+}
diff --git a/unity/Assets/Art/Collection/weapon-sten-v1/provenance.json.meta b/unity/Assets/Art/Collection/weapon-sten-v1/provenance.json.meta
new file mode 100644
index 000000000..0f0861e4a
--- /dev/null
+++ b/unity/Assets/Art/Collection/weapon-sten-v1/provenance.json.meta
@@ -0,0 +1,7 @@
+fileFormatVersion: 2
+guid: f563ce3cb54e146d3b8ba1b7e08d1255
+TextScriptImporter:
+ externalObjects: {}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/unity/Assets/Art/Collection/weapon-sten-v1/weapon-sten-v1.fbx b/unity/Assets/Art/Collection/weapon-sten-v1/weapon-sten-v1.fbx
new file mode 100644
index 000000000..3fc98adfa
Binary files /dev/null and b/unity/Assets/Art/Collection/weapon-sten-v1/weapon-sten-v1.fbx differ
diff --git a/unity/Assets/Art/Collection/weapon-sten-v1/weapon-sten-v1.fbx.meta b/unity/Assets/Art/Collection/weapon-sten-v1/weapon-sten-v1.fbx.meta
new file mode 100644
index 000000000..f93cb465f
--- /dev/null
+++ b/unity/Assets/Art/Collection/weapon-sten-v1/weapon-sten-v1.fbx.meta
@@ -0,0 +1,111 @@
+fileFormatVersion: 2
+guid: 12c3477d55a34016ab354070a7213ddf
+ModelImporter:
+ serializedVersion: 24300
+ internalIDToNameTable: []
+ externalObjects: {}
+ materials:
+ materialImportMode: 0
+ materialName: 0
+ materialSearch: 1
+ materialLocation: 1
+ searchTexturesGlobally: 0
+ animations:
+ legacyGenerateAnimations: 4
+ bakeSimulation: 0
+ resampleCurves: 1
+ optimizeGameObjects: 0
+ removeConstantScaleCurves: 0
+ motionNodeName:
+ animationImportErrors:
+ animationImportWarnings:
+ animationRetargetingWarnings:
+ animationDoRetargetingWarnings: 0
+ importAnimatedCustomProperties: 0
+ importConstraints: 0
+ animationCompression: 0
+ animationRotationError: 0.5
+ animationPositionError: 0.5
+ animationScaleError: 0.5
+ animationWrapMode: 0
+ extraExposedTransformPaths: []
+ extraUserProperties: []
+ clipAnimations: []
+ isReadable: 0
+ meshes:
+ lODScreenPercentages: []
+ globalScale: 1
+ meshCompression: 0
+ addColliders: 0
+ useSRGBMaterialColor: 1
+ sortHierarchyByName: 1
+ importPhysicalCameras: 1
+ importVisibility: 1
+ importBlendShapes: 1
+ importCameras: 0
+ importLights: 0
+ nodeNameCollisionStrategy: 1
+ fileIdsGeneration: 2
+ swapUVChannels: 0
+ generateSecondaryUV: 0
+ useFileUnits: 1
+ keepQuads: 0
+ weldVertices: 1
+ bakeAxisConversion: 0
+ preserveHierarchy: 0
+ skinWeightsMode: 0
+ maxBonesPerVertex: 4
+ minBoneWeight: 0.001
+ optimizeBones: 1
+ generateMeshLods: 0
+ meshLodGenerationFlags: 0
+ maximumMeshLod: -1
+ meshOptimizationFlags: -4
+ indexFormat: 0
+ secondaryUVAngleDistortion: 8
+ secondaryUVAreaDistortion: 15.000001
+ secondaryUVHardAngle: 88
+ secondaryUVMarginMethod: 1
+ secondaryUVMinLightmapResolution: 40
+ secondaryUVMinObjectScale: 1
+ secondaryUVPackMargin: 4
+ useFileScale: 1
+ strictVertexDataChecks: 0
+ tangentSpace:
+ normalSmoothAngle: 60
+ normalImportMode: 0
+ tangentImportMode: 3
+ normalCalculationMode: 4
+ legacyComputeAllNormalsFromSmoothingGroupsWhenMeshHasBlendShapes: 0
+ blendShapeNormalImportMode: 1
+ normalSmoothingSource: 0
+ referencedClips: []
+ importAnimation: 1
+ humanDescription:
+ serializedVersion: 3
+ human: []
+ skeleton: []
+ armTwist: 0.5
+ foreArmTwist: 0.5
+ upperLegTwist: 0.5
+ legTwist: 0.5
+ armStretch: 0.05
+ legStretch: 0.05
+ feetSpacing: 0
+ globalScale: 1
+ rootMotionBoneName:
+ hasTranslationDoF: 0
+ hasExtraRoot: 0
+ skeletonHasParents: 1
+ lastHumanDescriptionAvatarSource: {instanceID: 0}
+ autoGenerateAvatarMappingIfUnspecified: 1
+ animationType: 0
+ humanoidOversampling: 1
+ avatarSetup: 0
+ addHumanoidExtraRootOnlyWhenUsingAvatar: 1
+ importBlendShapeDeformPercent: 1
+ remapMaterialsIfMaterialImportModeIsNone: 0
+ additionalBone: 0
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/unity/Assets/Art/Collection/weapon-sten-v1/weapon-sten-v1.mat b/unity/Assets/Art/Collection/weapon-sten-v1/weapon-sten-v1.mat
new file mode 100644
index 000000000..1fb51bd53
--- /dev/null
+++ b/unity/Assets/Art/Collection/weapon-sten-v1/weapon-sten-v1.mat
@@ -0,0 +1,137 @@
+%YAML 1.1
+%TAG !u! tag:unity3d.com,2011:
+--- !u!114 &-788083437087934741
+MonoBehaviour:
+ m_ObjectHideFlags: 11
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 0}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: d0353a89b1f911e48b9e16bdc9f2e058, type: 3}
+ m_Name:
+ m_EditorClassIdentifier: Unity.RenderPipelines.Universal.Editor::UnityEditor.Rendering.Universal.AssetVersion
+ version: 10
+--- !u!21 &2100000
+Material:
+ serializedVersion: 8
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_Name: weapon-sten-v1
+ m_Shader: {fileID: 4800000, guid: 933532a4fcc9baf4fa0491de14d08ed7, type: 3}
+ m_Parent: {fileID: 0}
+ m_ModifiedSerializedProperties: 0
+ m_ValidKeywords: []
+ m_InvalidKeywords: []
+ m_LightmapFlags: 4
+ m_EnableInstancingVariants: 1
+ m_DoubleSidedGI: 1
+ m_CustomRenderQueue: -1
+ stringTagMap:
+ RenderType: Opaque
+ disabledShaderPasses:
+ - MOTIONVECTORS
+ m_LockedProperties:
+ m_SavedProperties:
+ serializedVersion: 3
+ m_TexEnvs:
+ - _BaseMap:
+ m_Texture: {fileID: 2800000, guid: f83260ddb64b4baaa3823e5c1e4d1e81, type: 3}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _BumpMap:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _DetailAlbedoMap:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _DetailMask:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _DetailNormalMap:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _EmissionMap:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _MainTex:
+ m_Texture: {fileID: 2800000, guid: f83260ddb64b4baaa3823e5c1e4d1e81, type: 3}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _MetallicGlossMap:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _OcclusionMap:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _ParallaxMap:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _SpecGlossMap:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - unity_Lightmaps:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - unity_LightmapsInd:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - unity_ShadowMasks:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ m_Ints: []
+ m_Floats:
+ - _AddPrecomputedVelocity: 0
+ - _AlphaClip: 0
+ - _AlphaToMask: 0
+ - _Blend: 0
+ - _BlendModePreserveSpecular: 1
+ - _BumpScale: 1
+ - _ClearCoatMask: 0
+ - _ClearCoatSmoothness: 0
+ - _Cull: 0
+ - _Cutoff: 0.5
+ - _DetailAlbedoMapScale: 1
+ - _DetailNormalMapScale: 1
+ - _DstBlend: 0
+ - _DstBlendAlpha: 0
+ - _EnvironmentReflections: 1
+ - _GlossMapScale: 0
+ - _Glossiness: 0
+ - _GlossyReflections: 0
+ - _Metallic: 0
+ - _OcclusionStrength: 1
+ - _Parallax: 0.005
+ - _QueueOffset: 0
+ - _ReceiveShadows: 1
+ - _Smoothness: 0
+ - _SmoothnessTextureChannel: 0
+ - _SpecularHighlights: 1
+ - _SrcBlend: 1
+ - _SrcBlendAlpha: 1
+ - _Surface: 0
+ - _WorkflowMode: 1
+ - _XRMotionVectorsPass: 1
+ - _ZWrite: 1
+ m_Colors:
+ - _BaseColor: {r: 1, g: 1, b: 1, a: 1}
+ - _Color: {r: 1, g: 1, b: 1, a: 1}
+ - _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
+ - _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1}
+ m_BuildTextureStacks: []
+ m_AllowLocking: 1
diff --git a/unity/Assets/Art/Collection/weapon-sten-v1/weapon-sten-v1.mat.meta b/unity/Assets/Art/Collection/weapon-sten-v1/weapon-sten-v1.mat.meta
new file mode 100644
index 000000000..5de2fb946
--- /dev/null
+++ b/unity/Assets/Art/Collection/weapon-sten-v1/weapon-sten-v1.mat.meta
@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: d544f9c81d19e44b581f96a7fc6dc919
+NativeFormatImporter:
+ externalObjects: {}
+ mainObjectFileID: 2100000
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/unity/Assets/Art/Collection/weapon-sten-v1/weapon-sten-v1.prefab b/unity/Assets/Art/Collection/weapon-sten-v1/weapon-sten-v1.prefab
new file mode 100644
index 000000000..db49b0af2
--- /dev/null
+++ b/unity/Assets/Art/Collection/weapon-sten-v1/weapon-sten-v1.prefab
@@ -0,0 +1,63 @@
+%YAML 1.1
+%TAG !u! tag:unity3d.com,2011:
+--- !u!1001 &1917540263408321839
+PrefabInstance:
+ m_ObjectHideFlags: 0
+ serializedVersion: 2
+ m_Modification:
+ serializedVersion: 3
+ m_TransformParent: {fileID: 0}
+ m_Modifications:
+ - target: {fileID: -8679921383154817045, guid: 12c3477d55a34016ab354070a7213ddf, type: 3}
+ propertyPath: m_LocalPosition.x
+ value: -0
+ objectReference: {fileID: 0}
+ - target: {fileID: -8679921383154817045, guid: 12c3477d55a34016ab354070a7213ddf, type: 3}
+ propertyPath: m_LocalPosition.y
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: -8679921383154817045, guid: 12c3477d55a34016ab354070a7213ddf, type: 3}
+ propertyPath: m_LocalPosition.z
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: -8679921383154817045, guid: 12c3477d55a34016ab354070a7213ddf, type: 3}
+ propertyPath: m_LocalRotation.w
+ value: 0.7071067
+ objectReference: {fileID: 0}
+ - target: {fileID: -8679921383154817045, guid: 12c3477d55a34016ab354070a7213ddf, type: 3}
+ propertyPath: m_LocalRotation.x
+ value: -0.7071068
+ objectReference: {fileID: 0}
+ - target: {fileID: -8679921383154817045, guid: 12c3477d55a34016ab354070a7213ddf, type: 3}
+ propertyPath: m_LocalRotation.y
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: -8679921383154817045, guid: 12c3477d55a34016ab354070a7213ddf, type: 3}
+ propertyPath: m_LocalRotation.z
+ value: -0
+ objectReference: {fileID: 0}
+ - target: {fileID: -8679921383154817045, guid: 12c3477d55a34016ab354070a7213ddf, type: 3}
+ propertyPath: m_LocalEulerAnglesHint.x
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: -8679921383154817045, guid: 12c3477d55a34016ab354070a7213ddf, type: 3}
+ propertyPath: m_LocalEulerAnglesHint.y
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: -8679921383154817045, guid: 12c3477d55a34016ab354070a7213ddf, type: 3}
+ propertyPath: m_LocalEulerAnglesHint.z
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: -7511558181221131132, guid: 12c3477d55a34016ab354070a7213ddf, type: 3}
+ propertyPath: 'm_Materials.Array.data[0]'
+ value:
+ objectReference: {fileID: 2100000, guid: d544f9c81d19e44b581f96a7fc6dc919, type: 2}
+ - target: {fileID: 919132149155446097, guid: 12c3477d55a34016ab354070a7213ddf, type: 3}
+ propertyPath: m_Name
+ value: weapon-sten-v1
+ objectReference: {fileID: 0}
+ m_RemovedComponents: []
+ m_RemovedGameObjects: []
+ m_AddedGameObjects: []
+ m_AddedComponents: []
+ m_SourcePrefab: {fileID: 100100000, guid: 12c3477d55a34016ab354070a7213ddf, type: 3}
diff --git a/unity/Assets/Art/Collection/weapon-sten-v1/weapon-sten-v1.prefab.meta b/unity/Assets/Art/Collection/weapon-sten-v1/weapon-sten-v1.prefab.meta
new file mode 100644
index 000000000..3f941c1cd
--- /dev/null
+++ b/unity/Assets/Art/Collection/weapon-sten-v1/weapon-sten-v1.prefab.meta
@@ -0,0 +1,7 @@
+fileFormatVersion: 2
+guid: 31ee8e391861a42dab18e0e934390526
+PrefabImporter:
+ externalObjects: {}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/unity/Assets/Art/Collection/weapon-sten-v1/weapon-sten-v1_basecolor.jpg b/unity/Assets/Art/Collection/weapon-sten-v1/weapon-sten-v1_basecolor.jpg
new file mode 100644
index 000000000..8e5416e78
Binary files /dev/null and b/unity/Assets/Art/Collection/weapon-sten-v1/weapon-sten-v1_basecolor.jpg differ
diff --git a/unity/Assets/Art/Collection/weapon-sten-v1/weapon-sten-v1_basecolor.jpg.meta b/unity/Assets/Art/Collection/weapon-sten-v1/weapon-sten-v1_basecolor.jpg.meta
new file mode 100644
index 000000000..e263c0c65
--- /dev/null
+++ b/unity/Assets/Art/Collection/weapon-sten-v1/weapon-sten-v1_basecolor.jpg.meta
@@ -0,0 +1,130 @@
+fileFormatVersion: 2
+guid: f83260ddb64b4baaa3823e5c1e4d1e81
+TextureImporter:
+ internalIDToNameTable: []
+ externalObjects: {}
+ serializedVersion: 13
+ mipmaps:
+ mipMapMode: 0
+ enableMipMap: 1
+ sRGBTexture: 1
+ linearTexture: 0
+ fadeOut: 0
+ borderMipMap: 0
+ mipMapsPreserveCoverage: 0
+ alphaTestReferenceValue: 0.5
+ mipMapFadeDistanceStart: 1
+ mipMapFadeDistanceEnd: 3
+ bumpmap:
+ convertToNormalMap: 0
+ externalNormalMap: 0
+ heightScale: 0.25
+ normalMapFilter: 0
+ flipGreenChannel: 0
+ isReadable: 0
+ streamingMipmaps: 0
+ streamingMipmapsPriority: 0
+ vTOnly: 0
+ ignoreMipmapLimit: 0
+ grayScaleToAlpha: 0
+ generateCubemap: 6
+ cubemapConvolution: 0
+ seamlessCubemap: 0
+ textureFormat: 1
+ maxTextureSize: 4096
+ textureSettings:
+ serializedVersion: 2
+ filterMode: 1
+ aniso: 1
+ mipBias: 0
+ wrapU: 0
+ wrapV: 0
+ wrapW: 0
+ nPOTScale: 1
+ lightmap: 0
+ compressionQuality: 100
+ spriteMode: 0
+ spriteExtrude: 1
+ spriteMeshType: 1
+ alignment: 0
+ spritePivot: {x: 0.5, y: 0.5}
+ spritePixelsToUnits: 100
+ spriteBorder: {x: 0, y: 0, z: 0, w: 0}
+ spriteGenerateFallbackPhysicsShape: 1
+ alphaUsage: 1
+ alphaIsTransparency: 0
+ spriteTessellationDetail: -1
+ textureType: 0
+ textureShape: 1
+ singleChannelComponent: 0
+ flipbookRows: 1
+ flipbookColumns: 1
+ maxTextureSizeSet: 0
+ compressionQualitySet: 0
+ textureFormatSet: 0
+ ignorePngGamma: 0
+ applyGammaDecoding: 0
+ swizzle: 50462976
+ cookieLightType: 0
+ platformSettings:
+ - serializedVersion: 4
+ buildTarget: DefaultTexturePlatform
+ 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: 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
+ ignorePlatformSupport: 0
+ androidETC2FallbackOverride: 0
+ forceMaximumCompressionQuality_BC6H_BC7: 0
+ spriteSheet:
+ serializedVersion: 2
+ sprites: []
+ outline: []
+ customData:
+ physicsShape: []
+ bones: []
+ spriteID:
+ internalID: 0
+ vertices: []
+ indices:
+ edges: []
+ weights: []
+ secondaryTextures: []
+ spriteCustomMetadata:
+ entries: []
+ nameFileIdTable: {}
+ mipmapLimitGroupName:
+ pSDRemoveMatte: 0
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/unity/Assets/Editor/CollectionImport.cs b/unity/Assets/Editor/CollectionImport.cs
index ca972c37b..67223b3bb 100644
--- a/unity/Assets/Editor/CollectionImport.cs
+++ b/unity/Assets/Editor/CollectionImport.cs
@@ -44,6 +44,7 @@ namespace Statecraft.Game.EditorTools
Generated1948Characters.ImportRuntime();
MakeBuildingPrefabs();
MakeGeneratedTownPrefabs();
+ MakeTokenFigureExtras();
Debug.Log(FormattableString.Invariant($"CollectionImport: {CollectionCatalog.Ids.Count(id => !CollectionCatalog.IsBuilding(id) && !CollectionCatalog.IsGenerated(id))} collection models"));
}
@@ -101,6 +102,92 @@ namespace Statecraft.Game.EditorTools
Debug.Log(FormattableString.Invariant($"CollectionImport: {CollectionCatalog.Ids.Count(CollectionCatalog.IsGeneratedTown)} generated town prefabs"));
}
+ /// <summary>#2083 and #2084: Tal Heuberger's weapons and the C06 point-fire pose source for the token figures.
+ /// Each weapon gets one prefab beside its compatibility FBX, made as the generated towns' are, with a material
+ /// like theirs on their delivered map (the FBX and map import settings are the .meta files beside them, the towns').
+ /// The point-fire export is imported losslessly (every frame, no compression), and its prefab
+ /// (<see cref="MakeFigurePosePrefab"/>) holds only the clip and the rig correction, no mesh.
+ /// Headless: Unity -batchmode -CI false -GITHUB_ACTIONS false -TF_BUILD false -quit -projectPath unity -executeMethod Statecraft.Game.EditorTools.CollectionImport.MakeTokenFigureExtras</summary>
+ [MenuItem("Statecraft/Collection/Make token weapon and pose prefabs")]
+ public static void MakeTokenFigureExtras()
+ {
+ var townMat = AssetDatabase.LoadAssetAtPath<Material>($"{Dir(CollectionCatalog.TiberiasTown)}/{CollectionCatalog.TiberiasTown}.mat")
+ ?? throw new InvalidOperationException("no town material to copy");
+ foreach (var id in CollectionCatalog.Ids.Where(CollectionCatalog.IsGeneratedWeapon))
+ {
+ string matPath = $"{Dir(id)}/{id}.mat";
+ if (AssetDatabase.LoadAssetAtPath<Material>(matPath) == null)
+ {
+ var map = AssetDatabase.LoadAssetAtPath<Texture2D>($"{Dir(id)}/{id}_basecolor.jpg") ?? throw new InvalidOperationException($"{id}: no map");
+ var made = new Material(townMat) { name = id };
+ made.SetTexture("_BaseMap", map); made.SetTexture("_MainTex", map);
+ AssetDatabase.CreateAsset(made, matPath);
+ }
+ var model = AssetDatabase.LoadAssetAtPath<GameObject>(CollectionCatalog.SourceModelPath(id)) ?? throw new InvalidOperationException($"{id}: no model");
+ var mat = AssetDatabase.LoadAssetAtPath<Material>(matPath)!;
+ var go = (GameObject)PrefabUtility.InstantiatePrefab(model);
+ try
+ {
+ foreach (var r in go.GetComponentsInChildren<Renderer>(true))
+ r.sharedMaterials = Enumerable.Repeat(mat, Math.Max(1, r.sharedMaterials.Length)).ToArray();
+ PrefabUtility.SaveAsPrefabAsset(go, CollectionCatalog.PrefabPath(id, CollectionDetail.Far));
+ }
+ finally { UnityEngine.Object.DestroyImmediate(go); }
+ }
+ ImportModel(CollectionCatalog.SourceModelPath(CollectionCatalog.C06PointFire), animated: true);
+ MakeFigurePosePrefab();
+ AssetDatabase.SaveAssets();
+ Debug.Log("CollectionImport: token weapon and pose prefabs");
+ }
+
+ /// <summary>The frame the point-fire aim holds: frame 37 of 97 (24 fps, frame 1 at 0 s), inside the still aim that Tal
+ /// Heuberger's contact sheet shows from frame 25 to frame 65, between their carrying endpoints.</summary>
+ public const int PointFireAimFrame = 37;
+
+ /// <summary>The C06 point-fire pose source's prefab: an empty object with <see cref="UnitFigurePoseSource"/>, holding the
+ /// export's clip and, per bone of C06's 67, the correction from the export's rig frame to C06's: the export's bind pose
+ /// x its mesh's root-from-local x C06's mesh's local-from-root x C06's inverse bind pose (both meshes' rest vertices
+ /// agree; Generated1948AssetTests checks it). Bones are listed parents first.</summary>
+ internal static void MakeFigurePosePrefab()
+ {
+ string id = CollectionCatalog.C06PointFire, source = CollectionCatalog.SourceModelPath(id);
+ var export = AssetDatabase.LoadAssetAtPath<GameObject>(source) ?? throw new InvalidOperationException("no point-fire export");
+ var clip = AssetDatabase.LoadAllAssetsAtPath(source).OfType<AnimationClip>().Single(c => !c.name.StartsWith("__preview__", StringComparison.Ordinal));
+ var c06 = AssetDatabase.LoadAssetAtPath<GameObject>(CollectionCatalog.PrefabPath(UnitFigures.YoungRecruit, CollectionDetail.Far))
+ ?? throw new InvalidOperationException("no C06 prefab");
+ var corrections = PointFireCorrections(export, c06, out var bones);
+ var go = new GameObject(id);
+ try
+ {
+ var src = go.AddComponent<UnitFigurePoseSource>();
+ src.Clip = clip; src.AimTime = (PointFireAimFrame - 1) / clip.frameRate; src.Figure = UnitFigures.YoungRecruit;
+ src.Bones = bones; src.Correction = corrections;
+ PrefabUtility.SaveAsPrefabAsset(go, CollectionCatalog.PrefabPath(id, CollectionDetail.Far));
+ }
+ finally { UnityEngine.Object.DestroyImmediate(go); }
+ }
+
+ /// <summary>Per bone (by name, parents first), the export-to-C06 rig correction (see <see cref="MakeFigurePosePrefab"/>).</summary>
+ internal static Matrix4x4[] PointFireCorrections(GameObject export, GameObject c06, out string[] bones)
+ {
+ var e = export.GetComponentsInChildren<SkinnedMeshRenderer>(true).Single();
+ var c = c06.GetComponentsInChildren<SkinnedMeshRenderer>(true).Single();
+ Matrix4x4 RootFrom(Transform t, Transform root) { var m = Matrix4x4.identity; for (var at = t; at != root; at = at.parent) m = Matrix4x4.TRS(at.localPosition, at.localRotation, at.localScale) * m; return m; }
+ var eMesh = RootFrom(e.transform, export.transform); var cMesh = RootFrom(c.transform, c06.transform);
+ var eBind = e.sharedMesh.bindposes; var cBind = c.sharedMesh.bindposes;
+ int Depth(Transform t) { int d = 0; for (var at = t; at != null; at = at.parent) d++; return d; }
+ var order = c.bones.Select((b, i) => (b, i)).OrderBy(x => Depth(x.b)).ThenBy(x => x.i).ToArray();
+ bones = order.Select(x => x.b.name).ToArray();
+ var result = new Matrix4x4[order.Length];
+ for (int k = 0; k < order.Length; k++)
+ {
+ int ci = order[k].i, ei = Array.FindIndex(e.bones, b => b.name == order[k].b.name);
+ if (ei < 0) throw new InvalidOperationException("the export lacks bone " + order[k].b.name);
+ result[k] = eBind[ei] * eMesh.inverse * cMesh * cBind[ci].inverse;
+ }
+ return result;
+ }
+
static void ImportModel(string path, bool animated)
{
var imp = AssetImporter.GetAtPath(path) as ModelImporter ?? throw new FileNotFoundException("no model", path);
@@ -256,7 +343,9 @@ namespace Statecraft.Game.EditorTools
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.SourceModelPath(id) }).Distinct().ToArray(),
+ // The point-fire pose source carries only its prefab (and the clip it references), never the export's mesh (#2084).
+ assetNames = b.Ids.SelectMany(id => CollectionCatalog.IsFigurePose(id) ? new[] { CollectionCatalog.PrefabPath(id, CollectionDetail.Far) }
+ : 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/Scripts/Map/Collection/CollectionCatalog.cs b/unity/Assets/Scripts/Map/Collection/CollectionCatalog.cs
index 299622368..940f02ad3 100644
--- a/unity/Assets/Scripts/Map/Collection/CollectionCatalog.cs
+++ b/unity/Assets/Scripts/Map/Collection/CollectionCatalog.cs
@@ -70,7 +70,11 @@ namespace Statecraft.Game.Map.Collection
// Generated static props signed off the same day, each in a bundle of its own, "collection-" + id (a group name only).
GeneratedProps = "collection-generated-props",
// Tal Heuberger's generated whole towns (#2085, #1288), each in a bundle of its own, "collection-" + id (a group name only).
- GeneratedTowns = "collection-generated-towns";
+ GeneratedTowns = "collection-generated-towns",
+ // Tal Heuberger's prepared weapons (#2083) held by the Israeli soldier figures (UnitWeapons), and their C06 point-fire
+ // pose source (#2084) for the attacking C06 figures (UnitFigurePointFire); each in a bundle of its own, "collection-" + id,
+ // opened after the people's (group names only).
+ GeneratedWeapons = "collection-generated-weapons", FigurePoses = "collection-figure-poses";
/// <summary>Tal Heuberger's whole-town models of Tiberias, Safed, Netanya (#1288 asks for one each) and Ramla (#2085), Far
/// landmarks on their towns (TownLandmarks). Their sources are asset-sources/prepared-towns-20261031/ (#2085); the Unity FBX
@@ -79,6 +83,17 @@ namespace Statecraft.Game.Map.Collection
public const string TiberiasTown = "tiberias-town-v1", SafedTown = "safed-town-v1", NetanyaTown = "netanya-town-v1",
RamlaTown = "ramla-town-v1";
+ /// <summary>Tal Heuberger's K98k rifle and Sten submachine gun (#2083; owner, 2 November 2026: "Yes, on the soldier figures
+ /// (Recommended)"). Their sources are asset-sources/prepared-weapons-20261031/; the Unity FBX is a documented lossless
+ /// compatibility conversion of the textured GLB (tools/prepared_weapons.py), and the colour map is Tal's JPG byte for byte.</summary>
+ public const string K98k = "weapon-k98k-v1", Sten = "weapon-sten-v1";
+
+ /// <summary>Tal Heuberger's C06 point-fire export (#2084; owner, 2 November 2026: "Yes, for firing units (Recommended)"),
+ /// byte for byte from asset-sources/c06-point-fire-reference-20261031/. Its bundle carries only the pose source prefab
+ /// (the clip and the rig correction, UnitFigurePoseSource), not the export's mesh.</summary>
+ public const string C06PointFire = "c06-point-fire-v1";
+ public const string C06PointFireFile = "C06-POINT-FIRE-PROVISIONAL-PUBLIC.fbx";
+
/// <summary>The Egyptian infantry, Tal Heuberger's figure for the Egyptian Expeditionary Force (owner, 27 October 2026,
/// "Sign off all 19" and, for Egypt, "One token").</summary>
public const string EgyptianInfantry = "figure-egyptian-infantry-1948-v1";
@@ -174,6 +189,8 @@ namespace Statecraft.Game.Map.Collection
"netanya-town-v1",
"ramla-town-v1",
}),
+ (GeneratedWeapons, new[] { K98k, Sten }),
+ (FigurePoses, new[] { C06PointFire }),
};
/// <summary>A bundle that is opened only after another has settled (opened or failed) when both are asked for: the Arab
@@ -186,6 +203,9 @@ namespace Statecraft.Game.Map.Collection
["collection-" + AlaInfantry] = People,
["collection-" + BedouinCivilian] = People,
["collection-" + LebaneseRegular] = People,
+ ["collection-" + K98k] = People,
+ ["collection-" + Sten] = People,
+ ["collection-" + C06PointFire] = People,
};
/// <summary>The models whose near prefab is skinned and plays its idle clip: every person but C05 (his only idle is
@@ -219,13 +239,22 @@ namespace Statecraft.Game.Map.Collection
/// generated props, drawn far off by TownLandmarks.</summary>
public static bool IsGeneratedTown(string id) => id == TiberiasTown || id == SafedTown || id == NetanyaTown || id == RamlaTown;
+ /// <summary>Tal Heuberger's prepared weapons (#2083): static full-quality originals with one prefab beside the FBX, like the
+ /// generated towns, held by the token figures (UnitWeapons).</summary>
+ public static bool IsGeneratedWeapon(string id) => id == K98k || id == Sten;
+
+ /// <summary>Tal Heuberger's C06 point-fire pose source (#2084): a prefab with no mesh, only the clip it samples.</summary>
+ public static bool IsFigurePose(string id) => id == C06PointFire;
+
/// <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) =>
+ id == C06PointFire ? $"{Folder}/{id}/{C06PointFireFile}" :
$"{(IsBuilding(id) ? BuildingsFolder : Folder)}/{id}/{id}{(id == SyrianR35 ? "-compatibility" : "")}.fbx";
/// <summary>Every generated model (figure, prop or whole town): imported by its own lossless importer, not the original Collection's.</summary>
- public static bool IsGenerated(string id) => IsFullQualityGeneratedInfantry(id) || IsGeneratedProp(id) || IsGeneratedTown(id);
+ public static bool IsGenerated(string id) => IsFullQualityGeneratedInfantry(id) || IsGeneratedProp(id) || IsGeneratedTown(id)
+ || IsGeneratedWeapon(id) || IsFigurePose(id);
// Categories describe placement; every model streams in a bundle of its own, except #1763's two figures, which share theirs.
public static IEnumerable<string> Ids => Groups.SelectMany(b => b.Ids).Concat(Kits.TownModels.Ids);
diff --git a/unity/Assets/Scripts/Map/Units/UnitFigureDetail.cs b/unity/Assets/Scripts/Map/Units/UnitFigureDetail.cs
index 0509d5c94..95ed425bc 100644
--- a/unity/Assets/Scripts/Map/Units/UnitFigureDetail.cs
+++ b/unity/Assets/Scripts/Map/Units/UnitFigureDetail.cs
@@ -161,10 +161,27 @@ namespace Statecraft.Game.Map.Units
r.lightProbeUsage = LightProbeUsage.Off; r.reflectionProbeUsage = ReflectionProbeUsage.Off;
}
f.Animators = near.GetComponentsInChildren<Animator>(true);
+ if (f.Holder.parent != null)
+ {
+ UnitFigureWeapon.Refresh(f.Holder.parent); // the near model holds the figure's weapon too (#2083)
+ UnitFigurePointFire.Refresh(f.Holder.parent); // and takes a held point-fire aim (#2084)
+ }
UnitFigures.GeometryChanged();
if (!logged && Application.isPlaying) { logged = true; Debug.Log("UNITS figures: the skinned near figures streamed in (close zoom)"); }
}
+ /// <summary>Reads again the renderers of the figure <paramref name="holder"/> holds (a weapon joined its far or near
+ /// model, UnitFigureWeapon), and shows it as the zoom asks.</summary>
+ internal void Rescan(Transform holder)
+ {
+ var f = figures.Find(x => x.Holder == holder);
+ if (f == null) return;
+ if (f.Far != null) f.FarRenderers = f.Far.GetComponentsInChildren<Renderer>(true);
+ var near = holder.Find(NearName);
+ if (near != null && f.NearRenderers.Length > 0) f.NearRenderers = near.GetComponentsInChildren<Renderer>(true);
+ Show(f);
+ }
+
void Show(Figure f)
{
bool near = LastClose && f.NearRenderers.Length > 0;
diff --git a/unity/Assets/Scripts/Map/Units/UnitFigurePointFire.cs b/unity/Assets/Scripts/Map/Units/UnitFigurePointFire.cs
new file mode 100644
index 000000000..cdde2f769
--- /dev/null
+++ b/unity/Assets/Scripts/Map/Units/UnitFigurePointFire.cs
@@ -0,0 +1,192 @@
+#nullable enable
+using System;
+using System.Collections.Generic;
+using Statecraft.Game.Map.Collection;
+using UnityEngine;
+
+namespace Statecraft.Game.Map.Units
+{
+ /// <summary>The C06 point-fire aim on an attacking token (#2084; owner, 2 November 2026: "Yes, for firing units
+ /// (Recommended)": "Show the aiming pose on a unit token when it attacks"). Tal Heuberger's point-fire export is one
+ /// figure, the C06 young recruit, so only a C06 figure takes it; every other figure keeps its own fire take. While its
+ /// token's attack plays (UnitTokenMotion; as long as the longest fire take on the token), each model the figure shows (far
+ /// and near: one streamed prefab for both details) holds one still frame of the clip,
+ /// <see cref="UnitFigurePoseSource.AimTime"/>, with its Animator paused; when the attack ends, every bone it moved is put
+ /// back exactly and the Animator resumes. The pose is computed once per figure model and then only copied, so holding
+ /// it allocates nothing; it is the same frame in edit mode, in captures and in a player. It fails open: until the
+ /// pose source arrives, and for good when its bundle is missing or damaged, the figure plays its fire take as before.</summary>
+ [ExecuteAlways]
+ public sealed class UnitFigurePointFire : MonoBehaviour
+ {
+ /// <summary>The pose source of figure <paramref name="figure"/>, or null: only C06 has one.</summary>
+ public static string? PoseFor(string? figure) => figure == UnitFigures.YoungRecruit ? CollectionCatalog.C06PointFire : null;
+
+ sealed class Held
+ {
+ public Transform Model = null!;
+ public Transform[] Nodes = Array.Empty<Transform>();
+ public Vector3[] Position = Array.Empty<Vector3>(), Scale = Array.Empty<Vector3>();
+ public Quaternion[] Rotation = Array.Empty<Quaternion>();
+ public Animator[] Animators = Array.Empty<Animator>();
+ public bool[] WasEnabled = Array.Empty<bool>();
+ public Renderer? Shown; // a near model's first renderer (UnitFigureDetail shows it while the camera is close)
+ public bool Near, On;
+ }
+
+ /// <summary>A figure model's held pose: its nodes' local positions, rotations and scales, by node order.</summary>
+ sealed class Pose { public Vector3[] Position = null!, Scale = null!; public Quaternion[] Rotation = null!; }
+ static readonly Dictionary<string, Pose> poses = new Dictionary<string, Pose>(StringComparer.Ordinal);
+
+ string figure = "", source = "";
+ UnitFigurePoseSource? pose;
+ IDisposable? lease;
+ float fireLength = -1f;
+ bool holding;
+ readonly List<Held> held = new List<Held>();
+
+ /// <summary>True when the pose source has arrived and the figure shows a model: the attack can hold the aim.</summary>
+ public bool Ready => pose != null && pose.Clip != null && transform.Find(UnitFigures.ModelName) != null;
+ public bool Holding => holding;
+
+ /// <summary>Gives figure <paramref name="piece"/> (dressed as <paramref name="figure"/>) the point-fire aim, if its
+ /// model has a pose source.</summary>
+ internal static void Equip(Transform piece, string? figure)
+ {
+ var id = PoseFor(figure);
+ if (id == null || piece == null || piece.TryGetComponent<UnitFigurePointFire>(out _)) return;
+ var fire = piece.gameObject.AddComponent<UnitFigurePointFire>();
+ fire.figure = figure!; fire.source = id;
+ void Answer(GameObject? arrived)
+ {
+ if (fire == null) return; // the token was torn down meanwhile
+ fire.pose = arrived != null ? arrived.GetComponent<UnitFigurePoseSource>() : null; // null: fail open
+ if (fire.pose != null && fire.pose.Figure != fire.figure) fire.pose = null;
+ var motion = fire.GetComponentInParent<UnitTokenMotion>();
+ if (motion != null && motion.Attacking) motion.RefreshPose(); // an attack under way takes the aim at once
+ }
+ fire.lease = UnitWeapons.Request(id, Answer);
+ }
+
+ /// <summary>The figure's own fire take's length, its share of the attack's length: the attack, and so the aim, lasts as
+ /// long as the longest take of any figure on the token (UnitTokenMotion.Fire). Read once.</summary>
+ internal float FireLength
+ {
+ get
+ {
+ if (fireLength >= 0f) return fireLength;
+ var holder = transform.Find(UnitFigures.ModelName);
+ var animator = holder != null ? holder.GetComponentInChildren<Animator>(true) : null;
+ if (animator == null || animator.runtimeAnimatorController == null) return 0f;
+ return fireLength = UnitTokenMotion.FireLength(animator);
+ }
+ }
+
+ /// <summary>Holds the aim on every model the figure shows now (again after a model joins or the zoom switch woke an Animator).</summary>
+ internal void Hold()
+ {
+ if (!Ready) return;
+ holding = true;
+ for (int i = held.Count - 1; i >= 0; i--) if (held[i].Model == null) held.RemoveAt(i); // a model retired meanwhile
+ var holder = transform.Find(UnitFigures.ModelName);
+ for (int i = 0; i < holder.childCount; i++) HoldOn(holder.GetChild(i));
+ }
+
+ /// <summary>Puts every held model back as it was, bone for bone, and lets its Animator run again.</summary>
+ internal void Release()
+ {
+ holding = false;
+ foreach (var h in held)
+ {
+ if (!h.On || h.Model == null) continue;
+ h.On = false;
+ for (int i = 0; i < h.Nodes.Length; i++)
+ {
+ var node = h.Nodes[i];
+ if (node == null) continue;
+ node.localPosition = h.Position[i]; node.localRotation = h.Rotation[i]; node.localScale = h.Scale[i];
+ }
+ // A near model's Animator runs while the camera is close (UnitFigureDetail shows its renderers then); a far
+ // model's stays as it was.
+ bool shown = h.Shown != null && !h.Shown.forceRenderingOff;
+ for (int i = 0; i < h.Animators.Length; i++)
+ if (h.Animators[i] != null) h.Animators[i].enabled = h.Near ? shown : h.WasEnabled[i];
+ }
+ }
+
+ /// <summary>A model that joins the figure (UnitFigures.Swap, UnitFigureDetail.Attach) takes a held aim at once.</summary>
+ internal static void Refresh(Transform piece)
+ {
+ if (piece != null && piece.TryGetComponent<UnitFigurePointFire>(out var fire) && fire.holding) fire.Hold();
+ }
+
+ void HoldOn(Transform model)
+ {
+ Held? h = null;
+ foreach (var x in held) if (x.Model == model) { h = x; break; } // no lambda: holding allocates nothing
+ if (h == null)
+ {
+ h = Track(model);
+ if (h == null) return;
+ held.Add(h);
+ }
+ if (!h.On)
+ {
+ for (int i = 0; i < h.Nodes.Length; i++)
+ { h.Position[i] = h.Nodes[i].localPosition; h.Rotation[i] = h.Nodes[i].localRotation; h.Scale[i] = h.Nodes[i].localScale; }
+ for (int i = 0; i < h.Animators.Length; i++) h.WasEnabled[i] = h.Animators[i].enabled;
+ h.On = true;
+ }
+ foreach (var animator in h.Animators) animator.enabled = false; // a running Animator would write over the aim
+ if (!poses.TryGetValue(figure, out var p)) poses[figure] = p = Compute(h);
+ for (int i = 0; i < h.Nodes.Length; i++)
+ { h.Nodes[i].localPosition = p.Position[i]; h.Nodes[i].localRotation = p.Rotation[i]; h.Nodes[i].localScale = p.Scale[i]; }
+ }
+
+ /// <summary>The model's Armature and the source's bones, found once; null when the model lacks one of them.</summary>
+ Held? Track(Transform model)
+ {
+ var armature = UnitWeapons.FindDeep(model, "Armature");
+ if (armature == null) return null;
+ var nodes = new Transform[pose!.Bones.Length + 1];
+ nodes[0] = armature;
+ for (int i = 0; i < pose.Bones.Length; i++)
+ if ((nodes[i + 1] = UnitWeapons.FindDeep(armature, pose.Bones[i])!) == null) return null;
+ var animators = model.GetComponentsInChildren<Animator>(true);
+ return new Held
+ {
+ Model = model, Nodes = nodes, Animators = animators, WasEnabled = new bool[animators.Length],
+ Near = model.name == UnitFigureDetail.NearName, Shown = model.GetComponentInChildren<Renderer>(true),
+ Position = new Vector3[nodes.Length], Rotation = new Quaternion[nodes.Length], Scale = new Vector3[nodes.Length],
+ };
+ }
+
+ /// <summary>The aim on a model of this figure, once: Tal's clip sampled at the aim, then each bone turned into the
+ /// figure's own rig (Bc = Bp x correction, parents first), read back as local values. The model is left in the aim.</summary>
+ Pose Compute(Held h)
+ {
+ pose!.Clip!.SampleAnimation(h.Model.gameObject, pose.AimTime);
+ var target = new Matrix4x4[pose.Bones.Length];
+ for (int i = 0; i < target.Length; i++) target[i] = h.Nodes[i + 1].localToWorldMatrix * pose.Correction[i];
+ for (int i = 0; i < target.Length; i++)
+ {
+ var node = h.Nodes[i + 1];
+ var local = node.parent.worldToLocalMatrix * target[i];
+ node.localPosition = local.GetColumn(3); node.localRotation = local.rotation; node.localScale = local.lossyScale;
+ }
+ var p = new Pose { Position = new Vector3[h.Nodes.Length], Rotation = new Quaternion[h.Nodes.Length], Scale = new Vector3[h.Nodes.Length] };
+ for (int i = 0; i < h.Nodes.Length; i++)
+ { p.Position[i] = h.Nodes[i].localPosition; p.Rotation[i] = h.Nodes[i].localRotation; p.Scale[i] = h.Nodes[i].localScale; }
+ return p;
+ }
+
+ /// <summary>Forgets the computed poses (tests, and each play session: a reimport may change the rig).</summary>
+ [RuntimeInitializeOnLoadMethod(RuntimeInitializeLoadType.SubsystemRegistration)]
+ internal static void Forget() => poses.Clear();
+
+ /// <summary>A figure hidden mid-attack lets go of the aim (review of #2277, B1): the units' toggle deactivates the layer,
+ /// and UnitTokenMotion's Pose then finds no figure under the inactive root, so it cannot release it.</summary>
+ void OnDisable() => Release();
+
+ void OnDestroy() { lease?.Dispose(); lease = null; }
+ }
+}
diff --git a/unity/Assets/Scripts/Map/Units/UnitFigurePointFire.cs.meta b/unity/Assets/Scripts/Map/Units/UnitFigurePointFire.cs.meta
new file mode 100644
index 000000000..c7ed1fa6d
--- /dev/null
+++ b/unity/Assets/Scripts/Map/Units/UnitFigurePointFire.cs.meta
@@ -0,0 +1,2 @@
+fileFormatVersion: 2
+guid: 76d2023bf5da94298a8e52b4d4e2ea46
\ No newline at end of file
diff --git a/unity/Assets/Scripts/Map/Units/UnitFigurePoseSource.cs b/unity/Assets/Scripts/Map/Units/UnitFigurePoseSource.cs
new file mode 100644
index 000000000..cb3944386
--- /dev/null
+++ b/unity/Assets/Scripts/Map/Units/UnitFigurePoseSource.cs
@@ -0,0 +1,24 @@
+#nullable enable
+using UnityEngine;
+
+namespace Statecraft.Game.Map.Units
+{
+ /// <summary>The C06 point-fire pose source (#2084; owner, 2 November 2026: "Yes, for firing units (Recommended)"): the root
+ /// of the prefab that streams in Tal Heuberger's point-fire clip, unchanged from their export. Its rig's bones have the
+ /// same names and the same rest mesh as the C06 young recruit's, but its exporter gave them other local axes, so a bone
+ /// sampled from the clip is turned into the C06 rig's frame by <see cref="Correction"/>: for each bone, the export's
+ /// bind pose times its mesh's world-from-local, times the C06 mesh's local-from-world and its inverse bind pose
+ /// (CollectionImport.MakeFigurePosePrefab writes them from the two meshes). The prefab holds no mesh or texture.</summary>
+ public sealed class UnitFigurePoseSource : MonoBehaviour
+ {
+ /// <summary>Tal Heuberger's 97-frame C06_POINT_FIRE_PROVISIONAL_REVIEW_97F stack, as imported.</summary>
+ public AnimationClip? Clip;
+ /// <summary>The held aim: a frame inside the clip's still aim (frames 25 to 65 of Tal's contact sheet), in seconds.</summary>
+ public float AimTime;
+ /// <summary>The model the corrections are for (the C06 young recruit).</summary>
+ public string Figure = "";
+ /// <summary>The bones (names under the figure's Armature, parents before children) and each one's correction.</summary>
+ public string[] Bones = System.Array.Empty<string>();
+ public Matrix4x4[] Correction = System.Array.Empty<Matrix4x4>();
+ }
+}
diff --git a/unity/Assets/Scripts/Map/Units/UnitFigurePoseSource.cs.meta b/unity/Assets/Scripts/Map/Units/UnitFigurePoseSource.cs.meta
new file mode 100644
index 000000000..51003e3c3
--- /dev/null
+++ b/unity/Assets/Scripts/Map/Units/UnitFigurePoseSource.cs.meta
@@ -0,0 +1,2 @@
+fileFormatVersion: 2
+guid: b3815417fc023417a9e8bb9e3eb6cbb0
\ No newline at end of file
diff --git a/unity/Assets/Scripts/Map/Units/UnitFigureWeapon.cs b/unity/Assets/Scripts/Map/Units/UnitFigureWeapon.cs
new file mode 100644
index 000000000..9d4615757
--- /dev/null
+++ b/unity/Assets/Scripts/Map/Units/UnitFigureWeapon.cs
@@ -0,0 +1,67 @@
+#nullable enable
+using System;
+using Statecraft.Game.Map.Collection;
+using UnityEngine;
+
+namespace Statecraft.Game.Map.Units
+{
+ /// <summary>One token figure's weapon (<see cref="UnitWeapons"/>): it holds the weapon's bundle while the figure lives and
+ /// puts the weapon in the hand of each model the figure shows (the far model when it arrives, the near model when the
+ /// camera comes close, UnitFigures.Swap and UnitFigureDetail call <see cref="Refresh"/>). It fails open: until the weapon
+ /// arrives, and for good when its bundle is missing or damaged, the figure stands as it did.</summary>
+ [ExecuteAlways]
+ public sealed class UnitFigureWeapon : MonoBehaviour
+ {
+ string weapon = "";
+ GameObject? prefab;
+ IDisposable? lease;
+ bool asked;
+
+ internal string Weapon => weapon;
+
+ /// <summary>Gives figure <paramref name="piece"/> (dressed as <paramref name="figure"/> on a <paramref name="side"/> token)
+ /// its sourced weapon, if it has one; nothing otherwise.</summary>
+ internal static void Equip(Transform piece, string side, string? figure)
+ {
+ var weapon = UnitWeapons.WeaponFor(side, figure);
+ if (weapon == null || piece == null || piece.TryGetComponent<UnitFigureWeapon>(out _)) return;
+ var held = piece.gameObject.AddComponent<UnitFigureWeapon>();
+ held.weapon = weapon;
+ held.Ask();
+ }
+
+ void Ask()
+ {
+ if (asked) return;
+ asked = true;
+ void Answer(GameObject? arrived)
+ {
+ if (this == null) return; // the token was torn down meanwhile
+ prefab = arrived; // null: fail open, the figure stays unarmed (the stream has warned once)
+ Arm();
+ }
+ lease = UnitWeapons.Request(weapon, Answer);
+ }
+
+ /// <summary>Arms the figure's models that have arrived (each once).</summary>
+ internal static void Refresh(Transform piece)
+ {
+ if (piece != null && piece.TryGetComponent<UnitFigureWeapon>(out var held)) held.Arm();
+ }
+
+ void Arm()
+ {
+ if (prefab == null) return;
+ var holder = transform.Find(UnitFigures.ModelName);
+ if (holder == null) return;
+ bool armed = false;
+ for (int i = 0; i < holder.childCount; i++)
+ armed |= UnitWeapons.Arm(holder.GetChild(i), weapon, prefab) != null;
+ if (!armed) return;
+ UnitFigureDetail.Existing(transform)?.Rescan(holder);
+ UnitFigures.GeometryChanged();
+ }
+
+ void OnDestroy() { lease?.Dispose(); lease = null; }
+ }
+}
diff --git a/unity/Assets/Scripts/Map/Units/UnitFigureWeapon.cs.meta b/unity/Assets/Scripts/Map/Units/UnitFigureWeapon.cs.meta
new file mode 100644
index 000000000..ed8b73526
--- /dev/null
+++ b/unity/Assets/Scripts/Map/Units/UnitFigureWeapon.cs.meta
@@ -0,0 +1,2 @@
+fileFormatVersion: 2
+guid: c6eb5bd06b64d4ca789181987bbe4c1b
\ No newline at end of file
diff --git a/unity/Assets/Scripts/Map/Units/UnitFigures.cs b/unity/Assets/Scripts/Map/Units/UnitFigures.cs
index d3411e714..7c2d52051 100644
--- a/unity/Assets/Scripts/Map/Units/UnitFigures.cs
+++ b/unity/Assets/Scripts/Map/Units/UnitFigures.cs
@@ -392,6 +392,8 @@ namespace Statecraft.Game.Map.Units
r.lightProbeUsage = LightProbeUsage.Off; r.reflectionProbeUsage = ReflectionProbeUsage.Off;
}
if (code != null) code.enabled = false;
+ UnitFigureWeapon.Refresh(piece); // its sourced weapon in the hand (#2083), before the detail switch reads the renderers
+ UnitFigurePointFire.Refresh(piece); // a held point-fire aim takes the new model too (#2084)
if (CollectionCatalog.Animated.Contains(id) && !CollectionCatalog.IsFullQualityGeneratedInfantry(id)) UnitFigureDetail.Of(piece).Add(holder, id); // C05 has no idle: he stays far
// A model that arrives mid-move walks with its token at once (#1866).
var motion = piece.GetComponentInParent<UnitTokenMotion>();
@@ -401,7 +403,8 @@ namespace Statecraft.Game.Map.Units
/// <summary>The box of <paramref name="model"/>'s meshes in <paramref name="frame"/>'s space, from each mesh's own
/// bounds (Renderer.bounds is empty while the layer is off). Skin bounds come from the actual posed vertices,
- /// not the imported whole-animation culling envelope. No rendered mesh or source asset is replaced. Null with no mesh.</summary>
+ /// not the imported whole-animation culling envelope. No rendered mesh or source asset is replaced. A held weapon
+ /// (UnitWeapons) is left out, so it never changes a figure's height or feet. Null with no mesh.</summary>
internal static Bounds? BoxIn(Transform frame, Transform model)
{
var inv = frame.worldToLocalMatrix;
@@ -415,10 +418,11 @@ namespace Statecraft.Game.Map.Units
if (box is Bounds bb) { bb.Encapsulate(p); box = bb; } else box = new Bounds(p, Vector3.zero);
}
}
- foreach (var f in model.GetComponentsInChildren<MeshFilter>(true)) if (f.sharedMesh != null) Add(f.sharedMesh.bounds, f.transform);
+ foreach (var f in model.GetComponentsInChildren<MeshFilter>(true))
+ if (f.sharedMesh != null && !UnitWeapons.IsHeld(f.transform, model)) Add(f.sharedMesh.bounds, f.transform);
foreach (var skin in model.GetComponentsInChildren<SkinnedMeshRenderer>(true))
{
- if (skin.sharedMesh == null) continue;
+ if (skin.sharedMesh == null || UnitWeapons.IsHeld(skin.transform, model)) continue;
var posed = new Mesh();
try
{
diff --git a/unity/Assets/Scripts/Map/Units/UnitLayer.cs b/unity/Assets/Scripts/Map/Units/UnitLayer.cs
index 55562bb0f..60ff140d0 100644
--- a/unity/Assets/Scripts/Map/Units/UnitLayer.cs
+++ b/unity/Assets/Scripts/Map/Units/UnitLayer.cs
@@ -745,8 +745,10 @@ namespace Statecraft.Game.Map.Units
paint, at, Quaternion.Euler(0, heading, 0), UnitShowcase.FigureScale, out _).transform;
}
else figure = EmptyPiece(go.transform, $"Figure{i}", at, heading); // no code-built figure for another side (#740)
- UnitFigures.Dress(figure, UnitFigures.FigureFor(t.Unit, i, israel ? t.Headgear[i] : null),
- map.Residency.Units, retainFar: true); // the Collection's figure, held while its roster token lives (#665)
+ var model = UnitFigures.FigureFor(t.Unit, i, israel ? t.Headgear[i] : null);
+ UnitFigures.Dress(figure, model, map.Residency.Units, retainFar: true); // the Collection's figure, held while its roster token lives (#665)
+ UnitFigureWeapon.Equip(figure, t.Unit.Side, model); // its sourced weapon, if any (#2083)
+ UnitFigurePointFire.Equip(figure, model); // C06's point-fire aim when the token attacks (#2084)
figures[i] = (figure, new Vector3(offsets[i].x, 0, offsets[i].y) * k, heading);
}
for (int j = 0; j < vehicles; j++)
diff --git a/unity/Assets/Scripts/Map/Units/UnitTokenMotion.cs b/unity/Assets/Scripts/Map/Units/UnitTokenMotion.cs
index 2158bf7ff..b8996daf8 100644
--- a/unity/Assets/Scripts/Map/Units/UnitTokenMotion.cs
+++ b/unity/Assets/Scripts/Map/Units/UnitTokenMotion.cs
@@ -33,6 +33,7 @@ namespace Statecraft.Game.Map.Units
float attackLength, resumeAt; // the playing take's length; where a continued attack picks up
int posed; // the walk or idle the figures were last asked for
readonly List<Animator> animators = new List<Animator>();
+ readonly List<UnitFigurePointFire> aims = new List<UnitFigurePointFire>();
public bool Moving => elapsed < Duration;
/// <summary>An attack plays, or waits for a figure to play it.</summary>
@@ -76,13 +77,18 @@ namespace Statecraft.Game.Map.Units
/// <summary>Starts the fire take on every live figure that has one (even mid-attack), from its start or, for a
/// continued attack, from where it was; the attack then lasts as long as the longest take has left. A take that had
- /// finished plays nothing, so the figures keep their walk or idle (review of #2176, item 8).</summary>
+ /// finished plays nothing, so the figures keep their walk or idle (review of #2176, item 8). A C06 figure holds Tal
+ /// Heuberger's point-fire aim instead, near or far, for the whole attack; its own fire take counts toward the attack's
+ /// length (#2084, UnitFigurePointFire).</summary>
bool Fire()
{
float longest = 0f;
animators.Clear(); GetComponentsInChildren(false, animators);
+ aims.Clear(); GetComponentsInChildren(false, aims);
foreach (var animator in animators)
if (UnitFigureMotion.CanPlay(animator, UnitFigureMotion.Attack)) longest = Mathf.Max(longest, FireLength(animator));
+ foreach (var aim in aims)
+ if (aim.Ready) longest = Mathf.Max(longest, aim.FireLength);
if (longest <= 0f) return false; // no live figure has a fire take yet: keep waiting
if (longest <= resumeAt) { attackLeft = 0f; resumeAt = 0f; return false; } // the take had finished
foreach (var animator in animators)
@@ -93,11 +99,12 @@ namespace Statecraft.Game.Map.Units
animator.Play(UnitFigureMotion.Attack, 0, resumeAt > 0f && length > 0f ? Mathf.Clamp01(resumeAt / length) : 0f);
}
attackLength = longest; attackLeft = longest - resumeAt; resumeAt = 0f; firing = true;
+ foreach (var aim in aims) aim.Hold();
return true;
}
/// <summary>The longest fire take on <paramref name="animator"/>'s controller (reading its clips allocates).</summary>
- static float FireLength(Animator animator)
+ internal static float FireLength(Animator animator)
{
float length = 0f;
foreach (var clip in animator.runtimeAnimatorController.animationClips)
@@ -120,6 +127,10 @@ namespace Statecraft.Game.Map.Units
int state = Moving ? UnitFigureMotion.Walk : UnitFigureMotion.Idle;
bool changed = state != posed, ended = fired;
posed = state; fired = false;
+ // A held point-fire aim lets go before the Animators are told to walk or stand (it wakes a near one), and is
+ // held again after them (it pauses them).
+ aims.Clear(); GetComponentsInChildren(false, aims);
+ if (!firing) foreach (var aim in aims) aim.Release();
animators.Clear(); GetComponentsInChildren(false, animators);
foreach (var animator in animators)
{
@@ -131,6 +142,7 @@ namespace Statecraft.Game.Map.Units
UnitFigureMotion.Play(animator, state,
changed || ended && animator.isActiveAndEnabled && animator.HasState(0, UnitFigureMotion.Attack));
}
+ if (firing) foreach (var aim in aims) aim.Hold();
}
/// <summary>Advances the move and the attack by <paramref name="seconds"/>; LateUpdate passes the frame's time.</summary>
diff --git a/unity/Assets/Scripts/Map/Units/UnitWeapons.cs b/unity/Assets/Scripts/Map/Units/UnitWeapons.cs
new file mode 100644
index 000000000..ad046fe98
--- /dev/null
+++ b/unity/Assets/Scripts/Map/Units/UnitWeapons.cs
@@ -0,0 +1,171 @@
+#nullable enable
+using System;
+using System.Collections.Generic;
+using Statecraft.Game.Map.Collection;
+using UnityEngine;
+
+namespace Statecraft.Game.Map.Units
+{
+ /// <summary>Tal Heuberger's weapons in the Israeli soldier figures' right hands (#2083; owner, 2 November 2026: "Yes, on the
+ /// soldier figures (Recommended)": "Attach a period-correct weapon to the unit-token soldier figures (sourced per army and
+ /// date), measured for load"). Presentation only. A figure holds a weapon only where a row below gives its army one, and
+ /// only a figure with Tal's 67-bone rig (a <see cref="HandBone"/>) can hold it; every other figure stays as it is (the
+ /// [GAP] list in docs/units.md). Each weapon streams in a bundle of its own after the people's, never in the first download.</summary>
+ public static class UnitWeapons
+ {
+ /// <summary>The name of the weapon's object under the figure's hand bone (UnitFigures.BoxIn leaves it out, so a weapon
+ /// never changes the figure's height or feet).</summary>
+ public const string HeldName = "HeldWeapon";
+ /// <summary>The hand bone of Tal Heuberger's 67-bone figures (C04 to C07, C12F; C06's point-fire export binds its K98k to it).</summary>
+ public const string HandBone = "Right_Hand";
+
+ /// <summary>One sourced row: which army carried the weapon, from when. The rows are agent-read: an AI agent read the
+ /// sources; a person's check is pending (docs/CONTENT_POLICY.md, rule 6).</summary>
+ public sealed class Row
+ {
+ public string Weapon = "", Side = "", From = "", Note = "";
+ public string[] Sources = Array.Empty<string>();
+ public string Review = "agent-read";
+ }
+
+ /// <summary>The sourced rows (checked 2 November 2026). Every token date is on or after 15 May 1948 (content/map/
+ /// units_1948.yaml), so after each row's From; UnitWeaponsTests keeps that true.</summary>
+ public static readonly IReadOnlyList<Row> Rows = new[]
+ {
+ new Row
+ {
+ Weapon = CollectionCatalog.K98k, Side = UnitData.Israel, From = "1948-04-02",
+ Note = "Czechoslovak Mauser rifles (the P-18, the Czech name of the K98k) for the Haganah: the first contract (14 January 1948) " +
+ "was for \"200 MG 34 machine guns, 4,500 P 18 rifles\"; the first air shipment landed the night of 31 March to 1 April 1948, " +
+ "and the 4,500 rifles \"arrived at Tel Aviv port aboard the Nora on 2 April\" (Palyam: the Nora reached Tel Aviv on 1 April). " +
+ "By October 1948, 34,500 P-18 rifles had been delivered.",
+ Sources = new[]
+ {
+ "https://en.wikipedia.org/wiki/Arms_shipments_from_Czechoslovakia_to_Israel",
+ "https://palyam.org/English/ArmsShips/Nora.pdf",
+ "https://en.wikipedia.org/wiki/Karabiner_98k",
+ },
+ },
+ new Row
+ {
+ Weapon = CollectionCatalog.Sten, Side = UnitData.Israel, From = "1945-01-01",
+ Note = "\"The Sten submachine gun, the personal weapon of the Palmach\" (Ayalon Institute); Stens were \"clandestinely " +
+ "manufactured in Tel Aviv and on various kibbutzim in 1945–1948\" (Sten). Held by the Palmach scout (C12F) only.",
+ Sources = new[]
+ {
+ "https://en.wikipedia.org/wiki/Ayalon_Institute",
+ "https://en.wikipedia.org/wiki/Sten",
+ },
+ },
+ };
+
+ /// <summary>The weapon each Israeli token figure holds: the Palmach scout (C12F, a Palmach woman on Harel's token,
+ /// UnitFigures.ThirdFigure) the Palmach's Sten; the other riflemen with Tal's rig the K98k. No Arab force has a row: no
+ /// source found places a K98k, an MG34 or a Sten with one in 1948, and Tal made no Lee-Enfield or Bren ([GAP]).</summary>
+ public static readonly IReadOnlyDictionary<string, string> ByFigure = new Dictionary<string, string>(StringComparer.Ordinal)
+ {
+ [UnitFigures.SabraPioneer] = CollectionCatalog.K98k, [UnitFigures.PioneerVeteran] = CollectionCatalog.K98k,
+ [UnitFigures.YoungRecruit] = CollectionCatalog.K98k, [UnitFigures.VeteranFighter] = CollectionCatalog.K98k,
+ [UnitFigures.PalmachScout] = CollectionCatalog.Sten,
+ };
+
+ /// <summary>The weapon figure <paramref name="figure"/> holds on a token of <paramref name="side"/>, or null.</summary>
+ public static string? WeaponFor(string side, string? figure)
+ {
+ if (figure == null || !ByFigure.TryGetValue(figure, out var weapon)) return null;
+ foreach (var row in Rows) if (row.Weapon == weapon && row.Side == side) return weapon;
+ return null;
+ }
+
+ /// <summary>The K98k in the hand bone's frame, as Tal Heuberger fixed it to C06's right hand in their point-fire export
+ /// (constant over all 97 frames), turned into the C06 rig's frame (UnitFigurePoseSource.Correction). Their other
+ /// 67-bone figures share the rig's bone names and axes, so they hold it the same way. UnitWeaponsTests recomputes it
+ /// from the two FBX files.</summary>
+ public static readonly Vector3 SocketPosition = new Vector3(-0.0261189211f, 0.121834747f, 0.09528886f);
+ public static readonly Quaternion SocketRotation = new Quaternion(0.5445083f, 0.2754634f, -0.4476301f, 0.6536498f);
+ public const float K98kSocketScale = 0.619152546f;
+
+ /// <summary>The Sten has no fixed pair: it takes the K98k's socket, scaled by the two weapons' sourced lengths
+ /// (Sten Mk II 762 mm, https://en.wikipedia.org/wiki/Sten; K98k 1,110 mm, https://en.wikipedia.org/wiki/Karabiner_98k;
+ /// Tal's two GLBs are both one unit long).</summary>
+ public const float StenLengthMm = 762f, K98kLengthMm = 1110f;
+
+ /// <summary>How a weapon or the pose source is asked for outside a player: edit-mode captures and tests answer by hand
+ /// (each id once; setting it forgets the answers). With none, a player or play mode asks the game's stream, which
+ /// shares a bundle between its leases; edit mode asks nothing. Apart from UnitFigures.Source, so a figure's requests
+ /// stay exactly as they were.</summary>
+ public static Action<string, Action<GameObject?>>? Source
+ {
+ get => source;
+ set { source = value; Forget(); }
+ }
+ static Action<string, Action<GameObject?>>? source;
+ static readonly Dictionary<string, GameObject?> answered = new Dictionary<string, GameObject?>(StringComparer.Ordinal);
+ static readonly Dictionary<string, List<Action<GameObject?>>> waiting = new Dictionary<string, List<Action<GameObject?>>>(StringComparer.Ordinal);
+
+ /// <summary>Asks for weapon or pose source <paramref name="id"/>; <paramref name="done"/> gets its prefab, or null (fail
+ /// open). The returned lease (play only) holds its bundle until it is disposed.</summary>
+ internal static IDisposable? Request(string id, Action<GameObject?> done)
+ {
+ if (source == null) return Application.isPlaying ? CollectionStream.Acquire(id, CollectionDetail.Far, done) : null;
+ if (answered.TryGetValue(id, out var have)) { done(have); return null; }
+ if (waiting.TryGetValue(id, out var list)) { list.Add(done); return null; }
+ waiting[id] = new List<Action<GameObject?>> { done };
+ var ask = source;
+ ask(id, prefab =>
+ {
+ if (ask != source || !waiting.TryGetValue(id, out var callers)) return; // the source changed meanwhile
+ waiting.Remove(id); answered[id] = prefab;
+ foreach (var caller in callers) caller(prefab);
+ });
+ return null;
+ }
+
+ [RuntimeInitializeOnLoadMethod(RuntimeInitializeLoadType.SubsystemRegistration)]
+ static void ResetSession() => Source = null;
+
+ /// <summary>Forgets every answer and request (a change of <see cref="Source"/>, and tests).</summary>
+ public static void Forget() { answered.Clear(); waiting.Clear(); }
+
+ public static float SocketScale(string weapon) => weapon == CollectionCatalog.Sten ? K98kSocketScale * StenLengthMm / K98kLengthMm : K98kSocketScale;
+
+ /// <summary>Puts <paramref name="weapon"/> in the right hand of figure model <paramref name="instance"/> (its far or near
+ /// model), once; nothing when the model has no hand bone. Its renderers draw as the figure's do.</summary>
+ internal static GameObject? Arm(Transform instance, string weapon, GameObject prefab)
+ {
+ var hand = FindDeep(instance, HandBone);
+ if (hand == null || hand.Find(HeldName) != null) return null;
+ var held = UnityEngine.Object.Instantiate(prefab, hand, false);
+ held.name = HeldName;
+ held.transform.localPosition = SocketPosition;
+ held.transform.localRotation = SocketRotation;
+ held.transform.localScale = Vector3.one * SocketScale(weapon);
+ var like = instance.GetComponentInChildren<Renderer>(true);
+ foreach (var r in held.GetComponentsInChildren<Renderer>(true))
+ {
+ if (like != null) { r.shadowCastingMode = like.shadowCastingMode; r.receiveShadows = like.receiveShadows; r.forceRenderingOff = like.forceRenderingOff; }
+ r.lightProbeUsage = UnityEngine.Rendering.LightProbeUsage.Off; r.reflectionProbeUsage = UnityEngine.Rendering.ReflectionProbeUsage.Off;
+ }
+ return held;
+ }
+
+ /// <summary>True when <paramref name="t"/> is part of a held weapon under <paramref name="model"/>.</summary>
+ internal static bool IsHeld(Transform t, Transform model)
+ {
+ for (var at = t; at != null && at != model; at = at.parent)
+ if (at.name == HeldName) return true;
+ return false;
+ }
+
+ internal static Transform? FindDeep(Transform root, string name)
+ {
+ if (root.name == name) return root;
+ for (int i = 0; i < root.childCount; i++)
+ {
+ var found = FindDeep(root.GetChild(i), name);
+ if (found != null) return found;
+ }
+ return null;
+ }
+ }
+}
diff --git a/unity/Assets/Scripts/Map/Units/UnitWeapons.cs.meta b/unity/Assets/Scripts/Map/Units/UnitWeapons.cs.meta
new file mode 100644
index 000000000..daf262a1e
--- /dev/null
+++ b/unity/Assets/Scripts/Map/Units/UnitWeapons.cs.meta
@@ -0,0 +1,2 @@
+fileFormatVersion: 2
+guid: be9c26a3a117a4b34bcc5f314ee79a66
\ No newline at end of file
diff --git a/unity/Assets/Tests/EditMode/CivilianPeopleTests.cs b/unity/Assets/Tests/EditMode/CivilianPeopleTests.cs
index fbab6be92..c8520a154 100644
--- a/unity/Assets/Tests/EditMode/CivilianPeopleTests.cs
+++ b/unity/Assets/Tests/EditMode/CivilianPeopleTests.cs
@@ -514,6 +514,8 @@ 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.Units.UnitWeapons.ByFigure.Values); // #2083: held by the token figures
+ placed.Add(Statecraft.Game.Map.Units.UnitFigurePointFire.PoseFor(Statecraft.Game.Map.Units.UnitFigures.YoungRecruit)!); // #2084
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");
diff --git a/unity/Assets/Tests/EditMode/CollectionImportTests.cs b/unity/Assets/Tests/EditMode/CollectionImportTests.cs
index 320e94730..473202eef 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(92, ids.Count);
+ Assert.AreEqual(95, ids.Count);
Assert.AreEqual(ids.Count, ids.Distinct().Count(), "an id in two bundles");
- Assert.AreEqual(91, CollectionCatalog.Bundles.Count,
- "73 independent originals, #1763's shared generated bundle and one bundle for each later generated model");
+ Assert.AreEqual(94, CollectionCatalog.Bundles.Count,
+ "73 independent originals, #1763's shared generated bundle and one bundle for each later generated model (#2083's two weapons and #2084's pose source among them)");
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, 4, 4 }, CollectionCatalog.Groups.Select(g => g.Ids.Length));
+ CollectionAssert.AreEqual(new[] { 21, 13, 6, 10, 5, 2, 4, 4, 4, 2, 1 }, 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);
@@ -161,9 +161,11 @@ public class CollectionImportTests
Model(id), $"{Dir(id)}/{id}.mat", ColourMap(id),
CollectionCatalog.PrefabPath(id, CollectionDetail.Far), CollectionCatalog.PrefabPath(id, CollectionDetail.Near),
};
+ // #2084's pose source: Tal's export byte for byte and the prefab beside it; no map, material or record of its own.
+ if (CollectionCatalog.IsFigurePose(id)) return new[] { CollectionCatalog.SourceModelPath(id), $"{Dir(id)}/{id}.prefab" };
if (CollectionCatalog.IsGenerated(id))
return new[] { CollectionCatalog.SourceModelPath(id), $"{Dir(id)}/{id}.mat", ColourMap(id), $"{Dir(id)}/{id}.prefab", $"{Dir(id)}/provenance.json" }
- .Concat(CollectionCatalog.IsGeneratedProp(id) || CollectionCatalog.IsGeneratedTown(id) ? Array.Empty<string>() : new[] { $"{Dir(id)}/{id}.controller" }).ToArray();
+ .Concat(CollectionCatalog.IsGeneratedProp(id) || CollectionCatalog.IsGeneratedTown(id) || CollectionCatalog.IsGeneratedWeapon(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" })
{
@@ -326,7 +328,8 @@ public class CollectionImportTests
var deps = AssetDatabase.GetDependencies(entries, true);
var outside = deps.Where(d => !folders.Any(f => d.StartsWith(f, StringComparison.Ordinal))
&& !d.StartsWith("Packages/com.unity.render-pipelines.", StringComparison.Ordinal)
- && d != "Assets/Scripts/Map/Collection/OriginalModelDistance.cs" && d != "Assets/Scripts/Map/Collection/OriginalModelPose.cs").ToArray();
+ && d != "Assets/Scripts/Map/Collection/OriginalModelDistance.cs" && d != "Assets/Scripts/Map/Collection/OriginalModelPose.cs"
+ && d != "Assets/Scripts/Map/Units/UnitFigurePoseSource.cs").ToArray(); // #2084's pose source prefab
CollectionAssert.IsEmpty(outside, bundle + " pulls in files from outside its models' folders");
}
// No asset carries a bundle label: the bundles are built from the catalog alone (CollectionImport.Builds).
@@ -361,8 +364,10 @@ public class CollectionImportTests
CollectionAssert.IsEmpty(FilesOf(id, resources), id + " in a Resources asset's closure");
string own = CollectionCatalog.BundleOf(id)!;
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" })
+ // Its model, streamed prefab, material and colour map are all in its own bundle's closure; #2084's pose source has
+ // only its export (for the clip) and its prefab.
+ foreach (var file in CollectionCatalog.IsFigurePose(id) ? new[] { source, CollectionCatalog.PrefabPath(id, CollectionDetail.Near) }
+ : 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);
@@ -409,11 +414,14 @@ public class CollectionImportTests
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).
+ // <id>.fbx in its own Collection folder (never a -near.fbx or -far.fbx). #2084's pose source builds only its prefab
+ // (the clip comes in as its dependency, never the export's mesh as an entry).
+ string[] Entries(string id) => CollectionCatalog.IsFigurePose(id) ? new[] { $"{Dir(id)}/{id}.prefab" }
+ : new[] { CollectionCatalog.PrefabPath(id, CollectionDetail.Far), CollectionCatalog.PrefabPath(id, CollectionDetail.Near), Source(id) };
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), Source(id) }).Distinct(),
+ CollectionAssert.AreEquivalent(ids.SelectMany(Entries).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();
diff --git a/unity/Assets/Tests/EditMode/Generated1948AssetTests.cs b/unity/Assets/Tests/EditMode/Generated1948AssetTests.cs
index dee6fb8c8..46f3760e1 100644
--- a/unity/Assets/Tests/EditMode/Generated1948AssetTests.cs
+++ b/unity/Assets/Tests/EditMode/Generated1948AssetTests.cs
@@ -107,7 +107,8 @@ public class Generated1948AssetTests
[Test] public void PlacedGeneratedPropsKeepTheirSourceMeshMaterialAndMap()
{
// #2085's generated whole towns are placed the same way (TownLandmarks), so the same checks hold for them.
- var props = CollectionCatalog.Ids.Where(id => CollectionCatalog.IsGeneratedProp(id) || CollectionCatalog.IsGeneratedTown(id)).ToList();
+ // #2083's weapons are made the same way too (held by the token figures, UnitWeapons).
+ var props = CollectionCatalog.Ids.Where(id => CollectionCatalog.IsGeneratedProp(id) || CollectionCatalog.IsGeneratedTown(id) || CollectionCatalog.IsGeneratedWeapon(id)).ToList();
CollectionAssert.IsSubsetOf(new[] { CollectionCatalog.BedouinTent, CollectionCatalog.SyrianR35, CollectionCatalog.TiberiasTown,
CollectionCatalog.SafedTown, CollectionCatalog.NetanyaTown, CollectionCatalog.RamlaTown }, props);
foreach (string id in props)
diff --git a/unity/Assets/Tests/EditMode/OriginalModelsStreamingTests.cs b/unity/Assets/Tests/EditMode/OriginalModelsStreamingTests.cs
index a5a650747..b1c0a4cef 100644
--- a/unity/Assets/Tests/EditMode/OriginalModelsStreamingTests.cs
+++ b/unity/Assets/Tests/EditMode/OriginalModelsStreamingTests.cs
@@ -138,12 +138,13 @@ public class OriginalModelsStreamingTests
Assert.AreEqual(model.defaultClipAnimations.Length, clips, id);
// A generated static prop, house or whole town 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) || CollectionCatalog.IsGeneratedHouse(id) || CollectionCatalog.IsGeneratedTown(id)) { Assert.AreEqual(0, clips, id + " is static"); Assert.IsTrue(model.resampleCurves, id + " keeps its delivered import"); }
+ if (CollectionCatalog.IsGeneratedProp(id) || CollectionCatalog.IsGeneratedHouse(id) || CollectionCatalog.IsGeneratedTown(id) || CollectionCatalog.IsGeneratedWeapon(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);
+ if (CollectionCatalog.IsFigurePose(id)) continue; // #2084's pose source streams only its clip: no colour map
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);
diff --git a/unity/Assets/Tests/EditMode/TalWeaponsShots.cs b/unity/Assets/Tests/EditMode/TalWeaponsShots.cs
new file mode 100644
index 000000000..d6f4811d2
--- /dev/null
+++ b/unity/Assets/Tests/EditMode/TalWeaponsShots.cs
@@ -0,0 +1,152 @@
+#nullable enable
+using System;
+using System.Collections;
+using System.IO;
+using System.Linq;
+using NUnit.Framework;
+using Statecraft.Game.Map;
+using Statecraft.Game.Map.Collection;
+using Statecraft.Game.Map.Units;
+using Statecraft.Game.UI;
+using UnityEditor;
+using UnityEditor.SceneManagement;
+using UnityEngine;
+using UnityEngine.TestTools;
+using UnityEngine.UIElements;
+using Object = UnityEngine.Object;
+
+/// <summary>Before/after stills of #2083 and #2084 in the real game scene, English and Hebrew: the game booted as
+/// TalModelsShots boots it (15 May 1948, turn 0), the unit figures answered with the editor's prefabs as the player's stream
+/// answers them. "Before" withholds Tal Heuberger's two weapons and the C06 point-fire pose source (main's map); "after"
+/// answers them. Each frame is close zoom (1.25 x the closest the player can reach), on the token's centre raised by half a
+/// figure's height, yaw 0. The attack frame
+/// plays the attack as the game does (UnitTokenMotion.PlayAttack; the layer adds the motion only in play mode, so the still
+/// adds it the same way) and advances it to half its length; an Animator does not run in edit mode, so every figure's
+/// Animator is advanced by hand by the same time. Explicit.</summary>
+[Explicit("writes stills for a pull request, not a check")]
+public class TalWeaponsShots
+{
+ string saveDir = "";
+ RenderTexture? rt; PanelSettings? ps;
+ GameRoot root = null!;
+ Action<string, CollectionDetail, Action<GameObject?>>? savedUnits;
+
+ [SetUp]
+ public void Prepare()
+ {
+ saveDir = Path.Combine(Path.GetTempPath(), "statecraft-weapon-shots-" + Guid.NewGuid().ToString("N"));
+ Directory.CreateDirectory(TalModelsShots.ShotDir); Directory.CreateDirectory(CivMovementShots.ShotDir);
+ savedUnits = UnitFigures.Source;
+ }
+
+ [TearDown]
+ public void DiscardScene()
+ {
+ UnitFigures.Source = savedUnits; UnitWeapons.Source = null; UnitFigurePointFire.Forget();
+ EditorSceneManager.NewScene(NewSceneSetup.EmptyScene, NewSceneMode.Single);
+ if (ps != null) Object.DestroyImmediate(ps);
+ if (rt != null) { rt.Release(); Object.DestroyImmediate(rt); }
+ if (Directory.Exists(saveDir)) Directory.Delete(saveDir, true);
+ }
+
+ static readonly string[] New = { CollectionCatalog.K98k, CollectionCatalog.Sten, CollectionCatalog.C06PointFire };
+
+ IEnumerator Shot(bool hebrew, bool after, string what)
+ {
+ UnitFigures.Source = TalModelsShots.Answer(Array.Empty<string>());
+ var weapons = TalModelsShots.Answer(after ? Array.Empty<string>() : New);
+ UnitWeapons.Source = (id, done) => weapons(id, CollectionDetail.Far, done);
+ yield return CivMovementShots.Boot(hebrew, saveDir, (t, p, u, g) => { rt = t; ps = p; root = g; });
+ Camera.main.aspect = (float)CivMovementShots.Width / CivMovementShots.Height;
+ var map = Object.FindFirstObjectByType<MapScene>();
+ // The subject: Harel's token for the Sten (its third figure is the Palmach scout), else the first token with a sim
+ // unit whose figures include C06 (the steel helmet), by id.
+ var subject = what == "sten"
+ ? root.Units!.Tokens.First(t => t.Token.Unit.Id == "harel")
+ : root.Units!.Tokens.Where(t => t.Token.SimId != null && t.Token.Headgear.Contains(UnitData.SteelHelmet))
+ .OrderBy(t => t.Token.Unit.Id, StringComparer.Ordinal).First();
+ var token = map.Terrain.transform.Find(UnitLayer.RootName + "/Tokens/" + subject.Token.Unit.Id);
+ Assert.IsNotNull(token, subject.Token.Unit.Id);
+ var at = new Vector3((float)subject.Spot.X, 0f, (float)subject.Spot.Z);
+ at.y = map.Terrain.SampleHeight(at) + map.Terrain.transform.position.y;
+ // Close zoom (inside the 40 km near band) on the figures' chests rather than their feet, so the whole trio and its
+ // hands are in the frame: half a figure's height above the token, a quarter farther than the closest zoom.
+ float distance = CameraController.MinDistance * 1.25f;
+ var aim = at + Vector3.up * (UnitBadge.FigureHeightM * UnitShowcase.FigureScale * 0.5f);
+ TalModelsShots.Look(aim, distance);
+ for (int i = 0; i < 5; i++) { Camera.main.Render(); yield return null; } // the near figures come in at close zoom
+ string detail = "";
+ if (what == "attack")
+ {
+ var motion = token.GetComponent<UnitTokenMotion>() ?? token.gameObject.AddComponent<UnitTokenMotion>();
+ bool played = motion.PlayAttack();
+ var fire = token.GetComponentInChildren<UnitFigurePointFire>();
+ float half = 0f;
+ foreach (var a in token.GetComponentsInChildren<Animator>())
+ if (UnitFigureMotion.CanPlay(a, UnitFigureMotion.Attack)) half = Mathf.Max(half, UnitTokenMotion.FireLength(a) / 2f);
+ if (fire != null && fire.Ready) half = Mathf.Max(half, fire.FireLength / 2f);
+ motion.Tick(half);
+ foreach (var a in token.GetComponentsInChildren<Animator>()) if (a.isActiveAndEnabled) a.Update(half);
+ detail = $" attack played={played} at {half:F3} s, aim holding={(fire != null && fire.Holding)}";
+ for (int i = 0; i < 2; i++) { Camera.main.Render(); yield return null; }
+ }
+ var held = token.GetComponentsInChildren<Transform>(true).Count(t => t.name == UnitWeapons.HeldName && t.GetComponentInChildren<Renderer>() is Renderer r && !r.forceRenderingOff);
+ var figures = string.Join("/", token.GetComponentsInChildren<UnitFigureResidency>(true).Select(o => o.ModelId));
+ CivMovementShots.Shot(rt!, Path.Combine("..", "tal-models-shots", $"weapons-{what}-{(after ? "after" : "before")}-{(hebrew ? "he" : "en")}"));
+ Debug.Log($"SHOT weapons {what} {(after ? "after" : "before")} {(hebrew ? "he" : "en")}: token {subject.Token.Unit.Id} ({figures}) at {aim} from {distance:F0} m, shown weapons {held}{detail}");
+ }
+
+ /// <summary>The load at each zoom: on the opening map (15 May 1948, turn 0), every token's held weapons and the triangles they
+ /// draw, from the unit zoom (40 km) and the closest zoom on each Israeli token in turn; logged as WEAPONS-LOAD lines.</summary>
+ [UnityTest]
+ public IEnumerator MeasureLoad()
+ {
+ UnitFigures.Source = TalModelsShots.Answer(Array.Empty<string>());
+ UnitWeapons.Source = (id, done) => done(AssetDatabase.LoadAssetAtPath<GameObject>(CollectionCatalog.PrefabPath(id, CollectionDetail.Far)));
+ yield return CivMovementShots.Boot(false, saveDir, (t, p, u, g) => { rt = t; ps = p; root = g; });
+ var map = Object.FindFirstObjectByType<MapScene>();
+ var tokens = map.Terrain.transform.Find(UnitLayer.RootName + "/Tokens");
+ (int instances, int shown, long triangles, long figureTriangles) Count()
+ {
+ int instances = 0, shown = 0; long triangles = 0, figures = 0;
+ foreach (var t in tokens.GetComponentsInChildren<Transform>(true))
+ {
+ if (t.name != UnitWeapons.HeldName) continue;
+ instances++;
+ var r = t.GetComponentInChildren<MeshRenderer>(true);
+ if (r == null || r.forceRenderingOff || !r.gameObject.activeInHierarchy) continue;
+ shown++; triangles += t.GetComponentInChildren<MeshFilter>(true).sharedMesh.triangles.Length / 3;
+ }
+ foreach (var skin in tokens.GetComponentsInChildren<SkinnedMeshRenderer>(true))
+ if (!skin.forceRenderingOff && skin.gameObject.activeInHierarchy) figures += skin.sharedMesh.triangles.Length / 3;
+ return (instances, shown, triangles, figures);
+ }
+ var israeli = root.Units!.Tokens.Where(t => t.Token.Unit.Side == UnitData.Israel && t.Token.Figures > 0).ToList();
+ var first = israeli[0];
+ var at = new Vector3((float)first.Spot.X, 0f, (float)first.Spot.Z);
+ at.y = map.Terrain.SampleHeight(at) + map.Terrain.transform.position.y;
+ TalModelsShots.Look(at, 40000f);
+ for (int i = 0; i < 3; i++) { Camera.main.Render(); yield return null; }
+ var far = Count();
+ Debug.Log($"WEAPONS-LOAD far (40 km): tokens {tokens.childCount}, Israeli army tokens {israeli.Count}, held weapons {far.instances}, drawn {far.shown}, weapon triangles drawn {far.triangles}, skinned figure triangles drawn {far.figureTriangles}");
+ TalModelsShots.Look(at, CameraController.MinDistance);
+ for (int i = 0; i < 3; i++) { Camera.main.Render(); yield return null; }
+ var near = Count();
+ Debug.Log($"WEAPONS-LOAD near ({CameraController.MinDistance:F0} m, every token's near models in): held weapons {near.instances}, drawn {near.shown}, weapon triangles drawn {near.triangles}, skinned figure triangles drawn {near.figureTriangles}");
+ foreach (var t in israeli)
+ Debug.Log($"WEAPONS-LOAD token {t.Token.Unit.Id}: figures {string.Join("/", map.Terrain.transform.Find(UnitLayer.RootName + "/Tokens/" + t.Token.Unit.Id).GetComponentsInChildren<UnitFigureWeapon>(true).Select(w => w.Weapon))}");
+ }
+
+ [UnityTest] public IEnumerator RifleBeforeEnglish() { yield return Shot(false, false, "rifle"); }
+ [UnityTest] public IEnumerator RifleAfterEnglish() { yield return Shot(false, true, "rifle"); }
+ [UnityTest] public IEnumerator RifleBeforeHebrew() { yield return Shot(true, false, "rifle"); }
+ [UnityTest] public IEnumerator RifleAfterHebrew() { yield return Shot(true, true, "rifle"); }
+ [UnityTest] public IEnumerator StenBeforeEnglish() { yield return Shot(false, false, "sten"); }
+ [UnityTest] public IEnumerator StenAfterEnglish() { yield return Shot(false, true, "sten"); }
+ [UnityTest] public IEnumerator StenBeforeHebrew() { yield return Shot(true, false, "sten"); }
+ [UnityTest] public IEnumerator StenAfterHebrew() { yield return Shot(true, true, "sten"); }
+ [UnityTest] public IEnumerator AttackBeforeEnglish() { yield return Shot(false, false, "attack"); }
+ [UnityTest] public IEnumerator AttackAfterEnglish() { yield return Shot(false, true, "attack"); }
+ [UnityTest] public IEnumerator AttackBeforeHebrew() { yield return Shot(true, false, "attack"); }
+ [UnityTest] public IEnumerator AttackAfterHebrew() { yield return Shot(true, true, "attack"); }
+}
diff --git a/unity/Assets/Tests/EditMode/TalWeaponsShots.cs.meta b/unity/Assets/Tests/EditMode/TalWeaponsShots.cs.meta
new file mode 100644
index 000000000..5dcf1a136
--- /dev/null
+++ b/unity/Assets/Tests/EditMode/TalWeaponsShots.cs.meta
@@ -0,0 +1,2 @@
+fileFormatVersion: 2
+guid: e12dbcefea61b425b8274acc91913290
\ No newline at end of file
diff --git a/unity/Assets/Tests/EditMode/UnitWeaponsTests.cs b/unity/Assets/Tests/EditMode/UnitWeaponsTests.cs
new file mode 100644
index 000000000..e42f80db1
--- /dev/null
+++ b/unity/Assets/Tests/EditMode/UnitWeaponsTests.cs
@@ -0,0 +1,400 @@
+using System;
+using System.Collections.Generic;
+using System.IO;
+using System.Linq;
+using NUnit.Framework;
+using Statecraft.Game;
+using Statecraft.Game.Map.Collection;
+using Statecraft.Game.Map.Units;
+using UnityEditor;
+using UnityEngine;
+using UnityEngine.TestTools.Constraints;
+using Is = UnityEngine.TestTools.Constraints.Is;
+using Object = UnityEngine.Object;
+
+/// <summary>#2083 and #2084 (owner, 2 November 2026): Tal Heuberger's weapons in the Israeli soldier figures' hands, and C06's
+/// point-fire aim while its token attacks, on the real imported models.</summary>
+public class UnitWeaponsTests
+{
+ readonly List<Object> made = new List<Object>();
+
+ [SetUp]
+ public void Fresh()
+ {
+ UnitFigures.Source = null; UnitFigures.Forget(); UnitFigurePointFire.Forget();
+ // The editor's prefabs answer at once, as the captures' sources do.
+ UnitFigures.Source = (id, detail, done) => done(AssetDatabase.LoadAssetAtPath<GameObject>(CollectionCatalog.PrefabPath(id, detail)));
+ UnitWeapons.Source = (id, done) => done(AssetDatabase.LoadAssetAtPath<GameObject>(CollectionCatalog.PrefabPath(id, CollectionDetail.Far)));
+ }
+
+ [TearDown]
+ public void Restore()
+ {
+ foreach (var o in made) if (o != null) Object.DestroyImmediate(o);
+ made.Clear();
+ UnitFigures.Source = null; UnitFigures.Forget(); UnitWeapons.Source = null; UnitFigurePointFire.Forget();
+ }
+
+ static GameObject Prefab(string id) => AssetDatabase.LoadAssetAtPath<GameObject>(CollectionCatalog.PrefabPath(id, CollectionDetail.Far))
+ ?? throw new AssertionException(id + ": no prefab");
+
+ /// <summary>A token with one figure dressed as <paramref name="figure"/> (its far model, as the map draws it far off),
+ /// holding its weapon and, for C06, its point-fire aim.</summary>
+ (UnitTokenMotion motion, Transform piece) Token(string figure, string side = UnitData.Israel)
+ {
+ var token = new GameObject("token"); made.Add(token);
+ var piece = new GameObject("Rifleman0").transform; piece.SetParent(token.transform, false);
+ UnitFigures.Swap(piece, figure, Prefab(figure));
+ UnitFigureWeapon.Equip(piece, side, figure);
+ UnitFigurePointFire.Equip(piece, figure);
+ var motion = token.AddComponent<UnitTokenMotion>(); motion.enabled = false;
+ return (motion, piece);
+ }
+
+ static Transform Model(Transform piece) => piece.Find(UnitFigures.ModelName).GetChild(0);
+
+ // ---- data: sourced rows, per army ----
+
+ [Test]
+ public void EveryWeaponRowIsSourcedAgentReadAndDatedBeforeEveryToken()
+ {
+ var units = UnitData.Parse(File.ReadAllText(Path.Combine(Paths.Content, "map", UnitData.DefaultFileName)));
+ Assert.IsNotEmpty(UnitWeapons.Rows);
+ foreach (var row in UnitWeapons.Rows)
+ {
+ Assert.IsNotEmpty(row.Sources, row.Weapon);
+ foreach (var s in row.Sources) StringAssert.StartsWith("https://", s, row.Weapon);
+ Assert.AreEqual("agent-read", row.Review, row.Weapon + ": a person's check is pending (CONTENT_POLICY rule 6)");
+ Assert.IsTrue(CollectionCatalog.IsGeneratedWeapon(row.Weapon), row.Weapon);
+ var from = DateTime.ParseExact(row.From, "yyyy-MM-dd", System.Globalization.CultureInfo.InvariantCulture);
+ foreach (var u in units.Where(u => u.Side == row.Side))
+ foreach (var a in u.Anchors)
+ Assert.LessOrEqual(from, DateTime.ParseExact(a.From, "yyyy-MM-dd", System.Globalization.CultureInfo.InvariantCulture),
+ $"{u.Id} stands from {a.From}, before {row.Weapon}'s sourced {row.From}");
+ }
+ }
+
+ [Test]
+ public void OnlyIsraeliFiguresWithTalsRigHoldAWeapon()
+ {
+ Assert.AreEqual(CollectionCatalog.K98k, UnitWeapons.WeaponFor(UnitData.Israel, UnitFigures.YoungRecruit));
+ Assert.AreEqual(CollectionCatalog.K98k, UnitWeapons.WeaponFor(UnitData.Israel, UnitFigures.SabraPioneer));
+ Assert.AreEqual(CollectionCatalog.K98k, UnitWeapons.WeaponFor(UnitData.Israel, UnitFigures.VeteranFighter));
+ Assert.AreEqual(CollectionCatalog.K98k, UnitWeapons.WeaponFor(UnitData.Israel, UnitFigures.PioneerVeteran));
+ Assert.AreEqual(CollectionCatalog.Sten, UnitWeapons.WeaponFor(UnitData.Israel, UnitFigures.PalmachScout), "the Palmach's personal weapon");
+ Assert.IsNull(UnitWeapons.WeaponFor(UnitData.Israel, UnitFigures.Soldier1948), "#336's soldier has no rig: [GAP]");
+ foreach (var kv in UnitFigures.BySide)
+ {
+ Assert.IsNull(UnitWeapons.WeaponFor(kv.Key, kv.Value), kv.Key + ": no source gives this army Tal's weapons");
+ Assert.IsNull(UnitWeapons.WeaponFor(kv.Key, UnitFigures.YoungRecruit), kv.Key);
+ }
+ foreach (var figure in UnitWeapons.ByFigure.Keys)
+ Assert.IsNotNull(UnitWeapons.FindDeep(Prefab(figure).transform, UnitWeapons.HandBone), figure + " has the hand bone");
+ }
+
+ // ---- the weapon in the hand ----
+
+ [Test]
+ public void ArmedFiguresHoldTheirWeaponInTheRightHandAtTheirOwnHeight()
+ {
+ foreach (var figure in UnitWeapons.ByFigure.Keys)
+ {
+ var bare = new GameObject("bare").transform; made.Add(bare.gameObject);
+ UnitFigures.Swap(bare, figure, Prefab(figure));
+ var (_, piece) = Token(figure);
+ var hand = UnitWeapons.FindDeep(Model(piece), UnitWeapons.HandBone);
+ var held = hand.Find(UnitWeapons.HeldName);
+ Assert.IsNotNull(held, figure + " holds its weapon");
+ Assert.AreSame(Prefab(UnitWeapons.ByFigure[figure]).GetComponentInChildren<MeshFilter>().sharedMesh,
+ held.GetComponentInChildren<MeshFilter>().sharedMesh, figure + " holds " + UnitWeapons.ByFigure[figure]);
+ Assert.AreEqual(1, Model(piece).GetComponentsInChildren<Transform>(true).Count(t => t.name == UnitWeapons.HeldName), "once");
+ var with = UnitFigures.BoxIn(piece.Find(UnitFigures.ModelName), Model(piece)).Value;
+ var without = UnitFigures.BoxIn(bare.Find(UnitFigures.ModelName), Model(bare)).Value;
+ Assert.That(Vector3.Distance(with.min, without.min) + Vector3.Distance(with.max, without.max), Is.LessThan(1e-5f),
+ figure + ": the weapon never changes the figure's box (height, feet)");
+ Assert.AreEqual(without.size.y * piece.Find(UnitFigures.ModelName).localScale.y,
+ with.size.y * piece.Find(UnitFigures.ModelName).localScale.y, 1e-5f);
+ }
+ }
+
+ [Test]
+ public void AnArabFigureAndTheUnriggedSoldierStayAsTheyWere()
+ {
+ foreach (var figure in new[] { UnitFigures.SyrianInfantry, UnitFigures.ArabLegion, UnitFigures.Irregular, UnitFigures.Soldier1948 })
+ {
+ var (_, piece) = Token(figure, figure == UnitFigures.Soldier1948 ? UnitData.Israel : "syria");
+ Assert.IsFalse(Model(piece).GetComponentsInChildren<Transform>(true).Any(t => t.name == UnitWeapons.HeldName), figure);
+ Assert.IsNull(piece.GetComponent<UnitFigureWeapon>(), figure);
+ }
+ }
+
+ /// <summary>The socket is Tal's own fixed pair: in their point-fire export the K98k does not move against C06's right hand
+ /// over the 97 frames, and that relation, turned into the C06 rig's frame, is the socket. Then, held by C06 in the aim,
+ /// our K98k lies on Tal's rifle and our C06 on their C06, vertex for vertex.</summary>
+ [Test]
+ public void TheK98kSocketIsTalsFixedPairAndTheAimMatchesTalsExport()
+ {
+ string path = CollectionCatalog.SourceModelPath(CollectionCatalog.C06PointFire);
+ var export = Object.Instantiate(AssetDatabase.LoadAssetAtPath<GameObject>(path)); made.Add(export);
+ var clip = AssetDatabase.LoadAllAssetsAtPath(path).OfType<AnimationClip>().Single(c => !c.name.StartsWith("__preview__"));
+ var source = Prefab(CollectionCatalog.C06PointFire).GetComponent<UnitFigurePoseSource>();
+ Assert.AreSame(clip, source.Clip);
+ Assert.AreEqual(36f / 24f, source.AimTime, 1e-6f, "frame 37 of 97 at 24 fps");
+ var rifle = UnitWeapons.FindDeep(export.transform, "tripo_node_0fa6038f-9e8d-4708-a9e8-755be6fdcc67");
+ var eHand = UnitWeapons.FindDeep(export.transform, UnitWeapons.HandBone);
+ Matrix4x4? pair = null;
+ for (int frame = 1; frame <= 97; frame += 4)
+ {
+ clip.SampleAnimation(export, (frame - 1) / 24f);
+ var s = eHand.worldToLocalMatrix * rifle.localToWorldMatrix;
+ if (pair is Matrix4x4 p) for (int k = 0; k < 16; k++) Assert.AreEqual(p[k], s[k], 1e-3f * Mathf.Max(1f, Mathf.Abs(p[k])), $"frame {frame}: the rifle moved in the hand");
+ else pair = s;
+ }
+ // Expected socket: correction(hand)^-1 x Tal's pair x (our K98k's mesh frame into theirs).
+ int hand = Array.IndexOf(source.Bones, UnitWeapons.HandBone);
+ var talMesh = rifle.GetComponent<MeshFilter>().sharedMesh;
+ var ours = Prefab(CollectionCatalog.K98k);
+ var ourMesh = ours.GetComponentInChildren<MeshFilter>().sharedMesh;
+ // Their export and ours split the same K98k's vertices differently (6,840 and 6,889), so each of ours is matched to their nearest.
+ var mine = ourMesh.vertices; var tal = talMesh.vertices;
+ float k98 = talMesh.bounds.size.x / ourMesh.bounds.size.x;
+ Assert.That(Nearest(mine.Where((_, i) => i % 13 == 0).Select(v => v * k98), tal), Is.LessThan(1e-4f * k98),
+ "the same K98k, same axes, scale " + k98);
+ var socket = source.Correction[hand].inverse * pair.Value * Matrix4x4.Scale(Vector3.one * k98);
+ string want = FormattableString.Invariant($"pos=({socket.m03:R}f, {socket.m13:R}f, {socket.m23:R}f) rot=({socket.rotation.x:R}f, {socket.rotation.y:R}f, {socket.rotation.z:R}f, {socket.rotation.w:R}f) scale={socket.lossyScale.x:R}f");
+ Assert.That(Vector3.Distance(UnitWeapons.SocketPosition, socket.GetColumn(3)), Is.LessThan(1e-5f), want);
+ Assert.That(Quaternion.Angle(UnitWeapons.SocketRotation, socket.rotation), Is.LessThan(0.01f), want);
+ Assert.AreEqual(socket.lossyScale.x, UnitWeapons.K98kSocketScale, 1e-4f * socket.lossyScale.x, want);
+
+ // The real path: C06 on a token, armed, attacking (held in the aim) against Tal's export at the aim frame.
+ var (motion, piece) = Token(UnitFigures.YoungRecruit);
+ Assert.IsTrue(motion.PlayAttack());
+ clip.SampleAnimation(export, source.AimTime);
+ var model = Model(piece);
+ var ourRifle = UnitWeapons.FindDeep(model, UnitWeapons.HeldName).GetComponentInChildren<MeshFilter>();
+ Matrix4x4 InModel(Transform t) => model.worldToLocalMatrix * t.localToWorldMatrix;
+ Matrix4x4 InExport(Transform t) => export.transform.worldToLocalMatrix * t.localToWorldMatrix;
+ var talInExport = tal.Select(v => InExport(rifle).MultiplyPoint3x4(v)).ToArray();
+ float worst = Nearest(mine.Where((_, i) => i % 7 == 0).Select(v => InModel(ourRifle.transform).MultiplyPoint3x4(v)), talInExport);
+ Assert.That(worst, Is.LessThan(1e-4f), "our K98k lies on Tal's (model units: the figure is 1 tall)");
+ var skin = model.GetComponentInChildren<SkinnedMeshRenderer>(); var talSkin = export.GetComponentInChildren<SkinnedMeshRenderer>();
+ var a = new Mesh(); var b = new Mesh();
+ try
+ {
+ skin.BakeMesh(a, true); talSkin.BakeMesh(b, true);
+ var av = a.vertices; var bv = b.vertices;
+ var aMax = av.Select(v => InModel(skin.transform).MultiplyPoint3x4(v)).ToArray();
+ var bMax = bv.Select(v => InExport(talSkin.transform).MultiplyPoint3x4(v)).ToArray();
+ Bounds Box(Vector3[] vs) { var bx = new Bounds(vs[0], Vector3.zero); foreach (var v in vs) bx.Encapsulate(v); return bx; }
+ var ab = Box(aMax); var bb = Box(bMax);
+ Assert.That(Vector3.Distance(ab.min, bb.min) + Vector3.Distance(ab.max, bb.max), Is.LessThan(2e-3f), $"C06 in the aim {ab} against Tal's {bb}");
+ var right = UnitWeapons.FindDeep(model, UnitWeapons.HandBone).position; var talRight = eHand.position;
+ Assert.That(Vector3.Distance(model.InverseTransformPoint(right), export.transform.InverseTransformPoint(talRight)), Is.LessThan(1e-4f), "the right hand");
+ }
+ finally { Object.DestroyImmediate(a); Object.DestroyImmediate(b); }
+ }
+
+ /// <summary>The largest distance from a point of <paramref name="points"/> to its nearest point of <paramref name="cloud"/>.</summary>
+ static float Nearest(IEnumerable<Vector3> points, Vector3[] cloud)
+ {
+ float worst = 0f;
+ foreach (var p in points)
+ {
+ float best = float.MaxValue;
+ foreach (var q in cloud) best = Mathf.Min(best, (p - q).sqrMagnitude);
+ worst = Mathf.Max(worst, Mathf.Sqrt(best));
+ }
+ return worst;
+ }
+
+ // ---- the aim while attacking ----
+
+ static Matrix4x4[] Bones(Transform model) =>
+ UnitWeapons.FindDeep(model, "Armature").GetComponentsInChildren<Transform>(true)
+ .Where(t => !UnitWeapons.IsHeld(t, model)).Select(t => Matrix4x4.TRS(t.localPosition, t.localRotation, t.localScale)).ToArray();
+
+ /// <summary>Every node's local transform within 1e-6 (a quaternion read back after it is set can differ in the last bit).</summary>
+ static void Same(Matrix4x4[] want, Matrix4x4[] have, string message)
+ {
+ Assert.AreEqual(want.Length, have.Length, message);
+ for (int i = 0; i < want.Length; i++)
+ for (int k = 0; k < 16; k++) Assert.AreEqual(want[i][k], have[i][k], 1e-6f * Mathf.Max(1f, Mathf.Abs(want[i][k])), $"{message} (node {i})");
+ }
+
+ [Test]
+ public void AnAttackHoldsC06sAimForItsFireTakeThenPutsEveryBoneBack()
+ {
+ var (motion, piece) = Token(UnitFigures.YoungRecruit);
+ var model = Model(piece);
+ var before = Bones(model);
+ var hand = UnitWeapons.FindDeep(model, UnitWeapons.HandBone);
+ var handBefore = model.InverseTransformPoint(hand.position);
+ Assert.IsTrue(motion.PlayAttack(), "a far C06 takes the aim: the attack plays");
+ var aim = piece.GetComponent<UnitFigurePointFire>();
+ Assert.IsTrue(aim.Holding);
+ Assert.That(Vector3.Distance(handBefore, model.InverseTransformPoint(hand.position)), Is.GreaterThan(0.05f), "the right hand rose to the aim");
+ var held = Bones(model);
+ float length = aim.FireLength;
+ Assert.AreEqual(37f / 24f, length, 0.05f, "C06's own fire take: 37 frames");
+ motion.Tick(length * 0.5f);
+ Same(held, Bones(model), "held still");
+ motion.Tick(length);
+ Assert.IsFalse(motion.Attacking);
+ Assert.IsFalse(aim.Holding);
+ Same(before, Bones(model), "every bone back as it was");
+ foreach (var a in model.GetComponentsInChildren<Animator>(true)) Assert.IsFalse(a.enabled, "a far model's Animator stays off");
+ }
+
+ [Test]
+ public void TheAimIsTheSameFrameOnEveryToken()
+ {
+ var (m1, p1) = Token(UnitFigures.YoungRecruit);
+ m1.PlayAttack();
+ var first = Bones(Model(p1));
+ UnitFigurePointFire.Forget(); // computed afresh
+ var (m2, p2) = Token(UnitFigures.YoungRecruit);
+ m2.PlayAttack();
+ Same(first, Bones(Model(p2)), "the same aim");
+ }
+
+ [Test]
+ public void HoldingAndReleasingTheAimAllocatesNothing()
+ {
+ var (motion, piece) = Token(UnitFigures.YoungRecruit);
+ motion.PlayAttack(); // the first hold computes the pose once
+ var aim = piece.GetComponent<UnitFigurePointFire>();
+ aim.Release();
+ Assert.That(() => aim.Hold(), Is.Not.AllocatingGCMemory());
+ Assert.That(() => aim.Release(), Is.Not.AllocatingGCMemory());
+ }
+
+ [Test]
+ public void OtherFiguresKeepTheirOwnFireTake()
+ {
+ foreach (var figure in new[] { UnitFigures.VeteranFighter, UnitFigures.SabraPioneer, UnitFigures.PalmachScout })
+ {
+ var (motion, piece) = Token(figure);
+ Assert.IsNull(piece.GetComponent<UnitFigurePointFire>(), figure);
+ var before = Bones(Model(piece));
+ motion.PlayAttack();
+ Same(before, Bones(Model(piece)), figure + ": a far figure without the aim stands as it was");
+ }
+ }
+
+ [Test]
+ public void WithoutItsPoseSourceC06FailsOpen()
+ {
+ UnitWeapons.Source = (id, done) => done(id == CollectionCatalog.C06PointFire ? null : AssetDatabase.LoadAssetAtPath<GameObject>(CollectionCatalog.PrefabPath(id, CollectionDetail.Far)));
+ var (motion, piece) = Token(UnitFigures.YoungRecruit);
+ var before = Bones(Model(piece));
+ Assert.IsFalse(motion.PlayAttack(), "far, with no aim and no near fire take: nothing plays, as before");
+ Same(before, Bones(Model(piece)), "unchanged");
+ }
+
+ [Test]
+ public void TheWeaponsAndThePoseStreamInTheirOwnBundlesAfterThePeoples()
+ {
+ foreach (var id in new[] { CollectionCatalog.K98k, CollectionCatalog.Sten, CollectionCatalog.C06PointFire })
+ {
+ Assert.AreEqual("collection-" + id, CollectionCatalog.BundleOf(id));
+ Assert.AreEqual(CollectionCatalog.People, CollectionCatalog.After["collection-" + id]);
+ }
+ var import = Type.GetType("Statecraft.Game.EditorTools.CollectionImport, Assembly-CSharp-Editor");
+ var pose = ((AssetBundleBuild[])import!.GetMethod("Builds")!.Invoke(null, null)!).Single(b => b.assetBundleName == "collection-" + CollectionCatalog.C06PointFire);
+ CollectionAssert.AreEqual(new[] { CollectionCatalog.PrefabPath(CollectionCatalog.C06PointFire, CollectionDetail.Far) }, pose.assetNames);
+ var deps = AssetDatabase.GetDependencies(pose.assetNames[0], true);
+ Assert.IsFalse(deps.Any(d => d.EndsWith(".jpg") || d.EndsWith(".png")), "no texture: " + string.Join(", ", deps));
+ Assert.IsNull(Prefab(CollectionCatalog.C06PointFire).GetComponentInChildren<Renderer>(true), "no mesh in the pose source");
+ }
+
+ // ---- review of #2277: hiding mid-attack, the near model, the socket on the other figures ----
+
+ /// <summary>Brings the token's near (close-zoom) models in, as a camera below the switch does (UnitFigureDetail).</summary>
+ Transform Near(Transform piece)
+ {
+ var camera = new GameObject("Camera").AddComponent<Camera>(); made.Add(camera.gameObject);
+ camera.transform.SetPositionAndRotation(new Vector3(0f, Statecraft.Game.Map.Kits.TownModelLayer.CloseEnterM - 1f, 0f), Quaternion.Euler(90f, 0f, 0f));
+ piece.root.GetComponent<UnitFigureDetail>().Choose(default, camera);
+ var near = piece.Find(UnitFigures.ModelName).Find(UnitFigureDetail.NearName);
+ Assert.IsNotNull(near, "the near model came in");
+ return near;
+ }
+
+ /// <summary>The units' visual toggle hides the layer's root (UnitLayer) mid-attack. UnitTokenMotion drops the attack then
+ /// (in a player; it does not run in edit mode), but its Pose finds no figure under an inactive root, so the aim lets go
+ /// by itself: the token shown again stands as it did, its far and near bones back and the near model's Animator running.</summary>
+ [Test]
+ public void AHiddenTokenMidAttackLetsGoOfTheAim()
+ {
+ var (motion, piece) = Token(UnitFigures.YoungRecruit);
+ var near = Near(piece);
+ var far = Model(piece);
+ var farBefore = Bones(far); var nearBefore = Bones(near);
+ var nearAnimator = near.GetComponentInChildren<Animator>(true);
+ Assert.IsTrue(nearAnimator.enabled, "close: the near model's Animator runs");
+ Assert.IsTrue(motion.PlayAttack());
+ var aim = piece.GetComponent<UnitFigurePointFire>();
+ Assert.IsTrue(aim.Holding);
+ Assert.IsFalse(nearAnimator.enabled, "held: paused");
+ motion.gameObject.SetActive(false); // the units toggled off mid-attack
+ motion.gameObject.SetActive(true);
+ Assert.IsFalse(aim.Holding, "and its aim let go");
+ Same(farBefore, Bones(far), "the far model's bones back");
+ Same(nearBefore, Bones(near), "the near model's bones back");
+ Assert.IsTrue(nearAnimator.enabled, "the near model's Animator runs again");
+ }
+
+ /// <summary>The near model a player sees close up is the same streamed prefab as the far one (CollectionCatalog.PrefabPath
+ /// gives one prefab for both details), so it takes the same aim: held on it, it too lies on Tal's export.</summary>
+ [Test]
+ public void TheNearModelHoldsTheAimOfTalsExportToo()
+ {
+ Assert.AreEqual(CollectionCatalog.PrefabPath(UnitFigures.YoungRecruit, CollectionDetail.Far),
+ CollectionCatalog.PrefabPath(UnitFigures.YoungRecruit, CollectionDetail.Near), "one prefab for both details");
+ string path = CollectionCatalog.SourceModelPath(CollectionCatalog.C06PointFire);
+ var export = Object.Instantiate(AssetDatabase.LoadAssetAtPath<GameObject>(path)); made.Add(export);
+ var source = Prefab(CollectionCatalog.C06PointFire).GetComponent<UnitFigurePoseSource>();
+ var (motion, piece) = Token(UnitFigures.YoungRecruit);
+ var near = Near(piece);
+ Assert.IsTrue(motion.PlayAttack());
+ source.Clip!.SampleAnimation(export, source.AimTime);
+ var hand = UnitWeapons.FindDeep(near, UnitWeapons.HandBone); var talHand = UnitWeapons.FindDeep(export.transform, UnitWeapons.HandBone);
+ Assert.That(Vector3.Distance(near.InverseTransformPoint(hand.position), export.transform.InverseTransformPoint(talHand.position)),
+ Is.LessThan(1e-4f), "the near model's right hand");
+ foreach (var bone in source.Bones)
+ {
+ var mine = UnitWeapons.FindDeep(near, bone); var tal = UnitWeapons.FindDeep(export.transform, bone);
+ Assert.That(Vector3.Distance(near.InverseTransformPoint(mine.position), export.transform.InverseTransformPoint(tal.position)),
+ Is.LessThan(1e-4f), bone);
+ }
+ var rifle = UnitWeapons.FindDeep(export.transform, "tripo_node_0fa6038f-9e8d-4708-a9e8-755be6fdcc67");
+ var held = UnitWeapons.FindDeep(near, UnitWeapons.HeldName);
+ Assert.IsNotNull(held, "the near model holds the K98k too");
+ var ours = held.GetComponentInChildren<MeshFilter>(); var tals = rifle.GetComponent<MeshFilter>();
+ var talPoints = tals.sharedMesh.vertices.Select(v => export.transform.InverseTransformPoint(rifle.TransformPoint(v))).ToArray();
+ Assert.That(Nearest(ours.sharedMesh.vertices.Where((_, i) => i % 7 == 0).Select(v => near.InverseTransformPoint(ours.transform.TransformPoint(v))), talPoints),
+ Is.LessThan(1e-4f), "the near model's K98k lies on Tal's");
+ }
+
+ /// <summary>The other figures take C06's socket because they share its rig (the same 67 bones): in each one's bind pose
+ /// the K98k's long axis stays within 45 degrees of where C06 holds it (across the hand would be about 90), so it hangs
+ /// along the hand. Measured on 2 November 2026: C04 34.4 degrees; the others are logged.</summary>
+ [Test]
+ public void TheOtherFiguresHoldTheRifleAlongTheHandAsC06Does()
+ {
+ Vector3 Barrel(string figure)
+ {
+ var skin = Prefab(figure).GetComponentInChildren<SkinnedMeshRenderer>(true);
+ int hand = Array.FindIndex(skin.bones, b => b.name == UnitWeapons.HandBone);
+ Matrix4x4 RootFrom(Transform t) { var m = Matrix4x4.identity; for (var at = t; at.parent != null; at = at.parent) m = Matrix4x4.TRS(at.localPosition, at.localRotation, at.localScale) * m; return m; }
+ var rest = RootFrom(skin.transform) * skin.sharedMesh.bindposes[hand].inverse; // the hand at bind, in the model's frame
+ return rest.MultiplyVector(UnitWeapons.SocketRotation * Vector3.right).normalized; // Tal's GLBs are long along X
+ }
+ var c06 = Barrel(UnitFigures.YoungRecruit);
+ var angles = UnitWeapons.ByFigure.Keys.Where(f => f != UnitFigures.YoungRecruit)
+ .Select(f => (figure: f, degrees: Vector3.Angle(c06, Barrel(f)))).ToList();
+ Debug.Log("WEAPON-AXES degrees from C06: " + string.Join(", ",
+ angles.Select(a => a.figure + " " + a.degrees.ToString("F1", System.Globalization.CultureInfo.InvariantCulture))));
+ foreach (var (figure, degrees) in angles) Assert.Less(degrees, 45f, figure); // compared as floats: no culture involved
+ }
+}
diff --git a/unity/Assets/Tests/EditMode/UnitWeaponsTests.cs.meta b/unity/Assets/Tests/EditMode/UnitWeaponsTests.cs.meta
new file mode 100644
index 000000000..ab9664576
--- /dev/null
+++ b/unity/Assets/Tests/EditMode/UnitWeaponsTests.cs.meta
@@ -0,0 +1,2 @@
+fileFormatVersion: 2
+guid: 256155c7612f844858703e03280772a2
\ No newline at end of file