How can I change the sky in my map? [Solved]
Moderator: Moderators
-
Ridago
How can I change the sky in my map? [Solved]
Can someone help me. I don't know how I can change the sky by my self made Battlefront 2 map. On my map is always the sky from the yavin 4 map. but thats boring.
- DarthD.U.C.K.
- Master of the Force

- Posts: 6027
- Joined: Wed Sep 27, 2006 11:05 am
- Location: Duckburg, Germany
Re: How I can change the sky by selfmade battlefront 2 maps
first: Welcome on Gametoast!
second: you can change it by opening the yourmapid.sky file in the data_yourmapid\worlds\yourmapid\eorld1\ folder with notepad or something else
browse to this section:
the textureline defines which texture the sky uses, the geometryline defines the model of the sky. both should be located in the same folder as the .sky file. if you replace the skytexture with the one from e.g. kashyyyk make shure to change the name of the skydome kashyyyks too because some skytextures have different layouts and therefore need their respective skydomemodel to fit on.
second: you can change it by opening the yourmapid.sky file in the data_yourmapid\worlds\yourmapid\eorld1\ folder with notepad or something else
browse to this section:
Code: Select all
DomeInfo()
{
Texture("sky_yav2");
Angle(-90.000000);
Ambient(255.000000, 255.000000, 255.000000);
Filter(1);
Threshold(150);
Intensity(50);
Softness(1);
SoftnessParam(60);
DomeModel()
{
Geometry("sky_yav2");
}
}
- linksith
- Command Sergeant Major

- Posts: 284
- Joined: Mon Jul 12, 2010 12:19 pm
- Projects :: Waaay too many projects
- xbox live or psn: me has no xbox
- Location: looking for a wifi connection
Re: How I can change the sky by selfmade battlefront 2 maps
Welcome to Gametoast! I think DarthDuck made it rather clear but if you need more help try using the search box at the bottom of the forum page (In case you don't know, "SWBF2 Modding" is a forum but this is a thread). Also at the top of this forum there are some helpful things such as the "FAQ/Everything You Need Thread". I found some interesting things in there.
-
Ridago
Re: How I can change the sky by selfmade battlefront 2 maps
I have still not properly understood what am I now need to copy where and what I need to rename. can someone maybe explain me "step by step" what I must do to change the sky from my map?
thanks for the reply!
thanks for the reply!
- DarthD.U.C.K.
- Master of the Force

- Posts: 6027
- Joined: Wed Sep 27, 2006 11:05 am
- Location: Duckburg, Germany
Re: How I can change the sky by selfmade battlefront 2 maps
the easiest way:
1.choose the sky you want to use, open the .sky file of this world
2. open your world's .sky file
3. copy the DomeInfo section from the world you chose and paste it over the DomeInfo of your worlds .sky file
4. under DomeInfo look for textureferences e.g. Texture("texturename") and modelreferences e.g. Geometry("modelname")
5. copy all the texturename.tga and modelname.msh files from the world you chose to your worlds world1 folder
1.choose the sky you want to use, open the .sky file of this world
2. open your world's .sky file
3. copy the DomeInfo section from the world you chose and paste it over the DomeInfo of your worlds .sky file
4. under DomeInfo look for textureferences e.g. Texture("texturename") and modelreferences e.g. Geometry("modelname")
5. copy all the texturename.tga and modelname.msh files from the world you chose to your worlds world1 folder
-
Ridago
Re: How can I change the sky in my map?
Thank you darthD.U.C.K.! now it works. My map looks much better result. I understand it always better when it is explained to me step by step 
