Page 1 of 1

Amount of lightning bolts

Posted: Thu May 12, 2011 4:56 pm
by modmaster13
Hi I would like to have more lightning bolt at a rate of 4 bolts in 10 seconds. How would I do that?
Hidden/Spoiler:
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);
}

Re: Amount of lightning bolts

Posted: Thu May 12, 2011 9:15 pm
by CalvaryCptMike
Taken From Kamino1.fx
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");
}
It's actually that part not the one you posted. Change it to
TimeBetweenFlashesMinMax(15.0, 15.0)

Re: Amount of lightning bolts

Posted: Fri May 13, 2011 6:24 pm
by modmaster13
That is lightning, but I also want the amount of lightning blots. Thanks though... :P

Re: Amount of lightning bolts

Posted: Sat May 14, 2011 4:59 pm
by CalvaryCptMike
modmaster13 wrote: MaxBranches(2.0);
Totally random guess but, could that change it? Try setting it to 4.