Skip to content

Commit 7940baf

Browse files
committed
advanced gibletry
1 parent 3d14aa0 commit 7940baf

24 files changed

+58
-3
lines changed

Data/Base.rte/Effects/Gibs.ini

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2791,6 +2791,7 @@ AddEffect = MOSRotating
27912791
Mass = 3.00
27922792
HitsMOs = 1
27932793
GetsHitByMOs = 0
2794+
ScriptPath = Base.rte/Scripts/Shared/GibletSounds.lua
27942795
SpriteFile = ContentFile
27952796
FilePath = Base.rte/Effects/Gibs/FleshSmallA.png
27962797
FrameCount = 1
@@ -2815,6 +2816,7 @@ AddEffect = MOSRotating
28152816
Mass = 3.00
28162817
HitsMOs = 1
28172818
GetsHitByMOs = 0
2819+
ScriptPath = Base.rte/Scripts/Shared/GibletSounds.lua
28182820
SpriteFile = ContentFile
28192821
FilePath = Base.rte/Effects/Gibs/FleshSmallB.png
28202822
FrameCount = 1
@@ -2863,6 +2865,7 @@ AddEffect = MOSRotating
28632865
Mass = 3.90
28642866
HitsMOs = 1
28652867
GetsHitByMOs = 0
2868+
ScriptPath = Base.rte/Scripts/Shared/GibletSounds.lua
28662869
SpriteFile = ContentFile
28672870
FilePath = Base.rte/Effects/Gibs/FleshSmallD.png
28682871
FrameCount = 1
@@ -3008,6 +3011,7 @@ AddEffect = MOSParticle
30083011
Sharpness = 0
30093012
HitsMOs = 1
30103013
GetsHitByMOs = 0
3014+
ScriptPath = Base.rte/Scripts/Shared/GibletSounds.lua
30113015
SpriteFile = ContentFile
30123016
FilePath = Base.rte/Effects/Gibs/FleshMicroA.png
30133017
FrameCount = 8
@@ -3253,6 +3257,7 @@ AddEffect = MOSParticle
32533257
Sharpness = 0
32543258
HitsMOs = 1
32553259
GetsHitByMOs = 0
3260+
ScriptPath = Base.rte/Scripts/Shared/GibletSounds.lua
32563261
SpriteFile = ContentFile
32573262
FilePath = Base.rte/Effects/Gibs/FleshTinyA.png
32583263
FrameCount = 8
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
function Create(self)
2+
self.impactSound = CreateSoundContainer("Flesh Giblet Impact", "Base.rte");
3+
end
4+
5+
function OnCollideWithTerrain(self, terrainID)
6+
if not self.Impacted then
7+
self.impactSound:Play(self.Pos);
8+
self.Impacted = true;
9+
end
10+
end

Data/Base.rte/Sounds.ini

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -896,6 +896,28 @@ AddSoundContainer = SoundContainer
896896
AddSound = Base.rte/Sounds/Penetration/Flesh/TorsoGib5.flac
897897
AddSound = Base.rte/Sounds/Penetration/Flesh/TorsoGib6.flac
898898
AddSound = Base.rte/Sounds/Penetration/Flesh/TorsoGib7.flac
899+
900+
AddSoundContainer = SoundContainer
901+
PresetName = Flesh Giblet Impact
902+
AttenuationStartDistance = 90
903+
Priority = 200
904+
AddSound = Base.rte/Sounds/Penetration/Flesh/GibletImpact1.flac
905+
AddSound = Base.rte/Sounds/Penetration/Flesh/GibletImpact2.flac
906+
AddSound = Base.rte/Sounds/Penetration/Flesh/GibletImpact3.flac
907+
AddSound = Base.rte/Sounds/Penetration/Flesh/GibletImpact4.flac
908+
AddSound = Base.rte/Sounds/Penetration/Flesh/GibletImpact5.flac
909+
AddSound = Base.rte/Sounds/Penetration/Flesh/GibletImpact6.flac
910+
AddSound = Base.rte/Sounds/Penetration/Flesh/GibletImpact7.flac
911+
AddSound = Base.rte/Sounds/Penetration/Flesh/GibletImpact8.flac
912+
AddSound = Base.rte/Sounds/Penetration/Flesh/GibletImpact9.flac
913+
AddSound = Base.rte/Sounds/Penetration/Flesh/GibletImpact10.flac
914+
AddSound = Base.rte/Sounds/Penetration/Flesh/GibletImpact11.flac
915+
AddSound = Base.rte/Sounds/Penetration/Flesh/GibletImpact12.flac
916+
AddSound = Base.rte/Sounds/Penetration/Flesh/GibletImpact13.flac
917+
AddSound = Base.rte/Sounds/Penetration/Flesh/GibletImpact14.flac
918+
AddSound = Base.rte/Sounds/Penetration/Flesh/GibletImpact15.flac
919+
AddSound = Base.rte/Sounds/Penetration/Flesh/GibletImpact16.flac
920+
AddSound = Base.rte/Sounds/Penetration/Flesh/GibletImpact17.flac
899921

900922
///////////////////////////////////////////////////////////////////////
901923
// Metal
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)