Thunderstorm without 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
G_M_StYlEr_M
Rebel Sergeant
Rebel Sergeant
Posts: 194
Joined: Wed Oct 01, 2008 5:59 am
Projects :: No Mod project currently.
Games I'm Playing :: Minecraft XD
xbox live or psn: No gamertag set
Location: germany
Contact:

Thunderstorm without rain? [Solved]

Post by G_M_StYlEr_M »

Hi Everybody
how can i make thunderstorm without rain and with
lightning sound ? :oops:
AQT
Gametoast Staff
Gametoast Staff
Posts: 4910
Joined: Sat Nov 03, 2007 4:55 pm
Location: SoCal, USA

Re: thunderstorm Without Rain !!

Post by AQT »

Create an ***.fx file for your map with the following
Hidden/Spoiler:
[code]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");
}
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);
}[/code]
You can't hear lightning by the way. You'll need to use the stock Kamino sound .lvl or make a custom sound .lvl so that the thunder sound effect will play.
User avatar
G_M_StYlEr_M
Rebel Sergeant
Rebel Sergeant
Posts: 194
Joined: Wed Oct 01, 2008 5:59 am
Projects :: No Mod project currently.
Games I'm Playing :: Minecraft XD
xbox live or psn: No gamertag set
Location: germany
Contact:

Re: thunderstorm Without Rain !!

Post by G_M_StYlEr_M »

AQT wrote:Create an ***.fx file for your map with the following
Hidden/Spoiler:
[code]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");
}
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);
}[/code]
You can't hear lightning by the way. You'll need to use the stock Kamino sound .lvl or make a custom sound .lvl so that the thunder sound effect will play.

hmm okay thnak you


topic can close
Post Reply