Questions about effects (FAQ)

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
da_great_ghost
Corporal
Corporal
Posts: 141
Joined: Sat Feb 02, 2008 3:40 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: , Location, Location, Location

Questions about effects (FAQ)

Post by da_great_ghost »

a few questions

1-how do you add the mustafar lava explosan effect ?

2-how do you add fog?

3- would it be possible to add the fog and the mustafar air(ashes) to the same map?

thanks
User avatar
tnt_1992
Rebel Sergeant
Rebel Sergeant
Posts: 180
Joined: Mon Feb 18, 2008 4:48 pm
Games I'm Playing :: SWBF2 and ts3
Location: Georgia, usa
Contact:

Re: i need to know

Post by tnt_1992 »

3. it is possible. i dont now how but i have seen it


EDIT
find the code from the mustafar fx file and put that in ur fx file
and just add fog if there is a code for it to ur fx to.
SilvaDalek
Sith
Sith
Posts: 1329
Joined: Sun Dec 02, 2007 12:52 pm
Games I'm Playing :: Destiny and FIFA
xbox live or psn: TH3 R0LL3R

Re: i need to know

Post by SilvaDalek »

Sky file in world1.
Taivyx
2008 Best Games Related Avatar
Posts: 1706
Joined: Thu Jun 07, 2007 3:34 pm
Projects :: Terra Strife - discontinued
Games I'm Playing :: none
xbox live or psn: No gamertag set
Contact:

Re: i need to know

Post by Taivyx »

da_great_ghost wrote:a few questions

1-how do you add the mustafar lava explosan effect ?

2-how do you add fog?

3- would it be possible to add the fog and the mustafar air(ashes) to the same map?

thanks
All of these are fx questions, go to the mustafar world folder, look through the "effects" folder, and go through the .fx file in the "world1" folder.
You'll find all of those pretty fast.
User avatar
da_great_ghost
Corporal
Corporal
Posts: 141
Joined: Sat Feb 02, 2008 3:40 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: , Location, Location, Location

Re: i need to know

Post by da_great_ghost »

Thank you all!!!!!!
User avatar
elfie
Field Commander
Field Commander
Posts: 931
Joined: Fri Jan 25, 2008 8:26 pm
Games I'm Playing :: no games
xbox live or psn: no live
Location: Coruscant, Jedi Temple
Contact:

Re: i need to know

Post by elfie »

for fog go to the dagobah odfs and add the mist prop.
Taivyx
2008 Best Games Related Avatar
Posts: 1706
Joined: Thu Jun 07, 2007 3:34 pm
Projects :: Terra Strife - discontinued
Games I'm Playing :: none
xbox live or psn: No gamertag set
Contact:

Adding fog to your map

Post by Taivyx »

elfie wrote:for fog go to the dagobah odfs and add the mist prop.
Or if you want it throughout the whole map, you can add this line to your ABC.fx(environment effects) file located in your world1 folder. If you don't have an fx file in your world1 folder then create one or copy one from the assets.

Insert this code into your ABC.fx file(replace ABC with your 3 letter modID):

Code: Select all

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);
}
The code example above was taken from dag1.fx located in:
  • BF2_ModTools\assets\worlds\DAG\world1
You can find more examples in these:
  • BF2_ModTools\assets\worlds\END\world1\end1.fx
    BF2_ModTools\assets\worlds\FEL\world1\fel1.fx
    BF2_ModTools\assets\worlds\GEO\world1\geo1.fx
    BF2_ModTools\assets\worlds\HOT\world1\hoth1.fx
    BF2_ModTools\assets\worlds\KAS\world1\kas2.fx
    BF2_ModTools\assets\worlds\POL\world1\pol1.fx
    BF2_ModTools\assets\worlds\YAV\world1\yavin1.fx
    BF2_ModTools\assets\worlds\YAV\world2\yav2.fx
Grev
Hoth Battle Chief
Hoth Battle Chief
Posts: 3132
Joined: Sun Dec 09, 2007 11:45 pm
Projects :: No Mod project currently.
Games I'm Playing :: Minecraft
Location: A Certain Box Canyon

Re: i need to know

Post by Grev »

Wait, for the fx to work, just copy/ paste the mustafar fx into the world 1 folder?
Taivyx
2008 Best Games Related Avatar
Posts: 1706
Joined: Thu Jun 07, 2007 3:34 pm
Projects :: Terra Strife - discontinued
Games I'm Playing :: none
xbox live or psn: No gamertag set
Contact:

Re: i need to know

Post by Taivyx »

And rename it to ABC.fx where ABC is your ModID
User avatar
da_great_ghost
Corporal
Corporal
Posts: 141
Joined: Sat Feb 02, 2008 3:40 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: , Location, Location, Location

Re: i need to know

Post by da_great_ghost »

Could I add the fog to one area and have the ashes over the whole map?
User avatar
elfie
Field Commander
Field Commander
Posts: 931
Joined: Fri Jan 25, 2008 8:26 pm
Games I'm Playing :: no games
xbox live or psn: no live
Location: Coruscant, Jedi Temple
Contact:

Re: i need to know

Post by elfie »

one area you use the odf from dagobah
woner11
Sith
Sith
Posts: 1361
Joined: Tue Sep 18, 2007 10:17 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: The lost world of pickels
Contact:

Re: i need to know

Post by woner11 »

Not the odf. There is none unless you mean the object.
woner11
Sith
Sith
Posts: 1361
Joined: Tue Sep 18, 2007 10:17 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: The lost world of pickels
Contact:

Re: i need to know

Post by woner11 »

Yes, you can place the prop into the map instead.
User avatar
da_great_ghost
Corporal
Corporal
Posts: 141
Joined: Sat Feb 02, 2008 3:40 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: , Location, Location, Location

Re: i need to know

Post by da_great_ghost »

it's called dag_prop_mist right?
inferno
3rd Warning
3rd Warning
Posts: 106
Joined: Wed Feb 06, 2008 6:41 pm
Location: Where there's magic in the air...

Re: i need to know

Post by inferno »

If you wanted to use that one that would work just as well.
(hoth prop dust is fog actually there is obviously no dust on hoth)
Post Reply