From de97f8b2898e8fd00c5d6108e2832b7e6cd3668f Mon Sep 17 00:00:00 2001 From: Jan <> Date: Mon, 2 Feb 2015 18:49:15 +0100 Subject: TemplePushingB.c4s --- TemplePushing.c4s/Sections.c4d/Ambience.wav | Bin 81765 -> 161065 bytes TemplePushing.c4s/Sections.c4d/ExtremeAmbience.wav | Bin 47315 -> 32040 bytes TemplePushing.c4s/Sections.c4d/FestiveAmbience.wav | Bin 0 -> 132335 bytes .../Sections.c4d/SectClassic.c4d/Script.c | 27 +++++++++++---- .../Sections.c4d/SectCloudTemple.c4d/Script.c | 18 ++++++---- .../Sections.c4d/SectLiquidTemple.c4d/Script.c | 38 ++++++++++++--------- 6 files changed, 54 insertions(+), 29 deletions(-) create mode 100644 TemplePushing.c4s/Sections.c4d/FestiveAmbience.wav (limited to 'TemplePushing.c4s/Sections.c4d') diff --git a/TemplePushing.c4s/Sections.c4d/Ambience.wav b/TemplePushing.c4s/Sections.c4d/Ambience.wav index 4682723..de426a5 100644 Binary files a/TemplePushing.c4s/Sections.c4d/Ambience.wav and b/TemplePushing.c4s/Sections.c4d/Ambience.wav differ diff --git a/TemplePushing.c4s/Sections.c4d/ExtremeAmbience.wav b/TemplePushing.c4s/Sections.c4d/ExtremeAmbience.wav index c17e78a..4861190 100644 Binary files a/TemplePushing.c4s/Sections.c4d/ExtremeAmbience.wav and b/TemplePushing.c4s/Sections.c4d/ExtremeAmbience.wav differ diff --git a/TemplePushing.c4s/Sections.c4d/FestiveAmbience.wav b/TemplePushing.c4s/Sections.c4d/FestiveAmbience.wav new file mode 100644 index 0000000..7b8ca6b Binary files /dev/null and b/TemplePushing.c4s/Sections.c4d/FestiveAmbience.wav differ diff --git a/TemplePushing.c4s/Sections.c4d/SectClassic.c4d/Script.c b/TemplePushing.c4s/Sections.c4d/SectClassic.c4d/Script.c index 4f839d8..cbf4f40 100644 --- a/TemplePushing.c4s/Sections.c4d/SectClassic.c4d/Script.c +++ b/TemplePushing.c4s/Sections.c4d/SectClassic.c4d/Script.c @@ -5,7 +5,7 @@ public func SectionName() { return "Classic"; } public func SpawnpointLocations() { return [[550, 282], [603, 205], [682, 282], [784, 227], [912, 168], [1040, 120], - [651, 467], [432, 438], [170, 118], [299, 170], [435, 230], [1175, 290], [105, 380], [910, 400], [560, 610]]; } + [648, 460], [432, 438], [170, 118], [299, 170], [441, 230], [1175, 290], [105, 380], [910, 400], [560, 610]]; } protected func Initialize() { @@ -14,13 +14,17 @@ protected func Initialize() if (ambienceEnabled) { - // Create background sound, fog and rain - if (mode != MODE_Apocalyptic) SoundLevel("Ambience", 50); + // Background Sound + if (mode != MODE_Apocalyptic && mode != MODE_Festive) SoundLevel("Ambience", 70); + + // Fog for (var i; i < 300; ++i) { CreateParticle("Fog", Random(LandscapeWidth()), Random(LandscapeHeight()) + 500, RandomX(3, 9), 0, RandomX(1000, 1500)); } - AddEffect("Rain", 0, 20, 1); + + // Rain + if (mode != MODE_Festive) AddEffect("Rain", 0, 20, 1); // Create sun and lenseflare CreateObject(SONE, 0, 0, NO_OWNER); @@ -40,11 +44,9 @@ protected func Initialize() CreateObject(FRRN, 0, 0, NO_OWNER); // Background sound - Music(); SoundLevel("ExtremeAmbience", 100); // Modulate brick color (object + material) - for (var brick in bricks) { brick->SetClrModulation(RGB(220, 20, 20)); @@ -52,4 +54,17 @@ protected func Initialize() SetMaterialColor(Material("Brick"), 100, 0, 0, 150, 0, 0, 20, 0, 0); } + + 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)); + } + SetMaterialColor(Material("Brick"), 100, 100, 230, 150, 150, 255, 30, 30, 50); + } } \ No newline at end of file diff --git a/TemplePushing.c4s/Sections.c4d/SectCloudTemple.c4d/Script.c b/TemplePushing.c4s/Sections.c4d/SectCloudTemple.c4d/Script.c index 987052e..b2f1c25 100644 --- a/TemplePushing.c4s/Sections.c4d/SectCloudTemple.c4d/Script.c +++ b/TemplePushing.c4s/Sections.c4d/SectCloudTemple.c4d/Script.c @@ -8,11 +8,9 @@ public func SpawnpointLocations() { return [[70, 100], [140, 310], [1105, 310], protected func Initialize() { - // Water/Lava sources - // var water = [CreateObject(WTFL, 615, 295, NO_OWNER), CreateObject(WTFL, 630, 285, NO_OWNER)]; - // TODO: Remove sound via appendto + adjust positions + Music(); - // Create Fog + // Create "Clouds" for (var i; i < 100; ++i) { if (mode == MODE_Apocalyptic) @@ -28,7 +26,7 @@ protected func Initialize() if (ambienceEnabled) { // Create background sound - if (mode != MODE_Apocalyptic) SoundLevel("CloudAmbience", 50); + if (mode != MODE_Apocalyptic && mode != MODE_Festive) SoundLevel("CloudAmbience", 50); // Create sun and lenseflare CreateObject(SONE, 0, 0, NO_OWNER); @@ -48,11 +46,19 @@ protected func Initialize() CreateObject(FRRN, 0, 0, NO_OWNER); // Background sound - Music(); SoundLevel("ExtremeAmbience", 100); // Modulate brick and crystal colour SetMaterialColor(Material("Brick"), 100, 0, 0, 150, 0, 0, 20, 0, 0); SetMaterialColor(Material("SkyCrystal"), 245, 0, 0, 255, 0, 0, 20, 0, 0); } + + if (mode == MODE_Festive) + { + // Chilly ambience + SoundLevel("FestiveAmbience", 60); + + // Modulate brick colour + SetMaterialColor(Material("Brick"), 100, 100, 230, 150, 150, 255, 30, 30, 50); + } } \ No newline at end of file diff --git a/TemplePushing.c4s/Sections.c4d/SectLiquidTemple.c4d/Script.c b/TemplePushing.c4s/Sections.c4d/SectLiquidTemple.c4d/Script.c index 3ab2be2..f5eb2d8 100644 --- a/TemplePushing.c4s/Sections.c4d/SectLiquidTemple.c4d/Script.c +++ b/TemplePushing.c4s/Sections.c4d/SectLiquidTemple.c4d/Script.c @@ -4,33 +4,26 @@ public func SectionName() { return "LiquidTemple"; } - public func SpawnpointLocations() { return [[100, 515], [290, 490], [480, 460], [180, 315], [370, 285], [1440, 515], [1250, 490], [1060, 460], [1360, 315], [1170, 285], [715, 330], [870, 450]/*, [615, 70], [925, 70]*/, [770, 90], [715, 210], [825, 390]]; } + public func SpawnpointLocations() { return [[100, 515], [290, 490], [480, 460], [180, 315], [370, 285], [1440, 515], [1250, 490], [1060, 460], [1360, 315], [1170, 285], [715, 330], [685, 420], [770, 90], [715, 210], [825, 390], [825, 270], [825, 150]]; } protected func Initialize() { + Music(); + if (ambienceEnabled) { // Create lava rain - AddEffect("LavaRain", 0, 20, 1); - - /* - / Create sun and lensflare - CreateObject(SONE, 0, 0, NO_OWNER); - CreateObject(LENS, 0, 0, NO_OWNER); - */ + if (mode != MODE_Festive) AddEffect("LavaRain", 0, 20, 1); // Create background sound - if (mode != MODE_Apocalyptic) SoundLevel("LiquidAmbience", 50); + if (mode != MODE_Apocalyptic && mode != MODE_Festive) SoundLevel("LiquidAmbience", 50); - /* - { - for (var i; i < 300; ++i) + /* + for (var i; i < 300; ++i) { - CreateParticle("Fog", Random(LandscapeWidth()), Random(LandscapeHeight()) + 300, 0, 1, RandomX(2000, 2500)); + CreateParticle("Fog", Random(LandscapeWidth()), Random(LandscapeHeight()) + 300, 0, 1, RandomX(2000, 2500)); } - return(1); - } - */ + */ } if (mode == MODE_Apocalyptic) @@ -46,12 +39,23 @@ public func SectionName() { return "LiquidTemple"; } CreateObject(FRRN, 0, 0, NO_OWNER); // Background sound - Music(); 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 material colours SetMaterialColor(Material("Brick"), 100, 0, 0, 150, 0, 0, 20, 0, 0); + SetMaterialColor(Material("DarkBrick"), 100, 100, 230, 150, 150, 255, 30, 30, 50); + SetMaterialColor(Material("BackWall"), 100, 100, 230, 150, 150, 255, 30, 30, 50); + SetMaterialColor(Material("Wall"), 100, 100, 230, 150, 150, 255, 30, 30, 50); + SetMaterialColor(Material("BackBrick"), 100, 100, 230, 150, 150, 255, 30, 30, 50); } } -- cgit v1.2.3-54-g00ecf