Audio Integration
Associated equippable items with audio triggers and individual game objects Added event triggers for stopping sounds when entities are destroyed
This commit is contained in:
parent
d8127c2240
commit
d3a03bec6c
24 changed files with 591 additions and 283 deletions
|
|
@ -218,7 +218,62 @@
|
|||
</ReferenceList>
|
||||
<ChildrenList>
|
||||
<ActorMixer Name="Thruster_type01" ID="{34E9BB36-7D92-4631-996F-92EE46968C71}" ShortID="423370694">
|
||||
<PropertyList>
|
||||
<Property Name="3DSpatialization" Type="int16" Value="2"/>
|
||||
<Property Name="OverridePositioning" Type="bool" Value="True"/>
|
||||
</PropertyList>
|
||||
<ReferenceList>
|
||||
<Reference Name="Attenuation">
|
||||
<Custom>
|
||||
<Attenuation Name="Attenuation (Custom)" ID="{505F8F56-EE33-409A-A053-92E65207DEE5}" ShortID="1015097335">
|
||||
<PropertyList>
|
||||
<Property Name="RadiusMax" Type="Real64" Value="1000"/>
|
||||
</PropertyList>
|
||||
<CurveUsageInfoList>
|
||||
<VolumeDryUsage>
|
||||
<CurveUsageInfo Platform="Linked" CurveToUse="Custom">
|
||||
<Curve Name="VolumeDry" ID="{4613ED8A-0FE9-44F0-9192-BE375AF00EA8}">
|
||||
<PropertyList>
|
||||
<Property Name="Flags" Type="int32" Value="3"/>
|
||||
</PropertyList>
|
||||
<PointList>
|
||||
<Point>
|
||||
<XPos>0</XPos>
|
||||
<YPos>0</YPos>
|
||||
<Flags>5</Flags>
|
||||
<SegmentShape>Log3</SegmentShape>
|
||||
</Point>
|
||||
<Point>
|
||||
<XPos>1000</XPos>
|
||||
<YPos>-200</YPos>
|
||||
<Flags>37</Flags>
|
||||
</Point>
|
||||
</PointList>
|
||||
</Curve>
|
||||
</CurveUsageInfo>
|
||||
</VolumeDryUsage>
|
||||
<VolumeWetGameUsage>
|
||||
<CurveUsageInfo Platform="Linked" CurveToUse="UseVolumeDry"/>
|
||||
</VolumeWetGameUsage>
|
||||
<VolumeWetUserUsage>
|
||||
<CurveUsageInfo Platform="Linked" CurveToUse="UseVolumeDry"/>
|
||||
</VolumeWetUserUsage>
|
||||
<LowPassFilterUsage>
|
||||
<CurveUsageInfo Platform="Linked" CurveToUse="None"/>
|
||||
</LowPassFilterUsage>
|
||||
<HighPassFilterUsage>
|
||||
<CurveUsageInfo Platform="Linked" CurveToUse="None"/>
|
||||
</HighPassFilterUsage>
|
||||
<SpreadUsage>
|
||||
<CurveUsageInfo Platform="Linked" CurveToUse="None"/>
|
||||
</SpreadUsage>
|
||||
<FocusUsage>
|
||||
<CurveUsageInfo Platform="Linked" CurveToUse="None"/>
|
||||
</FocusUsage>
|
||||
</CurveUsageInfoList>
|
||||
</Attenuation>
|
||||
</Custom>
|
||||
</Reference>
|
||||
<Reference Name="Conversion">
|
||||
<ObjectRef Name="Default Conversion Settings" ID="{6D1B890C-9826-4384-BF07-C15223E9FB56}" WorkUnitID="{499CA58A-C702-47D8-B39A-D2BA9F895A1F}"/>
|
||||
</Reference>
|
||||
|
|
@ -2483,7 +2538,9 @@
|
|||
</ActorMixer>
|
||||
<Sound Name="reactor_type1" ID="{3AA3BAA8-A42D-4EAE-B9BD-BC64D22B2753}" ShortID="920506659">
|
||||
<PropertyList>
|
||||
<Property Name="3DSpatialization" Type="int16" Value="1"/>
|
||||
<Property Name="OverrideEffect" Type="bool" Value="True"/>
|
||||
<Property Name="OverridePositioning" Type="bool" Value="True"/>
|
||||
<Property Name="Volume" Type="Real64">
|
||||
<ValueList>
|
||||
<Value>-7.4</Value>
|
||||
|
|
@ -2506,7 +2563,7 @@
|
|||
<Flags>5</Flags>
|
||||
</Point>
|
||||
<Point>
|
||||
<XPos>1</XPos>
|
||||
<XPos>10</XPos>
|
||||
<YPos>0</YPos>
|
||||
<Flags>37</Flags>
|
||||
</Point>
|
||||
|
|
@ -2541,6 +2598,53 @@
|
|||
</Property>
|
||||
</PropertyList>
|
||||
<ReferenceList>
|
||||
<Reference Name="Attenuation">
|
||||
<Custom>
|
||||
<Attenuation Name="Attenuation (Custom)" ID="{6CBE652C-F9FF-4117-92B4-786A4F684E42}" ShortID="155989005">
|
||||
<CurveUsageInfoList>
|
||||
<VolumeDryUsage>
|
||||
<CurveUsageInfo Platform="Linked" CurveToUse="Custom">
|
||||
<Curve Name="VolumeDry" ID="{4F485AC2-4335-455A-9B5F-C879B6268D9B}">
|
||||
<PropertyList>
|
||||
<Property Name="Flags" Type="int32" Value="3"/>
|
||||
</PropertyList>
|
||||
<PointList>
|
||||
<Point>
|
||||
<XPos>0</XPos>
|
||||
<YPos>0</YPos>
|
||||
<Flags>5</Flags>
|
||||
</Point>
|
||||
<Point>
|
||||
<XPos>100</XPos>
|
||||
<YPos>-200</YPos>
|
||||
<Flags>37</Flags>
|
||||
</Point>
|
||||
</PointList>
|
||||
</Curve>
|
||||
</CurveUsageInfo>
|
||||
</VolumeDryUsage>
|
||||
<VolumeWetGameUsage>
|
||||
<CurveUsageInfo Platform="Linked" CurveToUse="UseVolumeDry"/>
|
||||
</VolumeWetGameUsage>
|
||||
<VolumeWetUserUsage>
|
||||
<CurveUsageInfo Platform="Linked" CurveToUse="UseVolumeDry"/>
|
||||
</VolumeWetUserUsage>
|
||||
<LowPassFilterUsage>
|
||||
<CurveUsageInfo Platform="Linked" CurveToUse="None"/>
|
||||
</LowPassFilterUsage>
|
||||
<HighPassFilterUsage>
|
||||
<CurveUsageInfo Platform="Linked" CurveToUse="None"/>
|
||||
</HighPassFilterUsage>
|
||||
<SpreadUsage>
|
||||
<CurveUsageInfo Platform="Linked" CurveToUse="None"/>
|
||||
</SpreadUsage>
|
||||
<FocusUsage>
|
||||
<CurveUsageInfo Platform="Linked" CurveToUse="None"/>
|
||||
</FocusUsage>
|
||||
</CurveUsageInfoList>
|
||||
</Attenuation>
|
||||
</Custom>
|
||||
</Reference>
|
||||
<Reference Name="Conversion">
|
||||
<ObjectRef Name="Default Conversion Settings" ID="{6D1B890C-9826-4384-BF07-C15223E9FB56}" WorkUnitID="{499CA58A-C702-47D8-B39A-D2BA9F895A1F}"/>
|
||||
</Reference>
|
||||
|
|
@ -2553,7 +2657,7 @@
|
|||
<RTPC Name="" ID="{7D6A4393-8439-4522-A5D9-55488FF03763}" ShortID="170283030">
|
||||
<ReferenceList>
|
||||
<Reference Name="ControlInput">
|
||||
<ObjectRef Name="performance_temperature" ID="{778F5836-B82F-46F8-936A-E8581E9DA7A9}" WorkUnitID="{02152354-45CF-4389-B435-5367FA80C881}"/>
|
||||
<ObjectRef Name="performance_thermal" ID="{778F5836-B82F-46F8-936A-E8581E9DA7A9}" WorkUnitID="{02152354-45CF-4389-B435-5367FA80C881}"/>
|
||||
</Reference>
|
||||
</ReferenceList>
|
||||
<Curve Name="" ID="{C17C2065-13F6-47CB-8996-E6D24AFBAAC1}">
|
||||
|
|
@ -2763,7 +2867,7 @@
|
|||
<RTPC Name="" ID="{A0C08DE3-84E8-410D-9A58-D76EB7BDA9EF}" ShortID="28639104">
|
||||
<ReferenceList>
|
||||
<Reference Name="ControlInput">
|
||||
<ObjectRef Name="performance_temperature" ID="{778F5836-B82F-46F8-936A-E8581E9DA7A9}" WorkUnitID="{02152354-45CF-4389-B435-5367FA80C881}"/>
|
||||
<ObjectRef Name="performance_thermal" ID="{778F5836-B82F-46F8-936A-E8581E9DA7A9}" WorkUnitID="{02152354-45CF-4389-B435-5367FA80C881}"/>
|
||||
</Reference>
|
||||
</ReferenceList>
|
||||
<Curve Name="" ID="{EF9F1D10-1499-42F9-BE2B-65705CCF296E}">
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@
|
|||
<ValidationCacheItem File="E:\Projects\Aetheria-Economy\Aetheria-Economy_WwiseProject\Switches\Default Work Unit.wwu" DateLow="1615759138" DateHigh="0"/>
|
||||
<ValidationCacheItem File="E:\Projects\Aetheria-Economy\Aetheria-Economy_WwiseProject\States\Default Work Unit.wwu" DateLow="1614440366" DateHigh="0"/>
|
||||
<ValidationCacheItem File="E:\Projects\Aetheria-Economy\Aetheria-Economy_WwiseProject\Soundcaster Sessions\Default Work Unit.wwu" DateLow="1614440366" DateHigh="0"/>
|
||||
<ValidationCacheItem File="E:\Projects\Aetheria-Economy\Aetheria-Economy_WwiseProject\SoundBanks\Default Work Unit.wwu" DateLow="1615760670" DateHigh="0"/>
|
||||
<ValidationCacheItem File="E:\Projects\Aetheria-Economy\Aetheria-Economy_WwiseProject\SoundBanks\Default Work Unit.wwu" DateLow="1615892234" DateHigh="0"/>
|
||||
<ValidationCacheItem File="E:\Projects\Aetheria-Economy\Aetheria-Economy_WwiseProject\Queries\Factory Queries.wwu" DateLow="1614439251" DateHigh="0"/>
|
||||
<ValidationCacheItem File="E:\Projects\Aetheria-Economy\Aetheria-Economy_WwiseProject\Queries\Default Work Unit.wwu" DateLow="1614440366" DateHigh="0"/>
|
||||
<ValidationCacheItem File="E:\Projects\Aetheria-Economy\Aetheria-Economy_WwiseProject\Presets\Factory Spatial Audio.wwu" DateLow="1614439251" DateHigh="0"/>
|
||||
|
|
@ -44,7 +44,7 @@
|
|||
<ValidationCacheItem File="E:\Projects\Aetheria-Economy\Aetheria-Economy_WwiseProject\Game Parameters\item_properties.wwu" DateLow="1615760391" DateHigh="0"/>
|
||||
<ValidationCacheItem File="E:\Projects\Aetheria-Economy\Aetheria-Economy_WwiseProject\Game Parameters\Default Work Unit.wwu" DateLow="1614440366" DateHigh="0"/>
|
||||
<ValidationCacheItem File="E:\Projects\Aetheria-Economy\Aetheria-Economy_WwiseProject\Events\test_sounds.wwu" DateLow="1615582814" DateHigh="0"/>
|
||||
<ValidationCacheItem File="E:\Projects\Aetheria-Economy\Aetheria-Economy_WwiseProject\Events\Ship Audio.wwu" DateLow="1615760391" DateHigh="0"/>
|
||||
<ValidationCacheItem File="E:\Projects\Aetheria-Economy\Aetheria-Economy_WwiseProject\Events\Ship Audio.wwu" DateLow="1615892234" DateHigh="0"/>
|
||||
<ValidationCacheItem File="E:\Projects\Aetheria-Economy\Aetheria-Economy_WwiseProject\Events\Default Work Unit.wwu" DateLow="1615760391" DateHigh="0"/>
|
||||
<ValidationCacheItem File="E:\Projects\Aetheria-Economy\Aetheria-Economy_WwiseProject\Effects\Factory Effects.wwu" DateLow="1614439251" DateHigh="0"/>
|
||||
<ValidationCacheItem File="E:\Projects\Aetheria-Economy\Aetheria-Economy_WwiseProject\Effects\Default Work Unit.wwu" DateLow="1615582814" DateHigh="0"/>
|
||||
|
|
@ -55,7 +55,7 @@
|
|||
<ValidationCacheItem File="E:\Projects\Aetheria-Economy\Aetheria-Economy_WwiseProject\Audio Devices\Default Work Unit.wwu" DateLow="1614440366" DateHigh="0"/>
|
||||
<ValidationCacheItem File="E:\Projects\Aetheria-Economy\Aetheria-Economy_WwiseProject\Attenuations\Default Work Unit.wwu" DateLow="1614440366" DateHigh="0"/>
|
||||
<ValidationCacheItem File="E:\Projects\Aetheria-Economy\Aetheria-Economy_WwiseProject\Aetheria-Economy_WwiseProject.wproj" DateLow="1615891381" DateHigh="0"/>
|
||||
<ValidationCacheItem File="E:\Projects\Aetheria-Economy\Aetheria-Economy_WwiseProject\Aetheria-Economy_WwiseProject.rwvens.wsettings" DateLow="1615891388" DateHigh="0"/>
|
||||
<ValidationCacheItem File="E:\Projects\Aetheria-Economy\Aetheria-Economy_WwiseProject\Actor-Mixer Hierarchy\Default Work Unit.wwu" DateLow="1615760391" DateHigh="0"/>
|
||||
<ValidationCacheItem File="E:\Projects\Aetheria-Economy\Aetheria-Economy_WwiseProject\Aetheria-Economy_WwiseProject.rwvens.wsettings" DateLow="1615892525" DateHigh="0"/>
|
||||
<ValidationCacheItem File="E:\Projects\Aetheria-Economy\Aetheria-Economy_WwiseProject\Actor-Mixer Hierarchy\Default Work Unit.wwu" DateLow="1615892234" DateHigh="0"/>
|
||||
<ValidationCacheItem File="E:\Projects\Aetheria-Economy\Aetheria-Economy_WwiseProject\Actor-Mixer Hierarchy\copy_Unit.wwu" DateLow="1615582814" DateHigh="0"/>
|
||||
</ValidationCache>
|
||||
|
|
|
|||
|
|
@ -5,6 +5,9 @@
|
|||
<PropertyList>
|
||||
<Property Name="AudioFilesImporter\Path" Type="string" Value="D:\Google Drive\Gamecult\Aetheria\Music\WIP & Ideas\Defirm\SFX completed\Docking-Undocking\"/>
|
||||
<Property Name="Event Action List\{0E497EDC-A42D-4478-AF76-5114508A5B8B}\x64_Expand States" Type="string" Value=""/>
|
||||
<Property Name="Event Action List\{0F30DB3D-6A97-4659-BA04-13A267DC19EC}\x64_Expand States" Type="string" Value=""/>
|
||||
<Property Name="Event Action List\{11565353-AF3C-4C1E-A6C1-0C06D05C834D}\x64_Expand States" Type="string" Value=""/>
|
||||
<Property Name="Event Action List\{14D488A4-89B5-4582-B79C-D6032306F95E}\x64_Expand States" Type="string" Value=""/>
|
||||
<Property Name="Event Action List\{3125BD51-8FFC-4E24-BD2E-D102896B8A0B}\x64_Expand States" Type="string" Value=""/>
|
||||
<Property Name="Event Action List\{44FA1280-D160-4DB5-B7EB-AA6E4CFBB17A}\x64_Expand States" Type="string" Value=""/>
|
||||
<Property Name="Event Action List\{507ECF50-2D22-4222-A984-367EF0411E8F}\x64_Expand States" Type="string" Value=""/>
|
||||
|
|
@ -15,8 +18,11 @@
|
|||
<Property Name="Event Action List\{8A0DAB86-FAC0-4D8A-91E6-DD9E0C93259C}\x64_Expand States" Type="string" Value=""/>
|
||||
<Property Name="Event Action List\{99504764-B63E-48E8-A9A0-717489DD3466}\x64_Expand States" Type="string" Value=""/>
|
||||
<Property Name="Event Action List\{A64914D4-7F8A-4586-BB48-8FA3137E2F1F}\x64_Expand States" Type="string" Value=""/>
|
||||
<Property Name="Event Action List\{ACD01933-582E-4049-B99E-8A202B5324F7}\x64_Expand States" Type="string" Value=""/>
|
||||
<Property Name="Event Action List\{BDAB58BA-0893-41E9-B425-2FAA069219F0}\x64_Expand States" Type="string" Value=""/>
|
||||
<Property Name="Event Action List\{BE28B971-A0E1-4D96-B576-1B68C4CA5AA9}\x64_Expand States" Type="string" Value=""/>
|
||||
<Property Name="Event Action List\{CC95135D-D17F-4088-B23C-BF8238FCA221}\x64_Expand States" Type="string" Value=""/>
|
||||
<Property Name="Event Action List\{E090E5C1-F989-417E-8A81-1C05D43BE769}\x64_Expand States" Type="string" Value=""/>
|
||||
<Property Name="EventView\FilterMode1" Type="int32" Value="2"/>
|
||||
<Property Name="ExternalSourcesInputPath" Type="string">
|
||||
<ValueList>
|
||||
|
|
@ -37,9 +43,9 @@
|
|||
<Property Name="GenerateSoundBanks\ListMode" Type="string" Value="Tree"/>
|
||||
<Property Name="GenerateSoundBanks\x64_SelectedLanguages" Type="string" Value="BvDMKA=="/>
|
||||
<Property Name="GenerateSoundBanks\x64_SelectedPlatforms" Type="string" Value="74wppGGLGUKocCTUjliE6atk2Ww+IVRJs5fEQCA5KRI="/>
|
||||
<Property Name="GenerateSoundBanks\x64_SelectedSoundBanks" Type="string" Value="XxWDFtwgnEuijOcN0q1oY1A6jXpntb9Hh/mYEplYD/+MGoQHzQeXRqxd5Cs+aAt4XYCRgtU97U6qMElk1DWVKWaK6ARTUtpDiGCjllSSrmQhDBOG3YG4TZAq8XLM15Zm"/>
|
||||
<Property Name="GenerateSoundBanks\x64_SelectedSoundBanks" Type="string" Value="IQwTht2BuE2QKvFyzNeWZqRAiPqpRl5Fv4jXI54ubXI="/>
|
||||
<Property Name="HardwareController\CurrentSession" Type="string" Value="{2451DD2E-A7B2-45E6-B93B-6F49B9B887AD}"/>
|
||||
<Property Name="HardwareController\{2451DD2E-A7B2-45E6-B93B-6F49B9B887AD}\x64_ActiveGroups" Type="string" Value="+lZlPDTFnUSwqLpTpFltuQGO2GH/////sahohopAK0WRE4XvXPYF/QGO2GH/////"/>
|
||||
<Property Name="HardwareController\{2451DD2E-A7B2-45E6-B93B-6F49B9B887AD}\x64_ActiveGroups" Type="string" Value="sahohopAK0WRE4XvXPYF/QGOFFX/////+lZlPDTFnUSwqLpTpFltuQGOFFX/////"/>
|
||||
<Property Name="MeterView\LastObject1" Type="string" Value="{1514A4D8-1DA6-412A-A17E-75CA0C2149F3}"/>
|
||||
<Property Name="MeterView\MeterMode1" Type="int32" Value="1"/>
|
||||
<Property Name="MeterView\MeterMode1Viewpoint0" Type="int32" Value="1"/>
|
||||
|
|
@ -74,16 +80,16 @@
|
|||
<Property Name="ProjectExplorer\x64_Expanded_3_1" Type="string" Value="Bu5AEWkklUeSUAxyv/rvG7MXcgrHUgxKmWb1r37MmPA="/>
|
||||
<Property Name="ProjectExplorer\x64_Expanded_4_1" Type="string" Value="AlekTQhF7EqFkQdJV+6xTg=="/>
|
||||
<Property Name="ProjectExplorer\x64_Expanded_5_1" Type="string" Value=""/>
|
||||
<Property Name="ProjectExplorer\x64_Expanded_6_1" Type="string" Value="6W84skjh80e3W2EyyGObLsovZXyPfYtJoTFDl7G29GPHJ54PzOI6TaCpuzYYUCaBPdunN+1Z302GveAHIPhfI5CvlrV2eoxOi5zOrHOk+sI="/>
|
||||
<Property Name="ProjectExplorer\x64_Expanded_6_1" Type="string" Value="PdunN+1Z302GveAHIPhfIw=="/>
|
||||
<Property Name="ProjectExplorer\x64_Expanded_7_1" Type="string" Value="VCMVAs9FiUO0NVNn+oDIgQ=="/>
|
||||
<Property Name="ProjectExplorer\x64_Expanded_8_1" Type="string" Value=""/>
|
||||
<Property Name="RTPC\GameParameterSimValue\{2A6D7A97-7D45-4B6C-96EE-CCD56FA83773}" Type="Real64" Value="1"/>
|
||||
<Property Name="RTPC\GameParameterSimValue\{5540312A-E87E-4E09-91E8-71A5D349779A}" Type="Real64" Value="1"/>
|
||||
<Property Name="RTPC\GameParameterSimValue\{778F5836-B82F-46F8-936A-E8581E9DA7A9}" Type="Real64" Value="0"/>
|
||||
<Property Name="RTPC\GameParameterSimValue\{778F5836-B82F-46F8-936A-E8581E9DA7A9}" Type="Real64" Value="1"/>
|
||||
<Property Name="RTPC\GameParameterSimValue\{B907BE30-367C-4955-AF3B-AF6B2806F9D5}" Type="Real64" Value="100"/>
|
||||
<Property Name="RTPC\GameParameterSimValue\{BFC68604-C477-4B9B-B488-F5B4A9ADEAA4}" Type="Real64" Value="1"/>
|
||||
<Property Name="RTPC\GameParameterSimValue\{FC156F43-A577-4DCB-B6E8-84E4072A38C9}" Type="Real64" Value="1"/>
|
||||
<Property Name="SoundBank Manager\x64_Expand States" Type="string" Value="PdunN+1Z302GveAHIPhfI8cnng/M4jpNoKm7NhhQJoHKL2V8j32LSaExQ5extvRjXJ/teU4r1Uqc6ZkQGx1baOlvOLJI4fNHt1thMshjmy6Qr5a1dnqMTouczqxzpPrCqUsTJMC6g0u7Xky20jBaHw=="/>
|
||||
<Property Name="RTPC\GameParameterSimValue\{FC156F43-A577-4DCB-B6E8-84E4072A38C9}" Type="Real64" Value="2.1"/>
|
||||
<Property Name="SoundBank Manager\x64_Expand States" Type="string" Value="PdunN+1Z302GveAHIPhfIw=="/>
|
||||
<Property Name="SoundBankHeaderFilePath" Type="string" Value="GeneratedSoundBanks\"/>
|
||||
<Property Name="SoundBankPaths" Type="string">
|
||||
<ValueList>
|
||||
|
|
|
|||
|
|
@ -79,6 +79,62 @@
|
|||
</Action>
|
||||
</ChildrenList>
|
||||
</Event>
|
||||
<Event Name="reactor_type01_stop" ID="{ACD01933-582E-4049-B99E-8A202B5324F7}">
|
||||
<ChildrenList>
|
||||
<Action Name="" ID="{F057BAA2-A046-491E-80F8-73D4824BD6CE}" ShortID="883340450">
|
||||
<PropertyList>
|
||||
<Property Name="ActionType" Type="int16" Value="2"/>
|
||||
</PropertyList>
|
||||
<ReferenceList>
|
||||
<Reference Name="Target">
|
||||
<ObjectRef Name="reactor_type1" ID="{3AA3BAA8-A42D-4EAE-B9BD-BC64D22B2753}" WorkUnitID="{076C9B1F-5546-43DA-8A92-E4A1C9B3FD42}"/>
|
||||
</Reference>
|
||||
</ReferenceList>
|
||||
</Action>
|
||||
</ChildrenList>
|
||||
</Event>
|
||||
<Event Name="thruster_large_stop" ID="{14D488A4-89B5-4582-B79C-D6032306F95E}">
|
||||
<ChildrenList>
|
||||
<Action Name="" ID="{953BF9C4-D2A8-4B33-AF9D-BB70634938BB}" ShortID="48468523">
|
||||
<PropertyList>
|
||||
<Property Name="ActionType" Type="int16" Value="2"/>
|
||||
</PropertyList>
|
||||
<ReferenceList>
|
||||
<Reference Name="Target">
|
||||
<ObjectRef Name="thruster_large" ID="{35564C2D-1BC9-40BB-B365-D9C4A47AE5F1}" WorkUnitID="{076C9B1F-5546-43DA-8A92-E4A1C9B3FD42}"/>
|
||||
</Reference>
|
||||
</ReferenceList>
|
||||
</Action>
|
||||
</ChildrenList>
|
||||
</Event>
|
||||
<Event Name="thruster_medium_stop" ID="{BDAB58BA-0893-41E9-B425-2FAA069219F0}">
|
||||
<ChildrenList>
|
||||
<Action Name="" ID="{86B85CF7-7CE2-4459-89E4-B5ADCB221E0D}" ShortID="873188303">
|
||||
<PropertyList>
|
||||
<Property Name="ActionType" Type="int16" Value="2"/>
|
||||
</PropertyList>
|
||||
<ReferenceList>
|
||||
<Reference Name="Target">
|
||||
<ObjectRef Name="thruster_medium" ID="{4261D6D4-BDC3-4423-BA6B-A92DE2181A21}" WorkUnitID="{076C9B1F-5546-43DA-8A92-E4A1C9B3FD42}"/>
|
||||
</Reference>
|
||||
</ReferenceList>
|
||||
</Action>
|
||||
</ChildrenList>
|
||||
</Event>
|
||||
<Event Name="thruster_small_stop" ID="{11565353-AF3C-4C1E-A6C1-0C06D05C834D}">
|
||||
<ChildrenList>
|
||||
<Action Name="" ID="{E12D089D-D6EB-47F6-8480-E0E977ED1C89}" ShortID="153875743">
|
||||
<PropertyList>
|
||||
<Property Name="ActionType" Type="int16" Value="2"/>
|
||||
</PropertyList>
|
||||
<ReferenceList>
|
||||
<Reference Name="Target">
|
||||
<ObjectRef Name="thruster_small" ID="{D355F5AE-732C-4638-988F-F1E01D1FC547}" WorkUnitID="{076C9B1F-5546-43DA-8A92-E4A1C9B3FD42}"/>
|
||||
</Reference>
|
||||
</ReferenceList>
|
||||
</Action>
|
||||
</ChildrenList>
|
||||
</Event>
|
||||
</ChildrenList>
|
||||
</WorkUnit>
|
||||
</Events>
|
||||
|
|
|
|||
|
|
@ -20,22 +20,25 @@
|
|||
<Property Name="Max" Type="Real64" Value="1"/>
|
||||
</PropertyList>
|
||||
</GameParameter>
|
||||
<GameParameter Name="performance_temperature" ID="{778F5836-B82F-46F8-936A-E8581E9DA7A9}">
|
||||
<GameParameter Name="performance_thermal" ID="{778F5836-B82F-46F8-936A-E8581E9DA7A9}">
|
||||
<PropertyList>
|
||||
<Property Name="InitialValue" Type="Real64" Value="0"/>
|
||||
<Property Name="InitialValue" Type="Real64" Value="1"/>
|
||||
<Property Name="Max" Type="Real64" Value="1"/>
|
||||
</PropertyList>
|
||||
</GameParameter>
|
||||
<GameParameter Name="reactor_load" ID="{FC156F43-A577-4DCB-B6E8-84E4072A38C9}">
|
||||
<PropertyList>
|
||||
<Property Name="InitialValue" Type="Real64" Value="1"/>
|
||||
<Property Name="Max" Type="Real64" Value="1"/>
|
||||
<Property Name="Max" Type="Real64" Value="10"/>
|
||||
</PropertyList>
|
||||
</GameParameter>
|
||||
<GameParameter Name="thruster_throttle" ID="{2A6D7A97-7D45-4B6C-96EE-CCD56FA83773}">
|
||||
<PropertyList>
|
||||
<Property Name="InitialValue" Type="Real64" Value="1"/>
|
||||
<Property Name="InitialValue" Type="Real64" Value="0"/>
|
||||
<Property Name="Max" Type="Real64" Value="1"/>
|
||||
<Property Name="RTPCRamping" Type="int16" Value="1"/>
|
||||
<Property Name="SlewRateDown" Type="Real64" Value="2"/>
|
||||
<Property Name="SlewRateUp" Type="Real64" Value="10"/>
|
||||
</PropertyList>
|
||||
</GameParameter>
|
||||
</ChildrenList>
|
||||
|
|
|
|||
|
|
@ -18,68 +18,24 @@
|
|||
<ObjectExclusionList/>
|
||||
<GameSyncExclusionList/>
|
||||
</SoundBank>
|
||||
<Folder Name="Ship" ID="{0F9E27C7-E2CC-4D3A-A0A9-BB3618502681}" ShortID="465647461">
|
||||
<ChildrenList>
|
||||
<Folder Name="Thruster_type" ID="{B2386FE9-E148-47F3-B75B-6132C8639B2E}" ShortID="981236698">
|
||||
<ChildrenList>
|
||||
<Folder Name="Type_01" ID="{B596AF90-7A76-4E8C-8B9C-CEAC73A4FAC2}" ShortID="930908810">
|
||||
<ChildrenList>
|
||||
<SoundBank Name="thruster_large" ID="{7A8D3A50-B567-47BF-87F9-981299580FFF}">
|
||||
<ObjectInclusionList>
|
||||
<ObjectRef Name="thruster_large" ID="{35564C2D-1BC9-40BB-B365-D9C4A47AE5F1}" WorkUnitID="{076C9B1F-5546-43DA-8A92-E4A1C9B3FD42}" Origin="Manual" Filter="7"/>
|
||||
</ObjectInclusionList>
|
||||
<ObjectExclusionList/>
|
||||
<GameSyncExclusionList/>
|
||||
</SoundBank>
|
||||
<SoundBank Name="thruster_medium" ID="{07841A8C-07CD-4697-AC5D-E42B3E680B78}">
|
||||
<ObjectInclusionList>
|
||||
<ObjectRef Name="thruster_medium" ID="{4261D6D4-BDC3-4423-BA6B-A92DE2181A21}" WorkUnitID="{076C9B1F-5546-43DA-8A92-E4A1C9B3FD42}" Origin="Manual" Filter="7"/>
|
||||
</ObjectInclusionList>
|
||||
<ObjectExclusionList/>
|
||||
<GameSyncExclusionList/>
|
||||
</SoundBank>
|
||||
<SoundBank Name="thruster_small" ID="{8291805D-3DD5-4EED-AA30-4964D4359529}">
|
||||
<ObjectInclusionList>
|
||||
<ObjectRef Name="thruster_small" ID="{D355F5AE-732C-4638-988F-F1E01D1FC547}" WorkUnitID="{076C9B1F-5546-43DA-8A92-E4A1C9B3FD42}" Origin="Manual" Filter="7"/>
|
||||
</ObjectInclusionList>
|
||||
<ObjectExclusionList/>
|
||||
<GameSyncExclusionList/>
|
||||
</SoundBank>
|
||||
</ChildrenList>
|
||||
</Folder>
|
||||
</ChildrenList>
|
||||
</Folder>
|
||||
<Folder Name="Reactor_type" ID="{7C652FCA-7D8F-498B-A131-4397B1B6F463}" ShortID="1068431759">
|
||||
<ChildrenList>
|
||||
<Folder Name="Type_01" ID="{79ED9F5C-2B4E-4AD5-9CE9-99101B1D5B68}" ShortID="577434280">
|
||||
<ChildrenList>
|
||||
<SoundBank Name="reactor_type01" ID="{1683155F-20DC-4B9C-A28C-E70DD2AD6863}">
|
||||
<ObjectInclusionList>
|
||||
<ObjectRef Name="spaceship_reactor_overheat_alarm" ID="{C9F5C84F-7414-4607-B8F0-8734CCB51061}" WorkUnitID="{076C9B1F-5546-43DA-8A92-E4A1C9B3FD42}" Origin="Manual" Filter="7"/>
|
||||
<ObjectRef Name="reactor_type1" ID="{3AA3BAA8-A42D-4EAE-B9BD-BC64D22B2753}" WorkUnitID="{076C9B1F-5546-43DA-8A92-E4A1C9B3FD42}" Origin="Manual" Filter="7"/>
|
||||
</ObjectInclusionList>
|
||||
<ObjectExclusionList/>
|
||||
<GameSyncExclusionList/>
|
||||
</SoundBank>
|
||||
</ChildrenList>
|
||||
</Folder>
|
||||
</ChildrenList>
|
||||
</Folder>
|
||||
</ChildrenList>
|
||||
</Folder>
|
||||
<Folder Name="wormhole" ID="{24134BA9-BAC0-4B83-BB5E-4CB6D2305A1F}" ShortID="315933305">
|
||||
<ChildrenList>
|
||||
<SoundBank Name="wormhole" ID="{04E88A66-5253-43DA-8860-A3965492AE64}">
|
||||
<ObjectInclusionList>
|
||||
<ObjectRef Name="Aetheria_Wormhole_travel_jumpout" ID="{290B97E7-B057-42A4-9BCE-33220B7473A8}" WorkUnitID="{076C9B1F-5546-43DA-8A92-E4A1C9B3FD42}" Origin="Manual" Filter="7"/>
|
||||
<ObjectRef Name="Aetheria_Wormhole_travel_jumpin" ID="{393D96D3-4D2B-42BB-827D-10984647051F}" WorkUnitID="{076C9B1F-5546-43DA-8A92-E4A1C9B3FD42}" Origin="Manual" Filter="7"/>
|
||||
<ObjectRef Name="Aetheria_Wormhole_travel" ID="{0EE417AB-A0FE-4E79-8031-FBE3B604C3AB}" WorkUnitID="{076C9B1F-5546-43DA-8A92-E4A1C9B3FD42}" Origin="Manual" Filter="7"/>
|
||||
</ObjectInclusionList>
|
||||
<ObjectExclusionList/>
|
||||
<GameSyncExclusionList/>
|
||||
</SoundBank>
|
||||
</ChildrenList>
|
||||
</Folder>
|
||||
<SoundBank Name="Ship" ID="{FA8840A4-46A9-455E-BF88-D7239E2E6D72}">
|
||||
<ObjectInclusionList>
|
||||
<ObjectRef Name="reactor_type01_stop" ID="{ACD01933-582E-4049-B99E-8A202B5324F7}" WorkUnitID="{0A7217B3-52C7-4A0C-9966-F5AF7ECC98F0}" Origin="Manual" Filter="7"/>
|
||||
<ObjectRef Name="thruster_medium_stop" ID="{BDAB58BA-0893-41E9-B425-2FAA069219F0}" WorkUnitID="{0A7217B3-52C7-4A0C-9966-F5AF7ECC98F0}" Origin="Manual" Filter="7"/>
|
||||
<ObjectRef Name="Aetheria_Wormhole_travel_jumpout" ID="{290B97E7-B057-42A4-9BCE-33220B7473A8}" WorkUnitID="{076C9B1F-5546-43DA-8A92-E4A1C9B3FD42}" Origin="Manual" Filter="7"/>
|
||||
<ObjectRef Name="Aetheria_Wormhole_travel_jumpin" ID="{393D96D3-4D2B-42BB-827D-10984647051F}" WorkUnitID="{076C9B1F-5546-43DA-8A92-E4A1C9B3FD42}" Origin="Manual" Filter="7"/>
|
||||
<ObjectRef Name="thruster_small" ID="{63E66AEC-CFE1-4362-B99D-280AC043C538}" WorkUnitID="{0A7217B3-52C7-4A0C-9966-F5AF7ECC98F0}" Origin="Manual" Filter="7"/>
|
||||
<ObjectRef Name="thruster_large_stop" ID="{14D488A4-89B5-4582-B79C-D6032306F95E}" WorkUnitID="{0A7217B3-52C7-4A0C-9966-F5AF7ECC98F0}" Origin="Manual" Filter="7"/>
|
||||
<ObjectRef Name="thruster_medium" ID="{0F30DB3D-6A97-4659-BA04-13A267DC19EC}" WorkUnitID="{0A7217B3-52C7-4A0C-9966-F5AF7ECC98F0}" Origin="Manual" Filter="7"/>
|
||||
<ObjectRef Name="thruster_large" ID="{99504764-B63E-48E8-A9A0-717489DD3466}" WorkUnitID="{0A7217B3-52C7-4A0C-9966-F5AF7ECC98F0}" Origin="Manual" Filter="7"/>
|
||||
<ObjectRef Name="thruster_small_stop" ID="{11565353-AF3C-4C1E-A6C1-0C06D05C834D}" WorkUnitID="{0A7217B3-52C7-4A0C-9966-F5AF7ECC98F0}" Origin="Manual" Filter="7"/>
|
||||
<ObjectRef Name="Spaceship" ID="{C6CE2D3B-502C-4CC5-815A-B01D11C157EE}" WorkUnitID="{076C9B1F-5546-43DA-8A92-E4A1C9B3FD42}" Origin="Manual" Filter="7"/>
|
||||
<ObjectRef Name="reactor_type01" ID="{8A0DAB86-FAC0-4D8A-91E6-DD9E0C93259C}" WorkUnitID="{0A7217B3-52C7-4A0C-9966-F5AF7ECC98F0}" Origin="Manual" Filter="7"/>
|
||||
<ObjectRef Name="Aetheria_Wormhole_travel" ID="{0EE417AB-A0FE-4E79-8031-FBE3B604C3AB}" WorkUnitID="{076C9B1F-5546-43DA-8A92-E4A1C9B3FD42}" Origin="Manual" Filter="7"/>
|
||||
</ObjectInclusionList>
|
||||
<ObjectExclusionList/>
|
||||
<GameSyncExclusionList/>
|
||||
</SoundBank>
|
||||
</ChildrenList>
|
||||
</WorkUnit>
|
||||
</SoundBanks>
|
||||
|
|
|
|||
|
|
@ -88,7 +88,7 @@ Material:
|
|||
- _OcclusionStrength: 1
|
||||
- _OffsetSize: 0.5
|
||||
- _Parallax: 0.02
|
||||
- _Radius: 3.6
|
||||
- _Radius: 0.38
|
||||
- _SmoothnessTextureChannel: 0
|
||||
- _SpecularHighlights: 1
|
||||
- _SrcBlend: 1
|
||||
|
|
|
|||
|
|
@ -1732,6 +1732,7 @@ Transform:
|
|||
- {fileID: 253280912000941906}
|
||||
- {fileID: 7393376835743981754}
|
||||
- {fileID: 4372481120480406282}
|
||||
- {fileID: 2469466822132512704}
|
||||
m_Father: {fileID: 9106854767781449910}
|
||||
m_RootOrder: 5
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
|
|
@ -3254,6 +3255,36 @@ MeshRenderer:
|
|||
m_SortingLayer: 0
|
||||
m_SortingOrder: 0
|
||||
m_AdditionalVertexStreams: {fileID: 0}
|
||||
--- !u!1 &4207676493251148750
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 2469466822132512704}
|
||||
m_Layer: 0
|
||||
m_Name: Reactor
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!4 &2469466822132512704
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 4207676493251148750}
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: 45, z: 427}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_Children: []
|
||||
m_Father: {fileID: 5496325214845933821}
|
||||
m_RootOrder: 14
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!1 &4252398138544919482
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
|
|
@ -6901,6 +6932,8 @@ MonoBehaviour:
|
|||
Shield: {fileID: 1053924711515204557}
|
||||
HullColliders:
|
||||
- {fileID: 7082458133318971407}
|
||||
EquipmentHardpoints:
|
||||
- {fileID: 2469466822132512704}
|
||||
RadiatorHardpoints: []
|
||||
ThrusterHardpoints:
|
||||
- {fileID: 3048427942634017260}
|
||||
|
|
@ -7231,12 +7264,12 @@ PrefabInstance:
|
|||
- target: {fileID: 9112456537762432107, guid: 897fa55d98f1f7f40b889f93ce9146f4,
|
||||
type: 3}
|
||||
propertyPath: m_LocalScale.y
|
||||
value: 103625.586
|
||||
value: 42400
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 9112456537762432107, guid: 897fa55d98f1f7f40b889f93ce9146f4,
|
||||
type: 3}
|
||||
propertyPath: m_LocalScale.z
|
||||
value: 42394.773
|
||||
value: 103625.6
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 9112456537762432107, guid: 897fa55d98f1f7f40b889f93ce9146f4,
|
||||
type: 3}
|
||||
|
|
@ -7256,12 +7289,12 @@ PrefabInstance:
|
|||
- target: {fileID: 9112456537762432107, guid: 897fa55d98f1f7f40b889f93ce9146f4,
|
||||
type: 3}
|
||||
propertyPath: m_LocalRotation.w
|
||||
value: 0.7660445
|
||||
value: 0.9961947
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 9112456537762432107, guid: 897fa55d98f1f7f40b889f93ce9146f4,
|
||||
type: 3}
|
||||
propertyPath: m_LocalRotation.x
|
||||
value: -0.6427876
|
||||
value: 0.08715578
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 9112456537762432107, guid: 897fa55d98f1f7f40b889f93ce9146f4,
|
||||
type: 3}
|
||||
|
|
@ -7276,7 +7309,7 @@ PrefabInstance:
|
|||
- target: {fileID: 9112456537762432107, guid: 897fa55d98f1f7f40b889f93ce9146f4,
|
||||
type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.x
|
||||
value: -80
|
||||
value: 10
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 9112456537762432107, guid: 897fa55d98f1f7f40b889f93ce9146f4,
|
||||
type: 3}
|
||||
|
|
|
|||
|
|
@ -61,6 +61,8 @@ MonoBehaviour:
|
|||
Shield: {fileID: 1396696402015347448}
|
||||
HullColliders:
|
||||
- {fileID: 622200413621136597}
|
||||
EquipmentHardpoints:
|
||||
- {fileID: 5919860033273162118}
|
||||
RadiatorHardpoints:
|
||||
- {fileID: 3129773903157032569}
|
||||
- {fileID: 3644514805656464792}
|
||||
|
|
@ -278,6 +280,36 @@ Transform:
|
|||
m_Father: {fileID: 3808243476348176084}
|
||||
m_RootOrder: 0
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!1 &1803454581226085886
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 5919860033273162118}
|
||||
m_Layer: 0
|
||||
m_Name: Reactor
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!4 &5919860033273162118
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1803454581226085886}
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: -0, y: 0.83, z: -2.82}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_Children: []
|
||||
m_Father: {fileID: 3808243475646715368}
|
||||
m_RootOrder: 10
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!1 &2196299114121468031
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
|
|
@ -492,6 +524,7 @@ Transform:
|
|||
- {fileID: 3808243475227829746}
|
||||
- {fileID: 2790942369306015874}
|
||||
- {fileID: 8786608379366237548}
|
||||
- {fileID: 5919860033273162118}
|
||||
m_Father: {fileID: 737798575382408336}
|
||||
m_RootOrder: 9
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
|
|
|
|||
|
|
@ -1631,8 +1631,7 @@ MonoBehaviour:
|
|||
data:
|
||||
idInternal: 0
|
||||
valueGuidInternal:
|
||||
WwiseObjectReference: {fileID: 11400000, guid: afe2baef276b4b34f98f465e29ce4bfe,
|
||||
type: 2}
|
||||
WwiseObjectReference: {fileID: 0}
|
||||
useCallbacks: 0
|
||||
Callbacks: []
|
||||
playingId: 0
|
||||
|
|
@ -7511,6 +7510,64 @@ MonoBehaviour:
|
|||
CopyRotation: 0
|
||||
PixelSnapCamera: {fileID: 0}
|
||||
PixelSnapIncrement: 1
|
||||
--- !u!1 &491219182
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 491219184}
|
||||
- component: {fileID: 491219183}
|
||||
m_Layer: 0
|
||||
m_Name: WwiseGlobal
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!114 &491219183
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 491219182}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: a4eab75687879a445a2a2397d86a2172, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
InitializationSettings: {fileID: 11400000, guid: ca1886ece3dfc5e49902e78defccd355,
|
||||
type: 2}
|
||||
basePath:
|
||||
language:
|
||||
defaultPoolSize: 0
|
||||
lowerPoolSize: 0
|
||||
streamingPoolSize: 0
|
||||
memoryCutoffThreshold: 0
|
||||
monitorPoolSize: 0
|
||||
monitorQueuePoolSize: 0
|
||||
callbackManagerBufferSize: 0
|
||||
spatialAudioPoolSize: 0
|
||||
maxSoundPropagationDepth: 0
|
||||
diffractionFlags: 11
|
||||
engineLogging: 0
|
||||
--- !u!4 &491219184
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 491219182}
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_Children: []
|
||||
m_Father: {fileID: 0}
|
||||
m_RootOrder: 9
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!1 &496438310
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
|
|
@ -15693,62 +15750,6 @@ CanvasRenderer:
|
|||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1012981707}
|
||||
m_CullTransparentMesh: 0
|
||||
--- !u!1 &1019449640
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 1019449642}
|
||||
- component: {fileID: 1019449643}
|
||||
m_Layer: 0
|
||||
m_Name: WwiseGlobal
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!4 &1019449642
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1019449640}
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_Children: []
|
||||
m_Father: {fileID: 0}
|
||||
m_RootOrder: 8
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!114 &1019449643
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1019449640}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: d1f1a89fa3598c644a67edc70006ab8b, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
triggerList: f7e1664c
|
||||
useOtherObject: 0
|
||||
data:
|
||||
idInternal: 0
|
||||
valueGuidInternal:
|
||||
WwiseObjectReference: {fileID: 11400000, guid: 1f7596d26fd55df42a4027d547caa78a,
|
||||
type: 2}
|
||||
decodeBank: 0
|
||||
loadAsynchronous: 0
|
||||
saveDecodedBank: 0
|
||||
unloadTriggerList: 958ca0ea
|
||||
bankNameInternal:
|
||||
valueGuidInternal:
|
||||
--- !u!1 &1029396710
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
|
|
@ -23957,64 +23958,6 @@ MonoBehaviour:
|
|||
TabButtons: {fileID: 1783772015}
|
||||
ActiveTabColor: {r: 1, g: 0.44583336, b: 0.050000012, a: 1}
|
||||
InactiveTabColor: {r: 0.6981132, g: 0.6981132, b: 0.6981132, a: 1}
|
||||
--- !u!1 &1732078363
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 1732078365}
|
||||
- component: {fileID: 1732078364}
|
||||
m_Layer: 0
|
||||
m_Name: WwiseGlobal
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!114 &1732078364
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1732078363}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: a4eab75687879a445a2a2397d86a2172, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
InitializationSettings: {fileID: 11400000, guid: ca1886ece3dfc5e49902e78defccd355,
|
||||
type: 2}
|
||||
basePath:
|
||||
language:
|
||||
defaultPoolSize: 0
|
||||
lowerPoolSize: 0
|
||||
streamingPoolSize: 0
|
||||
memoryCutoffThreshold: 0
|
||||
monitorPoolSize: 0
|
||||
monitorQueuePoolSize: 0
|
||||
callbackManagerBufferSize: 0
|
||||
spatialAudioPoolSize: 0
|
||||
maxSoundPropagationDepth: 0
|
||||
diffractionFlags: 11
|
||||
engineLogging: 0
|
||||
--- !u!4 &1732078365
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1732078363}
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_Children: []
|
||||
m_Father: {fileID: 0}
|
||||
m_RootOrder: 10
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!1 &1733988258
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
|
|
@ -28344,7 +28287,7 @@ Transform:
|
|||
- {fileID: 936330465}
|
||||
- {fileID: 415301831}
|
||||
m_Father: {fileID: 0}
|
||||
m_RootOrder: 9
|
||||
m_RootOrder: 8
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!1 &2139956859
|
||||
GameObject:
|
||||
|
|
|
|||
|
|
@ -1302,8 +1302,8 @@ Transform:
|
|||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 741153267}
|
||||
m_LocalRotation: {x: 0.015506901, y: 0.9502416, z: -0.30741307, w: 0.047933236}
|
||||
m_LocalPosition: {x: -117.51998, y: -77.08744, z: 149.09026}
|
||||
m_LocalRotation: {x: 0.015506897, y: 0.9502416, z: -0.30741316, w: 0.047933206}
|
||||
m_LocalPosition: {x: -117.52, y: -77.08742, z: 149.09026}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_Children:
|
||||
- {fileID: 412917866}
|
||||
|
|
@ -1773,8 +1773,8 @@ Transform:
|
|||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 965376321}
|
||||
m_LocalRotation: {x: 0.015506901, y: 0.9502416, z: -0.30741307, w: 0.047933236}
|
||||
m_LocalPosition: {x: -117.51998, y: -77.08744, z: 149.09026}
|
||||
m_LocalRotation: {x: 0.015506897, y: 0.9502416, z: -0.30741316, w: 0.047933206}
|
||||
m_LocalPosition: {x: -117.52, y: -77.08742, z: 149.09026}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_Children: []
|
||||
m_Father: {fileID: 0}
|
||||
|
|
@ -3050,6 +3050,8 @@ GameObject:
|
|||
- component: {fileID: 1854054864}
|
||||
- component: {fileID: 1854054863}
|
||||
- component: {fileID: 1854054865}
|
||||
- component: {fileID: 1854054867}
|
||||
- component: {fileID: 1854054866}
|
||||
m_Layer: 0
|
||||
m_Name: WwiseGlobal
|
||||
m_TagString: Untagged
|
||||
|
|
@ -3110,6 +3112,56 @@ MonoBehaviour:
|
|||
m_Script: {fileID: 11500000, guid: c3cd207057515c4438a31a6a7b548fe7, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
--- !u!114 &1854054866
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1854054862}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: d1f1a89fa3598c644a67edc70006ab8b, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
triggerList: f7e1664c
|
||||
useOtherObject: 0
|
||||
data:
|
||||
idInternal: 0
|
||||
valueGuidInternal:
|
||||
WwiseObjectReference: {fileID: 11400000, guid: be557f5797521904d8f254bfbd064b49,
|
||||
type: 2}
|
||||
decodeBank: 0
|
||||
loadAsynchronous: 0
|
||||
saveDecodedBank: 0
|
||||
unloadTriggerList:
|
||||
bankNameInternal:
|
||||
valueGuidInternal:
|
||||
--- !u!114 &1854054867
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1854054862}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: d1f1a89fa3598c644a67edc70006ab8b, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
triggerList: f7e1664c
|
||||
useOtherObject: 0
|
||||
data:
|
||||
idInternal: 0
|
||||
valueGuidInternal:
|
||||
WwiseObjectReference: {fileID: 11400000, guid: 1f7596d26fd55df42a4027d547caa78a,
|
||||
type: 2}
|
||||
decodeBank: 0
|
||||
loadAsynchronous: 0
|
||||
saveDecodedBank: 0
|
||||
unloadTriggerList:
|
||||
bankNameInternal:
|
||||
valueGuidInternal:
|
||||
--- !u!1 &1872107548
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
|
|
|
|||
|
|
@ -257,11 +257,12 @@ public class ActionGameManager : MonoBehaviour
|
|||
{
|
||||
if (length(wormhole.Position - CurrentEntity.Position.xz) < Settings.GameplaySettings.WormholeExitRadius)
|
||||
{
|
||||
var oldZone = Zone;
|
||||
ship.EnterWormhole(wormhole.Position);
|
||||
ship.OnEnteredWormhole += () =>
|
||||
{
|
||||
GenerateLevel(wormhole.Target);
|
||||
ship.ExitWormhole(ZoneRenderer.WormholeInstances.Keys.First().Position,
|
||||
ship.ExitWormhole(ZoneRenderer.WormholeInstances.Keys.First(w=>w.Target==Zone.SectorZone).Position,
|
||||
Settings.GameplaySettings.WormholeExitVelocity * ItemManager.Random.NextFloat2Direction());
|
||||
CurrentEntity.Zone = Zone;
|
||||
};
|
||||
|
|
@ -477,10 +478,7 @@ public class ActionGameManager : MonoBehaviour
|
|||
if (CurrentEntity != null)
|
||||
{
|
||||
CurrentEntity.Deactivate();
|
||||
if (CurrentEntity.Zone != null)
|
||||
{
|
||||
CurrentEntity.Zone.Entities.Remove(CurrentEntity);
|
||||
}
|
||||
CurrentEntity.Zone?.Entities.Remove(CurrentEntity);
|
||||
CurrentEntity.Zone = Zone;
|
||||
Zone.Entities.Add(CurrentEntity);
|
||||
CurrentEntity.Activate();
|
||||
|
|
|
|||
|
|
@ -15,6 +15,7 @@ public class EntityInstance : MonoBehaviour
|
|||
public ShieldManager Shield;
|
||||
public HullCollider[] HullColliders;
|
||||
|
||||
public Transform[] EquipmentHardpoints;
|
||||
public RadiatorHardpoint[] RadiatorHardpoints;
|
||||
public ThrusterHardpoint[] ThrusterHardpoints;
|
||||
public WeaponHardpoint[] WeaponHardpoints;
|
||||
|
|
@ -36,6 +37,9 @@ public class EntityInstance : MonoBehaviour
|
|||
private bool _unfadedElementsVisible = false;
|
||||
private float _fadeTime;
|
||||
|
||||
private (Reactor reactor, GameObject sfxSource) _reactor;
|
||||
private Dictionary<Radiator, GameObject> _radiatorSfx = new Dictionary<Radiator, GameObject>();
|
||||
|
||||
private static Dictionary<InstantWeaponData, InstantWeaponEffectManager> _instantWeaponManagers = new Dictionary<InstantWeaponData, InstantWeaponEffectManager>();
|
||||
private static Dictionary<ConstantWeaponData, ConstantWeaponEffectManager> _constantWeaponManagers = new Dictionary<ConstantWeaponData, ConstantWeaponEffectManager>();
|
||||
|
||||
|
|
@ -195,6 +199,39 @@ public class EntityInstance : MonoBehaviour
|
|||
_constantWeaponManagers[data].StopFiring(item);
|
||||
}
|
||||
}
|
||||
|
||||
var hp = Entity.Hardpoints[item.Position.x, item.Position.y];
|
||||
if (hp != null && !string.IsNullOrEmpty(item.Data.SoundEffectTrigger))
|
||||
{
|
||||
if(hp.Type == HardpointType.Radiator)
|
||||
{
|
||||
var radiatorHardpoint = RadiatorHardpoints.FirstOrDefault(x => x.name == hp.Transform);
|
||||
if (radiatorHardpoint)
|
||||
{
|
||||
var rad = item.GetBehavior<Radiator>();
|
||||
if(rad != null && !string.IsNullOrEmpty(item.Data.SoundEffectTrigger))
|
||||
{
|
||||
AkSoundEngine.RegisterGameObj(radiatorHardpoint.gameObject);
|
||||
AkSoundEngine.PostEvent(item.Data.SoundEffectTrigger, radiatorHardpoint.gameObject);
|
||||
_radiatorSfx[rad] = radiatorHardpoint.gameObject;
|
||||
}
|
||||
}
|
||||
}
|
||||
if(hp.Type == HardpointType.Reactor)
|
||||
{
|
||||
var reactorHardpoint = EquipmentHardpoints.FirstOrDefault(x => x.name == hp.Transform);
|
||||
if (reactorHardpoint)
|
||||
{
|
||||
var reactor = item.GetBehavior<Reactor>();
|
||||
if( reactor != null && !string.IsNullOrEmpty(item.Data.SoundEffectTrigger) )
|
||||
{
|
||||
AkSoundEngine.RegisterGameObj(reactorHardpoint.gameObject);
|
||||
AkSoundEngine.PostEvent(item.Data.SoundEffectTrigger, reactorHardpoint.gameObject);
|
||||
_reactor = (reactor, reactorHardpoint.gameObject);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
RadiatorMeshes = new Dictionary<Radiator, MeshRenderer>();
|
||||
Barrels = new Dictionary<HardpointData, Transform[]>();
|
||||
|
|
@ -423,6 +460,23 @@ public class EntityInstance : MonoBehaviour
|
|||
foreach(var material in _fadeMaterials) material.SetFloat("_Fade", _fade);
|
||||
}
|
||||
}
|
||||
|
||||
foreach (var r in _radiatorSfx)
|
||||
{
|
||||
r.Value.SetActive(r.Key.Item.Online.Value);
|
||||
AkSoundEngine.SetRTPCValue("performance_durability", r.Key.Item.DurabilityPerformance, r.Value);
|
||||
AkSoundEngine.SetRTPCValue("performance_thermal", r.Key.Item.ThermalPerformance, r.Value);
|
||||
AkSoundEngine.SetRTPCValue("performance_quality", r.Key.Item.ItemManager.CompoundQuality(r.Key.Item.EquippableItem), r.Value);
|
||||
}
|
||||
|
||||
if (_reactor.reactor != null)
|
||||
{
|
||||
_reactor.sfxSource.SetActive(_reactor.reactor.Item.Online.Value);
|
||||
AkSoundEngine.SetRTPCValue("reactor_load", _reactor.reactor.CurrentLoadRatio, _reactor.sfxSource);
|
||||
AkSoundEngine.SetRTPCValue("performance_durability", _reactor.reactor.Item.DurabilityPerformance, _reactor.sfxSource);
|
||||
AkSoundEngine.SetRTPCValue("performance_thermal", _reactor.reactor.Item.ThermalPerformance, _reactor.sfxSource);
|
||||
AkSoundEngine.SetRTPCValue("performance_quality", _reactor.reactor.Item.ItemManager.CompoundQuality(_reactor.reactor.Item.EquippableItem), _reactor.sfxSource);
|
||||
}
|
||||
|
||||
foreach (var x in RadiatorMeshes)
|
||||
{
|
||||
|
|
@ -439,8 +493,19 @@ public class EntityInstance : MonoBehaviour
|
|||
transform.position = Entity.Position;
|
||||
}
|
||||
|
||||
private void OnDestroy()
|
||||
public virtual void OnDestroy()
|
||||
{
|
||||
foreach (var r in _radiatorSfx)
|
||||
{
|
||||
AkSoundEngine.PostEvent(r.Key.Item.Data.SoundEffectTrigger + "_stop", r.Value);
|
||||
AkSoundEngine.UnregisterGameObj(r.Value);
|
||||
}
|
||||
|
||||
if (_reactor.reactor != null)
|
||||
{
|
||||
AkSoundEngine.PostEvent(_reactor.reactor.Item.Data.SoundEffectTrigger + "_stop", _reactor.sfxSource);
|
||||
AkSoundEngine.UnregisterGameObj(_reactor.sfxSource);
|
||||
}
|
||||
foreach(var x in _subscriptions)
|
||||
x.Dispose();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -4,7 +4,16 @@ using UnityEngine;
|
|||
|
||||
public class ShipInstance : EntityInstance
|
||||
{
|
||||
public (Thruster effect, ParticleSystem system, float baseEmission)[] Particles;
|
||||
private class ThrusterInstance
|
||||
{
|
||||
public Thruster Thruster;
|
||||
public GameObject SfxSource;
|
||||
public ParticleSystem System;
|
||||
public float BaseEmission;
|
||||
public int MaxParticleCount;
|
||||
}
|
||||
|
||||
private ThrusterInstance[] _thrusters;
|
||||
|
||||
public Ship Ship { get; private set; }
|
||||
|
||||
|
|
@ -18,40 +27,52 @@ public class ShipInstance : EntityInstance
|
|||
return;
|
||||
}
|
||||
Ship = ship;
|
||||
Particles = ship.GetBehaviors<Thruster>()
|
||||
.Select<Thruster, (Thruster effect, ParticleSystem system, float baseEmission)>(x =>
|
||||
_thrusters = ship.GetBehaviors<Thruster>().Select(thruster =>
|
||||
{
|
||||
var effectData = (ThrusterData) x.Data;
|
||||
var effectData = (ThrusterData) thruster.Data;
|
||||
var particles = Instantiate(UnityHelpers.LoadAsset<ParticleSystem>(effectData.ParticlesPrefab), transform, false);
|
||||
var particlesShape = particles.shape;
|
||||
particlesShape.meshRenderer = ThrusterHardpoints
|
||||
.FirstOrDefault(t => t.name == x.Entity.Hardpoints[x.Item.Position.x, x.Item.Position.y].Transform)
|
||||
?.Emitter;
|
||||
return (x, particles, particles.emission.rateOverTimeMultiplier);
|
||||
var thrusterHardpoint = ThrusterHardpoints
|
||||
.FirstOrDefault(t => t.name == thruster.Entity.Hardpoints[thruster.Item.Position.x, thruster.Item.Position.y].Transform);
|
||||
particlesShape.meshRenderer = thrusterHardpoint?.Emitter;
|
||||
if (!string.IsNullOrEmpty(thruster.Item.Data.SoundEffectTrigger) && thrusterHardpoint != null)
|
||||
{
|
||||
AkSoundEngine.RegisterGameObj(thrusterHardpoint.gameObject);
|
||||
AkSoundEngine.PostEvent(thruster.Item.Data.SoundEffectTrigger, thrusterHardpoint.gameObject);
|
||||
}
|
||||
|
||||
return new ThrusterInstance
|
||||
{
|
||||
Thruster = thruster,
|
||||
SfxSource = thrusterHardpoint?.gameObject,
|
||||
System = particles,
|
||||
BaseEmission = particles.emission.rateOverTimeMultiplier,
|
||||
MaxParticleCount = 0
|
||||
};
|
||||
})
|
||||
.ToArray();
|
||||
|
||||
foreach (var particle in Particles)
|
||||
foreach (var particle in _thrusters)
|
||||
{
|
||||
particle.system.gameObject.SetActive(false);
|
||||
particle.System.gameObject.SetActive(false);
|
||||
}
|
||||
}
|
||||
|
||||
protected override void ShowUnfadedElements()
|
||||
{
|
||||
base.ShowUnfadedElements();
|
||||
foreach (var particle in Particles)
|
||||
foreach (var particle in _thrusters)
|
||||
{
|
||||
particle.system.gameObject.SetActive(true);
|
||||
particle.System.gameObject.SetActive(true);
|
||||
}
|
||||
}
|
||||
|
||||
protected override void HideUnfadedElements()
|
||||
{
|
||||
base.HideUnfadedElements();
|
||||
foreach (var particle in Particles)
|
||||
foreach (var particle in _thrusters)
|
||||
{
|
||||
particle.system.gameObject.SetActive(false);
|
||||
particle.System.gameObject.SetActive(false);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -59,14 +80,38 @@ public class ShipInstance : EntityInstance
|
|||
{
|
||||
base.Update();
|
||||
|
||||
foreach (var (effect, system, baseEmission) in Particles)
|
||||
foreach (var thrusterInstance in _thrusters)
|
||||
{
|
||||
var emissionModule = system.emission;
|
||||
var item = effect.Item.EquippableItem;
|
||||
var emissionModule = thrusterInstance.System.emission;
|
||||
var item = thrusterInstance.Thruster.Item.EquippableItem;
|
||||
var data = Entity.ItemManager.GetData(item);
|
||||
emissionModule.rateOverTimeMultiplier = baseEmission * effect.Axis * (item.Durability / data.Durability);
|
||||
thrusterInstance.MaxParticleCount = thrusterInstance.System.particleCount;
|
||||
emissionModule.rateOverTimeMultiplier = thrusterInstance.BaseEmission * thrusterInstance.Thruster.Axis * (item.Durability / data.Durability);
|
||||
if (thrusterInstance.SfxSource)
|
||||
{
|
||||
var throttle = 0f;
|
||||
if (thrusterInstance.System.particleCount > 0)
|
||||
throttle = (float) thrusterInstance.System.particleCount / thrusterInstance.MaxParticleCount;
|
||||
AkSoundEngine.SetRTPCValue("thruster_throttle", throttle, thrusterInstance.SfxSource);
|
||||
AkSoundEngine.SetRTPCValue("performance_durability", thrusterInstance.Thruster.Item.DurabilityPerformance, thrusterInstance.SfxSource);
|
||||
AkSoundEngine.SetRTPCValue("performance_thermal", thrusterInstance.Thruster.Item.ThermalPerformance, thrusterInstance.SfxSource);
|
||||
AkSoundEngine.SetRTPCValue("performance_quality",
|
||||
thrusterInstance.Thruster.Item.ItemManager.CompoundQuality(thrusterInstance.Thruster.Item.EquippableItem), thrusterInstance.SfxSource);
|
||||
}
|
||||
}
|
||||
|
||||
transform.rotation = Ship.Rotation;
|
||||
}
|
||||
|
||||
public override void OnDestroy()
|
||||
{
|
||||
foreach (var thrusterInstance in _thrusters)
|
||||
{
|
||||
if (thrusterInstance.SfxSource)
|
||||
{
|
||||
AkSoundEngine.PostEvent(thrusterInstance.Thruster.Item.Data.SoundEffectTrigger + "_stop", thrusterInstance.SfxSource);
|
||||
AkSoundEngine.UnregisterGameObj(thrusterInstance.SfxSource);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -40,6 +40,8 @@ public class Reactor : IBehavior, IOrderedBehavior
|
|||
public ItemManager Context { get; }
|
||||
|
||||
public float Draw { get; private set; }
|
||||
|
||||
public float CurrentLoadRatio { get; private set; }
|
||||
|
||||
public int Order => 100;
|
||||
|
||||
|
|
@ -64,7 +66,6 @@ public class Reactor : IBehavior, IOrderedBehavior
|
|||
var capacitor = onRemove.Value.GetBehavior<Capacitor>();
|
||||
if (capacitor != null) _capacitors.Remove(capacitor);
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
public void ConsumeEnergy(float energy)
|
||||
|
|
@ -78,7 +79,8 @@ public class Reactor : IBehavior, IOrderedBehavior
|
|||
var efficiency = Item.Evaluate(_data.Efficiency);
|
||||
|
||||
// This behavior executes last, so any components drawing power have already done so
|
||||
|
||||
|
||||
CurrentLoadRatio = Draw / max(charge, .01f);
|
||||
// Subtract the baseline charge from draw
|
||||
Draw -= charge;
|
||||
|
||||
|
|
|
|||
|
|
@ -907,7 +907,7 @@ public class EquippedItem
|
|||
public ReadOnlyReactiveProperty<bool> Online { get; }
|
||||
public ReactiveProperty<bool> Enabled { get; } = new ReactiveProperty<bool>(true);
|
||||
public ReadOnlyReactiveProperty<bool> Active { get; }
|
||||
|
||||
public ItemManager ItemManager { get; }
|
||||
|
||||
public float Temperature
|
||||
{
|
||||
|
|
@ -919,20 +919,18 @@ public class EquippedItem
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
protected readonly ItemManager _itemManager;
|
||||
//private bool _online;
|
||||
|
||||
public EquippedItem(ItemManager itemManager, EquippableItem item, int2 position, Entity entity)
|
||||
{
|
||||
_itemManager = itemManager;
|
||||
Data = _itemManager.GetData(item);
|
||||
ItemManager = itemManager;
|
||||
Data = ItemManager.GetData(item);
|
||||
Entity = entity;
|
||||
EquippableItem = item;
|
||||
Position = position;
|
||||
Conductivity = Data.Conductivity;
|
||||
ThermalExponent = _itemManager.Evaluate(Data.HeatExponent, EquippableItem);
|
||||
DurabilityExponent = _itemManager.Evaluate(Data.DurabilityExponent, EquippableItem);
|
||||
ThermalExponent = ItemManager.Evaluate(Data.HeatExponent, EquippableItem);
|
||||
DurabilityExponent = ItemManager.Evaluate(Data.DurabilityExponent, EquippableItem);
|
||||
var hullData = itemManager.GetData(entity.Hull);
|
||||
InsetShape = hullData.Shape.Inset(Data.Shape, position, item.Rotation);
|
||||
|
||||
|
|
@ -971,7 +969,7 @@ public class EquippedItem
|
|||
var durability = 1f;
|
||||
if(stat.DurabilityDependent)
|
||||
durability = pow(DurabilityPerformance, DurabilityExponent);
|
||||
var quality = pow(_itemManager.Quality(stat, EquippableItem), stat.QualityExponent);
|
||||
var quality = pow(ItemManager.Quality(stat, EquippableItem), stat.QualityExponent);
|
||||
|
||||
var scaleModifier = 1.0f;
|
||||
foreach (var value in stat.GetScaleModifiers(Entity).Values) scaleModifier = scaleModifier * value;
|
||||
|
|
@ -1001,8 +999,8 @@ public class EquippedItem
|
|||
DurabilityPerformance = EquippableItem.Durability / Data.Durability;
|
||||
var performanceThreshold = Entity.Settings.ShutdownPerformance;
|
||||
Wear = (1 - pow(Data.Performance(temp),
|
||||
(1 - pow(_itemManager.CompoundQuality(EquippableItem), _itemManager.GameplaySettings.QualityWearExponent)) *
|
||||
_itemManager.GameplaySettings.ThermalWearExponent)
|
||||
(1 - pow(ItemManager.CompoundQuality(EquippableItem), ItemManager.GameplaySettings.QualityWearExponent)) *
|
||||
ItemManager.GameplaySettings.ThermalWearExponent)
|
||||
) * Data.Durability / Data.ThermalResilience;
|
||||
ThermalOnline.Value = ThermalPerformance > performanceThreshold || Entity.OverrideShutdown && EquippableItem.OverrideShutdown;
|
||||
DurabilityOnline.Value = EquippableItem.Durability > .01f;
|
||||
|
|
@ -1045,7 +1043,7 @@ public class EquippedCargoBay : EquippedItem
|
|||
|
||||
public EquippedCargoBay(ItemManager itemManager, EquippableItem item, int2 position, Entity entity, string name) : base(itemManager, item, position, entity)
|
||||
{
|
||||
Data = _itemManager.GetData(EquippableItem) as CargoBayData;
|
||||
Data = ItemManager.GetData(EquippableItem) as CargoBayData;
|
||||
Name = name;
|
||||
|
||||
Mass = Data.Mass;
|
||||
|
|
@ -1057,7 +1055,7 @@ public class EquippedCargoBay : EquippedItem
|
|||
// Check whether the given item will fit when its origin is placed at the given coordinate
|
||||
public bool ItemFits(ItemInstance item, int2 cargoCoord)
|
||||
{
|
||||
var itemData = _itemManager.GetData(item);
|
||||
var itemData = ItemManager.GetData(item);
|
||||
// Check every cell of the item's shape
|
||||
foreach (var i in itemData.Shape.Coordinates)
|
||||
{
|
||||
|
|
@ -1084,7 +1082,7 @@ public class EquippedCargoBay : EquippedItem
|
|||
public bool TryFindSpace(SimpleCommodity item, out List<int2> positions)
|
||||
{
|
||||
positions = new List<int2>();
|
||||
var itemData = _itemManager.GetData(item);
|
||||
var itemData = ItemManager.GetData(item);
|
||||
var remainingQuantity = item.Quantity;
|
||||
|
||||
// For simple commodities, search for existing item stacks to add to
|
||||
|
|
@ -1170,7 +1168,7 @@ public class EquippedCargoBay : EquippedItem
|
|||
// Returns true only when ALL of the items are successfully stored
|
||||
public bool TryStore(SimpleCommodity item, int2 cargoCoord)
|
||||
{
|
||||
var itemData = _itemManager.GetData(item);
|
||||
var itemData = ItemManager.GetData(item);
|
||||
if (ItemFits(item, cargoCoord))
|
||||
{
|
||||
foreach (var p in itemData.Shape.Coordinates)
|
||||
|
|
@ -1203,8 +1201,8 @@ public class EquippedCargoBay : EquippedItem
|
|||
}
|
||||
else return false;
|
||||
|
||||
Mass += _itemManager.GetMass(item);
|
||||
ThermalMass += _itemManager.GetThermalMass(item);
|
||||
Mass += ItemManager.GetMass(item);
|
||||
ThermalMass += ItemManager.GetThermalMass(item);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
@ -1216,7 +1214,7 @@ public class EquippedCargoBay : EquippedItem
|
|||
{
|
||||
if (!ItemFits(item, cargoCoord)) return false;
|
||||
|
||||
var itemData = _itemManager.GetData(item);
|
||||
var itemData = ItemManager.GetData(item);
|
||||
foreach (var p in itemData.Shape.Coordinates)
|
||||
{
|
||||
var pos = cargoCoord + itemData.Shape.Rotate(p, item.Rotation);
|
||||
|
|
@ -1228,8 +1226,8 @@ public class EquippedCargoBay : EquippedItem
|
|||
ItemsOfType[item.Data] = new List<ItemInstance>();
|
||||
ItemsOfType[item.Data].Add(item);
|
||||
|
||||
Mass += _itemManager.GetMass(item);
|
||||
ThermalMass += _itemManager.GetThermalMass(item);
|
||||
Mass += ItemManager.GetMass(item);
|
||||
ThermalMass += ItemManager.GetThermalMass(item);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
|
@ -1238,10 +1236,10 @@ public class EquippedCargoBay : EquippedItem
|
|||
{
|
||||
if (!Cargo.ContainsKey(item))
|
||||
{
|
||||
_itemManager.Log("Attempted to remove item from a cargo bay that it wasn't even in! Something went wrong here!");
|
||||
ItemManager.Log("Attempted to remove item from a cargo bay that it wasn't even in! Something went wrong here!");
|
||||
return null;
|
||||
}
|
||||
var itemData = _itemManager.GetData(item);
|
||||
var itemData = ItemManager.GetData(item);
|
||||
if(quantity >= item.Quantity)
|
||||
{
|
||||
foreach(var v in Data.InteriorShape.Coordinates)
|
||||
|
|
@ -1253,8 +1251,8 @@ public class EquippedCargoBay : EquippedItem
|
|||
if (!ItemsOfType[item.Data].Any())
|
||||
ItemsOfType.Remove(item.Data);
|
||||
|
||||
Mass -= _itemManager.GetMass(item);
|
||||
ThermalMass -= _itemManager.GetThermalMass(item);
|
||||
Mass -= ItemManager.GetMass(item);
|
||||
ThermalMass -= ItemManager.GetThermalMass(item);
|
||||
|
||||
return item;
|
||||
}
|
||||
|
|
@ -1269,10 +1267,10 @@ public class EquippedCargoBay : EquippedItem
|
|||
{
|
||||
if (!Cargo.ContainsKey(item))
|
||||
{
|
||||
_itemManager.Log("Attempted to remove item from a cargo bay that it wasn't even in! Something went wrong here!");
|
||||
ItemManager.Log("Attempted to remove item from a cargo bay that it wasn't even in! Something went wrong here!");
|
||||
return;
|
||||
}
|
||||
var itemData = _itemManager.GetData(item);
|
||||
var itemData = ItemManager.GetData(item);
|
||||
foreach(var v in Data.InteriorShape.Coordinates)
|
||||
if (Occupancy[v.x, v.y] == item)
|
||||
Occupancy[v.x, v.y] = null;
|
||||
|
|
@ -1282,8 +1280,8 @@ public class EquippedCargoBay : EquippedItem
|
|||
if (!ItemsOfType[item.Data].Any())
|
||||
ItemsOfType.Remove(item.Data);
|
||||
|
||||
Mass -= _itemManager.GetMass(item);
|
||||
ThermalMass -= _itemManager.GetThermalMass(item);
|
||||
Mass -= ItemManager.GetMass(item);
|
||||
ThermalMass -= ItemManager.GetThermalMass(item);
|
||||
}
|
||||
|
||||
public void Remove(ItemInstance item)
|
||||
|
|
@ -1298,7 +1296,7 @@ public class EquippedCargoBay : EquippedItem
|
|||
{
|
||||
if (!Cargo.ContainsKey(item))
|
||||
{
|
||||
_itemManager.Log("Attempted to remove item from a cargo bay that it wasn't even in! Something went wrong here!");
|
||||
ItemManager.Log("Attempted to remove item from a cargo bay that it wasn't even in! Something went wrong here!");
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
@ -1316,7 +1314,7 @@ public class EquippedCargoBay : EquippedItem
|
|||
{
|
||||
if (!Cargo.ContainsKey(item))
|
||||
{
|
||||
_itemManager.Log("Attempted to remove item from a cargo bay that it wasn't even in! Something went wrong here!");
|
||||
ItemManager.Log("Attempted to remove item from a cargo bay that it wasn't even in! Something went wrong here!");
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
@ -1333,7 +1331,7 @@ public class EquippedDockingBay : EquippedCargoBay
|
|||
private DockingBayData _data;
|
||||
public EquippedDockingBay(ItemManager itemManager, EquippableItem item, int2 position, Entity entity, string name) : base(itemManager, item, position, entity, name)
|
||||
{
|
||||
_data = _itemManager.GetData(EquippableItem) as DockingBayData;
|
||||
_data = ItemManager.GetData(EquippableItem) as DockingBayData;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -300,6 +300,9 @@ public abstract class EquippableItemData : CraftedItemData
|
|||
[InspectableField, JsonProperty("resilience"), Key(18)]
|
||||
public float ThermalResilience = 1;
|
||||
|
||||
[InspectableField, JsonProperty("sfx"), Key(19)]
|
||||
public string SoundEffectTrigger;
|
||||
|
||||
[IgnoreMember]
|
||||
public abstract HardpointType HardpointType { get; }
|
||||
|
||||
|
|
@ -341,7 +344,7 @@ public abstract class EquippableItemData : CraftedItemData
|
|||
[RethinkTable("Items"), Inspectable, MessagePackObject, JsonObject(MemberSerialization.OptIn)]
|
||||
public class GearData : EquippableItemData
|
||||
{
|
||||
[InspectableField, JsonProperty("hardpointType"), Key(19)]
|
||||
[InspectableField, JsonProperty("hardpointType"), Key(20)]
|
||||
public HardpointType Hardpoint;
|
||||
|
||||
[IgnoreMember] public override HardpointType HardpointType => Hardpoint;
|
||||
|
|
@ -350,7 +353,7 @@ public class GearData : EquippableItemData
|
|||
[RethinkTable("Items"), Inspectable, MessagePackObject, JsonObject(MemberSerialization.OptIn)]
|
||||
public class CargoBayData : EquippableItemData
|
||||
{
|
||||
[InspectableField, JsonProperty("interiorShape"), Key(19)]
|
||||
[InspectableField, JsonProperty("interiorShape"), Key(20)]
|
||||
public Shape InteriorShape;
|
||||
[IgnoreMember] public override HardpointType HardpointType => HardpointType.Tool;
|
||||
}
|
||||
|
|
@ -358,7 +361,7 @@ public class CargoBayData : EquippableItemData
|
|||
[RethinkTable("Items"), Inspectable, MessagePackObject, JsonObject(MemberSerialization.OptIn)]
|
||||
public class DockingBayData : CargoBayData
|
||||
{
|
||||
[InspectableField, JsonProperty("maxSize"), Key(20)]
|
||||
[InspectableField, JsonProperty("maxSize"), Key(21)]
|
||||
public int2 MaxSize;
|
||||
[IgnoreMember] public override HardpointType HardpointType => HardpointType.Tool;
|
||||
}
|
||||
|
|
@ -366,19 +369,19 @@ public class DockingBayData : CargoBayData
|
|||
[RethinkTable("Items"), Inspectable, MessagePackObject, JsonObject(MemberSerialization.OptIn)]
|
||||
public class HullData : EquippableItemData
|
||||
{
|
||||
[InspectableField, JsonProperty("hardpoints"), Key(19)]
|
||||
[InspectableField, JsonProperty("hardpoints"), Key(20)]
|
||||
public List<HardpointData> Hardpoints = new List<HardpointData>();
|
||||
|
||||
[InspectablePrefab, JsonProperty("prefab"), Key(20)]
|
||||
[InspectablePrefab, JsonProperty("prefab"), Key(21)]
|
||||
public string Prefab;
|
||||
|
||||
[InspectableField, JsonProperty("hullType"), Key(21)]
|
||||
[InspectableField, JsonProperty("hullType"), Key(22)]
|
||||
public HullType HullType;
|
||||
|
||||
[InspectableField, JsonProperty("gridOffset"), Key(22)]
|
||||
[InspectableField, JsonProperty("gridOffset"), Key(23)]
|
||||
public float GridOffset;
|
||||
|
||||
[InspectableField, JsonProperty("armor"), Key(23)]
|
||||
[InspectableField, JsonProperty("armor"), Key(24)]
|
||||
public float Armor;
|
||||
|
||||
[IgnoreMember]
|
||||
|
|
|
|||
|
|
@ -233,9 +233,9 @@ public class Ship : Entity
|
|||
|
||||
public override void Update(float delta)
|
||||
{
|
||||
foreach (var thruster in _allThrusters) thruster.Axis = 0;
|
||||
if (_active && !_exitingWormhole && !_enteringWormhole)
|
||||
{
|
||||
foreach (var thruster in _allThrusters) thruster.Axis = 0;
|
||||
var rightThrusterTorqueCompensation = abs(RightStrafeTotalTorque) / RightStrafeTorqueThrusters.Length;
|
||||
foreach (var thruster in _rightThrusters)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -19,10 +19,14 @@ namespace AK
|
|||
static const AkUniqueID EQUIP = 2412608643U;
|
||||
static const AkUniqueID PICKUP = 3978245845U;
|
||||
static const AkUniqueID REACTOR_TYPE01 = 108700025U;
|
||||
static const AkUniqueID REACTOR_TYPE01_STOP = 1226299660U;
|
||||
static const AkUniqueID TEST_SPASHIP_FULL_UNIT = 937212177U;
|
||||
static const AkUniqueID THRUSTER_LARGE = 2370087034U;
|
||||
static const AkUniqueID THRUSTER_LARGE_STOP = 1006509321U;
|
||||
static const AkUniqueID THRUSTER_MEDIUM = 2528260676U;
|
||||
static const AkUniqueID THRUSTER_MEDIUM_STOP = 2044992675U;
|
||||
static const AkUniqueID THRUSTER_SMALL = 1944968294U;
|
||||
static const AkUniqueID THRUSTER_SMALL_STOP = 1154341749U;
|
||||
static const AkUniqueID UI_FAIL = 3050276906U;
|
||||
static const AkUniqueID UI_SUCCESS = 981465891U;
|
||||
static const AkUniqueID UNDOCK = 2826728501U;
|
||||
|
|
@ -36,7 +40,7 @@ namespace AK
|
|||
{
|
||||
static const AkUniqueID PERFORMANCE_DURABILITY = 965148665U;
|
||||
static const AkUniqueID PERFORMANCE_QUALITY = 875134311U;
|
||||
static const AkUniqueID PERFORMANCE_TEMPERATURE = 2129580506U;
|
||||
static const AkUniqueID PERFORMANCE_THERMAL = 3835443961U;
|
||||
static const AkUniqueID REACTOR_LOAD = 3735272724U;
|
||||
static const AkUniqueID SHIP_VELOCITY = 3579545711U;
|
||||
static const AkUniqueID THRUSTER_THROTTLE = 4116566921U;
|
||||
|
|
@ -45,12 +49,8 @@ namespace AK
|
|||
namespace BANKS
|
||||
{
|
||||
static const AkUniqueID INIT = 1355168291U;
|
||||
static const AkUniqueID REACTOR_TYPE01 = 108700025U;
|
||||
static const AkUniqueID THRUSTER_LARGE = 2370087034U;
|
||||
static const AkUniqueID THRUSTER_MEDIUM = 2528260676U;
|
||||
static const AkUniqueID THRUSTER_SMALL = 1944968294U;
|
||||
static const AkUniqueID SHIP = 284967655U;
|
||||
static const AkUniqueID UI = 1551306167U;
|
||||
static const AkUniqueID WORMHOLE = 1857378326U;
|
||||
} // namespace BANKS
|
||||
|
||||
namespace BUSSES
|
||||
|
|
|
|||
BIN
Assets/Wwise/Editor/ProjectData/AkWwiseProjectData.asset
(Stored with Git LFS)
BIN
Assets/Wwise/Editor/ProjectData/AkWwiseProjectData.asset
(Stored with Git LFS)
Binary file not shown.
BIN
Assets/Wwise/ScriptableObjects/Soundbank/FA8840A4-46A9-455E-BF88-D7239E2E6D72.asset
(Stored with Git LFS)
Normal file
BIN
Assets/Wwise/ScriptableObjects/Soundbank/FA8840A4-46A9-455E-BF88-D7239E2E6D72.asset
(Stored with Git LFS)
Normal file
Binary file not shown.
|
|
@ -0,0 +1,8 @@
|
|||
fileFormatVersion: 2
|
||||
guid: be557f5797521904d8f254bfbd064b49
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 11400000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
BIN
GameData/AetherDB.msgpack
(Stored with Git LFS)
BIN
GameData/AetherDB.msgpack
(Stored with Git LFS)
Binary file not shown.
BIN
GameData/PlayerSettings.msgpack
(Stored with Git LFS)
BIN
GameData/PlayerSettings.msgpack
(Stored with Git LFS)
Binary file not shown.
Loading…
Reference in a new issue