Files
Neutron/docs/gameplay/rocketship-lifecycle.md

3.9 KiB
Raw Permalink Blame History

Owned Rocketship lifetime, passengers and audio

2026-11-03. tools/binary/rocketship_lifecycle.py guards15 spans/six virtuals, animation strings and impact constants. Text offsets are VA−400000. REA43EA60 Evidence ev_b28a6f3c3709bd2dc15ad82b84d77485761790d09f103f1796320c254ea7f3c3; 471000 ev_2f4144c8b1d3d2cb8f0055eb0b45bd66fba6241074364da7f86339f9ed58152d; 471090 ev_87e9605c4180524d37fe82ff4a0070b18863a43e7f19e2b398ea393752e31fdc. Complete replies/failures/snapshots remain in artifacts/rocket-lifecycle/rea-20261103. 43DF70's default provider boundary remains missing; source instructions, guarded vtable/callers and isolated component execution supplement it.

Identity and reset

Jimmycomplete+AB0 owns the ship.43D950 sets retention470F40(0),43D9F9 sets reusable game+9,43D916 registers FourCC3ROC through462220 (game+404). Loader46E6A0 finds an eligible reusable ID;46E6E0 returns first matching ID in registry order. The authored GAM3ROC reapplies properties to that owned object. It is not a nearest ship or tag search. VR02 has exactly one serialized3ROC.

Mount copies root/Euler, enables geometryD0 and integration214, transfers game118 to ship+C0, stores complete Jimmy at shipcomplete+740/interface+680 and selects DRIVE. It does not reset ship velocity, scalar or maneuver state. Raw1 cleanup 428541..428582 disables214, sets137 inhibit, explicitly calls complete128(0) →43EA80 to stop engine and hides fire. It restores Jimmy ownership, clears link, clears Jimmy velocity/acceleration and enters movementmode1/FALL, retaining his last copied root. Level initialization43EA60→41A0B0 and43DB10 is a separate reset; do not confuse remount with a new level. Normal unmounted update's base flight math still precedes its speed0 tail.

Update and presentation

43DF70 inherits flight apply, then copies ship root/Euler exactly into rider and his proxy root, reasserts control at43E23E and updates owned visuals. Goddard local offset(0,10,−25) uses full Euler; fire shares ship root/Euler. JimmyHIDRIVE→jimdrive is registered422B04..18; GoddardHIROCK→godrocket at41CE2C..40. Fire41939E..3E8 binds firestrato/fire.png and40DD40(0,6,1): source-alpha/one additive. Fire hides for Down or speed<=0, shows otherwise. Scripted burst/RNG and twenty linked effects remain separate from ordinary VR02, whose constructor EC1 prevents ordinary drive burst.

43E7E0 is the separately dispatched game-controlled input callback. Its rider complete1AC target is427370, the gadget menu; Tab/Space must work while the ship owns control. Fresh/retained registry order governs input-before/after apply.

Engine43EA80 switches0 stop,1 loop195,2 loop196, stopping old handle first; unchanged1/2 does not restart. InputUp chooses2, Down/stopped0, positive coast1. Sound197 is ordinary wall hit. All three are PCM in the existing sound bank.

Ordinary wall impact starts duration1 and E84, ED0=false.43E6E8 adds dt and tests the unrounded sum strictly greater than duration. Equality still pulses; expiry restores DRIVE and white material. The first material RGBA is(1,s,s,1), s=(sin(time*20)+1)/2: a red damage flash. The initial port/report misidentified this as shape scaling; corrected after the user's wall-impact bug report. EXE43E76E selects material interface+500;43E78B..43E7A7 writes+4C..58. OurDLL1003787C..100378F6 consumes those fields as ARGB diffuse. See impact-render proof and regression. Original probe fixture/log retains its historical scale field label for provenance; the numeric values are valid but do not establish geometry deformation. Strong ED0 queuesY−700; EC0 burst separately queues−750, excluded from ordinary VR02. Eight copied-original suffix cases in impact-probe/wine.log verify strict expiry/pulse/queued impulses, including a float-store equality whose unrounded sum has expired. Synthetic rider/render/impulse accessors run in isolated Wine32; this is not original lifecycle or whole-game verification.