chore : wip music system staircase

This commit is contained in:
Hugo Le Bolloc'h
2026-03-29 20:30:54 +02:00
parent 5c01b640df
commit 5709a6d615
3 changed files with 103 additions and 36 deletions
@@ -76,42 +76,8 @@
<PropertyList>
<Property Name="Bypass" Type="bool" Value="True"/>
</PropertyList>
<ReferenceList/>
</EffectSlot>
</ObjectList>
<ObjectList Name="RTPC">
<RTPC Name="" ID="{F90AFFCD-48C4-45A2-92AB-820BEB213067}" ShortID="907512015">
<PropertyList>
<Property Name="PropertyName" Type="string" Value="BusVolume"/>
</PropertyList>
<ReferenceList>
<Reference Name="ControlInput">
<ObjectRef Name="pianoProximity_Rtpc" ID="{CA91714E-37E8-41FB-8FE8-D7AB24E265C3}" WorkUnitID="{514445B2-706B-4226-A02B-74027F2D1BCE}"/>
</Reference>
<Reference Name="Curve">
<Custom>
<Curve Name="" ID="{6B49B226-83AF-474B-83A6-9930938DAD0E}">
<PropertyList>
<Property Name="Flags" Type="int32" Value="3"/>
</PropertyList>
<PointList>
<Point>
<XPos>0</XPos>
<YPos>-200</YPos>
<Flags>5</Flags>
</Point>
<Point>
<XPos>100</XPos>
<YPos>0</YPos>
<Flags>37</Flags>
</Point>
</PointList>
</Curve>
</Custom>
</Reference>
</ReferenceList>
</RTPC>
</ObjectList>
</ObjectLists>
</Bus>
</ChildrenList>
+92 -2
View File
@@ -22,12 +22,14 @@
<PropertyList>
<Property Name="EnableSourceFadeOut" Type="bool" Value="True"/>
<Property Name="ExitSourceAt" Type="int16" Value="3"/>
<Property Name="PlayDestinationPreEntry" Type="bool" Value="False"/>
</PropertyList>
<TransitionInfo>
<SourceFadeOut>
<MusicFade Name="Source Fade-out" ID="{F564948B-2486-4EF9-9062-DDCA0442564B}">
<PropertyList>
<Property Name="FadeCurve" Type="int16" Value="6"/>
<Property Name="FadeOffset" Type="Real64" Value="1.5"/>
<Property Name="FadeTime" Type="Real64" Value="3"/>
<Property Name="FadeType" Type="int16" Value="1"/>
</PropertyList>
@@ -996,7 +998,27 @@
<Flags>5</Flags>
</Point>
<Point>
<XPos>100</XPos>
<XPos>0.99381</XPos>
<YPos>-2.09611</YPos>
<Flags>0</Flags>
</Point>
<Point>
<XPos>1.99071</XPos>
<YPos>-5.83252</YPos>
<Flags>0</Flags>
</Point>
<Point>
<XPos>2.98762</XPos>
<YPos>-10.0756</YPos>
<Flags>0</Flags>
</Point>
<Point>
<XPos>4.0031</XPos>
<YPos>-200</YPos>
<Flags>0</Flags>
</Point>
<Point>
<XPos>5</XPos>
<YPos>-200</YPos>
<Flags>37</Flags>
</Point>
@@ -1047,6 +1069,13 @@
</ObjectLists>
</MusicTrack>
<MusicTrack Name="MS_Level_Demo_StaircasePianoDetune_Loop_85bpm_4-4" ID="{F9B24DFD-8A77-43B6-8B7D-FD81DD5C981A}" ShortID="1053799865">
<PropertyList>
<Property Name="Volume" Type="Real64">
<ValueList>
<Value>-2</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}"/>
@@ -1094,7 +1123,27 @@
<Flags>5</Flags>
</Point>
<Point>
<XPos>100</XPos>
<XPos>1.00928</XPos>
<YPos>-12.04834</YPos>
<Flags>0</Flags>
</Point>
<Point>
<XPos>2.00309</XPos>
<YPos>-5.88099</YPos>
<Flags>0</Flags>
</Point>
<Point>
<XPos>3.00619</XPos>
<YPos>-2.64062</YPos>
<Flags>0</Flags>
</Point>
<Point>
<XPos>3.9969</XPos>
<YPos>0.02913</YPos>
<Flags>0</Flags>
</Point>
<Point>
<XPos>5</XPos>
<YPos>0</YPos>
<Flags>37</Flags>
</Point>
@@ -1243,6 +1292,47 @@
</ObjectLists>
</MusicSegment>
</ChildrenList>
<ObjectLists>
<ObjectList Name="RTPC">
<RTPC Name="" ID="{40B60CDC-9A1A-4558-931C-3F02468A3505}" ShortID="153186964">
<PropertyList>
<Property Name="PropertyName" Type="string" Value="PlaybackSpeed"/>
</PropertyList>
<ReferenceList>
<Reference Name="ControlInput">
<ObjectRef Name="staircaseTransition_Rtpc" ID="{42A3CD1A-C12D-4317-A81A-4A8946C4E920}" WorkUnitID="{514445B2-706B-4226-A02B-74027F2D1BCE}"/>
</Reference>
<Reference Name="Curve">
<Custom>
<Curve Name="" ID="{3F25567D-7E09-4E4F-804B-F800AC12B6C8}">
<PropertyList>
<Property Name="Flags" Type="int32" Value="1"/>
</PropertyList>
<PointList>
<Point>
<XPos>0</XPos>
<YPos>1</YPos>
<Flags>5</Flags>
</Point>
<Point>
<XPos>1.0031</XPos>
<YPos>1.00196</YPos>
<Flags>0</Flags>
<SegmentShape>Log1</SegmentShape>
</Point>
<Point>
<XPos>5</XPos>
<YPos>0.70156</YPos>
<Flags>37</Flags>
</Point>
</PointList>
</Curve>
</Custom>
</Reference>
</ReferenceList>
</RTPC>
</ObjectList>
</ObjectLists>
</MusicPlaylistContainer>
</ChildrenList>
<ObjectLists>
@@ -10,6 +10,17 @@
</PropertyList>
</GameParameter>
<GameParameter Name="staircaseTransition_Rtpc" ID="{42A3CD1A-C12D-4317-A81A-4A8946C4E920}">
<PropertyList>
<Property Name="FilterTimeDown" Type="Real64" Value="2"/>
<Property Name="FilterTimeUp" Type="Real64" Value="3"/>
<Property Name="InitialValue" Type="Real64" Value="0"/>
<Property Name="Max" Type="Real64" Value="5"/>
<Property Name="RTPCRamping" Type="int16" Value="2"/>
<Property Name="SlewRateDown" Type="Real64" Value="2"/>
<Property Name="SlewRateUp" Type="Real64" Value="3"/>
</PropertyList>
</GameParameter>
<GameParameter Name="doorTransition_Rtpc" ID="{A423F918-02FA-4F02-9F94-D9D98251B22F}">
<PropertyList>
<Property Name="InitialValue" Type="Real64" Value="0"/>
</PropertyList>