Page 1 of 1

directionnal=1; works randomly in Custom Explosion Generator

Posted: 10 Aug 2007, 10:43
by zwzsg
Here's the C.E.G. I use:

Code: Select all

[linkbeam]
{
	[DoesThisEvenMatter]
	{
		class=CSimpleParticleSystem;
		[properties]
		{
			size=1;
			sizegrowth=0;
			sizemod=1;
			pos=0,0,0;
			emitVector=dir;
			gravity=0, 0, 0;
			Texture=linkbeam;
			colorMap=1 0 0 1   0 1 0 1   0 0 1 1;
			airdrag=1;
			particleLife=65;
			particleLifeSpread=0;
			numParticles=1;
			particleSpeed=2.8;
			particleSpeedSpread=0;
			particleSize=10;
			particleSizeSpread=0;
			emitRot=0;
			emitRotSpread=0;
			directionnal=1;
		}
		air=1;
		ground=1;
		water=1;
		count=1;
	}
}
But ingame what I have is:
Image

The "directionnal=1;" is sometimes applied on the particle, sometimes not, seemingly randomly. Which breaks the lining up of my segments. It's under Spring75b2 btw.

Yeah, LUA scares me so I'm still using C.E.G. to draw my link beams.

Posted: 11 Aug 2007, 18:41
by KDR_11k
Wait, I thought it was supposed to read "directional" with one n?

Posted: 11 Aug 2007, 19:50
by Dragon45
The proper spelling is "directional".