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

Commit c985da2

Browse files
committed
Added shielder sounds
Added shielder loop sound so it hums nicely Tweaked shielder sound attenuation start distances a little
1 parent ccfb560 commit c985da2

File tree

14 files changed

+34
-15
lines changed

14 files changed

+34
-15
lines changed

CreditsAssets.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,11 @@ Devices/Weapons/UberCannon/Sounds:
132132
-----------
133133
D U M M Y :
134134
-----------
135+
////////////////////////////////////////////////////////////////////////////////////////////////////
136+
Devices/Tools/Shielder/Sounds:
137+
Fire, Impact1, Loop, ShieldGib
138+
Soniss GDC Audio Bundles
139+
135140
////////////////////////////////////////////////////////////////////////////////////////////////////
136141
Devices/Weapons/Destroyer/Sounds:
137142
Explode1

Dummy.rte/Devices/Tools/Shielder/ShieldWall.lua

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ function Create(self)
55
MovableMan:AddParticle(self.glow);
66
self.glowID = self.glow.UniqueID;
77

8+
self.soundEffect = CreateSoundContainer("Shielder Wall Sound", "Dummy.rte");
9+
self.soundEffect.Pos = self.Pos;
10+
self.soundEffect:Play();
11+
812
self.AngularVel = 0;
913
end
1014
function Update(self)
@@ -33,4 +37,7 @@ function Destroy(self)
3337
if self.glow then
3438
self.glow.ToDelete = true;
3539
end
40+
if self.soundEffect then
41+
self.soundEffect:Stop();
42+
end
3643
end

Dummy.rte/Devices/Tools/Shielder/Shielder.ini

Lines changed: 22 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,9 @@ AddEffect = AEmitter
5151
LifeVariation = 0.4
5252
BurstSize = 1
5353
BurstSound = SoundContainer
54-
AddSound = Dummy.rte/Devices/Tools/Shielder/Sounds/Impact1.flac
55-
AddSound = Dummy.rte/Devices/Tools/Shielder/Sounds/Impact2.flac
56-
AddSound = Dummy.rte/Devices/Tools/Shielder/Sounds/Impact3.flac
57-
AddSound = Dummy.rte/Devices/Tools/Shielder/Sounds/Impact4.flac
58-
AddSound = Dummy.rte/Devices/Tools/Shielder/Sounds/Impact5.flac
54+
PitchVariation = 0.25
55+
AttenuationStartDistance = 105
56+
AddSound = Dummy.rte/Devices/Tools/Shielder/Sounds/Impact1.wav
5957
EmissionEnabled = 1
6058
EmissionsIgnoreThis = 1
6159
ParticlesPerMinute = 0
@@ -82,6 +80,13 @@ AddEffect = MOPixel
8280
EffectStartStrength = 0.6
8381
EffectStopStrength = 0.4
8482

83+
AddSoundContainer = SoundContainer
84+
PresetName = Shielder Wall Sound
85+
AttenuationStartDistance = 95
86+
LoopSetting = -1
87+
AddSound = Dummy.rte/Devices/Tools/Shielder/Sounds/Loop.wav
88+
89+
8590

8691
AddAmmo = MOSRotating
8792
PresetName = Shielder Wall
@@ -210,7 +215,8 @@ AddAmmo = MOSRotating
210215
GibWoundLimit = 30
211216
GibImpulseLimit = 100000
212217
GibSound = SoundContainer
213-
AddSound = Dummy.rte/Devices/Tools/Shielder/Sounds/ShieldGib.flac
218+
AttenuationStartDistance = 130
219+
AddSound = Dummy.rte/Devices/Tools/Shielder/Sounds/ShieldGib.wav
214220

215221

216222
AddAmmo = Round
@@ -329,17 +335,18 @@ AddDevice = HDFirearm
329335
ScreenEffect = ContentFile
330336
FilePath = Base.rte/Effects/Glows/YellowLessHuge.png
331337
FireSound = SoundContainer
338+
AttenuationStartDistance = 130
339+
PitchVariation = 0.1
340+
AddSound = Dummy.rte/Devices/Tools/Shielder/Sounds/Fire.wav
341+
EmptySound = SoundContainer
332342
AddSound = ContentFile
333-
FilePath = Dummy.rte/Devices/Tools/Shielder/Sounds/Fire.flac
334-
// EmptySound = SoundContainer
335-
// AddSound = ContentFile
336-
// FilePath = Dummy.rte/Devices/Tools/Shielder/Sounds/
337-
// ReloadStartSound = SoundContainer
338-
// AddSound = ContentFile
339-
// FilePath = Dummy.rte/Devices/Tools/Shielder/Sounds/
343+
FilePath = Base.rte/Sounds/Devices/EmptyClick1.flac
344+
ReloadStartSound = SoundContainer
345+
AttenuationStartDistance = 120
346+
AddSound = Dummy.rte/Devices/Tools/Shielder/Sounds/ReloadStart.flac
340347
ReloadEndSound = SoundContainer
341-
AddSound = ContentFile
342-
FilePath = Dummy.rte/Devices/Tools/Shielder/Sounds/ReloadEnd.flac
348+
AttenuationStartDistance = 120
349+
AddSound = Dummy.rte/Devices/Tools/Shielder/Sounds/ReloadEnd.flac
343350
RecoilTransmission = 0
344351
RateOfFire = 60
345352
ReloadTime = 4000
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)