How do you change the sky in space? (FAQ)

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
genaral_mitch
Jedi
Jedi
Posts: 1056
Joined: Fri Aug 14, 2009 12:32 am

How do you change the sky in space? (FAQ)

Post by genaral_mitch »

I tried the normal way, but it still stayed the same. Anyone know?
User avatar
AceMastermind
Gametoast Staff
Gametoast Staff
Posts: 3284
Joined: Mon Aug 21, 2006 6:23 am
Contact:

Re: How do you change the sky in space?

Post by AceMastermind »

[color=#FF8000]Battlefront II Space LUA Guide[/color] wrote:...
>>ReadDataFile regarding sky files: Most of this work has been done by the development team for the actual shipped product, so you have less to worry about unless you make your own skydome and such. All you have to do is replace "tat" with the three letters that correspond to the planet you want the battle to take place over. "cor" for Coruscant, "hot" for Hoth, etc.

ReadDataFile("SPA\\spa_sky.lvl", "tat")
...
In your ABCc_cmn.lua the above line would look something like this:
ReadDataFile("dc:ABC\\spa_sky.lvl", "tat")

Where ABC is your modID
spa_sky.lvl references the spa_sky.req located in data_ABC\Worlds\ABC\sky which lists tat
tat references the tat.req located in the data_ABC\Worlds\ABC\sky\REQ folder
tat.req references spa_tat.sky located in data_ABC\Worlds\ABC\sky
spa_tat.sky configures everything included in that particular sky

The skydome msh and textures are stored in data_ABC\Worlds\ABC\MSH if you're thinking of making your own.
genaral_mitch
Jedi
Jedi
Posts: 1056
Joined: Fri Aug 14, 2009 12:32 am

Re: How do you change the sky in space?

Post by genaral_mitch »

Which lua is this in? I can't find it.
User avatar
AceMastermind
Gametoast Staff
Gametoast Staff
Posts: 3284
Joined: Mon Aug 21, 2006 6:23 am
Contact:

Re: How do you change the sky in space?

Post by AceMastermind »

genaral_mitch wrote:Which lua is this in?
@#$c_cmn.lua
This is a common (cmn) lua file.
User avatar
Filipinio
Master Sergeant
Master Sergeant
Posts: 178
Joined: Fri Jan 22, 2010 3:29 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: Mygeeto's Bridge Battle's

Re: How do you change the sky in space? (FAQ)

Post by Filipinio »

This was my freinds ( Exacutor94's ) answer:
search this line in your ABCc_cmn lua:
ReadDataFile("dc:ABCspa_sky.lvl", "tat"

change tat to an other 3 letter world like:
cor, mus, myg, uta or an other world.

You can find more under data_ABC/Worlds/ABC/sky/REQ
genaral_mitch
Jedi
Jedi
Posts: 1056
Joined: Fri Aug 14, 2009 12:32 am

Re: How do you change the sky in space? (FAQ)

Post by genaral_mitch »

Filipinio wrote:This was my freinds ( Exacutor94's ) answer:
search this line in your ABCc_cmn lua:
ReadDataFile("dc:ABCspa_sky.lvl", "tat"

change tat to an other 3 letter world like:
cor, mus, myg, uta or an other world.

You can find more under data_ABC/Worlds/ABC/sky/REQ
Thanks, I guess. For anyone who missed AceMastermind's post.
Post Reply