Skip to content
This repository was archived by the owner on Jan 5, 2024. It is now read-only.

Commit b37dc9b

Browse files
committed
Door movement sound changes that should have been done long ago
* Moved door movement sounds into Sounds.ini for easier reuse * Lowered door movement sound attenuation start distance so doors at the other end of dummy assault don't sound like they're right next to you smh
1 parent 7ca4e21 commit b37dc9b

File tree

3 files changed

+36
-15
lines changed

3 files changed

+36
-15
lines changed

Base.rte/Activities/Test.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ end
5757
function Test:UpdateActivity()
5858
if self.ActivityState == Activity.EDITING then
5959
-- Game is in editing or other modes, so open all does and reset the game running timer
60-
MovableMan:OpenAllDoors(true, Activity.NOTEAM)
60+
--MovableMan:OpenAllDoors(true, Activity.NOTEAM)
6161
-- self.StartTimer:Reset()
6262
end
6363
end

Base.rte/Scenes/Objects/Bunkers/BunkerSystems/Doors/Doors.ini

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -916,22 +916,14 @@ AddEffect = ADoor
916916
DeepCheck = 0
917917
DrawMaterialLayerWhenOpen = 1
918918
DrawMaterialLayerWhenClosed = 1
919-
DoorMoveSound = SoundContainer
920-
AttenuationStartDistance = 135
921-
AddSound = ContentFile
922-
FilePath = Base.rte/Sounds/Door/Movement/Loop.flac
923919
DoorMoveStartSound = SoundContainer
924-
AttenuationStartDistance = 135
925-
AddSound = ContentFile
926-
FilePath = Base.rte/Sounds/Door/Movement/Start.flac
927-
DoorMoveEndSound = SoundContainer
928-
AttenuationStartDistance = 135
929-
AddSound = ContentFile
930-
FilePath = Base.rte/Sounds/Door/Movement/End.flac
920+
CopyOf = Door Movement Start
921+
DoorMoveSound = SoundContainer
922+
CopyOf = Door Movement Loop
931923
DoorDirectionChangeSound = SoundContainer
932-
AttenuationStartDistance = 135
933-
AddSound = ContentFile
934-
FilePath = Base.rte/Sounds/Door/Movement/ChangeDirection.flac
924+
CopyOf = Door Movement Change Direction
925+
DoorMoveEndSound = SoundContainer
926+
CopyOf = Door Movement End
935927
GibImpulseLimit = 5000
936928
GibWoundLimit = 30
937929
GibBlastStrength = 50

Base.rte/Sounds.ini

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -307,6 +307,35 @@ AddSoundContainer = SoundContainer
307307
FilePath = Base.rte/Sounds/Devices/BeepDetonate.flac
308308

309309

310+
///////////////////////////////////////////////////////////////////////
311+
// Door Movement
312+
313+
314+
AddSoundContainer = SoundContainer
315+
PresetName = Door Movement Start
316+
AttenuationStartDistance = 90
317+
AddSound = ContentFile
318+
FilePath = Base.rte/Sounds/Door/Movement/Start.flac
319+
320+
AddSoundContainer = SoundContainer
321+
PresetName = Door Movement Loop
322+
AttenuationStartDistance = 90
323+
AddSound = ContentFile
324+
FilePath = Base.rte/Sounds/Door/Movement/Loop.flac
325+
326+
AddSoundContainer = SoundContainer
327+
PresetName = Door Movement Change Direction
328+
AttenuationStartDistance = 90
329+
AddSound = ContentFile
330+
FilePath = Base.rte/Sounds/Door/Movement/ChangeDirection.flac
331+
332+
AddSoundContainer = SoundContainer
333+
PresetName = Door Movement End
334+
AttenuationStartDistance = 90
335+
AddSound = ContentFile
336+
FilePath = Base.rte/Sounds/Door/Movement/End.flac
337+
338+
310339
AddSoundContainer = SoundContainer
311340
PresetName = Ship Explosion
312341
AttenuationStartDistance = 230

0 commit comments

Comments
 (0)