plane icon Welcome to Microsoft Flight Simulator’s SDK Q&A Platform!

You have questions regarding the SDK? DevMode Tools? SimConnect? You would like to submit an idea for future improvements, seek help or exchange knowledge? You’re in the right place.

Please take a moment to read the platform’s guidelines before you get started!


For HUDs issues management, please read the article here !

question

BuffyGC avatar image
BuffyGC asked BuffyGC commented

DialogAction and WAV-Files: CTD when Text is empty

DialogAction and InstructorDialogAction CTD with WAV but empty Text since SU5

CTD:

<SimMission.DialogAction InstanceId="{B3376C8F-FB2B-41FD-B8D4-8CC67DD397E6}">
    <Descr>DiaPOI1Exit</Descr>
    <Text></Text>
    <SoundFileName>SayHello.wav</SoundFileName>
    <DelaySeconds>2.000</DelaySeconds>
</SimMission.DialogAction>

<SimMission.DialogAction InstanceId="{B3376C8F-FB2B-41FD-B8D4-8CC67DD397E6}">
    <Descr>DiaPOI1Exit</Descr>
    <Text/>
    <SoundFileName>SayHello.wav</SoundFileName>
    <DelaySeconds>2.000</DelaySeconds>
</SimMission.DialogAction>

<SimMission.DialogAction InstanceId="{B3376C8F-FB2B-41FD-B8D4-8CC67DD397E6}">
    <Descr>DiaPOI1Exit</Descr>
    <SoundFileName>SayHello.wav</SoundFileName>
    <DelaySeconds>2.000</DelaySeconds>
</SimMission.DialogAction>

<SimMission.DialogAction InstanceId="{B3376C8F-FB2B-41FD-B8D4-8CC67DD397E6}">
    <Descr>DiaPOI1Exit</Descr>
    <Text>       </Text>
    <SoundFileName>SayHello.wav</SoundFileName>
    <DelaySeconds>2.000</DelaySeconds>
</SimMission.DialogAction


Working:

<SimMission.DialogAction InstanceId="{B3376C8F-FB2B-41FD-B8D4-8CC67DD397E6}">
    <Descr>DiaPOI1Exit</Descr>
    <Text>Fly somewhere.</Text>
    <SoundFileName>SayHello.wav</SoundFileName>
    <DelaySeconds>2.000</DelaySeconds>
</SimMission.DialogAction>


Is this by design since SU5? Any posibility to use soundfiles without text (because of the subtitles)?

mission
10 |10000 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.

1 Answer

· Write an Answer
Mr_LiamT avatar image
Mr_LiamT answered BuffyGC commented

Have you tried these?

<OneShotSoundAction InstanceID="{}">
    <SoundFileName>SayHello.wav</SoundFileName>
</OneShotSoundAction>
<PlayListAction InstanceID="{}">
    <PlayListItem>
        <SoundFileName>SayHello.wav</SoundFileName>
    </PlayListItem>
</PlayListAction>
1 comment
10 |10000 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.

Thanks for reply. I guess OneShotSoundAction is only a OneShot and not a repeating if event happnes more than one time. (i.e. from a PropertyTrigger).


About PlayListAction I understand them more as a background music playlist, but will try in a couple of days. What's happen if there is a music playlist? Will the former one continue if trigger is firing?

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.