summaryrefslogtreecommitdiffstats
path: root/TemplePushing.c4s/Sections.c4d/SectClassic.c4d
diff options
context:
space:
mode:
authorJan <>2015-02-02 17:55:29 +0100
committerJan <_>2015-07-10 17:49:45 +0200
commit32a9632fbca3dd7a88bd3154b84a3773af39c276 (patch)
treea226b9404844a73c7229e9d13db993c86b5be2c1 /TemplePushing.c4s/Sections.c4d/SectClassic.c4d
parent40fb3e5d61c44886b06d839a35adb0c11a5f918f (diff)
downloadtempelschubsen-32a9632fbca3dd7a88bd3154b84a3773af39c276.tar.gz
tempelschubsen-32a9632fbca3dd7a88bd3154b84a3773af39c276.zip
TemplePush v6.1.7601.18409.c4s
Diffstat (limited to 'TemplePushing.c4s/Sections.c4d/SectClassic.c4d')
-rw-r--r--TemplePushing.c4s/Sections.c4d/SectClassic.c4d/DefCore.txt8
-rw-r--r--TemplePushing.c4s/Sections.c4d/SectClassic.c4d/Graphics.pngbin0 -> 8777 bytes
-rw-r--r--TemplePushing.c4s/Sections.c4d/SectClassic.c4d/Names.txt2
-rw-r--r--TemplePushing.c4s/Sections.c4d/SectClassic.c4d/Script.c55
4 files changed, 65 insertions, 0 deletions
diff --git a/TemplePushing.c4s/Sections.c4d/SectClassic.c4d/DefCore.txt b/TemplePushing.c4s/Sections.c4d/SectClassic.c4d/DefCore.txt
new file mode 100644
index 0000000..34bf046
--- /dev/null
+++ b/TemplePushing.c4s/Sections.c4d/SectClassic.c4d/DefCore.txt
@@ -0,0 +1,8 @@
+[DefCore]
+id=SNCC
+Name=SectClassic
+Version=4,9,5
+Category=C4D_StaticBack
+Width=1
+Height=1
+Picture=0,0,64,64
diff --git a/TemplePushing.c4s/Sections.c4d/SectClassic.c4d/Graphics.png b/TemplePushing.c4s/Sections.c4d/SectClassic.c4d/Graphics.png
new file mode 100644
index 0000000..11434fa
--- /dev/null
+++ b/TemplePushing.c4s/Sections.c4d/SectClassic.c4d/Graphics.png
Binary files differ
diff --git a/TemplePushing.c4s/Sections.c4d/SectClassic.c4d/Names.txt b/TemplePushing.c4s/Sections.c4d/SectClassic.c4d/Names.txt
new file mode 100644
index 0000000..091768f
--- /dev/null
+++ b/TemplePushing.c4s/Sections.c4d/SectClassic.c4d/Names.txt
@@ -0,0 +1,2 @@
+DE:Klassisch
+US:Classic \ No newline at end of file
diff --git a/TemplePushing.c4s/Sections.c4d/SectClassic.c4d/Script.c b/TemplePushing.c4s/Sections.c4d/SectClassic.c4d/Script.c
new file mode 100644
index 0000000..5761717
--- /dev/null
+++ b/TemplePushing.c4s/Sections.c4d/SectClassic.c4d/Script.c
@@ -0,0 +1,55 @@
+/*-- Classic scenario section --*/
+
+#strict 2
+
+public func SectionName() { return "Classic"; }
+
+public func SpawnpointLocations() { return [[550, 282], [603, 205], [682, 282], [784, 227], [912, 168], [1040, 120],
+ [651, 449], [432, 438], [170, 118], [299, 170], [435, 230], [1175, 290], [105, 380], [910, 400], [560, 610]]; }
+
+protected func Initialize()
+{
+ // Moving bricks
+ var bricks = [CreateObject(BRK2, 225, 150, NO_OWNER), CreateObject(BRK2, 985, 150, NO_OWNER)];
+
+ if (ambienceEnabled)
+ {
+ // Create background sound, fog and rain
+ if (mode != MODE_Apocalyptic) SoundLevel("Ambience", 50);
+ for (var i; i < 300; ++i)
+ {
+ CreateParticle("Fog", Random(LandscapeWidth()), Random(LandscapeHeight()) + 500, RandomX(3, 9), 0, RandomX(1000, 1500));
+ }
+ AddEffect("Rain", 0, 20, 1);
+
+ // 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 color (object + material)
+
+ for (var brick in bricks)
+ {
+ brick->SetClrModulation(RGB(220, 20, 20));
+ }
+
+ SetMaterialColor(Material("Brick"), 100, 0, 0, 150, 0, 0, 20, 0, 0);
+ }
+} \ No newline at end of file