hi all, DOWNLOAD the attached program to see how to make rain
it is more detailed tehn i could make it here or u can just do what i say here -_- most people dont like exe's anyway ok so edit the req file like in my water tutorial if u dont know what a reqle is look in my exe it tells u
also u need to put the folowing in an fx file if u dont know what it is then look in the exe
ok
add this to the fx file
for rain
Effect("Wind")
{
Enable(1);
Velocity(1.0, 0.3);
VelocityRange(1.0);
VelocityChangeRate(0.1);
}
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);
}
}
and for lightning
Effect("Lightning")
{
Enable(1);
Color(255, 255, 255);
SunlightFadeFactor(0.1);
SkyDomeDarkenFactor(0.4);
BrightnessMin(1.0);
FadeTime(0.2);
TimeBetweenFlashesMinMax(3.0, 5.0);
TimeBetweenSubFlashesMinMax(0.01, 0.5);
NumSubFlashesMinMax(2, 5);
HorizonAngleMinMax(30, 60);
SoundCrack("kam_amb_thunder");
SoundSubCrack("kam_amb_thundersub");
}
and if u want a lightning bolt (no difference)
}
LightningBolt("skybolt")
{
Texture("lightning");
Width(30.0);
FadeTime(0.5);
BreakDistance(20.0);
TextureSize(30.0);
SpreadFactor(20.0);
MaxBranches(2.0);
BranchFactor(0.5);
BranchSpreadFactor(8);
BranchLength(80.0);
InterpolationSpeed(0.4);
NumChildren(1);
ChildBreakDistance(15.0);
ChildTextureSize(8.0);
ChildWidth(1.0);
ChildSpreadFactor(10.0);
Color(255,255,255,255);
ChildColor(255,255,255,150);
}
Might as well move this to the tutorial section.
*Shrug*
lol