summaryrefslogtreecommitdiffstats
path: root/TemplePushing.c4s
diff options
context:
space:
mode:
Diffstat (limited to 'TemplePushing.c4s')
-rw-r--r--TemplePushing.c4s/Sections.c4d/SectCaveTemple.c4d/Script.c13
-rw-r--r--TemplePushing.c4s/Sections.c4d/SectClassic.c4d/Script.c7
-rw-r--r--TemplePushing.c4s/Sections.c4d/SectCloudTemple.c4d/Script.c7
3 files changed, 11 insertions, 16 deletions
diff --git a/TemplePushing.c4s/Sections.c4d/SectCaveTemple.c4d/Script.c b/TemplePushing.c4s/Sections.c4d/SectCaveTemple.c4d/Script.c
index 3e2c3e3..c7637f1 100644
--- a/TemplePushing.c4s/Sections.c4d/SectCaveTemple.c4d/Script.c
+++ b/TemplePushing.c4s/Sections.c4d/SectCaveTemple.c4d/Script.c
@@ -16,18 +16,7 @@ protected func Initialize()
if (ambienceEnabled)
{
- // Fog
- for (var i; i < 300; ++i)
- {
- CreateParticle("Fog", Random(LandscapeWidth()), Random(LandscapeHeight()) + 500, RandomX(3, 9), 0, RandomX(1000, 1500));
- }
-
- // Rain
- if (mode != MODE_Festive) AddEffect("Rain", 0, 20, 1);
-
- // Create sun and lenseflare
- CreateObject(SONE, 0, 0, NO_OWNER);
- CreateObject(LENS, 0, 0, NO_OWNER);
+ // Ambiente!?
}
if (mode == MODE_Apocalyptic)
diff --git a/TemplePushing.c4s/Sections.c4d/SectClassic.c4d/Script.c b/TemplePushing.c4s/Sections.c4d/SectClassic.c4d/Script.c
index 73f6b49..bead84f 100644
--- a/TemplePushing.c4s/Sections.c4d/SectClassic.c4d/Script.c
+++ b/TemplePushing.c4s/Sections.c4d/SectClassic.c4d/Script.c
@@ -24,8 +24,11 @@ protected func Initialize()
if (mode != MODE_Festive) AddEffect("Rain", 0, 20, 1);
// Create sun and lenseflare
- CreateObject(SONE, 0, 0, NO_OWNER);
- CreateObject(LENS, 0, 0, NO_OWNER);
+ if (mode != MODE_Festive)
+ {
+ CreateObject(SONE, 0, 0, NO_OWNER);
+ CreateObject(LENS, 0, 0, NO_OWNER);
+ }
}
if (mode == MODE_Apocalyptic)
diff --git a/TemplePushing.c4s/Sections.c4d/SectCloudTemple.c4d/Script.c b/TemplePushing.c4s/Sections.c4d/SectCloudTemple.c4d/Script.c
index 9923b06..4e1c3ce 100644
--- a/TemplePushing.c4s/Sections.c4d/SectCloudTemple.c4d/Script.c
+++ b/TemplePushing.c4s/Sections.c4d/SectCloudTemple.c4d/Script.c
@@ -26,8 +26,11 @@ protected func Initialize()
}
// Create sun and lenseflare
- CreateObject(SONE, 0, 0, NO_OWNER);
- CreateObject(LENS, 0, 0, NO_OWNER);
+ if (mode != MODE_Festive)
+ {
+ CreateObject(SONE, 0, 0, NO_OWNER);
+ CreateObject(LENS, 0, 0, NO_OWNER);
+ };
SetSkyParallax(0, 0, 0, 2, 0, 0, 0);