directionnal=1; works randomly in Custom Explosion Generator

directionnal=1; works randomly in Custom Explosion Generator

Discuss your problems with the latest release of the engine here. Problems with games, maps or other utilities belong in their respective forums.

Moderator: Moderators

Post Reply
User avatar
zwzsg
Kernel Panic Co-Developer
Posts: 7052
Joined: 16 Nov 2004, 13:08

directionnal=1; works randomly in Custom Explosion Generator

Post 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.
User avatar
KDR_11k
Game Developer
Posts: 8293
Joined: 25 Jun 2006, 08:44

Post by KDR_11k »

Wait, I thought it was supposed to read "directional" with one n?
User avatar
Dragon45
Posts: 2883
Joined: 16 Aug 2004, 04:36

Post by Dragon45 »

The proper spelling is "directional".
Post Reply

Return to “Help & Bugs”