summaryrefslogtreecommitdiffstats
path: root/TemplePushing.c4s/Sections.c4d/SectLiquidTemple.c4d
diff options
context:
space:
mode:
authorJan <>2015-02-02 17:58:18 +0100
committerJan <_>2015-07-10 17:51:43 +0200
commitca61c54b9bd69af897e4cc9d4385137fb56fd11a (patch)
treea4363f466cea6de48ca81fadc08273d58698d2ff /TemplePushing.c4s/Sections.c4d/SectLiquidTemple.c4d
parent32a9632fbca3dd7a88bd3154b84a3773af39c276 (diff)
downloadtempelschubsen-ca61c54b9bd69af897e4cc9d4385137fb56fd11a.tar.gz
tempelschubsen-ca61c54b9bd69af897e4cc9d4385137fb56fd11a.zip
TemplePushingBeta.c4s
Diffstat (limited to 'TemplePushing.c4s/Sections.c4d/SectLiquidTemple.c4d')
-rw-r--r--TemplePushing.c4s/Sections.c4d/SectLiquidTemple.c4d/DefCore.txt8
-rw-r--r--TemplePushing.c4s/Sections.c4d/SectLiquidTemple.c4d/Graphics.pngbin0 -> 6590 bytes
-rw-r--r--TemplePushing.c4s/Sections.c4d/SectLiquidTemple.c4d/Names.txt2
-rw-r--r--TemplePushing.c4s/Sections.c4d/SectLiquidTemple.c4d/Script.c58
4 files changed, 68 insertions, 0 deletions
diff --git a/TemplePushing.c4s/Sections.c4d/SectLiquidTemple.c4d/DefCore.txt b/TemplePushing.c4s/Sections.c4d/SectLiquidTemple.c4d/DefCore.txt
new file mode 100644
index 0000000..54024ad
--- /dev/null
+++ b/TemplePushing.c4s/Sections.c4d/SectLiquidTemple.c4d/DefCore.txt
@@ -0,0 +1,8 @@
+[DefCore]
+id=SNLQ
+Name=SectLiquidTemple
+Version=4,9,5
+Category=C4D_StaticBack
+Width=1
+Height=1
+Picture=0,0,64,64
diff --git a/TemplePushing.c4s/Sections.c4d/SectLiquidTemple.c4d/Graphics.png b/TemplePushing.c4s/Sections.c4d/SectLiquidTemple.c4d/Graphics.png
new file mode 100644
index 0000000..5a0e3ec
--- /dev/null
+++ b/TemplePushing.c4s/Sections.c4d/SectLiquidTemple.c4d/Graphics.png
Binary files differ
diff --git a/TemplePushing.c4s/Sections.c4d/SectLiquidTemple.c4d/Names.txt b/TemplePushing.c4s/Sections.c4d/SectLiquidTemple.c4d/Names.txt
new file mode 100644
index 0000000..70e4ac2
--- /dev/null
+++ b/TemplePushing.c4s/Sections.c4d/SectLiquidTemple.c4d/Names.txt
@@ -0,0 +1,2 @@
+DE:Flüssigkeitstempel
+US:Temple of Liquids
diff --git a/TemplePushing.c4s/Sections.c4d/SectLiquidTemple.c4d/Script.c b/TemplePushing.c4s/Sections.c4d/SectLiquidTemple.c4d/Script.c
new file mode 100644
index 0000000..3ab2be2
--- /dev/null
+++ b/TemplePushing.c4s/Sections.c4d/SectLiquidTemple.c4d/Script.c
@@ -0,0 +1,58 @@
+/*-- Liquid temple scenario section --*/
+
+#strict 2
+
+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]]; }
+
+ protected func Initialize()
+{
+ 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);
+ */
+
+ // Create background sound
+ if (mode != MODE_Apocalyptic) SoundLevel("LiquidAmbience", 50);
+
+ /*
+ {
+ for (var i; i < 300; ++i)
+ {
+ CreateParticle("Fog", Random(LandscapeWidth()), Random(LandscapeHeight()) + 300, 0, 1, RandomX(2000, 2500));
+ }
+ return(1);
+ }
+ */
+ }
+
+ if (mode == MODE_Apocalyptic)
+ {
+ // Rock fall
+ for (var i = 0; i < 10; ++i)
+ {
+ CreateObject(RCKF, 0, 0, NO_OWNER);
+ }
+
+ // Fire rain
+ AddEffect("FireRain", 0, 20, 1);
+ 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);
+ }
+}
+
+