A Civilization-style strategy game about governing Israel from 15 May 1948. Real ministers, real map, every fact sourced. Unity + deterministic C# sim.
Units: date the Spitfire markings to their source; tag units checkpoints
eyalgolan66ed666a8a3a
diff --git a/docs/units.md b/docs/units.mdindex b352731f3..db077b78f 100644--- a/docs/units.md+++ b/docs/units.md@@ -46,7 +46,7 @@ it, and there are no level-of-detail switches yet.| Piece | Model | Where (PromoPose.Gameplay03) ||---|---|---|| Rifle trio | three 1948 IDF riflemen: bush hat with rifle held ready, Mk II steel helmet with rifle grounded, Palmach stocking cap with rifle slung | on the centre of the hex nearest 34.88 E, 32.01 N (east of Tel Aviv, clear of the settlement labels), inside a white selection ring that fits within the hex |-| Aircraft | Supermarine Spitfire LF Mk IXe of 101 Squadron, as from Operation Yoav (October 1948) into January 1949: red spinner, red-and-white rudder, roundel without an outer ring | a 16 km loop over Tel Aviv and the coast, 4.2 km above the highest ground under it, banked 28 degrees, its shadow cast on the ground by the sun |+| Aircraft | Supermarine Spitfire LF Mk IXe of 101 Squadron, late 1948 – January 1949: red spinner and red-and-white rudder (attested on Spitfires for January 1949), roundel without an outer ring | a 16 km loop over Tel Aviv and the coast, 4.2 km above the highest ground under it, banked 28 degrees, its shadow cast on the ground by the sun || Navy | modified Flower-class corvette INS Haganah (K-20), 1948, 63.4 m | off Jaffa (34.63 E, 32.02 N) |Not in the slice:@@ -113,7 +113,8 @@ Aircraft:https://commons.wikimedia.org/wiki/File:Spitfire-MkIX-hatzerim-1-1.jpgMany IAF IXes had clipped wing tips (Fundekals review, below). The slice keeps the full elliptical wing that the promoshows.-- Variant **LF.IXe**, and 101 Squadron's **red spinner** and **red-and-white striped rudder**. Two hobby sources agree:+- Variant **LF.IXe**, and 101 Squadron's **red spinner** and **red-and-white striped rudder**. On the Spitfires these are+ attested for **January 1949** (IsraDecal); the slice is dated "late 1948 – January 1949".- IsraDecal Studio, "Spitfire Mk.IX, Israeli Air Force" (IAF-123, 1:24) marking instructions, May 2023. It lists"Spitfire LF.IXe 2011/26, 101 Squadron, January 1949", painted in RAF colours, with a red spinner and the rudderpainted "in White. Paint Red stripes".@@ -121,6 +122,8 @@ Aircraft:- Eduard Info 11/2025: "In preparation for Operation Ten Plagues (October 15-22, 1948), later renamed Operation Yoav,101 Tayeset fighters obtained high visibility markings consisting of red spinners and red and white stripes on therudders". https://info.eduard.com/en/11-2025-1/strana-53+ The page shows the squadron's Avia S-199s ("Messers"), not its Spitfires. So it dates the squadron's markings to+ October 1948, but **on the Spitfires the October 1948 date is unverified**.- A Fundekals decal review also says 101 Squadron "had the white and red stripes on the rudder".https://mail.modelingmadness.com/scott/decals/fundekals/fd48idfspit.htm- **Unverified:** the stripes' direction. The slice draws them across the rudder.diff --git a/docs/visual-v1.md b/docs/visual-v1.mdindex cacb70feb..fe7a70f7d 100644--- a/docs/visual-v1.md+++ b/docs/visual-v1.md@@ -27,13 +27,15 @@ Plan: `docs/superpowers/plans/2026-10-11-statecraft-visual-v1.md`. Promo targets- Headed frame time: `uv run tools/headed.py profile --dpr 1` (`--dpr 2` is the fill-rate stress proxy). `--wait-unity`also waits for an interactive Unity editor that has any worktree open (it holds `unity/Temp/UnityLockfile`): close it,or the profile waits.-- Screenshots: `tools/art_checkpoint.sh [--no-build] <name>` (WebGL `?shot` + editor renders of both tiers + side-by-side+- Screenshots: `tools/art_checkpoint.sh [--no-build] [--units] <name>` (WebGL `?shot` + editor renders of both tiers + side-by-sideimages and their deuteranopia/protanopia copies under `captures/visual/<name>/`, git-ignored; rows in the maincheckout's `captures/visual/art-log.tsv` with the branch, short commit and the image's absolute path). It refuses to runwhile `QualitySettings.asset` (and, when it builds, `unity/Assets/Settings` or `ProjectSettings.asset`) has unstagedchanges, restores them on every exit, and takes the pose list from `PromoPose.cs`. Each checkpoint switches theworktree's build target WebGL -> OSXUniversal (editor renders) and back at the next build, a reimport each way: budget- a few minutes per checkpoint.+ a few minutes per checkpoint. `--units` adds the unit art slice (`docs/units.md`): `&units` on the WebGL shots and+ `-units` on the editor renders. Its art-log rows are named `<name>-units`, so they are never compared with plain+ checkpoints, which never show units.## Budgets (proposed; ratified in Task 10: see "Tier decisions")Measured on the development Mac (Apple silicon, integrated GPU), 1920x1080 at DPR 1, Chrome for Testing:diff --git a/tools/art_checkpoint.sh b/tools/art_checkpoint.shindex 1f5f82aa1..18951693b 100755--- a/tools/art_checkpoint.sh+++ b/tools/art_checkpoint.sh@@ -4,7 +4,8 @@# tiers, and side-by-side images against the promo with colour-blind simulations. Re-checks both golden hashes in the same# player run and fails if a screenshot is missing or blank. The art log lives in the main checkout's captures/ so every# worktree appends to one history. --units adds the unit art slice (docs/units.md) to both the WebGL shots (&units) and the-# editor renders (-units); without it the captures stay comparable across tracks. Usage:+# editor renders (-units), and its art-log rows are named <checkpoint-name>-units, so they cannot be mistaken for plain+# checkpoints; without it the captures stay comparable across tracks. Usage:# tools/art_checkpoint.sh [--no-build] [--units] <checkpoint-name>set -euo pipefailbuild=1; units_query=""; units_arg=()@@ -50,5 +51,5 @@ for pose in $poses; dodoneshared "$UNITY" -batchmode -CI false -GITHUB_ACTIONS false -TF_BUILD false -quit -projectPath unity -buildTarget OSXUniversal -executeMethod MapCapture.Promo -captureDir "$root/$out/editor" ${units_arg[@]+"${units_arg[@]}"} -logFile "$root/unity-capture-promo.log"git checkout -- unity/ProjectSettings/QualitySettings.asset # SetQualityLevel may have written m_CurrentQuality (no unstaged edits: checked above)-uv run tools/art_compare.py "$out" "$name" --log "$main_root/captures/visual/art-log.tsv"+uv run tools/art_compare.py "$out" "$name${units_query:+-units}" --log "$main_root/captures/visual/art-log.tsv"echo "ART CHECKPOINT $name: $(ls "$out"/*-compare*.png "$out"/editor/*-compare*.png | tr '\n' ' ')"diff --git a/unity/Assets/Scripts/Map/Units/UnitModels.cs b/unity/Assets/Scripts/Map/Units/UnitModels.csindex a289b75d1..39b8db781 100644--- a/unity/Assets/Scripts/Map/Units/UnitModels.cs+++ b/unity/Assets/Scripts/Map/Units/UnitModels.cs@@ -106,8 +106,9 @@ namespace Statecraft.Game.Map.Unitsm.Rod(Vector3.Lerp(butt, muzzle, 0.34f), muzzle, 0.016f, 0.014f, P.RifleMetal, segments: 5);}- /// <summary>A Supermarine Spitfire LF Mk IXe of 101 Squadron, IAF, as from Operation Yoav (October 1948) into January- /// 1949 (sources in docs/units.md): 11.23 m elliptical wing (the promo's; many IAF IXes had clipped tips), 9.47 m+ /// <summary>A Supermarine Spitfire LF Mk IXe of 101 Squadron, IAF, late 1948 to January 1949 (sources in+ /// docs/units.md; the red spinner and striped rudder are attested on the Spitfires for January 1949, while the+ /// October 1948 date is attested only for the squadron's S-199s): 11.23 m elliptical wing (the promo's; many IAF IXes had clipped tips), 9.47 m/// fuselage, four-blade propeller, the squadron's red spinner and red-and-white striped rudder, and the IAF roundel of/// 1948-49, a blue Star of David on a white disc with no outer ring, on the wings and fuselage. The camouflage (RAF/// ocean grey and dark green over medium sea grey) is UNVERIFIED: one hobby source, and a report of brown overpaint@@ -122,7 +123,7 @@ namespace Statecraft.Game.Map.Unitsm.Lathe(TRS(Vector3.zero, V(90f, 0, 0), V(0.78f, 1f, 1.05f)), body, P.CamoGreen, 12);m.Lathe(TRS(V(0, -0.22f, 0), V(90f, 0, 0), V(0.62f, 1f, 0.72f)), new List<Vector2> { new Vector2(-2.6f, 0.2f), new Vector2(-1.0f, 0.62f),new Vector2(1.6f, 0.62f), new Vector2(2.6f, 0.42f) }, P.Underside, 12);- // Spinner: 101 Squadron red from October 1948.+ // Spinner: 101 Squadron red (on its Spitfires by January 1949).m.Lathe(TRS(V(0, 0.02f, 3.0f), V(90f, 0, 0), Vector3.one), new List<Vector2> { new Vector2(0f, 0.36f), new Vector2(0.45f, 0.26f), new Vector2(0.75f, 0f) }, P.MarkingRed, 10);// Canopy.m.Ellipsoid(TRS(V(0, 0.68f, -0.4f), Vector3.zero, V(0.34f, 0.32f, 1.0f)), P.Glass);diff --git a/unity/Assets/Scripts/Map/Units/UnitPalette.cs b/unity/Assets/Scripts/Map/Units/UnitPalette.csindex 83fb953ae..6036b2881 100644--- a/unity/Assets/Scripts/Map/Units/UnitPalette.cs+++ b/unity/Assets/Scripts/Map/Units/UnitPalette.cs@@ -5,7 +5,7 @@ namespace Statecraft.Game.Map.Units{/// <summary>The paint pots of the unit miniatures: one column per slot, one row per shade. Sources are in docs/units.md:/// 1948 IDF khaki drill and British 37-pattern webbing (photographs); the IAF roundel (a blue star on a white disc);- /// 101 Squadron's red spinner and red-and-white rudder (two hobby sources agree). The Spitfire's RAF day-fighter colours+ /// 101 Squadron's red spinner and red-and-white rudder (on its Spitfires, January 1949: IsraDecal). The Spitfire's RAF day-fighter colours/// (ocean grey and dark green over medium sea grey) have a single hobby source and are unverified; a forum report of a/// brown overpaint in theatre is an open question. The corvette's light grey follows its 1948 photograph. Colours are/// pushed a little warmer and lighter than the photographs so they read at map scale under the warm grade, as the