Page 1 of 1

Modifying .efx file

Posted: Fri Aug 19, 2016 5:48 pm
by kejR
Another day, another problem. ;) Probably simple to solve.
I'm trying to rotate fx_runner, which generates some sort of smoke. Giving it "angle <number>" key does nothing, adding info_notnull and linking it to the effect with "target" and "targetname" also won't affect direction. I think it might be hard-coded by .efx file, but I have absolutely no experience in modifying those, and that's why I'm here. :P

Code: Select all

repeatDelay				300

Particle
{
	spawnFlags			absoluteVel evenDistribution rgbComponentInterpolation

	life				2000

	delay				0 2000

	rotation			0 360

	rotationDelta		10 -10

	velocity			0 -250 0 0 -150 0

	gravity				-300 -250

	rgb
	{
		start			0.9451 0.9529 0.9725 0.6549 0.7608 0.6941
	}

	alpha
	{
		start			0
		end				0.1 0.05
		parm			1
		flags			wave
	}

	size
	{
		start			64 60
		end				200 160
		flags			linear
	}

	shaders
	[
		gfx/effects/snowpuff2
		gfx/effects/Wcloud
	]
}
What should I change to rotate my smoke generator? Any clues?