diff options
Diffstat (limited to 'TemplePushing.c4s/Sections.c4d/SectLiquidTemple.c4d/Script.c')
| -rw-r--r-- | TemplePushing.c4s/Sections.c4d/SectLiquidTemple.c4d/Script.c | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/TemplePushing.c4s/Sections.c4d/SectLiquidTemple.c4d/Script.c b/TemplePushing.c4s/Sections.c4d/SectLiquidTemple.c4d/Script.c index 651ac9a..9a7bed4 100644 --- a/TemplePushing.c4s/Sections.c4d/SectLiquidTemple.c4d/Script.c +++ b/TemplePushing.c4s/Sections.c4d/SectLiquidTemple.c4d/Script.c @@ -15,9 +15,6 @@ public func SectionName() { return "LiquidTemple"; } // Create lava rain if (mode != MODE_Festive) AddEffect("LavaRain", 0, 20, 1); - // Create background sound - if (mode != MODE_Apocalyptic && mode != MODE_Festive) SoundLevel("LiquidAmbience", 50); - /* for (var i; i < 300; ++i) { @@ -38,22 +35,21 @@ public func SectionName() { return "LiquidTemple"; } AddEffect("FireRain", 0, 20, 1); CreateObject(FRRN, 0, 0, NO_OWNER); - // Background sound - SoundLevel("ExtremeAmbience", 100); - // Modulate brick colour (material) SetMaterialColor(Material("Brick"), 100, 0, 0, 150, 0, 0, 20, 0, 0); } if (mode == MODE_Festive) { - // Chilly ambience - if (ambienceEnabled) SoundLevel("FestiveAmbience", 60); - // Modulate colours SetSkyAdjust(RGB(90,90,255)); SetMaterialColor(Material("Brick"), 150, 150, 255, 150, 150, 255, 150, 150, 255); } } - +public func SectionAmbienceSounds() +{ + if (mode == MODE_Festive) return [["FestiveAmbience.ogg", 25]]; + else if (mode == MODE_Apocalyptic) return [["ExtremeAmbience.ogg", 75]]; + else return [["LiquidAmbience.ogg", 50], ["Rain.ogg", 10]]; +} |
