SWBF CUSTOM
Would you like to react to this message? Create an account in a few clicks or log in to continue.

SWBF CUSTOM

The best way to custom your games.
 
HomeLatest imagesSearchRegisterLog in

Share
 

 [FAQ]Environment Effects

View previous topic View next topic Go down 
AuthorMessage
Noobasaurus
Clone Trooper Corporal
Clone Trooper Corporal
Noobasaurus

Messages : 121
Registration Date : 2011-07-10
Age : 2013

[FAQ]Environment Effects Empty
PostSubject: [FAQ]Environment Effects   [FAQ]Environment Effects I_icon_minitime7/19/2011, 2:29 pm

If you want rain in your map, simply go to the kamino world 1 folder and copy the FX file to your world 1 and rename it to whatever your map's name is.

Or, if you want to keep your FX file, just add in:
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);
  }
}


If you have buildings you may want to add rainshadow regions.

If you want a nice, big sun in your map, here is how.

First, get an FX file from somewhere and rename it to your map's name.

Then, add this to it:
Code:
SunFlare()
{
  Angle(120.000000, -30.000000);
  Color(255, 255, 255);
  Size(5.0);
  FlareOutSize(40.0);
  NumFlareOuts(40);
  InitialFlareOutAlpha(70);
  HaloInnerRing(0.0, 255, 255, 255, 255);
  PC()
  {
      HaloMiddleRing(10.0, 255, 200, 0, 128);
  }
  HaloOutterRing(40.0, 255, 127, 0, 0);
  SpikeColor(230,230,0,128);
  SpikeSize(9.0);
}


And now you have a sun!

If you want fog throughout the whole map, here's how.

Add this code to your FX file:
Code:
Effect("FogCloud")
{
  Enable(1);
  Texture("fluffy");
  Range(60.0, 100.0);
  Color(168, 172, 180, 128);
  Velocity(5.0, 0.0);
  Rotation(0.1);
  Height(16.0);
  ParticleSize(28.0);
  ParticleDensity(60.0);
}

And now you have fog! There are some other types of fog on other maps that you may want to try out since this is only the dagobah one.

And if you want snow, just insert this code into your FX file:
Code:
Effect("Precipitation")
{
  Enable(1);
  Type("Quads");
  Texture("fx_snow");
  ParticleSize(0.015);
  Color(255, 255, 255);
  Range(15.0);
  Velocity(2.0);
  VelocityRange(0.8);
  PS2()
  {
      ParticleDensity(80.0);
  }
  XBOX()
  {
      ParticleDensity(100.0);
  }
  PC()
  {
      ParticleDensity(100.0);
  }
  ParticleDensityRange(0.0);
  CameraCrossVelocityScale(1.0);
  CameraAxialVelocityScale(1.0);
  AlphaMinMax(0.3, 0.45);
  RotationRange(2.0);
}


And now it should be snowing! Very Happy
Back to top Go down
Acryptozoo
Clone Trooper Lieutenant
Clone Trooper Lieutenant
Acryptozoo

Messages : 145
Registration Date : 2010-05-11
Age : 30
Location : fighting the empire

[FAQ]Environment Effects Empty
PostSubject: Re: [FAQ]Environment Effects   [FAQ]Environment Effects I_icon_minitime7/19/2011, 2:45 pm

if you want nice god rays all over your map you can add this to your .fx file
Code:

Effect("Godray")
{
   Enable(1);

   MaxGodraysInWorld(300);
   MaxGodraysOnScreen(8);

   MaxViewDistance(80.0);
   FadeViewDistance(70.0);
   MaxLength(40.0);
   OffsetAngle(0.0);

   MinRaysPerGodray(3);
   MaxRaysPerGodray(6);
   RadiusForMaxRays(2.0);

   Texture("fx_godray");
   TextureScale(1.5, 1.5);
   TextureVelocity(0.0, -0.1, 0.0);
   TextureJitterSpeed(0.05);
}
i got a bunch more ill post them later tho
Back to top Go down
Icemember
Dark Trooper Phase 1 Class
Dark Trooper Phase 1 Class
Icemember

