Page 1 of 1

How to add rain? [Solved]

Posted: Mon Jan 01, 2007 6:52 pm
by [SBF]ATATFIGHTR
I don't know how to add the rain from kamino into my map and have the sound of rain? could someone please help me? :D

Posted: Mon Jan 01, 2007 7:05 pm
by Blueline
You must Copy the kam.fx into your Abc world 1 and rename in your Mod wold file name Abc.fx.

8)

Posted: Mon Jan 01, 2007 7:06 pm
by [SBF]ATATFIGHTR
Can I have directions to where the fx is? I can't find it

Posted: Mon Jan 01, 2007 7:06 pm
by Dark117
Go to Bf2_ModTools\data_***\worlds\***\world1 folder. (*** = 3 letter Mod ID) there you will find a file called ***.fx. Open it up in notepad and paste these lines into it:

Code:

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);
}
}



Save the file, munge and play. =)

P.s- You must create your own ***.fx file if you dont have one already made ;)

Posted: Mon Jan 01, 2007 7:08 pm
by Blueline
And if you will in next time the Rain load ,go to
C:\BF2_ModTools\assets\worlds\KAM\world1. :D

Posted: Mon Jan 01, 2007 7:26 pm
by [SBF]ATATFIGHTR
I still don't have rain I copied and pasted the kamino fx file and deleted everything in it and add what you said to add Dark117.
Please help

Posted: Tue Jan 02, 2007 10:59 am
by Dark117
It could be from one of these reasons...

1. Since you took another worlds fx file you must delete everything in it and rename the fx file too ***.fx not kamino.fx or watever. (*** being your ModID)
2.When you copyed the code the smiley might have goten rid of an important didget... lemma cheak...

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);
}
}


Okay the problem is the smiley face coming up in the code... If i only could get rid of that i could show you wat was originaly there. Ok it is
GroundEffectSpread(8);
Theres an 8 and a closing perenthasis in the middle of the ( and the ;