summaryrefslogtreecommitdiffstats
path: root/TemplePushing.c4s/Sections.c4d/SectLiquidTemple.c4d/Script.c
diff options
context:
space:
mode:
Diffstat (limited to 'TemplePushing.c4s/Sections.c4d/SectLiquidTemple.c4d/Script.c')
-rw-r--r--TemplePushing.c4s/Sections.c4d/SectLiquidTemple.c4d/Script.c38
1 files changed, 21 insertions, 17 deletions
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);
}
}