Messages : 1241
Registration Date : 2010-07-29
Age : 44
Location : Bespin: Cloud City

[FAQ]Environment Effects Empty
PostSubject: Re: [FAQ]Environment Effects   [FAQ]Environment Effects I_icon_minitime7/19/2011, 6:50 pm

Good ideas. Very helpful.
Back to top Go down
Acryptozoo
Clone Trooper Lieutenant
Clone Trooper Lieutenant
Acryptozoo

Messages : 145
Registration Date : 2010-05-11
Age : 30
Location : fighting the empire

[FAQ]Environment Effects Empty
PostSubject: Re: [FAQ]Environment Effects   [FAQ]Environment Effects I_icon_minitime7/19/2011, 7:20 pm

heres one that should make a nice dust storm
all you need is to edit the cloud from geonosis
Code:
Effect("FogCloud")
{
   Enable(1);
   Texture("brownmist");
   Range(90.0, 120.0);
   Color(168, 172, 180, 128);
   Velocity(5.0, 0.0);
   Rotation(0.1);
   Height(16.0);
   ParticleSize(2800.0);
   ParticleDensity(100.0);
}
should look like this ingame
Spoiler:
Back to top Go down
Icemember
Dark Trooper Phase 1 Class
Dark Trooper Phase 1 Class
Icemember

Messages : 1241
Registration Date : 2010-07-29
Age : 44
Location : Bespin: Cloud City

[FAQ]Environment Effects Empty
PostSubject: Re: [FAQ]Environment Effects   [FAQ]Environment Effects I_icon_minitime7/20/2011, 10:41 am

sweet! thats a good one
Back to top Go down
Noobasaurus
Clone Trooper Corporal
Clone Trooper Corporal
Noobasaurus

Messages : 121
Registration Date : 2011-07-10
Age : 2013

[FAQ]Environment Effects Empty
PostSubject: Re: [FAQ]Environment Effects   [FAQ]Environment Effects I_icon_minitime7/20/2011, 4:00 pm

This should make embers fall from above...I have not tested it yet but will do so soon with a picture...
Code:

Effect("Precipitation")
{
   Enable(1);
   Type("Quads");
   Texture("fx_ember");
   ParticleSize(0.025);
   Color(255, 255, 255);
   Range(15.0);
   Velocity(-0.3);
   VelocityRange(1);
   PS2()
   {
      ParticleDensity(20.0);
   }
   XBOX()
   {
      ParticleDensity(20.0);
   }
   PC()
   {
      ParticleDensity(20.0);
   }
   ParticleDensityRange(0.0);
   CameraCrossVelocityScale(0.5);
   CameraAxialVelocityScale(1.0);
   AlphaMinMax(0.5, 0.9);
   RotationRange(25);
}

Back to top Go down
Lephenix
Scout Trooper Sergeant
Scout Trooper Sergeant
Lephenix

Messages : 833
Registration Date : 2010-05-05
Age : 29

[FAQ]Environment Effects Empty
PostSubject: Re: [FAQ]Environment Effects   [FAQ]Environment Effects I_icon_minitime7/31/2011, 2:22 pm

FAQed 8) .
Back to top Go down
http://lephenixbeginnings.blogspot.fr/
Sponsored content




[FAQ]Environment Effects Empty
PostSubject: Re: [FAQ]Environment Effects   [FAQ]Environment Effects I_icon_minitime

Back to top Go down
 

[FAQ]Environment Effects

View previous topic View next topic Back to top 
Page 1 of 1

 Similar topics

-
» [QUERY] Effects Questions
» [résolu]Low Health Effects
» [résolu]Removing award effects
» [FAQ]Adding Custom Sound Effects

Permissions in this forum:You cannot reply to topics in this forum
SWBF CUSTOM :: Star Wars Battlefront Games :: Modding-