From f1ece16c08d8c01e1d49a25f0314a96c021e73cb Mon Sep 17 00:00:00 2001 From: Jan <> Date: Fri, 10 Jul 2015 18:11:22 +0200 Subject: r0.921 --- .../Sections.c4d/SectClassic.c4d/Script.c | 30 +++++++++++----------- 1 file changed, 15 insertions(+), 15 deletions(-) (limited to 'TemplePushing.c4s/Sections.c4d/SectClassic.c4d/Script.c') diff --git a/TemplePushing.c4s/Sections.c4d/SectClassic.c4d/Script.c b/TemplePushing.c4s/Sections.c4d/SectClassic.c4d/Script.c index cbf4f40..ed67274 100644 --- a/TemplePushing.c4s/Sections.c4d/SectClassic.c4d/Script.c +++ b/TemplePushing.c4s/Sections.c4d/SectClassic.c4d/Script.c @@ -5,18 +5,15 @@ public func SectionName() { return "Classic"; } public func SpawnpointLocations() { return [[550, 282], [603, 205], [682, 282], [784, 227], [912, 168], [1040, 120], - [648, 460], [432, 438], [170, 118], [299, 170], [441, 230], [1175, 290], [105, 380], [910, 400], [560, 610]]; } + [648, 460], [432, 438], [170, 118], [299, 170], [441, 230], [1170, 290], [105, 375], [910, 400], [560, 610], [1040, 530], [300, 530], [780, 530], [1040, 400]]; } protected func Initialize() { // Moving bricks - var bricks = [CreateObject(BRK2, 225, 150, NO_OWNER), CreateObject(BRK2, 985, 150, NO_OWNER)]; + var bricks = [CreateObject(BRK2, 240, 150, NO_OWNER), CreateObject(BRK2, 970, 150, NO_OWNER)]; if (ambienceEnabled) - { - // Background Sound - if (mode != MODE_Apocalyptic && mode != MODE_Festive) SoundLevel("Ambience", 70); - + { // Fog for (var i; i < 300; ++i) { @@ -43,9 +40,6 @@ protected func Initialize() AddEffect("FireRain", 0, 20, 1); CreateObject(FRRN, 0, 0, NO_OWNER); - // Background sound - SoundLevel("ExtremeAmbience", 100); - // Modulate brick color (object + material) for (var brick in bricks) { @@ -56,15 +50,21 @@ protected func Initialize() } if (mode == MODE_Festive) - { - // Chilly ambience - if (ambienceEnabled) SoundLevel("FestiveAmbience", 60); - + { // Modulate brick color (object + material) for (var brick in bricks) { - brick->SetClrModulation(RGB(189, 243, 255)); + brick->SetClrModulation(RGBa(125, 200, 255, 30)); } - SetMaterialColor(Material("Brick"), 100, 100, 230, 150, 150, 255, 30, 30, 50); + + // Modulate material colour + SetMatAdjust(RGBa(125, 200, 255, 30)); } +} + +public func SectionAmbienceSounds() +{ + if (mode == MODE_Festive) return [["FestiveAmbience.ogg", 25]]; + else if (mode == MODE_Apocalyptic) return [["ExtremeAmbience.ogg", 75]]; + else return [["Ambience.ogg", 50], ["Rain.ogg", 75]]; } \ No newline at end of file -- cgit v1.2.3-54-g00ecf