From de97f8b2898e8fd00c5d6108e2832b7e6cd3668f Mon Sep 17 00:00:00 2001 From: Jan <> Date: Mon, 2 Feb 2015 18:49:15 +0100 Subject: TemplePushingB.c4s --- .../Sections.c4d/SectClassic.c4d/Script.c | 27 +++++++++++++++++----- 1 file changed, 21 insertions(+), 6 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 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 -- cgit v1.2.3-54-g00ecf