How to add rain? [Solved]
Moderator: Moderators
- [SBF]ATATFIGHTR
- Chief Warrant Officer

- Posts: 338
- Joined: Sun Mar 12, 2006 12:22 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: The US, in the state of UTAH
How to add rain? [Solved]
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? 
-
Blueline
- [SBF]ATATFIGHTR
- Chief Warrant Officer

- Posts: 338
- Joined: Sun Mar 12, 2006 12:22 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: The US, in the state of UTAH
-
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
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
-
Blueline
- [SBF]ATATFIGHTR
- Chief Warrant Officer

- Posts: 338
- Joined: Sun Mar 12, 2006 12:22 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: The US, in the state of UTAH
-
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
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
Theres an 8 and a closing perenthasis in the middle of the ( and the ;GroundEffectSpread(8);
