diff options
| author | Jan <> | 2015-07-10 18:11:22 +0200 |
|---|---|---|
| committer | Jan <_> | 2015-07-10 18:47:01 +0200 |
| commit | f1ece16c08d8c01e1d49a25f0314a96c021e73cb (patch) | |
| tree | 9bc9f547f2524dee8e62f168f317df465a6cbcdd /TemplePushing.c4s/Environment.c4d/LargeCrystal.c4d | |
| parent | 80b15646d73587f4e15a2897314692b58aa1a47f (diff) | |
| download | tempelschubsen-f1ece16c08d8c01e1d49a25f0314a96c021e73cb.tar.gz tempelschubsen-f1ece16c08d8c01e1d49a25f0314a96c021e73cb.zip | |
r0.921
Diffstat (limited to 'TemplePushing.c4s/Environment.c4d/LargeCrystal.c4d')
7 files changed, 51 insertions, 0 deletions
diff --git a/TemplePushing.c4s/Environment.c4d/LargeCrystal.c4d/ActMap.txt b/TemplePushing.c4s/Environment.c4d/LargeCrystal.c4d/ActMap.txt new file mode 100644 index 0000000..253f8fe --- /dev/null +++ b/TemplePushing.c4s/Environment.c4d/LargeCrystal.c4d/ActMap.txt @@ -0,0 +1,8 @@ +[Action] +Name=Active +Procedure=NONE +FacetBase=1 +Delay=10 +Length=1 +NextAction=Active +StartCall=Activity diff --git a/TemplePushing.c4s/Environment.c4d/LargeCrystal.c4d/DefCore.txt b/TemplePushing.c4s/Environment.c4d/LargeCrystal.c4d/DefCore.txt new file mode 100644 index 0000000..2437635 --- /dev/null +++ b/TemplePushing.c4s/Environment.c4d/LargeCrystal.c4d/DefCore.txt @@ -0,0 +1,17 @@ +[DefCore] +id=BCRS +Name=Big Crystal +Version=4,9,5 +Category=1 +Width=30 +Height=45 +Offset=-15,-22 +Value=1 +Mass=6 +Vertices=4 +VertexX=-15,15,-15,15 +VertexY=21,-21,-21,21 +Picture=0,0,30,45 +StretchGrowth=1 +Oversize=1 +Rotate=1 diff --git a/TemplePushing.c4s/Environment.c4d/LargeCrystal.c4d/DescDE.txt b/TemplePushing.c4s/Environment.c4d/LargeCrystal.c4d/DescDE.txt new file mode 100644 index 0000000..12ff56a --- /dev/null +++ b/TemplePushing.c4s/Environment.c4d/LargeCrystal.c4d/DescDE.txt @@ -0,0 +1 @@ +Großer Kristall. diff --git a/TemplePushing.c4s/Environment.c4d/LargeCrystal.c4d/DescUS.txt b/TemplePushing.c4s/Environment.c4d/LargeCrystal.c4d/DescUS.txt new file mode 100644 index 0000000..fba87c7 --- /dev/null +++ b/TemplePushing.c4s/Environment.c4d/LargeCrystal.c4d/DescUS.txt @@ -0,0 +1 @@ +Large crystal. diff --git a/TemplePushing.c4s/Environment.c4d/LargeCrystal.c4d/Graphics.png b/TemplePushing.c4s/Environment.c4d/LargeCrystal.c4d/Graphics.png Binary files differnew file mode 100644 index 0000000..2debc0e --- /dev/null +++ b/TemplePushing.c4s/Environment.c4d/LargeCrystal.c4d/Graphics.png diff --git a/TemplePushing.c4s/Environment.c4d/LargeCrystal.c4d/Names.txt b/TemplePushing.c4s/Environment.c4d/LargeCrystal.c4d/Names.txt new file mode 100644 index 0000000..7c65f98 --- /dev/null +++ b/TemplePushing.c4s/Environment.c4d/LargeCrystal.c4d/Names.txt @@ -0,0 +1,2 @@ +DE:Kristall +US:Crystal diff --git a/TemplePushing.c4s/Environment.c4d/LargeCrystal.c4d/Script.c b/TemplePushing.c4s/Environment.c4d/LargeCrystal.c4d/Script.c new file mode 100644 index 0000000..40ad2ac --- /dev/null +++ b/TemplePushing.c4s/Environment.c4d/LargeCrystal.c4d/Script.c @@ -0,0 +1,22 @@ +/*-- Großer Kristall --*/ + +#strict 2 + +protected func Initialize() +{ + var rand=1; + if(Random(2) == 1)rand=-1; + SetObjDrawTransform(1000*rand,0,0,0,1000); +} + +protected func Activity() +{ + var cnt; + cnt=5; + while(cnt--) CreateParticle("MaterialSpark", GetX(this)-GetX()+Random(13)-6, GetY(this)-GetY()+RandomX(11),0,-1-Random(2),40,0x1f7fff); +} + +public func Activate() +{ + return SetAction("Active"); +} |
