diff options
| author | Mittendrein Markus <maxmitti@gmx.net> | 2016-02-15 23:19:24 +0100 |
|---|---|---|
| committer | Mittendrein Markus <maxmitti@gmx.net> | 2016-02-15 23:19:24 +0100 |
| commit | 4d6a9f626e3f1ebb0f55d09c340f58e1e534ec93 (patch) | |
| tree | 9ad41eab303557f4b6ddbd7905c9eb746c246d62 | |
| parent | ef7734e1a32ba78384025c2a7cda7f5f3deee0d6 (diff) | |
| download | tempelschubsen-4d6a9f626e3f1ebb0f55d09c340f58e1e534ec93.tar.gz tempelschubsen-4d6a9f626e3f1ebb0f55d09c340f58e1e534ec93.zip | |
Colorize Gravity-Aura by owner
| -rw-r--r-- | TemplePushing.c4s/Misc.c4d/Particles.c4d/WhiteAura.c4d/Graphics.png | bin | 0 -> 2454 bytes | |||
| -rw-r--r-- | TemplePushing.c4s/Misc.c4d/Particles.c4d/WhiteAura.c4d/Particle.txt | 13 | ||||
| -rw-r--r-- | TemplePushing.c4s/System.c4g/Gravity.c | 2 |
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 Binary files differnew file mode 100644 index 0000000..d9a518c --- /dev/null +++ b/TemplePushing.c4s/Misc.c4d/Particles.c4d/WhiteAura.c4d/Graphics.png 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--)
{
|
