Page 1 of 2

The sky

Posted: Thu Jun 18, 2009 2:42 pm
by Frog
hello,i want to change my sky in my map
im making mustafar and whenever i test the sky it has geonosis so how do u change it?

Re: The sky

Posted: Thu Jun 18, 2009 3:07 pm
by 501st_commander
take the mustafar sky file. Rename it to your 3 letter map ID. Replace the sky file you have now with the "new" sky file.

Re: The sky

Posted: Thu Jun 18, 2009 3:11 pm
by MileHighGuy
and dont forget to get all the data for the sky (mshes, effects, tgas) aswell as the sky file

Re: The sky

Posted: Thu Jun 18, 2009 3:20 pm
by newguy99
Well here goes.
Open your BFBuilder-->Assets-->Shiped Worlds-->Open the *(name of map you want sky from)* folder-->Open the World 1 or World 2 folder which ever you want and Open it's ModID.sky file in notepad or some text reading thing-->Now find all named files (example: Hoth-->World 1-->hoth.sky file-->Hoth.sky folder content
Hidden/Spoiler:
SkyInfo()
{
FogColor(128, 128, 128);
FogRange(0.000000, 3000.000000);
NearSceneRange(90.0, 250.0, 120.0, 300.0);
FarSceneRange(400.000000, 1400.0);
AmbientColor(170, 170, 170);
TopDirectionalAmbientColor(120, 120, 120);
BottomDirectionalAmbientColor(255, 255, 255);

Enable(1);
FogRamp(3);
}

SunInfo()
{
Color(255, 255, 255);
ShadowColor(130, 130, 130);
Angle(140.000005, -20.000011);
Texture("");
Degree(40.000003);
BackAngle(180.000022, 0.000000);
BackColor(128, 128, 128);
BackDegree(0.000000);
}

