Jump to content

Recommended Posts

Posted

As of v1.0.3 the C525 will play the flap lever and throttle cutoff gate sounds even if the controls can't move, for example pressing "Flaps Up" when the flaps are already up or trying to move the throttles from cutoff to idle with the control lock engaged.

Someone on Discord found out it's a really simple fix - they're all fmod sounds, and the triggers are defined in [C525]/fmod/CJ525.snd, which is a text file. We can change the triggers from the command being activated to the control actually moving.

  1. Find your C525 aircraft folder, and the fmod subfolder within it
  2. Make a copy of CJ525.snd, save it as CJ525.sndbak
  3. Edit CJ525.snd with a text editor
  4. Search for `EVENT_NAME /Buttons/Flaps_UP` - you'll find two "Sound Attachments" for triggering the flaps up and flaps down sound effects. They're linked directly to the flaps up / flaps down commands
  5. Change the two attachments to the following - making the trigger be the flap handle dataref changing:
     
BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /Buttons/Flaps_UP
	VEH_XYZ 0.0513 0.67952 -3.5634
	EVENT_START_COND DELTA=afm/cj/controls/flaps < 0
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /Buttons/Flaps_DN
	VEH_XYZ 0.0513 0.67952 -3.5634
	EVENT_START_COND DELTA=afm/cj/controls/flaps > 0
END_SOUND_ATTACHMENT

 

  • Likewise search for `EVENT_NAME /Controls/Throttle_gate_L` to find the four attachments for the throttle cutoff gates
  • Change the four attachments to this - which filters on both the dataref changing and the control lock being disengaged:
     
BEGIN_SOUND_ATTACHMENT
    EVENT_NAME /Controls/Throttle_gate_L
    VEH_XYZ -0.02 0.00 -3.6948
    EVENT_START_COND DELTA=afm/cj/controls/l_cutoff > 0
    EVENT_START_COND afm/cj/f/levers/control_lock == 0
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
    EVENT_NAME /Controls/Throttle_gate_R
    VEH_XYZ -0.02 0.00 -3.6948
    EVENT_START_COND DELTA=afm/cj/controls/l_cutoff < 0
    EVENT_START_COND afm/cj/f/levers/control_lock == 0
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
    EVENT_NAME /Controls/Throttle_gate_L
    VEH_XYZ -0.02 0.00 -3.6948
    EVENT_START_COND DELTA=afm/cj/controls/r_cutoff > 0
    EVENT_START_COND afm/cj/f/levers/control_lock == 0
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
    EVENT_NAME /Controls/Throttle_gate_R
    VEH_XYZ -0.02 0.00 -3.6948
    EVENT_START_COND DELTA=afm/cj/controls/r_cutoff < 0
    EVENT_START_COND afm/cj/f/levers/control_lock == 0
END_SOUND_ATTACHMENT

Any issues, replace your modified CJ525.snd and with the backup you made... but there shouldn't be issues :)

I'll update the thread title when v1.1 comes out, either to show it's fixed or show it applies to v1.1 also.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...