Sky Files

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
sawyerdk9

Sky Files

Post by sawyerdk9 »

Well first off, in the Battlefront 1 mod tools you could add background images such as the geonosis mountains (sky_geo_horizin). Is there a right way to do this for a bf2 map since the look of the SKY files are different. What I mean by right is that I can simply copy the sky file from a project in battlefront 1 and paste it in the sky file for battlefront 2 and it will work. I know this because I converted Majins Geonosis: Containment map to swbf2 and everything was fine. This time I tried it, for a new map, and everything works fine, lowresterrain, objects, everything except for my sky. It is white. I'm using the default Yavin sky and have tried a few things but it will not work. Any ideas?



SkyInfo()
{
ObjectVisibility(40.000000, 80.000000, 1600.000000);
FogColor(252, 252, 252);
FogRange(0.000000, 3000.000000);
NearSceneRange(50.0, 250.0, 75.0, 300.0);
FarSceneRange(475.000000, 1000.0);
AmbientColor(120, 101, 76);
TopDirectionalAmbientColor(120, 101, 76);
BottomDirectionalAmbientColor(126, 70, 35);
CharacterAmbientColor(209,156,73);
VehicleAmbientColor(189, 136, 53);
Enable(1559);
FogRamp(3);
}

SunInfo()
{
Angle(140.000005, -10.000011);
Color(120, 120, 120);
Texture("");
Degree(90.000011);
BackAngle(180.000022, 0.000000);
BackColor(128, 128, 128);
BackDegree(0.000000);
}


DomeInfo()
{
Texture("SKY_Geonosis.tga");
Angle(190.000005);
Ambient(128.000038, 128.000038, 128.000038);
Filter(1);
Threshold(150);
Intensity(50);

Softness(1);
SoftnessParam(60);

XBOX()
{
TerrainBumpTexture("geo1_bump", 1.0);
}
PC()
{
TerrainBumpTexture("geo1_bump", 1.0);
}



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

DomeModel()
{
Geometry("geo_sky_arena");
Offset(-20.0);
MovementScale(0.995);
}
DomeModel()
{
Geometry("geo_sky_spire");
Offset(-20.0);
MovementScale(0.995);
}
DomeModel()
{
Geometry("geo_sky_dome_rim");
Offset(10.0);
MovementScale(0.995);
}

LowResTerrain()
{
Texture("GeoC");
PatchResolution(7);
FogNear(300.0);
FogFar(700.0);
FogColor(142,82,38, 128);
DetailTexture("geo1_far_detail");
DetailTextureScale(0.25);
}
}


//Big rep flyer
SkyObject()
{
Geometry("rep_fly_assault_DOME");
NumObjects(2);
Height(125, 175);
VelocityZ(20, 50);
Distance(1500);
InDirectionFactor(2);
}

//Rep fighters
SkyObject()
{
Geometry("rep_fly_gunship_DOME");
NumObjects(80);
Height(12, 50);
VelocityZ(80, 120);
VelocityY(-10, 10);
Distance(600);
InDirectionFactor(0.5);
}

//CIS fighters
SkyObject()
{
Geometry("cis_fly_droidfighter_DOME");
NumObjects(80);
Height(12, 50);
VelocityZ(80, 100);
VelocityY(-10, 10);
Distance(300);
InDirectionFactor(0.5);
}

//CIS rockets
SkyObject()
{
Geometry("cis_fly_techounion_DOME");
NumObjects(8);
Height(0, 0);
VelocityY(10, 12);
Acceleration(0.0, 2.0, 0.0);
Distance(1000);
LifeTime(80.0);
}
Penguin
Jedi Admin
Jedi Admin
Posts: 2541
Joined: Sun Mar 05, 2006 12:00 am
Location: Australia

RE: Sky Files

Post by Penguin »

do yuo have all the textures and mshs in the right folders?
Post Reply