wip : update transitions between breathing state

This commit is contained in:
Hugo Le Bolloc'h
2026-06-05 10:28:12 +02:00
parent 396859903e
commit bb85539275
5 changed files with 34 additions and 6 deletions
@@ -34,6 +34,7 @@
<MusicTransition Name="Transition" ID="{27DD7AA7-8EC0-4337-86EE-0E1826B81F43}"> <MusicTransition Name="Transition" ID="{27DD7AA7-8EC0-4337-86EE-0E1826B81F43}">
<PropertyList> <PropertyList>
<Property Name="DestinationContextType" Type="int16" Value="2"/> <Property Name="DestinationContextType" Type="int16" Value="2"/>
<Property Name="EnableSourceFadeOut" Type="bool" Value="True"/>
<Property Name="EnableTransitionFadeOut" Type="bool" Value="True"/> <Property Name="EnableTransitionFadeOut" Type="bool" Value="True"/>
<Property Name="ExitSourceAt" Type="int16" Value="0"/> <Property Name="ExitSourceAt" Type="int16" Value="0"/>
<Property Name="SourceContextType" Type="int16" Value="2"/> <Property Name="SourceContextType" Type="int16" Value="2"/>
@@ -49,6 +50,15 @@
</ReferenceList> </ReferenceList>
<TransitionInfo> <TransitionInfo>
<TransitionObjectRef Name="HightoMid_Respiration" ID="{ECC2981B-ACD4-49EA-A70D-58915C4E61BB}" WorkUnitID="{B73C557B-FD26-48FC-94D2-6133BA012B10}"/> <TransitionObjectRef Name="HightoMid_Respiration" ID="{ECC2981B-ACD4-49EA-A70D-58915C4E61BB}" WorkUnitID="{B73C557B-FD26-48FC-94D2-6133BA012B10}"/>
<SourceFadeOut>
<MusicFade Name="Source Fade-out" ID="{FFA41CB8-17E3-4B95-A8EF-F0C8871CFAC8}">
<PropertyList>
<Property Name="FadeOffset" Type="Real64" Value="0.6"/>
<Property Name="FadeTime" Type="Real64" Value="1.8"/>
<Property Name="FadeType" Type="int16" Value="1"/>
</PropertyList>
</MusicFade>
</SourceFadeOut>
<TransitionFadeOut> <TransitionFadeOut>
<MusicFade Name="Transition Fade-out" ID="{C5C4D553-5AA7-4DBE-BE05-270D0449C9C5}"> <MusicFade Name="Transition Fade-out" ID="{C5C4D553-5AA7-4DBE-BE05-270D0449C9C5}">
<PropertyList> <PropertyList>
@@ -63,6 +73,8 @@
<MusicTransition Name="Transition" ID="{274D14FD-05CC-4DFF-8879-F368F1FA2857}"> <MusicTransition Name="Transition" ID="{274D14FD-05CC-4DFF-8879-F368F1FA2857}">
<PropertyList> <PropertyList>
<Property Name="DestinationContextType" Type="int16" Value="2"/> <Property Name="DestinationContextType" Type="int16" Value="2"/>
<Property Name="EnableSourceFadeOut" Type="bool" Value="True"/>
<Property Name="EnableTransitionFadeIn" Type="bool" Value="True"/>
<Property Name="EnableTransitionFadeOut" Type="bool" Value="True"/> <Property Name="EnableTransitionFadeOut" Type="bool" Value="True"/>
<Property Name="ExitSourceAt" Type="int16" Value="0"/> <Property Name="ExitSourceAt" Type="int16" Value="0"/>
<Property Name="SourceContextType" Type="int16" Value="2"/> <Property Name="SourceContextType" Type="int16" Value="2"/>
@@ -78,6 +90,22 @@
</ReferenceList> </ReferenceList>
<TransitionInfo> <TransitionInfo>
<TransitionObjectRef Name="MidtoNormal_Respiration" ID="{6DAE4D1F-54C0-4352-8DCF-3897BD393FC8}" WorkUnitID="{B73C557B-FD26-48FC-94D2-6133BA012B10}"/> <TransitionObjectRef Name="MidtoNormal_Respiration" ID="{6DAE4D1F-54C0-4352-8DCF-3897BD393FC8}" WorkUnitID="{B73C557B-FD26-48FC-94D2-6133BA012B10}"/>
<SourceFadeOut>
<MusicFade Name="Source Fade-out" ID="{855F1E3B-E9DC-4C57-831A-F99BFE1C1199}">
<PropertyList>
<Property Name="FadeOffset" Type="Real64" Value="0.9"/>
<Property Name="FadeTime" Type="Real64" Value="2.2"/>
<Property Name="FadeType" Type="int16" Value="1"/>
</PropertyList>
</MusicFade>
</SourceFadeOut>
<TransitionFadeIn>
<MusicFade Name="Transition Fade-in" ID="{54FEAD1B-09C5-4E3F-8DC8-09CBCC355090}">
<PropertyList>
<Property Name="FadeTime" Type="Real64" Value="1.8"/>
</PropertyList>
</MusicFade>
</TransitionFadeIn>
<TransitionFadeOut> <TransitionFadeOut>
<MusicFade Name="Transition Fade-out" ID="{F99847B5-A96D-4146-BC74-E0338AD8A171}"> <MusicFade Name="Transition Fade-out" ID="{F99847B5-A96D-4146-BC74-E0338AD8A171}">
<PropertyList> <PropertyList>
@@ -10,7 +10,7 @@
"Type": "Event", "Type": "Event",
"GUID": "{1A7DAC57-1CC3-4A60-B4AE-8AD0B25FC021}", "GUID": "{1A7DAC57-1CC3-4A60-B4AE-8AD0B25FC021}",
"Language": "SFX", "Language": "SFX",
"Hash": "{15523E5F-00B2-1B88-C421-69D248ABD552}", "Hash": "{29DADF55-A0BD-BE80-86E0-2A0D7691E60C}",
"ObjectPath": "Play_playerBreathing", "ObjectPath": "Play_playerBreathing",
"ShortName": "Play_playerBreathing", "ShortName": "Play_playerBreathing",
"Path": "Event/Play_playerBreathing.bnk", "Path": "Event/Play_playerBreathing.bnk",
@@ -159,6 +159,6 @@
] ]
} }
], ],
"FileHash": "{0A6507BB-C27A-CC14-21AE-4493E086366E}" "FileHash": "{F47139C5-2606-21AD-B714-647F06AA5B92}"
} }
} }
@@ -10,7 +10,7 @@
"Type": "Event", "Type": "Event",
"GUID": "{1A7DAC57-1CC3-4A60-B4AE-8AD0B25FC021}", "GUID": "{1A7DAC57-1CC3-4A60-B4AE-8AD0B25FC021}",
"Language": "SFX", "Language": "SFX",
"Hash": "{15523E5F-00B2-1B88-C421-69D248ABD552}", "Hash": "{29DADF55-A0BD-BE80-86E0-2A0D7691E60C}",
"ObjectPath": "Play_playerBreathing", "ObjectPath": "Play_playerBreathing",
"ShortName": "Play_playerBreathing", "ShortName": "Play_playerBreathing",
"Path": "Event/Play_playerBreathing.bnk", "Path": "Event/Play_playerBreathing.bnk",
@@ -159,6 +159,6 @@
] ]
} }
], ],
"FileHash": "{6F3876FF-5C4E-A983-FDC0-5E42FB65358D}" "FileHash": "{F79BAD59-EA90-E092-3773-19B3BE4F3C71}"
} }
} }