Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Testing particle effects offline. (https://forums.graalonline.com/forums/showthread.php?t=134257908)

Engine 02-06-2010 05:18 AM

Testing particle effects offline.
 
Is there any possible way to test particle effects offline? I'm too poor to afford a server to develop on and I'm too cheap to pay for gold but I want to mess around with particle effects. I have tried to add the following into the IDLE gani and set it as read only so it wont replace it with the original and I logged onto NPulse to test it but it doesn't work. Is there any other way to test them offline or am I doing it wrong?


NPC Code:
SCRIPT
if(playerenters){
setTimer(0.05);
}
if(timeout){
with (findimg(200)) {
// Chimney

// Emitter attributes
layer = 2;
emitter.delaymin = 0.1;
emitter.delaymax = 0.2;
emitter.nrofparticles = 1;

// Basic particle attributes
emitter.particle.lifetime = 3;
emitter.particle.image = "g4_particle_smoke.png";
emitter.particle.mode = 1; // alpha transparent
emitter.particle.alpha = 0.8;
emitter.particle.zoom = 1;

// Movement
emitter.particle.angle = pi / 2;
emitter.particle.speed = 8;
emitter.addglobalmodifier("impulse", 0.2, 0.2, "spin", "multiply", 0.9, 0.9);
emitter.addlocalmodifier("once", 0, 0, "angle", "add", -0.2, 0.2);
emitter.addlocalmodifier("once", 0, 0, "rotation", "replace", 0, 2*pi);
emitter.addlocalmodifier("range", 1, 3, "alpha", "replace", 0.8, 0);
emitter.addlocalmodifier("range", 0, 3, "zoom", "add", 0.25, 0.25);
emitter.addlocalmodifier("range", 0, 0.5, "speed", "replace", 12, 4);
emitter.addlocalmodifier("range", 0.5, 3, "speed", "replace", 4, 1.5);
emitter.addlocalmodifier("once", 0, 0, "spin", "replace", 2, 4);
}
}
SCRIPTEND


DustyPorViva 02-06-2010 05:36 AM

Nope.

Rufus 02-06-2010 05:38 AM

There's the "Testbed Server" though I'm not sure if it's really active now. Check it out I guess, it's enabled for Classic accounts.

Engine 02-06-2010 06:36 AM

Oh, I wasn't aware that testbed was available to classic accounts, Do I have to contact to get access to it? Is Tig still in charge of it?

WhiteDragon 02-06-2010 06:39 AM

Quote:

Originally Posted by Engine (Post 1554483)
Oh, I wasn't aware that testbed was available to classic accounts, Do I have to contact to get access to it? Is Tig still in charge of it?

I wonder why there isn't a sticky for this.

Engine 02-06-2010 06:42 AM

I cannot tell if that was sarcasm or not, if not then could you post a link to it because I checked the 'NPC Scripting' and 'Playerworld' forums and found nothing.

WhiteDragon 02-06-2010 06:43 AM

Quote:

Originally Posted by Engine (Post 1554488)
I cannot tell if that was sarcasm or not, if not then could you post a link to it because I checked the 'NPC Scripting' and 'Playerworld' forums and found nothing.

No, it was a serious question.

Send Chompy a forum PM and he should be able to handle things though.

xXziroXx 02-06-2010 01:01 PM

Quote:

Originally Posted by WhiteDragon (Post 1554486)
I wonder why there isn't a sticky for this.

It's been suggested countless of times by now, and the only conclusion from it has been that the Testbed administration simply doesn't care enough for it.

cbk1994 02-06-2010 10:09 PM

Quote:

Originally Posted by xXziroXx (Post 1554527)
It's been suggested countless of times by now, and the only conclusion from it has been that the Testbed administration simply doesn't care enough for it.

At one point they said that they didn't want people signing up just to play around with boots.

I'm sure there are plenty of people who would be willing to handle stuff like this. Hopefully Tig will add some more supervisors who can add people, change IPs, whatever.


All times are GMT +2. The time now is 10:22 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.