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.

Units: match the promo's figure size on the checkpoint (2000x)

eyalgolan4b59c9ded2af
diff --git a/docs/units.md b/docs/units.md
index c428a7f4c..343c166d7 100644
--- a/docs/units.md
+++ b/docs/units.md
@@ -45,9 +45,9 @@ and rendered at the gameplay zoom and close up. The evidence is in the spike rep
| (b) CC0 base meshes: Quaternius Universal Base Characters (free "Standard" kit, CC0) | A clean, rigged body, but a stylised "superhero" figure in underwear, in a T-pose. Every uniform, hat, belt and rifle would have to be modelled by hand in Blender. Kenney's characters are blocky, low-poly figures, which the spec rules out (§6, "no low-poly packs mixed in"). | CC0; fine. |
| **(c) Code-built from primitives (chosen)** | Lathed limbs and torsos, ellipsoids, boxes and plates, painted from one palette texture with a dark wash at the feet and a dry-brushed highlight on top. One URP Lit material, made at runtime, with no texture file. About 3,600 triangles per figure. Real silhouettes for each headgear and rifle pose. The figures cast and receive shadows. | Our own code, MIT. |
-**Why (c):** at the gameplay zoom a figure is about 100 px tall. What reads at that size is the silhouette (hat brim,
-rifle, stance), the colour blocks (khaki shirt, dark trousers, pale webbing) and the shadow, and the code-built figures
-match the promo on all three. They are exact to the sources: each part is a sourced item, and a change is a reviewed line
+**Why (c):** at the gameplay zoom a figure is about 90 px tall. What reads at that size is the silhouette (hat brim,
+rifle, stance), the colour blocks (khaki shirt, dark trousers, pale webbing) and the shadow. The code-built figures get
+all three close to the promo (see the art checkpoint's side-by-side). They are exact to the sources: each part is a sourced item, and a change is a reviewed line
of code. Era variants (1956 helmets, 1967 Uzis, 1973 flak vests) are parameters. Builds are deterministic, there is no
licence question, and the build-size cost is code only.
@@ -58,15 +58,16 @@ as the far LOD.
## Scale
-Measured on the promo at the gameplay zoom, a rifleman stands about 0.38 of a hex's screen width tall. Our gameplay03 pose
-frames the same hex count as the promo (about 9 across: see `PromoPose`). With 5 km hexes, a 50-degree camera pitch and a
-35-degree field of view at 60 km, that is a figure about 5.5 km tall: `UnitShowcase.FigureScale = 2600` times a real man.
-The aircraft (x520) and the ship (x105) are sized against the figures, as Civ sizes them, not against each other.
+Measured on the promo scaled to 1920 px wide: a rifleman is about 87 px tall, inside a ring about 190 px across. Our
+gameplay03 pose frames the same hex count as the promo (about 9 across: see `PromoPose`). The first checkpoint, at 2600x,
+drew our riflemen 113 px tall. So the slice uses `UnitShowcase.FigureScale = 2000`: a man about 3.6 km tall on 5 km
+hexes, with the ring at 0.66 of a hex's circumradius. The aircraft (x420, a 4.7 km span) and the ship (x95, 5.9 km) are
+sized against the figures, as Civ sizes them, not against each other.
**Open question for the owner.** This is far above the "10–25x real" ruling for buildings and trees. At 10–25x a man is
18–45 m tall, which is under one pixel at 60 km. The promo (which wins over strict scale, by the owner's ruling) draws
units as tokens. Options:
-1. Keep units as tokens at about 2,600x, as now.
+1. Keep units as tokens at about 2,000x, as now.
2. Scale units with the zoom, Civ-style, so they keep a constant size on screen.
3. Make them smaller and accept that they only read at the hero zoom.
diff --git a/unity/Assets/Scripts/Map/Units/UnitShowcase.cs b/unity/Assets/Scripts/Map/Units/UnitShowcase.cs
index bb43de16f..9c50cf9e6 100644
--- a/unity/Assets/Scripts/Map/Units/UnitShowcase.cs
+++ b/unity/Assets/Scripts/Map/Units/UnitShowcase.cs
@@ -18,15 +18,15 @@ namespace Statecraft.Game.Map.Units
{
public const string RootName = "UnitShowcase", ToggleName = "units";
- /// <summary>Symbolic scale, measured on the promo (docs/units.md): the promo's riflemen stand about 0.38 of a hex's
- /// screen width tall at the gameplay zoom, which on our 5 km hexes at 60 km is about 5.5 km. So a man is drawn
- /// <see cref="FigureScale"/> times his real size, and the aircraft and the ship are sized against him, as Civ draws
- /// them, not against each other.</summary>
- public const float FigureScale = 2600f;
- public const float AircraftScale = 520f; // span 11.2 m x 520 = 5.8 km: a little wider than a man is tall
- public const float ShipScale = 105f; // 62.5 m x 105 = 6.6 km: about one hex, like the promo's boats
+ /// <summary>Symbolic scale, measured on the promo against the art checkpoint (docs/units.md): at 1920 px wide the
+ /// promo's riflemen stand about 87 px tall inside a ring about 190 px across; the first checkpoint, at 2600x, drew
+ /// them 113 px tall. So a man is drawn <see cref="FigureScale"/> times his real size (about 3.6 km at 2000x), and
+ /// the aircraft and the ship are sized against him, as Civ draws them, not against each other.</summary>
+ public const float FigureScale = 2000f;
+ public const float AircraftScale = 420f; // span 11.2 m x 420 = 4.7 km: wider than a man is tall
+ public const float ShipScale = 95f; // 62.5 m x 95 = 5.9 km: about a hex, like the promo's boats
/// <summary>Trio spacing and the ring, as fractions of the hex circumradius.</summary>
- public const float TrioSpread = 0.30f, RingRadius = 0.62f, RingWidth = 0.035f, RingClearanceM = 25f;
+ public const float TrioSpread = 0.40f, RingRadius = 0.66f, RingWidth = 0.035f, RingClearanceM = 25f;
/// <summary>The flight: a circle of <see cref="LoopRadiusM"/> about <see cref="LoopCentre"/>, at
/// <see cref="AltitudeM"/> above the highest ground under it, once every <see cref="LoopSeconds"/>, banked inwards.</summary>
public const float LoopRadiusM = 16000f, AltitudeM = 4200f, LoopSeconds = 48f, BankDegrees = 28f;