How do you change sky and lighting?

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
obiboba3po
2008 Most Technically Challenging Avatar
Posts: 2376
Joined: Tue Feb 12, 2008 7:46 pm
Projects :: No Mod project currently.
Games I'm Playing :: League of Legends
xbox live or psn: No gamertag set
Location: NJ, USA

How do you change sky and lighting?

Post by obiboba3po »

I couldn't find a tutorial on this, and Im sure there is one, but can someone tell me how to do this? I want it to be a night sky that you can see all the way across the battlefield. How do you do this? Thanks!
User avatar
Silas
Captain
Captain
Posts: 481
Joined: Thu Oct 11, 2007 5:30 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Contact:

Re: How do you change sky and lighting?

Post by Silas »

go into your world1 folder. its under BF2_Modtools/data_***/worlds/***. open it and find the file called ***.SKY. open it using notepad or word and go to the bottom of the file. you'll see stuff about the sky texture. after movign the correct sky tga's from the assets into your world1 folder, change it to what you want. I suggest the Naboo sky for nighttime, but thats just me. i think* this is how you do it, im testing it as I type :lol:

edit: odd. i tested it, and it didnt change. now i is confused. anyone else want to jump in?

2nd edit: hmmm...i got the sky to change...but it went all black. anyone know what the problem might be?
Last edited by Silas on Sun Feb 24, 2008 6:43 pm, edited 1 time in total.
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: How do you change sky and lighting?

Post by Grev »

Lighting is changed in ZE.

Open ze, and open the right layer.
Go to the light box and on the right there will be 2 sets of 3 numbers. Fool around with these 2 get a result. When you are done, go to image, which you can find in ze close to the x to exit, and click on that, burn terrain, munge and voila!
obiboba3po
2008 Most Technically Challenging Avatar
Posts: 2376
Joined: Tue Feb 12, 2008 7:46 pm
Projects :: No Mod project currently.
Games I'm Playing :: League of Legends
xbox live or psn: No gamertag set
Location: NJ, USA

Re: How do you change sky and lighting?

Post by obiboba3po »

Ok thanks Grev!!
OFF TOPIC: How exactly do you add the anakin starfighter thingy? I did the vehicle spawns, called them up in the lua, and added setmemorypoolsize("groundflyer", 10) to my script. What am I missing of doing wrong?
Caleb1117
2008 Most Original Avatar
Posts: 3096
Joined: Sun Aug 20, 2006 5:55 pm
Projects :: No Mod project currently.
xbox live or psn: No gamertag set
Location: X-Fire: caleb1117 ಠ_ಠ

Re: How do you change sky and lighting?

Post by Caleb1117 »

Did you fill in the needed info in the vehicle spawn objects?

I think the sky was black cause you're missing the stars tga.
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: How do you change sky and lighting?

Post by Grev »

wow. You need to add something to the .lua for space vehilces to work? No wonder. What do I add if I want a bunch of tie interceptor and some trifigheters?
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: How do you change sky and lighting?

Post by woner11 »

You cite their odf under the proper side. I have never messed around with the memory pool thing, so I don't knwo why you need that for your fighters. I just cite them, and wala.
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: How do you change sky and lighting?

Post by Grev »

Well, Ill try that. Thanks!
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: How do you change sky and lighting?

Post by elfie »

quote: You cite their odf under the proper side. I have never messed around with the memory pool thing, so I don't knwo why you need that for your fighters. I just cite them, and wala.

Woner is right. You add them just like you would any other vehicle spawn
Post Reply