From d5b4057e5e7960249c0df19f3e76a47c0e938dcf Mon Sep 17 00:00:00 2001 From: Zed Date: Sat, 5 Mar 2016 02:31:02 +0100 Subject: Make minor adjustments to Apocalyptical Mode ambience effects --- TemplePushing.c4s/Sections.c4d/SectCloudTemple.c4d/Script.c | 2 +- TemplePushing.c4s/System.c4g/ApocalypseEffects.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/TemplePushing.c4s/Sections.c4d/SectCloudTemple.c4d/Script.c b/TemplePushing.c4s/Sections.c4d/SectCloudTemple.c4d/Script.c index 6aae5d7..c95e20c 100644 --- a/TemplePushing.c4s/Sections.c4d/SectCloudTemple.c4d/Script.c +++ b/TemplePushing.c4s/Sections.c4d/SectCloudTemple.c4d/Script.c @@ -39,7 +39,7 @@ protected func Initialize() if (mode == MODE_Apocalyptic) { - SetSkyParallax(0, 0, 0, 4, 0, 0, 0); + SetSkyParallax(0, 0, 0, 5, 0, 0, 0); // Modulate brick and crystal colour SetMaterialColor(Material("Brick"), 100, 0, 0, 150, 0, 0, 20, 0, 0); diff --git a/TemplePushing.c4s/System.c4g/ApocalypseEffects.c b/TemplePushing.c4s/System.c4g/ApocalypseEffects.c index 585a385..04df82a 100644 --- a/TemplePushing.c4s/System.c4g/ApocalypseEffects.c +++ b/TemplePushing.c4s/System.c4g/ApocalypseEffects.c @@ -44,9 +44,9 @@ global func FxSkyAdjustTimer(object target, int effectNumber) } // Switch direction? - if (color <= 0) + if (color <= 150) { - color = 0; + color = 150; decrease = false; } else if (color >= 255) @@ -70,7 +70,7 @@ global func FxBottomTimer() for (var i = 0; i < GetPlayerCount(); ++i) { var clonk = GetCrew(GetPlayerByIndex(i)); - if (clonk && clonk->GetY() >= LandscapeHeight() - 20) clonk->SetPosition(clonk->GetX() + RandomX(-10, 10), 0); + if (clonk && clonk->GetY() >= LandscapeHeight() - 15) clonk->SetPosition(clonk->GetX() + RandomX(-1, 1), 0); } return 1; -- cgit v1.2.3-54-g00ecf