Page 1 of 1

Explosion Generator script crashing Spring

Posted: 10 Dec 2006, 13:36
by Guessmyname
Through careful testing, I have found that this script is crashing Spring:

[NURGLE_CLOUD]
{
[particlesystem_BUILDER_FX]
{
class=CSimpleParticleSystem;
[properties]
{
sizeGrowth=0.05;
sizeMod=1.0;
pos=0, 1.0, 0;
emitVector=dir;
gravity=0, 0, 0;
colorMap=0.0 1.0 0.0 0.7 0.0 1.0 1.0 0.7
Texture=gas;
airdrag=0.97;
particleLife=45;
particleLifeSpread=5;
numParticles=5;
particleSpeed=1;
particleSpeedSpread=0.25;
particleSize=1;
particleSizeSpread=0.25;
emitRot=10;
emitRotSpread=0;
directional=0;
}
air=1;
water=1;
ground=1;
count=1;
}
}

It's basically the builder FX off Nanoblobs (the magic sparkly thing) modified to be a smog to float around Nurgle Death Guard Marines in Epic Legions. It crashes Spring as soon as it is called in the script (and this isn't a script problem, the script works with other FX scripts)

Posted: 10 Dec 2006, 13:57
by KDR_11k
No semicolon after ColorMap?

Posted: 10 Dec 2006, 13:59
by Guessmyname
I noticed that almost as soon as I posted it.

Fixed now...
stupid typos

Posted: 10 Dec 2006, 14:28
by Guessmyname
Okay, how do you set the alpha on these things? As far as I can tell, only pure black is made transparent, and this is pretty frakking ugly:

Image

What I'm aiming for involves large clouds (particles - know how to do this), that are transparent and float downwards and outwards slowly and at the same time (these I have trouble with)

Posted: 10 Dec 2006, 15:08
by KDR_11k
Use the alpha channel on your texture. AFAIK the texture's color is always added, the more opaque your alpha the more the background gets darkened out.

Posted: 10 Dec 2006, 15:38
by rattle
Black is only needed for alpha blending, dunno if there's an option to force the SPS to use it. Would be cool...

Posted: 10 Dec 2006, 17:27
by Guessmyname
Ha ha! Success!

Image

The march of Nurgle.

Posted: 10 Dec 2006, 18:34
by Snipawolf
Hahahah, nice

Posted: 10 Dec 2006, 19:04
by 1v0ry_k1ng
cool! what else is in the mod atm? is there a topic on it?

Posted: 10 Dec 2006, 19:06
by Guessmyname
Yes, but it's a bit old. Epic Legions has a moddb profile, go there and have a wander through the image gallery

Posted: 10 Dec 2006, 20:45
by Zoombie
Mmmm...Nurglites. So you're still working on this? Cool.

Posted: 10 Dec 2006, 22:49
by manored
WOW! NICE! Then i first looked to the picture I looked to the tank and say trees under it, only then I looked well I noticed they were units!

Posted: 11 Dec 2006, 00:56
by Neddie
I need to get more of my work out there, then...