Page 1 of 1
How do you change the sky in space? (FAQ)
Posted: Sat Jan 02, 2010 3:42 pm
by genaral_mitch
I tried the normal way, but it still stayed the same. Anyone know?
Re: How do you change the sky in space?
Posted: Sat Jan 02, 2010 3:58 pm
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.
Re: How do you change the sky in space?
Posted: Sat Jan 02, 2010 4:04 pm
by genaral_mitch
Which lua is this in? I can't find it.
Re: How do you change the sky in space?
Posted: Sat Jan 02, 2010 4:08 pm
by AceMastermind
genaral_mitch wrote:Which lua is this in?
@#$c_cmn.lua
This is a common (cmn) lua file.
Re: How do you change the sky in space? (FAQ)
Posted: Tue Feb 09, 2010 3:24 pm
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
Re: How do you change the sky in space? (FAQ)
Posted: Fri Feb 12, 2010 2:57 am
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.