From 00e8ddb1ca169e0bf38bde14eaa73969b9177d1a Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Thu, 26 Nov 2026 08:14:18 +0400 Subject: feat(audio): drive chassis engine loops from actual movement Prepare the authored root-node CTL attachments and feed Control speed limits plus observed motion into FX modes 5 and 15. The stock AutoDemo window queues ground and flight engine loops from the starting scene. --- crates/fparkan-runtime/src/lib.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (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 4895135a..4efbc365 100644 --- a/crates/fparkan-runtime/src/lib.rs +++ b/crates/fparkan-runtime/src/lib.rs @@ -451,7 +451,7 @@ fn factory2_selected_fx_resources_are_representable( }; let selected_rows = rows .iter() - .filter(|row| Some(row.table_index) == control.initial_effect_group) + .filter(|row| row.opcode == 4 && Some(row.table_index) == control.initial_effect_group) .collect::>(); if selected_rows.len() != selected_opcode4_count { return Ok(false); @@ -8741,6 +8741,7 @@ mod tests { PreparedControlEffectRow { table_index, row_index, + opcode: 4, raw_condition: [0; 3], point_offsets, selector: 0, -- cgit v1.2.3