From 1642ec65eaf83b8c1a6b1ea44d65331475fd3bf2 Mon Sep 17 00:00:00 2001 From: Mittendrein Markus Date: Fri, 4 Mar 2016 21:27:02 +0100 Subject: Move some mode-specific stuff into the modes' scripts --- .../Modes.c4d/ApocalypticPushing.c4d/Script.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'TemplePushing.c4s/Modes.c4d/ApocalypticPushing.c4d/Script.c') diff --git a/TemplePushing.c4s/Modes.c4d/ApocalypticPushing.c4d/Script.c b/TemplePushing.c4s/Modes.c4d/ApocalypticPushing.c4d/Script.c index 508577a..e026efa 100644 --- a/TemplePushing.c4s/Modes.c4d/ApocalypticPushing.c4d/Script.c +++ b/TemplePushing.c4s/Modes.c4d/ApocalypticPushing.c4d/Script.c @@ -2,4 +2,19 @@ #strict 2 +static const MODE_Apocalyptic = APCE; + protected func Activate(int player) { MessageWindow(GetDesc(), player); } + +func Initialize() +{ + AddEffect("CreateTeraFlints", 0, 20, 90); + AddEffect("ShakeScreen", 0, 20, 50); + AddEffect("Bottom", 0, 20, 2); + AddEffect("SkyAdjust", 0, 20, 1); +} + +func ModeName() { return "$ModeName$"; } +func NoSpawnpoints() { return true; } +func NoCorpses() { return true; } +func AmbienceSounds() { return [["ExtremeAmbience.ogg", 75]]; } -- cgit v1.2.3-54-g00ecf