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

Jedi
User avatar
Posts: 1066
Joined: Fri Aug 14, 2009 12:32 am

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

Postby genaral_mitch » Sat Jan 02, 2010 3:42 pm

I tried the normal way, but it still stayed the same. Anyone know?

Gametoast Staff
Posts: 3471
Joined: Mon Aug 21, 2006 6:23 am

Re: How do you change the sky in space?

Postby AceMastermind » Sat Jan 02, 2010 3:58 pm

Battlefront II Space LUA Guide 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.

Jedi
User avatar
Posts: 1066
Joined: Fri Aug 14, 2009 12:32 am

Re: How do you change the sky in space?

Postby genaral_mitch » Sat Jan 02, 2010 4:04 pm

Which lua is this in? I can't find it.

Gametoast Staff
Posts: 3471
Joined: Mon Aug 21, 2006 6:23 am

Re: How do you change the sky in space?

Postby AceMastermind » Sat Jan 02, 2010 4:08 pm

genaral_mitch wrote:Which lua is this in?

@#$c_cmn.lua
This is a common (cmn) lua file.

Master Sergeant
User avatar
Posts: 178
Joined: Fri Jan 22, 2010 3:29 pm
Location: Mygeeto's Bridge Battle's

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

Postby Filipinio » Tue Feb 09, 2010 3:24 pm

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

Jedi
User avatar
Posts: 1066
Joined: Fri Aug 14, 2009 12:32 am

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

Postby genaral_mitch » Fri Feb 12, 2010 2:57 am

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.

Return to SWBF2 Modding

Who is online

Users browsing this forum: No registered users and 1 guest