Page 1 of 1

How to add rain?

Posted: Thu Dec 06, 2007 1:47 pm
by Eagle Eye
I like to know how to add rain in my map like on kamino. What for files i need, what i need to chance, etc...
I dont need the thunder thing and the water, just the rain.

Thanks

Re: How to add rain?

Posted: Sat Dec 08, 2007 5:10 am
by DarthD.U.C.K.
its very easy:
copy those lines (from the kam.fx file) into your worlds .fx file

Code: Select all

Effect("Precipitation")
{
	Enable(1);
	Type("Streaks");
	Range(12.5);
	Color(216, 220, 228);
	VelocityRange(1.0);
	ParticleDensityRange(0.0);
	CameraCrossVelocityScale(0.2);
	CameraAxialVelocityScale(1.0);

	GroundEffect("com_sfx_rainsplash");
	GroundEffectSpread(8);

	PS2()
	{
		AlphaMinMax(0.8, 1.0);
		ParticleSize(0.06);
		ParticleDensity(80.0);
		Velocity(8.0);
		StreakLength(1.7);
		GroundEffectsPerSec(7);
	}
	XBOX()
	{
		AlphaMinMax(0.2, 0.3);
		ParticleSize(0.02);
		ParticleDensity(256.0);
		Velocity(9.0);
		StreakLength(1.0);
		GroundEffectsPerSec(15);
	}
	PC()
	{
		AlphaMinMax(0.3, 0.45);
		ParticleSize(0.02);
		ParticleDensity(256.0);
		Velocity(9.0);
		StreakLength(1.0);
		GroundEffectsPerSec(15);
	}
}

Re: How to add rain?

Posted: Sat Dec 08, 2007 1:23 pm
by Eagle Eye
ok thanks the rain works, but can you give me also the rain sound?

Re: How to add rain?

Posted: Sat Dec 08, 2007 2:14 pm
by Xavious
The rain doesn't have sound, does it?

Re: How to add rain?

Posted: Sat Dec 08, 2007 2:15 pm
by Adjuntant_Reflex
I dont think so....

Re: How to add rain?

Posted: Sun Dec 09, 2007 7:47 am
by Eagle Eye
If u play on kamino u hear the rain splashing on the ground, i checked by playing the map... If u guys don't now never mind then.. thanks anyway

Re: How to add rain?

Posted: Sun Dec 09, 2007 8:51 pm
by Penguin
The rain and wind sound in kamino is done with a sound region (or something :P )

Just look at it in ZE.

Re: How to add rain?

Posted: Tue Dec 11, 2007 7:19 am
by Eagle Eye
ok thanks