SWBFGamers

Modding for the Original SWBF1 and SWBF2 => SWBF1 Modding => Topic started by: Jamman on September 21, 2010, 01:20:52 PM

Title: Animations?
Post by: Jamman on September 21, 2010, 01:20:52 PM
Hey, I was wondering how I could re-do Cloud City the way i want to.

Im thinking about taking Endor grass and substitute is with the CC floor, but i was wondering how to make it animated. as in moving. when i do it, you know its just flat and looks like crap. also wanted to make in raining as it is on Kamino. those maps are on bfbuilder, but im on win7, so my ze doesnt work.

Do you need ZE to do this?
Is there a guide, or tutorial?

All help appreciated.
Title: Re: Animations?
Post by: Rexy on September 21, 2010, 04:14:23 PM
http://www.swbf-maps.com/About-swbf_maps-.-com.htm (http://www.swbf-maps.com/About-swbf_maps-.-com.htm)
Title: Re: Animations?
Post by: Jamman on September 21, 2010, 05:26:35 PM
I had already done that previous to the post, i want to be able to know how its done. so help is always appreciated
Title: Re: Animations?
Post by: vf501 on September 21, 2010, 06:27:54 PM
1. Go to Filefront
2. Download the ModTools
3. Read the Documentation
4. Curse the fact you have a Mac and can't run the ModTools
5. ????
6. PROFIT!

or

1. Go to Filefront
2. Download the ModTools
3. Read the Documentation
4. Read the Documentation
5. Read the Documentation
6. Are your eyes bleeding from reading it?
7. No?
8. Read the Documentation
9. Still don't understand?
10. Go to gametoast.com and look at their Modding FAQ
Title: Re: Animations?
Post by: Jamman on September 22, 2010, 12:54:29 PM
is there a link to those specific mod tools?
Title: Re: Animations?
Post by: vf501 on September 22, 2010, 04:47:48 PM
(https://www.swbfgamers.com/proxy.php?request=http%3A%2F%2Fwww.zoneshot.com%2Fserver%2Fdg%2Ffacepalm.jpg&hash=6aca60850459132e7a8fb64f203f4d6714c31241)

google.com

Go there, type in "Star Wars Battlefront Mod Tools", hit enter.  Feel the magic as it finds the link for you.
Title: Re: Animations?
Post by: Jamman on September 23, 2010, 01:07:58 PM
hey, i was e-mailing this guy, and he showed me what command to put in for rain, but im not sure where exactly to put it:

Your question how to add rain to a map; open YOURMAPNAME.fx in the World
folder, and place the following part in:


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("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);

anyone know where to place em?
Title: Re: Animations?
Post by: Hardcore on September 23, 2010, 01:49:44 PM
All you need to do, is open up the file he pointed out the .fx file for your world, and insert everything he gave you into it, doesn't matter if its at the start or end or middle putting it at the very top should be just fine. also, there is a little more then he gave you, just a line or two its in the spoiler below.

[spoiler]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("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);
   }
}[/spoiler]

Lastly, if your still having trouble, you can read the tutorial we have for it, along with most others you will need in the "Modding Tutorials forum" that should help you out with most questions you have.

http://www.mpcgamers.com/smf/index.php?topic=1628.0 (//http://Mapping:%20Rain%20Tutorial)
Title: Re: Animations?
Post by: Jamman on September 23, 2010, 02:23:01 PM
Hey, I read Your tut. HC, but im still lost. when i go to C:/BFBuilder/DataMYMAPNAME/Worlds/MYMAPNAME. I cant find MYMAPNAME.fx file. Where exactly is that located? i know how to do rest, just cant find it. I searched it, and still nothing.

http://img831.imageshack.us/i/formpc.png/ (http://img831.imageshack.us/i/formpc.png/)
Title: Re: Animations?
Post by: Hardcore on September 23, 2010, 02:35:19 PM
the MYMAPNAME is just filler text, he can't know what you named your map when you started making it, for kamino its named kamino.fx and so on, so whatever you named it is what it is.

Oh, Also the file is in your World folder, in that screenshot your looking in the effects folder (i know an .fx file thats not in the effects folder is silly)
Title: Re: Animations?
Post by: Jamman on September 23, 2010, 03:16:13 PM
I went into World1 folder, ( C:/BFBuilder/DataCCnightJam/Worlds/CCnightJam/World1.

I found bespin.fx inside, and then added this to it:

http://img180.imageshack.us/i/45825172.png/ (http://img180.imageshack.us/i/45825172.png/)

After, cleaning, then munging, theres still no rain.
Title: Re: Animations?
Post by: Jedikiller on September 23, 2010, 04:16:05 PM
Why bespin2.fx? Why not your map's own FX file?
Title: Re: Animations?
Post by: gogo12 on September 24, 2010, 10:04:41 AM
Every time when i start new map i dont have my own fx file so i just copy one from kamino and rename it to my *** letter map name.
Title: Re: Animations?
Post by: Jamman on September 24, 2010, 06:09:44 PM
hey, so I got the rain working on my cc, but when i tried to add lightning to the mix it didnt appear in-game. The rain was placed inside of, bespin2.fx, seeing i couldnt find or dont have my own .fx file, as gogo12. i also placed lightning, in the folder:

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("rainsplash");
  GroundEffectSpread(;


  }
  PC()
  {
      AlphaMinMax(0.3, 0.45);
      ParticleSize(0.02);
      ParticleDensity(256.0);
      Velocity(9.0);
      StreakLength(1.0);
      GroundEffectsPerSec(15);

   }
}

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);
}


You also have to add the flyerspray.fx file into your Effects folder C:/BFBuilder/DataMYMAPNAME/Worlds/MYMAPNAME/Effects
The flyerspray.fx file is located in C:/BFBuilder/Assets/Shipped Worlds/Kamino/Effects
Copy the whole file, not only the text in it, and place them in the Effects folder of your map. I think thats it, have fun!

i did as he told me, but can anyone explain to me why i did that, or what it does?
EhPortal 1.34 © 2024, WebDev