DomeInfo()
{
Texture("SKY_Hoth.tga");
Angle(190.000005);
Ambient(128.000038, 128.000038, 128.000038);
Filter(1);
Threshold(0);
Intensity(0);

Softness(1);
SoftnessParam(60);

//TerrainBumpDetail("hoth_bump", 1.0, 0.3);

DomeModel()
{
Geometry("hoth_sky_dome");
}
DomeModel()
{
Geometry("hoth_mountain");
Offset(80.0);
MovementScale(0.995);
}
DomeModel()
{
Geometry("hoth_cannon");
Offset(28.0);
MovementScale(0.995);
Ok we will need these files:
Sky_Hoth.tga
hoth_bump
hoth_sky_dome
hoth_mountain
hoth_cannon
hoth.sky (the file your looking at in notepad needs to be copyed to)

The files should be in the folder with the sky file so collect all of the mentioned files and copy (do not cut you will want these some day for something else!)
copy them to your mod maps world 1 folder just drop them off there, now rename your original sky file to something else or just deleted it, but I would just rename it incase you ever want it again. Now rename your hoth.sky file to ModID.sky so your pc will use it thinking it's the normal sky file(tricky hu :P )
Ok now your done I think, if it doesn't work just reply to this post with what went wrong!
TY

Re: The sky

Posted: Thu Jun 18, 2009 5:58 pm
by Frog
TY it worked
but since im doing mustafar how to u get the floating sparks onto ur map like in swbf2?

Re: The sky

Posted: Thu Jun 18, 2009 6:32 pm
by AQT
Make an .fx file with the same name as your .sky file in your world1 folder with the following contents in it:
Hidden/Spoiler:
[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);
}

Effect("MotionBlur")
{
Enable(1);
}

Effect("ScopeBlur")
{
Enable(1);
}
Effect("hdr")
{
Enable(1)
}[/code]

Re: The sky

Posted: Sun Jun 21, 2009 5:58 pm
by Frog
my mod id id "Must"
so i would make a file named "Must.fx"?
or "Must.sky"?

Re: The sky

Posted: Sun Jun 21, 2009 6:23 pm
by newguy99
Since Must is you ModID you will see me refer to any of your files as Must in this post
You would copy mustafar's sky ( mustafar.sky ) file and put it in your
"Must\world 1" folder and rename it from mustafar.sky to Must.sky and then import any files that the new Must.sky file needs.
To find the files that your .sky file needs just open the .sky file in notepad! any questions just post :D

Re: The sky

Posted: Mon Jun 22, 2009 7:32 pm
by Frog
Hidden/Spoiler:
SkyInfo()
{
Enable(1);

FogColor(198,12,8);
WorldFogRange(60.0, -155.0);

PS2()
{
NearSceneRange(0.5, 80.0, 110.0);
NearSplitScreenRange(0.5, 90.0, 130.0);
FarSceneRange(2000.000000);
}
XBOX()
{
NearSceneRange(0.5, 200.0, 250.0);
NearSplitScreenRange(0.5, 140.0, 200.0);
FarSceneRange(2000.000000);
}
PC()
{
NearSceneRange(250.0, 350.0, 300.0, 400.0);
FarSceneRange(1800.000000, 2000.0);
}


}

DomeInfo()
{
Filter(0);
Threshold(0);
Intensity(0);

Softness(1);
SoftnessParam(60);
DomeModel()
{
Geometry("mus1_sky_dome");
}
DomeModel()
{
Geometry("mus1_sky_volcano");
Offset(100.0);
MovementScale(0.995);
Effect("mus_sfx_lavaspray_skydome", "hp_lava5", 6.0);
Effect("smoke_billow", "hp_lava2", 1.0);
Effect("mus_sfx_lavaspray_skydome", "hp_lava5", 3.0);
Effect("mus_sfx_lavaspray_skydome", "hp_lava4", 7.0);
Effect("mus_sfx_lavaspray_skydome", "hp_lava5", 3.0);
Effect("mus_sfx_lavaspray_skydome", "hp_lava6", 1.0);
Effect("smoke_billow", "hp_lava7", 0.0);
Effect("smoke_billow", "hp_lava8", 0.0);
Effect("mus_sfx_lavaspray_skydome", "hp_lava9", 6.0);
Effect("mus_sfx_lavaspray_skydome", "hp_lava10", 4.0);
Effect("smoke_billow", "hp_lava11", 0.0);
Effect("mus_sfx_lavaspray_skydome", "hp_lava12", 3.0);
Effect("mus_sfx_lavaspray_skydome", "hp_lava13", 5.0);

}

}

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

Effect("MotionBlur")
{
Enable(1);
}

Effect("ScopeBlur")
{
Enable(1);
}
Effect("hdr")
{
Enable(1)
}
i have that in my Must.sky and i renamed it but still nothing?

Re: The sky

Posted: Tue Jun 23, 2009 8:12 am
by newguy99
"and then import any files that the new Must.sky file needs.
To find the files that your .sky file needs just open the .sky file in notepad"

You must open the .sky file and check to see what other files are needed because the .sky file can't stand on its own as a sky!! It needs the pictures of the sky to put into the world so You need to import the proper .tga and tga.option files to your world 1 folder!!!!!!

Re: The sky

Posted: Wed Jun 24, 2009 7:58 am
by Frog
ok i opened it with notepad and looked at what i needed and imported all th emustafar files into my "modtools/datamust/worlds/must/world1" and renamed the mus1.sky to Must.sky to match my map id. will i need to rename the other sky files from mustafar to my mod id??

Re: The sky

Posted: Wed Jun 24, 2009 12:25 pm
by newguy99
No you will not need to rename the other files because the .sky file points to them by name so if you where to rename them it would break connection with the sky file.
Hope I was able to help answer you question! :D

Re: The sky

Posted: Wed Jun 24, 2009 2:13 pm
by Frog
maybe thats why it didnt work the first time i tryed to do this :?

well now all i need to do is add the lava explosions and i can release mustafar

Posts merged, -Staff

Re: The sky

Posted: Wed Jun 24, 2009 2:47 pm
by AQT
Did you ever get the embers to work? As for the lava explosions, I'm assuming you have the Mustafar assets, in the ODF folder look for a file named mus1_fx_largeexplosion. Open it up and search for the .msh it calls for. Copy and paste the .odf and the .msh to their appropriate folders in your map's data. You must place these lava explosions in Zero Editor.

Re: The sky

Posted: Wed Jun 24, 2009 2:59 pm
by Frog
well when im munging the map and i read the munge log it says its missing all the sky files .req files do i need to add .req files somewhere?

Re: The sky

Posted: Wed Jun 24, 2009 3:20 pm
by newguy99
What .req file is it missing? Does the log tell you?
because all worlds have a .req file when you make them, so unless you deleted it your world 1 .req file should be in your must/worlds/must/ folder.

There could be some other kind of .req file other than the main world file that your missing, but I'm not sure.

Re: The sky

Posted: Wed Jun 24, 2009 3:37 pm
by Frog
Hidden/Spoiler:
Image
as u can see you guys helped me get the sky and every detail right but still no sparks ugh

Re: The sky

Posted: Wed Jun 24, 2009 3:43 pm
by AQT
The picture isn't working but .fx and .sky are two different extensions. Did you even follow what I posted here a few posts up?
AQT wrote:Make an .fx file with the same name as your .sky file in your world1 folder with the following contents in it:
Hidden/Spoiler:
[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);
}

Effect("MotionBlur")
{
Enable(1);
}

Effect("ScopeBlur")
{
Enable(1);
}
Effect("hdr")
{
Enable(1)
}[/code]

Re: The sky

Posted: Wed Jun 24, 2009 3:46 pm
by Frog
yes i reneamed mus1.fx to Must.fx like you told me to

Re: The sky

Posted: Wed Jun 24, 2009 3:47 pm
by AQT
Ok then. Can you post your map's .req file?