From ca61c54b9bd69af897e4cc9d4385137fb56fd11a Mon Sep 17 00:00:00 2001 From: Jan <> Date: Mon, 2 Feb 2015 17:58:18 +0100 Subject: TemplePushingBeta.c4s --- TemplePushing.c4s/Sections.c4d/Ambience.wav | Bin 1608340 -> 81765 bytes TemplePushing.c4s/Sections.c4d/CloudAmbience.wav | Bin 0 -> 85925 bytes TemplePushing.c4s/Sections.c4d/ExtremeAmbience.wav | Bin 929500 -> 47315 bytes TemplePushing.c4s/Sections.c4d/LiquidAmbience.wav | Bin 0 -> 927508 bytes .../Sections.c4d/SectClassic.c4d/Graphics.png | Bin 8777 -> 7398 bytes .../Sections.c4d/SectClassic.c4d/Names.txt | 4 +- .../Sections.c4d/SectClassic.c4d/Script.c | 2 +- .../Sections.c4d/SectCloudTemple.c4d/DefCore.txt | 8 +++ .../SectCloudTemple.c4d/Fog3.c4d/Graphics.png | Bin 0 -> 123801 bytes .../SectCloudTemple.c4d/Fog3.c4d/Particle.txt | 12 +++++ .../Sections.c4d/SectCloudTemple.c4d/Graphics.png | Bin 0 -> 8148 bytes .../Sections.c4d/SectCloudTemple.c4d/Names.txt | 2 + .../Sections.c4d/SectCloudTemple.c4d/Script.c | 58 +++++++++++++++++++++ .../Sections.c4d/SectHighUpSymm.c4d/DefCore.txt | 8 --- .../Sections.c4d/SectHighUpSymm.c4d/Graphics.png | Bin 7971 -> 0 bytes .../Sections.c4d/SectHighUpSymm.c4d/Names.txt | 2 - .../Sections.c4d/SectHighUpSymm.c4d/Script.c | 7 --- .../Sections.c4d/SectLiquidTemple.c4d/DefCore.txt | 8 +++ .../Sections.c4d/SectLiquidTemple.c4d/Graphics.png | Bin 0 -> 6590 bytes .../Sections.c4d/SectLiquidTemple.c4d/Names.txt | 2 + .../Sections.c4d/SectLiquidTemple.c4d/Script.c | 58 +++++++++++++++++++++ 21 files changed, 151 insertions(+), 20 deletions(-) create mode 100644 TemplePushing.c4s/Sections.c4d/CloudAmbience.wav create mode 100644 TemplePushing.c4s/Sections.c4d/LiquidAmbience.wav create mode 100644 TemplePushing.c4s/Sections.c4d/SectCloudTemple.c4d/DefCore.txt create mode 100644 TemplePushing.c4s/Sections.c4d/SectCloudTemple.c4d/Fog3.c4d/Graphics.png create mode 100644 TemplePushing.c4s/Sections.c4d/SectCloudTemple.c4d/Fog3.c4d/Particle.txt create mode 100644 TemplePushing.c4s/Sections.c4d/SectCloudTemple.c4d/Graphics.png create mode 100644 TemplePushing.c4s/Sections.c4d/SectCloudTemple.c4d/Names.txt create mode 100644 TemplePushing.c4s/Sections.c4d/SectCloudTemple.c4d/Script.c delete mode 100644 TemplePushing.c4s/Sections.c4d/SectHighUpSymm.c4d/DefCore.txt delete mode 100644 TemplePushing.c4s/Sections.c4d/SectHighUpSymm.c4d/Graphics.png delete mode 100644 TemplePushing.c4s/Sections.c4d/SectHighUpSymm.c4d/Names.txt delete mode 100644 TemplePushing.c4s/Sections.c4d/SectHighUpSymm.c4d/Script.c create mode 100644 TemplePushing.c4s/Sections.c4d/SectLiquidTemple.c4d/DefCore.txt create mode 100644 TemplePushing.c4s/Sections.c4d/SectLiquidTemple.c4d/Graphics.png create mode 100644 TemplePushing.c4s/Sections.c4d/SectLiquidTemple.c4d/Names.txt create mode 100644 TemplePushing.c4s/Sections.c4d/SectLiquidTemple.c4d/Script.c (limited to 'TemplePushing.c4s/Sections.c4d') diff --git a/TemplePushing.c4s/Sections.c4d/Ambience.wav b/TemplePushing.c4s/Sections.c4d/Ambience.wav index 9bd2ab1..4682723 100644 Binary files a/TemplePushing.c4s/Sections.c4d/Ambience.wav and b/TemplePushing.c4s/Sections.c4d/Ambience.wav differ diff --git a/TemplePushing.c4s/Sections.c4d/CloudAmbience.wav b/TemplePushing.c4s/Sections.c4d/CloudAmbience.wav new file mode 100644 index 0000000..43f270a Binary files /dev/null and b/TemplePushing.c4s/Sections.c4d/CloudAmbience.wav differ diff --git a/TemplePushing.c4s/Sections.c4d/ExtremeAmbience.wav b/TemplePushing.c4s/Sections.c4d/ExtremeAmbience.wav index 3a5f174..c17e78a 100644 Binary files a/TemplePushing.c4s/Sections.c4d/ExtremeAmbience.wav and b/TemplePushing.c4s/Sections.c4d/ExtremeAmbience.wav differ diff --git a/TemplePushing.c4s/Sections.c4d/LiquidAmbience.wav b/TemplePushing.c4s/Sections.c4d/LiquidAmbience.wav new file mode 100644 index 0000000..e601b3e Binary files /dev/null and b/TemplePushing.c4s/Sections.c4d/LiquidAmbience.wav differ diff --git a/TemplePushing.c4s/Sections.c4d/SectClassic.c4d/Graphics.png b/TemplePushing.c4s/Sections.c4d/SectClassic.c4d/Graphics.png index 11434fa..e0fe300 100644 Binary files a/TemplePushing.c4s/Sections.c4d/SectClassic.c4d/Graphics.png and b/TemplePushing.c4s/Sections.c4d/SectClassic.c4d/Graphics.png differ diff --git a/TemplePushing.c4s/Sections.c4d/SectClassic.c4d/Names.txt b/TemplePushing.c4s/Sections.c4d/SectClassic.c4d/Names.txt index 091768f..e968ed1 100644 --- a/TemplePushing.c4s/Sections.c4d/SectClassic.c4d/Names.txt +++ b/TemplePushing.c4s/Sections.c4d/SectClassic.c4d/Names.txt @@ -1,2 +1,2 @@ -DE:Klassisch -US:Classic \ No newline at end of file +DE:Klippentempel +US:Temple Ruins diff --git a/TemplePushing.c4s/Sections.c4d/SectClassic.c4d/Script.c b/TemplePushing.c4s/Sections.c4d/SectClassic.c4d/Script.c index 5761717..4f839d8 100644 --- a/TemplePushing.c4s/Sections.c4d/SectClassic.c4d/Script.c +++ b/TemplePushing.c4s/Sections.c4d/SectClassic.c4d/Script.c @@ -5,7 +5,7 @@ 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]]; } + [651, 467], [432, 438], [170, 118], [299, 170], [435, 230], [1175, 290], [105, 380], [910, 400], [560, 610]]; } protected func Initialize() { 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 Binary files /dev/null and b/TemplePushing.c4s/Sections.c4d/SectCloudTemple.c4d/Fog3.c4d/Graphics.png 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 Binary files /dev/null and b/TemplePushing.c4s/Sections.c4d/SectCloudTemple.c4d/Graphics.png 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 diff --git a/TemplePushing.c4s/Sections.c4d/SectHighUpSymm.c4d/DefCore.txt b/TemplePushing.c4s/Sections.c4d/SectHighUpSymm.c4d/DefCore.txt deleted file mode 100644 index 0a249c6..0000000 --- a/TemplePushing.c4s/Sections.c4d/SectHighUpSymm.c4d/DefCore.txt +++ /dev/null @@ -1,8 +0,0 @@ -[DefCore] -id=SHUS -Name=SectHighUpSymm -Version=4,9,5 -Category=C4D_StaticBack -Width=1 -Height=1 -Picture=0,0,64,64 diff --git a/TemplePushing.c4s/Sections.c4d/SectHighUpSymm.c4d/Graphics.png b/TemplePushing.c4s/Sections.c4d/SectHighUpSymm.c4d/Graphics.png deleted file mode 100644 index 9c2207d..0000000 Binary files a/TemplePushing.c4s/Sections.c4d/SectHighUpSymm.c4d/Graphics.png and /dev/null differ diff --git a/TemplePushing.c4s/Sections.c4d/SectHighUpSymm.c4d/Names.txt b/TemplePushing.c4s/Sections.c4d/SectHighUpSymm.c4d/Names.txt deleted file mode 100644 index 2f7c818..0000000 --- a/TemplePushing.c4s/Sections.c4d/SectHighUpSymm.c4d/Names.txt +++ /dev/null @@ -1,2 +0,0 @@ -DE:Irgendetwas mit 'Hoch droben', 'Himmelsschubsen' o.Ä. -US:Irgendetwas mit Medien \ No newline at end of file diff --git a/TemplePushing.c4s/Sections.c4d/SectHighUpSymm.c4d/Script.c b/TemplePushing.c4s/Sections.c4d/SectHighUpSymm.c4d/Script.c deleted file mode 100644 index cf4bde0..0000000 --- a/TemplePushing.c4s/Sections.c4d/SectHighUpSymm.c4d/Script.c +++ /dev/null @@ -1,7 +0,0 @@ -/*-- Unnamed scenario section --*/ - -#strict 2 - -public func SectionName() { return "HighUpSymm"; } - -public func SpawnpointLocations() { return []; } // TODO 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 Binary files /dev/null and b/TemplePushing.c4s/Sections.c4d/SectLiquidTemple.c4d/Graphics.png 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); + } +} + + -- cgit v1.2.3-54-g00ecf