From 4d6a9f626e3f1ebb0f55d09c340f58e1e534ec93 Mon Sep 17 00:00:00 2001 From: Mittendrein Markus Date: Mon, 15 Feb 2016 23:19:24 +0100 Subject: Colorize Gravity-Aura by owner --- .../Misc.c4d/Particles.c4d/WhiteAura.c4d/Graphics.png | Bin 0 -> 2454 bytes .../Misc.c4d/Particles.c4d/WhiteAura.c4d/Particle.txt | 13 +++++++++++++ TemplePushing.c4s/System.c4g/Gravity.c | 2 +- 3 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 TemplePushing.c4s/Misc.c4d/Particles.c4d/WhiteAura.c4d/Graphics.png create mode 100644 TemplePushing.c4s/Misc.c4d/Particles.c4d/WhiteAura.c4d/Particle.txt (limited to 'TemplePushing.c4s') 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 Binary files /dev/null and b/TemplePushing.c4s/Misc.c4d/Particles.c4d/WhiteAura.c4d/Graphics.png 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--) { -- cgit v1.2.3-54-g00ecf