diff options
| author | Mittendrein Markus <maxmitti@gmx.net> | 2016-03-08 22:04:59 +0100 |
|---|---|---|
| committer | Mittendrein Markus <maxmitti@gmx.net> | 2016-03-08 22:04:59 +0100 |
| commit | 3d0d6f4975986c99226a25901f51b963ee5cf379 (patch) | |
| tree | ee98b5e1342d6e9425fdb2536de91cf585f9a06a | |
| parent | c7374e557db7220b63fbcba359d929ad579f478d (diff) | |
| download | tempelschubsen-3d0d6f4975986c99226a25901f51b963ee5cf379.tar.gz tempelschubsen-3d0d6f4975986c99226a25901f51b963ee5cf379.zip | |
Colorize decorative crystals in the cloud temple in apocalyptic mode
3 files changed, 6 insertions, 0 deletions
diff --git a/TemplePushing.c4s/Environment.c4d/HugeCrystal.c4d/Script.c b/TemplePushing.c4s/Environment.c4d/HugeCrystal.c4d/Script.c index cae886c..b057205 100644 --- a/TemplePushing.c4s/Environment.c4d/HugeCrystal.c4d/Script.c +++ b/TemplePushing.c4s/Environment.c4d/HugeCrystal.c4d/Script.c @@ -11,3 +11,5 @@ func Set(int phase, int size, int rotation, int dir, int color) SetDir(dir); SetClrModulation(color); } + +func IsDecorativeCrystal() { return true; } diff --git a/TemplePushing.c4s/Environment.c4d/LargeCrystal.c4d/Script.c b/TemplePushing.c4s/Environment.c4d/LargeCrystal.c4d/Script.c index 40ad2ac..b6789ef 100644 --- a/TemplePushing.c4s/Environment.c4d/LargeCrystal.c4d/Script.c +++ b/TemplePushing.c4s/Environment.c4d/LargeCrystal.c4d/Script.c @@ -20,3 +20,5 @@ public func Activate() { return SetAction("Active"); } + +func IsDecorativeCrystal() { return true; } diff --git a/TemplePushing.c4s/Modes.c4d/ApocalypticPushing.c4d/Script.c b/TemplePushing.c4s/Modes.c4d/ApocalypticPushing.c4d/Script.c index 6ed5738..cb072d7 100644 --- a/TemplePushing.c4s/Modes.c4d/ApocalypticPushing.c4d/Script.c +++ b/TemplePushing.c4s/Modes.c4d/ApocalypticPushing.c4d/Script.c @@ -12,6 +12,8 @@ func Initialize() AddEffect("ShakeScreen", 0, 20, 50); AddEffect("Bottom", 0, 20, 2); AddEffect("SkyAdjust", 0, 20, 1); + + FindObjects(Find_Func("IsDecorativeCrystal"), Find_Func("SetClrModulation", RGB(255, 50, 50))); } func ModeName() { return "$ModeName$"; } |
