How to add rain? [Solved]

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
User avatar
[SBF]ATATFIGHTR
Chief Warrant Officer
Chief Warrant Officer
Posts: 338
Joined: Sun Mar 12, 2006 12:22 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: The US, in the state of UTAH

How to add rain? [Solved]

Post 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
Blueline

Post by Blueline »

You must Copy the kam.fx into your Abc world 1 and rename in your Mod wold file name Abc.fx.

8)
User avatar
[SBF]ATATFIGHTR
Chief Warrant Officer
Chief Warrant Officer
Posts: 338
Joined: Sun Mar 12, 2006 12:22 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: The US, in the state of UTAH

Post by [SBF]ATATFIGHTR »

Can I have directions to where the fx is? I can't find it
Dark117

Post 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 ;)
Blueline

Post by Blueline »

And if you will in next time the Rain load ,go to
C:\BF2_ModTools\assets\worlds\KAM\world1. :D
User avatar
[SBF]ATATFIGHTR
Chief Warrant Officer
Chief Warrant Officer
Posts: 338
Joined: Sun Mar 12, 2006 12:22 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: The US, in the state of UTAH

Post 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
Dark117

Post 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 ;
Post Reply