feat : Music Trigger prefab working

This commit is contained in:
Hugo Le Bolloc'h
2026-04-02 14:48:52 +02:00
parent 50f8b41e57
commit 610f85e4ba
55 changed files with 1142 additions and 43 deletions
+72 -8
View File
@@ -20,9 +20,9 @@
<ChildrenList>
<MusicTransition Name="Transition" ID="{B0454AAD-C0D5-4046-AAA8-E62CA30966DC}">
<PropertyList>
<Property Name="EnableSourceFadeOut" Type="bool" Value="True"/>
<Property Name="ExitSourceAt" Type="int16" Value="3"/>
<Property Name="PlayDestinationPreEntry" Type="bool" Value="False"/>
<Property Name="PlaySourcePostExit" Type="bool" Value="False"/>
</PropertyList>
<TransitionInfo>
<SourceFadeOut>
@@ -39,15 +39,15 @@
</MusicTransition>
<MusicTransition Name="Transition" ID="{AF1C4B8F-3072-450E-9862-482AF9FDDC6B}">
<PropertyList>
<Property Name="DestinationContextType" Type="int16" Value="1"/>
<Property Name="DestinationContextType" Type="int16" Value="2"/>
<Property Name="DestinationPlaylistJumpTo" Type="int16" Value="1"/>
<Property Name="EnableDestinationFadeIn" Type="bool" Value="True"/>
<Property Name="EnableSourceFadeOut" Type="bool" Value="True"/>
<Property Name="ExitSourceAt" Type="int16" Value="3"/>
<Property Name="SourceContextType" Type="int16" Value="2"/>
<Property Name="ExitSourceAt" Type="int16" Value="0"/>
<Property Name="PlayDestinationPreEntry" Type="bool" Value="False"/>
<Property Name="PlaySourcePostExit" Type="bool" Value="False"/>
</PropertyList>
<ReferenceList>
<Reference Name="SourceContextObject">
<Reference Name="DestinationContextObject">
<ObjectRef Name="01_Sane" ID="{3734EAC3-1C80-4DA4-86F7-EEE4764FD158}" WorkUnitID="{61A57A96-4FCB-4364-A3E3-8CD59FE2E095}"/>
</Reference>
</ReferenceList>
@@ -65,8 +65,58 @@
<DestinationFadeIn>
<MusicFade Name="Destination Fade-in" ID="{A0D0C998-9BBA-44F6-B0FC-7A0204618D54}">
<PropertyList>
<Property Name="FadeCurve" Type="int16" Value="2"/>
<Property Name="FadeTime" Type="Real64" Value="0.7"/>
<Property Name="FadeCurve" Type="int16" Value="7"/>
<Property Name="FadeOffset" Type="Real64" Value="-1"/>
<Property Name="FadeTime" Type="Real64" Value="2"/>
</PropertyList>
</MusicFade>
</DestinationFadeIn>
</TransitionInfo>
</MusicTransition>
<MusicTransition Name="Transition" ID="{609CDDAC-8A1F-48E3-9B8F-92237D2DE394}">
<PropertyList>
<Property Name="DestinationContextType" Type="int16" Value="1"/>
<Property Name="EnableSourceFadeOut" Type="bool" Value="True"/>
<Property Name="ExitSourceAt" Type="int16" Value="0"/>
<Property Name="SourceContextType" Type="int16" Value="2"/>
</PropertyList>
<ReferenceList>
<Reference Name="SourceContextObject">
<ObjectRef Name="01_Sane" ID="{3734EAC3-1C80-4DA4-86F7-EEE4764FD158}" WorkUnitID="{61A57A96-4FCB-4364-A3E3-8CD59FE2E095}"/>
</Reference>
</ReferenceList>
<TransitionInfo>
<SourceFadeOut>
<MusicFade Name="Source Fade-out" ID="{31E22A9B-1D71-4716-BA88-D5D1FCE43A0E}">
<PropertyList>
<Property Name="FadeCurve" Type="int16" Value="7"/>
<Property Name="FadeOffset" Type="Real64" Value="1.6"/>
<Property Name="FadeTime" Type="Real64" Value="3"/>
<Property Name="FadeType" Type="int16" Value="1"/>
</PropertyList>
</MusicFade>
</SourceFadeOut>
</TransitionInfo>
</MusicTransition>
<MusicTransition Name="Transition" ID="{232396B1-CA6F-4CC9-85E7-474B92E9FBA8}">
<PropertyList>
<Property Name="DestinationContextType" Type="int16" Value="2"/>
<Property Name="EnableDestinationFadeIn" Type="bool" Value="True"/>
<Property Name="PlayDestinationPreEntry" Type="bool" Value="False"/>
<Property Name="SourceContextType" Type="int16" Value="1"/>
</PropertyList>
<ReferenceList>
<Reference Name="DestinationContextObject">
<ObjectRef Name="02_Staircase" ID="{ACA3E38F-6C63-4B25-AA6B-E7CD4CCD39AC}" WorkUnitID="{61A57A96-4FCB-4364-A3E3-8CD59FE2E095}"/>
</Reference>
</ReferenceList>
<TransitionInfo>
<DestinationFadeIn>
<MusicFade Name="Destination Fade-in" ID="{6BACC0FB-C442-40C7-B198-D350845B20E4}">
<PropertyList>
<Property Name="FadeCurve" Type="int16" Value="7"/>
<Property Name="FadeOffset" Type="Real64" Value="-0.1"/>
<Property Name="FadeTime" Type="Real64" Value="7"/>
</PropertyList>
</MusicFade>
</DestinationFadeIn>
@@ -155,6 +205,13 @@
</ReferenceList>
<ChildrenList>
<MusicTrack Name="MS_Level_Demo_MadPianoBrokenLayer_Loop_85bpm_4_4" ID="{0BD654BB-8323-4511-98FF-B1D12435816A}" ShortID="118571448">
<PropertyList>
<Property Name="Volume" Type="Real64">
<ValueList>
<Value>-96</Value>
</ValueList>
</Property>
</PropertyList>
<ReferenceList>
<Reference Name="OutputBus">
<ObjectRef Name="Main Audio Bus" ID="{1514A4D8-1DA6-412A-A17E-75CA0C2149F3}" WorkUnitID="{2098B74C-876E-4F52-B5FB-02CBA1A95394}"/>
@@ -258,6 +315,13 @@
</ObjectLists>
</MusicTrack>
<MusicTrack Name="MS_Level_Demo_MadPianoOutofTuneLayer_Loop_85bpm_4_4" ID="{562F00D5-C3C8-47F6-8C7B-70053A7B4602}" ShortID="72550741">
<PropertyList>
<Property Name="Volume" Type="Real64">
<ValueList>
<Value>-96</Value>
</ValueList>
</Property>
</PropertyList>
<ReferenceList>
<Reference Name="OutputBus">
<ObjectRef Name="Main Audio Bus" ID="{1514A4D8-1DA6-412A-A17E-75CA0C2149F3}" WorkUnitID="{2098B74C-876E-4F52-B5FB-02CBA1A95394}"/>