summaryrefslogtreecommitdiffstats
path: root/TemplePushing.c4s/Sections.c4d/SectCloudTemple.c4d
diff options
context:
space:
mode:
Diffstat (limited to 'TemplePushing.c4s/Sections.c4d/SectCloudTemple.c4d')
-rw-r--r--TemplePushing.c4s/Sections.c4d/SectCloudTemple.c4d/DefCore.txt8
-rw-r--r--TemplePushing.c4s/Sections.c4d/SectCloudTemple.c4d/Fog3.c4d/Graphics.pngbin0 -> 123801 bytes
-rw-r--r--TemplePushing.c4s/Sections.c4d/SectCloudTemple.c4d/Fog3.c4d/Particle.txt12
-rw-r--r--TemplePushing.c4s/Sections.c4d/SectCloudTemple.c4d/Graphics.pngbin0 -> 8148 bytes
-rw-r--r--TemplePushing.c4s/Sections.c4d/SectCloudTemple.c4d/Names.txt2
-rw-r--r--TemplePushing.c4s/Sections.c4d/SectCloudTemple.c4d/Script.c58
6 files changed, 80 insertions, 0 deletions
diff --git a/TemplePushing.c4s/Sections.c4d/SectCloudTemple.c4d/DefCore.txt b/TemplePushing.c4s/Sections.c4d/SectCloudTemple.c4d/DefCore.txt
new file mode 100644
index 0000000..5cab824
--- /dev/null
+++ b/TemplePushing.c4s/Sections.c4d/SectCloudTemple.c4d/DefCore.txt
@@ -0,0 +1,8 @@
+[DefCore]
+id=SNCD
+Name=SectCloudTemple
+Version=4,9,5
+Category=C4D_StaticBack
+Width=1
+Height=1
+Picture=0,0,64,64
diff --git a/TemplePushing.c4s/Sections.c4d/SectCloudTemple.c4d/Fog3.c4d/Graphics.png b/TemplePushing.c4s/Sections.c4d/SectCloudTemple.c4d/Fog3.c4d/Graphics.png
new file mode 100644
index 0000000..4e059fc
--- /dev/null
+++ b/TemplePushing.c4s/Sections.c4d/SectCloudTemple.c4d/Fog3.c4d/Graphics.png
Binary files differ
diff --git a/TemplePushing.c4s/Sections.c4d/SectCloudTemple.c4d/Fog3.c4d/Particle.txt b/TemplePushing.c4s/Sections.c4d/SectCloudTemple.c4d/Fog3.c4d/Particle.txt
new file mode 100644
index 0000000..146bc0b
--- /dev/null
+++ b/TemplePushing.c4s/Sections.c4d/SectCloudTemple.c4d/Fog3.c4d/Particle.txt
@@ -0,0 +1,12 @@
+[Particle]
+Name=Fog3
+MaxCount=500
+InitFn=StdInit
+ExecFn=StdExec
+DrawFn=Std
+Face=0,0,400,400,-200,-200
+Delay=0
+Repeats=1
+Reverse=0
+GravityAcc=0
+Additive=0
diff --git a/TemplePushing.c4s/Sections.c4d/SectCloudTemple.c4d/Graphics.png b/TemplePushing.c4s/Sections.c4d/SectCloudTemple.c4d/Graphics.png
new file mode 100644
index 0000000..98ab57a
--- /dev/null
+++ b/TemplePushing.c4s/Sections.c4d/SectCloudTemple.c4d/Graphics.png
Binary files differ
diff --git a/TemplePushing.c4s/Sections.c4d/SectCloudTemple.c4d/Names.txt b/TemplePushing.c4s/Sections.c4d/SectCloudTemple.c4d/Names.txt
new file mode 100644
index 0000000..4928c8f
--- /dev/null
+++ b/TemplePushing.c4s/Sections.c4d/SectCloudTemple.c4d/Names.txt
@@ -0,0 +1,2 @@
+DE:Wolkentempel
+US:Temple of Clouds
diff --git a/TemplePushing.c4s/Sections.c4d/SectCloudTemple.c4d/Script.c b/TemplePushing.c4s/Sections.c4d/SectCloudTemple.c4d/Script.c
new file mode 100644
index 0000000..987052e
--- /dev/null
+++ b/TemplePushing.c4s/Sections.c4d/SectCloudTemple.c4d/Script.c
@@ -0,0 +1,58 @@
+/*-- Cloud temple scenario section --*/
+
+#strict 2
+
+public func SectionName() { return "CloudTemple"; }
+
+public func SpawnpointLocations() { return [[70, 100], [140, 310], [1105, 310], [431, 443], [830, 160], [420, 160], [300, 90], [230, 440], [320, 310], [530, 90], [625, 160],[720, 90], [930, 310], [820, 440], [950, 90], [1180, 100]]; }
+
+protected func Initialize()
+{
+ // Water/Lava sources
+ // var water = [CreateObject(WTFL, 615, 295, NO_OWNER), CreateObject(WTFL, 630, 285, NO_OWNER)];
+ // TODO: Remove sound via appendto + adjust positions
+
+ // Create Fog
+ for (var i; i < 100; ++i)
+ {
+ if (mode == MODE_Apocalyptic)
+ {
+ CreateParticle("Fog3", Random(LandscapeWidth()), RandomX(570, 700) -10, 0, 0, RandomX(1250, 2000), RGB(255,0,0));
+ }
+ else
+ {
+ CreateParticle("Fog3", Random(LandscapeWidth()), RandomX(570, 700) -10, 0, 0, RandomX(1250, 2000));
+ }
+ }
+
+ if (ambienceEnabled)
+ {
+ // Create background sound
+ if (mode != MODE_Apocalyptic) SoundLevel("CloudAmbience", 50);
+
+ // Create sun and lenseflare
+ CreateObject(SONE, 0, 0, NO_OWNER);
+ CreateObject(LENS, 0, 0, NO_OWNER);
+ }
+
+ 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 and crystal colour
+ SetMaterialColor(Material("Brick"), 100, 0, 0, 150, 0, 0, 20, 0, 0);
+ SetMaterialColor(Material("SkyCrystal"), 245, 0, 0, 255, 0, 0, 20, 0, 0);
+ }
+} \ No newline at end of file