Commit graph

2,442 commits

Author SHA1 Message Date
Meta Vens
fc73d7abcd Ship render: the hull collider carries the invisible material, so clones draw nothing
forceRenderingOff is not serialized, so Instantiate and SaveAsPrefabAsset dropped
it and every cloned mod ship (and every FBX-built prefab) drew its collision hull.
The collider renderer now takes the template's invisible material, as the thruster
emitter does. The preview smoke checks the collider on the clone and the prefab
smoke checks it on the configured prefab.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-03 15:37:33 +02:00
Meta Vens
80de88f267 Ship mounts: each weapon needs a muzzle of its own
Kills the Stryker survivor that armed every weapon with any muzzle on the ship
(the && in the per-weapon muzzle check turned into ||): a second weapon mount
with no muzzle is refused even when the first has one.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-03 14:54:03 +02:00
Meta Vens
da2a299baa Ship mounts: hide the thruster emitter with the invisible material
forceRenderingOff is not serialized, so the prototype's clone drew the
emitter again; the preview smoke's clone check caught it. The emitter's
materials become the template's invisible material, which survives
Instantiate and which EntityInstance keeps as the renderer's own material.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-03 14:48:51 +02:00
Meta Vens
95c0fa621b Ship mounts: a thruster's mesh is an unrendered emission surface
Ruling thrusters-radiators-are-meshes: thruster and radiator mounts are meshes;
the thruster's is not drawn and is the surface its exhaust emits from, the
radiator's is drawn. The assembler already required a mesh for both; it now
turns rendering off on the thruster emitter, and the preview smoke checks it.
The authoring doc states the mount rules and the mesh rule.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-03 14:39:09 +02:00
Meta Vens
976b711905 Ship mounts: anchors only for visible hardpoints, every role rule in Validate
ShipAuthoringStore.Validate now alone decides which hardpoints carry anchors
and which role each plays. A thruster, radiator, energy, ballistic or launcher
hardpoint needs an anchor of its mount id with role thruster-emitter,
radiator-mesh or the new weapon-mount; every other hardpoint is internal and
no anchor may take its id. A mount-role anchor must be a hardpoint's mount, a
muzzle must hang off a weapon mount, and each weapon needs a muzzle; these
checks move out of ShipModPlan.Build, which now only maps a validated pair to
slots and throws nothing itself. 'articulation' stays in the vocabulary for
pivots and is never a mount.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-03 14:39:08 +02:00
Meta Vens
23976aada7 Ship mounts: delete EquipmentHardpoints and the plan's Equipment list
The array's only reader was the dead SoundBank block in EntityInstance, which
looked up a hardpoint transform and did nothing with it. ShipModPlan.Equipment,
ShipModShips' assignment, the preview check, the FBX builder's HP.Equipment
case and its smoke assertion all fed that one dead reader. An HP.Equipment node
is now refused by the builder as an unknown hardpoint kind.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-03 14:34:05 +02:00
Meta Vens
7d1b74fca6 Merge master into eureka/aetheria-release-ships: adopt the moddable-ships lane onto master's base
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-03 14:18:39 +02:00
Meta Vens
f1dee18409 Scenarios map: belt-freeze rulings (general targeting index; fix Previous off-by-one)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-01 14:04:00 +02:00
Meta Vens
1cc08e20c0 Scenarios map: mining fix batch landed on codex/mining; belt freeze stopped at structure fork
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-01 13:37:50 +02:00
Meta Vens
22e9741984 Scenarios map: operator rules mining F1 fixed before merge; launchers excluded from rock reach
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-01 12:45:55 +02:00
Meta Vens
d00a16480d Scenarios map: mining Cut 3 Soul (hold for one fix batch); merge rule corrected
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-01 01:48:47 +02:00
Meta Vens
5dd03cab00 Scenarios map: Soul on batch 4 (origin-outside-hardpoint blocker); queued under drain
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-01 00:15:09 +02:00
Meta Vens
4809b0663f Scenarios map: F1 ruled a separate thermal balance campaign; Cut 1 merges with the freeze as a known defect
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-30 23:56:45 +02:00
Meta Vens
ad42ff5554 Scenarios map: S2 ruled B (leftover hardpoint cells may hold tool gear)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-30 22:23:28 +02:00
Meta Vens
8863f05ebb Scenarios map: belt code superseded by mining; merge rule for Zone.cs
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-30 22:22:36 +02:00
Meta Vens
b2f74f0565 Scenarios map: Soul on batch 3 (flaky test, occupancy question, L-hardpoint crash, respawn timers)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-30 22:20:48 +02:00
Meta Vens
b3b550dbaf Scenarios map: self-allegiance ruled (own-faction reach implicit; 11 self-entries removed)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-30 21:37:20 +02:00
Meta Vens
d19b7251ac Scenarios map: stations get radiators; per-manufacturer reactors kept; self-allegiance question
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-30 21:33:52 +02:00
Meta Vens
197c47c4ff Scenarios map: F3 ruled, hardpoint fit is loose (one rule everywhere)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-30 19:54:23 +02:00
Meta Vens
99adb2fc73 Scenarios map: Soul on batch 2 (do not merge; reactor burnout, inert heater test, two fit rules, null damage curves)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-30 19:35:15 +02:00
Meta Vens
2c3d4005b6 Scenarios map: station reactors per manufacturer (B); tractor/pickup becomes its own campaign
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-30 19:02:32 +02:00
Meta Vens
555f8815ce Scenarios map: autocannon stays unsold; unfittable gear is never stocked
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-30 16:57:56 +02:00
Meta Vens
a1564c7d03 Scenarios map: everyone gets a tractor beam; pickup follows the shield/pickup presentation contract
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-30 16:08:22 +02:00
Meta Vens
eff52bbd97 Scenarios map: station reactor, heater is tool gear, no save retrofit, pickup needs a tractor
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-30 16:03:49 +02:00
Meta Vens
b7ba401981 Scenarios map: stations spawn the heater (ruling A); heater is generic gear
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-30 14:48:49 +02:00
Meta Vens
48e638b8a8 Scenarios map: the Industrial Thermostatic Heater stays (stations need it)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-30 14:44:46 +02:00
Meta Vens
de2c659c55 Scenarios map: the ten product-less designs (industrial deleted, weapons get products)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-30 14:42:45 +02:00
Meta Vens
702b454bea Scenarios map: record Q1-Q4 rulings; Cut 0 cancelled
Q1 A, Q2 B, Q3 A. Q4: every console command stays ("never toss a
single one"), so Cut 0 is cancelled and give/spawnturret admit through
Zone.Admit in Cut 1. Self restores the smoke weapons in the operator
tree when Cut 4 lands.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-30 12:14:40 +02:00
Meta Vens
a93625c2f3 Ships map: mount anchors only for weapons, radiators and thrusters
Operator ruling 2026-09-30: mount points exist only for externally
visible hardpoints. No equipment role, no plain mount. Articulation
points stay; they are not mounts.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-30 12:14:27 +02:00
Meta Vens
6f5ce55138 Ships map: S2 status (landed, Unity smokes pass, operator checks owed)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-30 11:28:10 +02:00
Meta Vens
48cabc5f85 Ship S2: the prototype root is kept across scenes only in play mode
DontDestroyOnLoad throws outside play mode, so the edit-mode play smoke
failed before it reached assembly.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-30 11:14:00 +02:00
Meta Vens
e9195763b6 Ship S2: the Unity-generated meta for ShipModPlaySmoke.cs
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-30 11:13:10 +02:00
Meta Vens
910b51c3f8 Ship S2: an Editor smoke that composes, preloads and instantiates a mod ship the way ZoneRenderer.LoadEntity does
ShipModPlaySmoke.Run asserts thruster and weapon hardpoints, the hull MeshCollider and the map icon, prints
SHIP_MOD_PLAY_SMOKE and exits explicitly. The authoring doc gains a Unity batch smokes section.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-09-30 10:57:47 +02:00
Meta Vens
4f6bbbb8da Ship S2 smoke fixture: the node index test names the weapon nodes
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-09-30 10:54:02 +02:00
Meta Vens
5b58b947bd Ship S2 smoke fixture: the weapon mount takes the hull other cell instead of moving the thruster off the schematic
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-09-30 10:53:26 +02:00
Meta Vens
54dcf5214c Ship S2 smoke fixture: the generated GLB carries a tetrahedron mesh on the map, collider and thruster anchors, plus a weapon mount and muzzle
The fixture package now has real vertices (BIN chunk written by the generator, no committed bytes), an energy hardpoint "gun" with a
muzzle anchor, and the thruster moved outside the schematic, so ShipModShips.Assemble accepts it.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-09-30 10:52:47 +02:00
Meta Vens
34319b0df1 Ship S2 fixes: RequireDesigns refuses nulls explicitly, and a failing Compose falls back to the shipped catalog
- RequireDesigns names the null (entity, item, zone record, lot, lot ledger) instead of catching NullReferenceException.
- ResolveCatalog reports a Compose-level failure as an exclusion covering all mods and boots the shipped catalog.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-09-30 10:06:16 +02:00
Meta Vens
8f8b72be3c Ship S2 fixes: the edge-of-range hardpoint test re-roles its anchor with its type
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-09-30 08:34:54 +02:00
Meta Vens
5ed3b759c4 Ship S2 fixes: the RunSave designs fixture resolves its gear ref
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-09-30 08:31:24 +02:00
Meta Vens
54917bb39d Ship S2 fixes: structural anchors are not mounts, mod presets refused, one bad mod never bricks the boot
- Validate: a hardpoint's anchor role is fixed by its type (thruster-emitter, radiator-mesh, else articulation); ShipModPlan's
  duplicate role check is deleted.
- Loadouts.Commit refuses a preset naming a mod design (mod-hull:/mod-ship:), so the shipped catalog never references a mod.
- Compose quarantines each package: a bad package is excluded and named, a collision excludes every package involved; the
  game boots on the rest (or the shipped catalog) and the main menu lists the exclusions.
- RequireDesigns refuses a save with a null item or lot instead of throwing NullReferenceException.
- Tests: per structural role, muzzle id ties, every slot/zone/lot in RequireDesigns, listing order, exclusion cases.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-09-30 08:30:52 +02:00
Meta Vens
7eebd21d29 Ship S2: commit the .meta files for ShipModShips and ShipModPlan
Unity generated them on import; without them the two scripts' GUIDs are
unpinned and differ per checkout.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-30 08:20:33 +02:00
Meta Vens
81abd8ef2b Ship authoring doc: the game reads mod ships (S2)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-09-30 07:53:38 +02:00
Meta Vens
86318ec014 Ship S2 tests: muzzle order against ids, every weapon type, PackageOf validates
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-09-30 06:46:17 +02:00
Meta Vens
460bb85ed0 Ship S2: the game composes and loads mod ships
Boot opens the derived catalog when GameData/Mods holds packages
(ShipModCatalog.ResolveCatalog), preloads each hull's GLB into an assembled
inactive prototype (ShipModShips), and LoadEntity clones it when the hull names
a Visual. ShipModPlan decides which anchor fills which ShipInstance slot; a
ShipModTemplate prefab carries the shared effects. Continue refuses a run that
names a design the catalog no longer holds (RunSave.RequireDesigns).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-09-30 06:43:52 +02:00
Meta Vens
f470c1b775 Ship S1 fixes: refuse the retired embedded hull, one body per hull, closed validator gaps
Load reads the raw ship authoring payload and refuses a non-nil retired key 1 (the
pre-S1 embedded hull) naming the old shape, so a stale hull is no longer silently
ignored; ship_cc.py refuses the same file on read and therefore on every save.

A hull naming both a Unity prefab and a visual is refused by one predicate
(ShipAuthoringStore.RequireOneBody), called by Validate and by Compose over every hull
in the derived catalog, shipped ones included; a whitespace-only Prefab is unset. This
replaces the mod-ship-only "cannot name a Unity prefab" check.

The validator also refuses non-finite or negative hardpoint Armor and FiringArc, an
undefined HardpointType or ItemRotation, and an anchor Role outside the eight the
schema documents.

Load wraps MessagePack decode failures with the file path. Python replace_layout
refuses non-boolean layout and hardpoint-footprint cells.

Tests: exact Visual key comparison, HullData.Visual at key 32, a save refreshing
stored_at, plus one case per new refusal. HullData.Visual is now [Inspectable] like
Prefab (Unity editor only; not compiled here).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-09-30 06:18:20 +02:00
Meta Vens
d1648800ab Ship authoring doc: one hull record, a hull names its visual
Owner, shared-path and compose paragraphs describe the S1 shape: a ship
file holds a HullData and the ShipAuthoring visual it names through
HullData.Visual, and the derived catalog holds one hull per mod ship.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-09-30 03:48:47 +02:00
Meta Vens
1702e0549f Ship S1: one hull record, and a hull names its visual
A mod ship file now holds a HullData at mod-hull:<id> and the ShipAuthoring
visual package at mod-ship:<id>. HullData.Visual (key 32) is the typed ref
between them; ShipAuthoring.Hull (key 1) is retired.

- One joint validator over (hull, visual) is the only semantic check; Load
  owns the file structure (one hull, one visual, deterministic keys).
- Compose copies the mod store's records verbatim, so the derived catalog
  holds one hull per mod ship.
- ship_cc.py edits the hull record's slots directly; the body[HULL_SLOT]
  indirection is gone.
- The package fixture is generated from ShipAuthoringTests.Fixture() (glTF
  scene included) and exported when AETHERIA_SHIP_FIXTURE_DIR is set.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-09-30 03:06:43 +02:00
Meta Vens
de1b5b8fa2 Ships map: S0 Unity compile and smoke passed; fixture package owed
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-30 02:57:08 +02:00
Meta Vens
01e9db1c27 Ship S0: correct the authoring doc, record the merge status in the map
Applies corrections 1-4 of docs/moddable-ships-cut.md B.1 to
docs/moddable-ship-authoring.md: label the Quiet probe numbers as unrecorded,
name the double-held mod hull in the derived catalog, name the ShipAuthoring
catalog-routing invariant, and scope "same semantic validator" to C# callers.
The map's status header gains the S0 result (615 tests on the merge), the
S-Soul status, the corrected TradeMenu.cs path, and anchors re-taken against
the merged tree.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-09-30 02:26:50 +02:00
Meta Vens
18e12d81ce Merge master (fire control 12) into codex/moddable-ships 2026-09-30 02:21:09 +02:00