Page 1 of 1
Change planet in space map?
Posted: Wed Jan 07, 2009 4:09 am
by spaceyavin
Hello, how do you change the planet that you can see that you are over when making a space map? I really want to release my Space Alderaan map! Unfortunately, it is currently over Tatooine!
Plz help me!
Topic renamed -Staff
Re: Space over ????
Posted: Wed Jan 07, 2009 12:08 pm
by DarthD.U.C.K.
from the XXX_cmn lua:
Code: Select all
ReadDataFile("dc:HAL\\spa_sky.lvl", "end")
the .sky files are stored in the world\XXX\sky\ folder
Re: Space over ????
Posted: Wed Jan 07, 2009 2:07 pm
by Eggman
I believe the "Getting Started - Space notes" doc explains how to change the sky.
Re: Space over ????
Posted: Thu Jan 08, 2009 12:37 pm
by spaceyavin
Err, no it doesn't.
Re: Space over ????
Posted: Thu Jan 08, 2009 2:24 pm
by Maveritchell
Space map skies are loaded through the .lua, from a separate .lvl file (spa_sky). By default, your space map loads all the stock skies into that level, so you can just look in your cmn .lua and find the line:
Code: Select all
ReadDataFile("SPA\\spa_sky.lvl", end)
As you can see, by default it loads the "end" (Endor) sky (or in your case I suppose it loads the "tat" sky, I guess that's the default for CW space maps). To load a different one, put the three letter mapname of the sky file you want in there. (See your sky folder for the three letter names if you really need to, generally they correspond to the standard three letter map abbreviations).