summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZed <Zed@zed.zed>2016-02-15 23:33:31 +0100
committerZed <Zed@zed.zed>2016-02-15 23:59:05 +0100
commit177186764144609ea8b764122ad731795ab692a5 (patch)
tree0b7fe76e6101729f606555a9703abe6cad8ee8aa
parent4d6a9f626e3f1ebb0f55d09c340f58e1e534ec93 (diff)
downloadtempelschubsen-177186764144609ea8b764122ad731795ab692a5.tar.gz
tempelschubsen-177186764144609ea8b764122ad731795ab692a5.zip
Lower particle amount and create sky scrolling effect on Cloud Temple section
-rw-r--r--TemplePushing.c4s/Sections.c4d/SectCloudTemple.c4d/Script.c14
1 files changed, 9 insertions, 5 deletions
diff --git a/TemplePushing.c4s/Sections.c4d/SectCloudTemple.c4d/Script.c b/TemplePushing.c4s/Sections.c4d/SectCloudTemple.c4d/Script.c
index ead2b17..752728e 100644
--- a/TemplePushing.c4s/Sections.c4d/SectCloudTemple.c4d/Script.c
+++ b/TemplePushing.c4s/Sections.c4d/SectCloudTemple.c4d/Script.c
@@ -13,11 +13,11 @@ protected func Initialize()
if (ambienceEnabled)
{
// Create "Clouds"
- for (var i; i < 80; ++i)
+ for (var i; i < 60; ++i)
{
if (mode == MODE_Apocalyptic)
{
- CreateParticle("Fog3", Random(LandscapeWidth()), RandomX(570, 700) -10, 0, 0, RandomX(1250, 2000), RGB(255,0,0));
+ CreateParticle("Fog3", Random(LandscapeWidth()), RandomX(570, 700) -10, 0, 0, RandomX(1250, 2000), RGBa(200,0,0,60));
}
else
{
@@ -29,13 +29,17 @@ protected func Initialize()
CreateObject(SONE, 0, 0, NO_OWNER);
CreateObject(LENS, 0, 0, NO_OWNER);
+ SetSkyParallax(0, 0, 0, 2, 0, 0, 0);
+
// Create crystals
CreateObject(BCRY, LandscapeWidth()/2, 171, NO_OWNER);
// CreateObject(BCRS, 100, 100, NO_OWNER);
}
if (mode == MODE_Apocalyptic)
- {
+ {
+ SetSkyParallax(0, 0, 0, 4, 0, 0, 0);
+
// Rock fall
for (var i = 0; i < 10; ++i)
{
@@ -50,8 +54,8 @@ protected func Initialize()
SetMaterialColor(Material("Brick"), 100, 0, 0, 150, 0, 0, 20, 0, 0);
SetMaterialColor(Material("SkyCrystal"), 245, 0, 0, 255, 0, 0, 20, 0, 0);
- // Modulate huge/giant crystal colour
- // SetColor
+ // Modulate huge/giant crystal colour - work in progress!
+
}
if (mode == MODE_Festive)