From 3caf781850682fbf04958f70636471e546f0d426 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Thu, 26 Nov 2026 16:08:21 +0400 Subject: fix(mission): recognize the exit from the teleporter floor Behavior.dll at 0x18310 evaluates the cylinder with a candidate position queried through 0x14b30. Reuse the authored hero spawn clearance for the floor-level walking probe. Keep the cylinder from the licensed DLL oracle and the asset's original center. The stock Teleport input replay captures the portal, transfers to the lower passage and renders the victory at the glowing exit. Correct the focused fixture to use the actual factory and laboratory communicator floors. --- crates/fparkan-runtime/src/lib.rs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'crates/fparkan-runtime/src/lib.rs') diff --git a/crates/fparkan-runtime/src/lib.rs b/crates/fparkan-runtime/src/lib.rs index a897839b..3b177b0a 100644 --- a/crates/fparkan-runtime/src/lib.rs +++ b/crates/fparkan-runtime/src/lib.rs @@ -18372,8 +18372,8 @@ mod tests { "{after:?}" ); for (time, slot, objective, plate) in [ - (4_001, 4, 1, [750.0_f32, 950.7, 45.88]), - (6_001, 5, 2, [950.7, 869.4, 69.98]), + (4_001, 4, 1, [750.0_f32, 950.7, 40.11]), + (6_001, 5, 2, [950.7, 869.4, 63.98]), (8_001, 3, 4, [1179.28, 1242.12, 101.60]), ] { if slot == 3 { @@ -18405,7 +18405,8 @@ mod tests { set_transform(&mut engine.world, cockpit.handle, pose).unwrap(); assert!(frame(&mut engine, 8_002).unwrap().mission_event.is_none()); assert_eq!(loaded_mission_script_outcome(&engine), active); - pose.position = [1175.335_f32, 1242.098, 79.0].map(f32::to_bits); + // Walking toward the portal on the stock lower tunnel's floor. + pose.position = [1173.7439_f32, 1243.9574, 74.78949].map(f32::to_bits); set_transform(&mut engine.world, cockpit.handle, pose).unwrap(); let event = frame(&mut engine, 8_003).unwrap().mission_event.unwrap(); assert!(event.stop.is_none(), "{event:?}"); -- cgit v1.2.3