summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMittendrein Markus <maxmitti@gmx.net>2016-02-15 23:19:24 +0100
committerMittendrein Markus <maxmitti@gmx.net>2016-02-15 23:19:24 +0100
commit4d6a9f626e3f1ebb0f55d09c340f58e1e534ec93 (patch)
tree9ad41eab303557f4b6ddbd7905c9eb746c246d62
parentef7734e1a32ba78384025c2a7cda7f5f3deee0d6 (diff)
downloadtempelschubsen-4d6a9f626e3f1ebb0f55d09c340f58e1e534ec93.tar.gz
tempelschubsen-4d6a9f626e3f1ebb0f55d09c340f58e1e534ec93.zip
Colorize Gravity-Aura by owner
-rw-r--r--TemplePushing.c4s/Misc.c4d/Particles.c4d/WhiteAura.c4d/Graphics.pngbin0 -> 2454 bytes
-rw-r--r--TemplePushing.c4s/Misc.c4d/Particles.c4d/WhiteAura.c4d/Particle.txt13
-rw-r--r--TemplePushing.c4s/System.c4g/Gravity.c2
3 files changed, 14 insertions, 1 deletions
diff --git a/TemplePushing.c4s/Misc.c4d/Particles.c4d/WhiteAura.c4d/Graphics.png b/TemplePushing.c4s/Misc.c4d/Particles.c4d/WhiteAura.c4d/Graphics.png
new file mode 100644
index 0000000..d9a518c
--- /dev/null
+++ b/TemplePushing.c4s/Misc.c4d/Particles.c4d/WhiteAura.c4d/Graphics.png
Binary files differ
diff --git a/TemplePushing.c4s/Misc.c4d/Particles.c4d/WhiteAura.c4d/Particle.txt b/TemplePushing.c4s/Misc.c4d/Particles.c4d/WhiteAura.c4d/Particle.txt
new file mode 100644
index 0000000..7eb4f20
--- /dev/null
+++ b/TemplePushing.c4s/Misc.c4d/Particles.c4d/WhiteAura.c4d/Particle.txt
@@ -0,0 +1,13 @@
+[Particle]
+Name=WhiteAura
+MaxCount=350
+InitFn=StdInit
+ExecFn=StdExec
+DrawFn=Std
+Face=0,0,64,64,-32,-32
+GravityAcc=0
+RByV=1
+AlphaFade=5
+Delay=0
+Additive=1
+Repeats=1
diff --git a/TemplePushing.c4s/System.c4g/Gravity.c b/TemplePushing.c4s/System.c4g/Gravity.c
index c1ebd42..3763e9f 100644
--- a/TemplePushing.c4s/System.c4g/Gravity.c
+++ b/TemplePushing.c4s/System.c4g/Gravity.c
@@ -11,7 +11,7 @@ func FxFloatPSpellTimer(pClonk, iEffectNumber, iEffectTime)
var iSearchRadius = GetRange();
var pObj;
- CreateParticle("Aura",GetX(pClonk),GetY(pClonk), RandomX(-1,1),RandomX(-1,1), 12*iSearchRadius,RGB(50,255,180));
+ CreateParticle("WhiteAura",GetX(pClonk),GetY(pClonk), RandomX(-1,1),RandomX(-1,1), 12*iSearchRadius,GetPlrColorDw(GetOwner(pClonk)));
var i=2;
while(i--)
{