background for maps

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
Elmo
Field Commander
Field Commander
Posts: 962
Joined: Wed Nov 08, 2006 5:13 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

background for maps

Post by Elmo »

Ok, i want to add a background to my map.... the background that is in Naboo Prototype...

How? I know i have to modify my SKY file, but what do i add into the sky file? I have all the neccesary files needed in my world1 folder...

Here is my SKY file:
SkyInfo()
{
Enable(1);
FogColor(85,108,142,128);
PS2()
{
FogRange(0, 0);
NearSceneRange(0.5, 85.0, 100.0);
FarSceneRange(5000.0);
SplitOptions()
{
PropClusterEnable(1);
PropClusterFadeAdj(0.6);
PropClusterDensity(0.1);
}
}
XBOX()
{
FogRange(-200.0, 1300.0);
NearSceneRange(0.5, 85.0, 100.0);
FarSceneRange(3000.0);
NearSplitScreenRange(0.2, 110.0, 160.0);
FarSplitScreenRange(0.0);
SplitOptions()
{
FogRange(5.0, 140.0);
PropClusterEnable(0);
}
}
PC()
{
NearSceneRange(30.0, 160.0, 40.0, 200.0);
FarSceneRange(5000.0, 5000.0);

FarSceneRange(5000.0);
FogRange(-100.0, 600.0);
}

}


DomeInfo()
{
Texture("SKY_Naboo1");
Angle(-90.000000);
Ambient(255.000000, 255.000000, 255.000000);
Filter(1);
Threshold(150);
Intensity(50);

Softness(1);
SoftnessParam(60);

DomeModel()
{
Geometry("naboo1_sky_dome");
}


}
waht do I change to make that Naboo background?
Ace_Azzameen_5
Jedi
Jedi
Posts: 1119
Joined: Sat Apr 23, 2005 8:52 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Post by Ace_Azzameen_5 »

I'm going to assume you mean the sky dome thing and not some background object (like cloud city bes platfroms<not one of those) and just the sky_dome.

The sky dome is like any other msh file, and sorta like a game object but there is no odf, its just called up in the sky file.

There is a .msh and a .tga texture to go with it.

Now, the easiest thing to do would be to get the tga file from naboo prototype and rename it the same as the current sky tga you have now, and replace the current one with it.

Problem is, there are different sky targa files, some are 1024x1024, 1024x512 and some are 512x512, 512 by 256 too. Different sky msh from different maps have different sizes. The defualt yavin one is 512x256.

Anyway, enough of that: Just get the naboo prototype msh and tga, put it in you're world folder, delete the old sky msh and tga, then either
a:rename the prototype msh to what you're old one was
or
b:open you're sky file and change the
DomeModel()
{
Geometry("WHATEVER.msh");
}

}
to the naboo prototype msh files name. whichever.
or you could rename both to match.

Sorry for the extra info but I [strike]just kept typing and couldn't stop[/strike] thought you should grasp the whole concept of setting up skies.

*EDIT*Ahh, no text strike out?
Elmo
Field Commander
Field Commander
Posts: 962
Joined: Wed Nov 08, 2006 5:13 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Post by Elmo »

when i mean the background, i mean the background mountains (like the scenery that you can't get to)
Post Reply