small fixes and tweaks
Posted: Fri Apr 20, 2012 8:31 am
if you have perhaps installed "marcels" stationsyou will get (probably) as result the "sealed spaceport" appearing in L.A.[attachment=1165:Bildschirmfoto 2012-04-20 um 14.08.45.png]perhaps you feel that thing is placed wrong hereas a solution to all scripted systems (not randomly generated, i.e. like "sol"), you can enter even a seed (:seed(#)) to any city (spacestation, starport).this will influence size of the city and selection of the spaceport/spacestation.i.e. if you put :seed(2) under "Los Angeles"
Code:
local earth_starports = {CustomSBody:new('Shanghai', 'STARPORT_SURFACE'):latitude(math.deg2rad(31)):longitude(math.deg2rad(-121)),CustomSBody:new('Mexico City', 'STARPORT_SURFACE'):latitude(math.deg2rad(19)):longitude(math.deg2rad(99)),CustomSBody:new('London', 'STARPORT_SURFACE'):latitude(math.deg2rad(51)):longitude(0),CustomSBody:new('Moscow', 'STARPORT_SURFACE'):latitude(math.deg2rad(55)):longitude(math.deg2rad(-37.5)),CustomSBody:new('Brasilia', 'STARPORT_SURFACE'):latitude(math.deg2rad(-15.5)):longitude(math.deg2rad(48)),CustomSBody:new('Los Angeles', 'STARPORT_SURFACE'):seed(2):latitude(math.deg2rad(34)):longitude(math.deg2rad(118)),CustomSBody:new('Gates Spaceport', 'STARPORT_ORBITAL'):semi_major_axis(f(100,100000)):rotation_period(f(1,24*60*3)),
you get this as a result[attachment=1166:Bildschirmfoto 2012-04-20 um 14.10.00.png]looks quite more reasonable, no?like i said this can be done for ANY spaceport or spacestation which isn't rand. generated.e.g. if you like to have a different spacestation, because you feel it's to large or to small, just change resp. enter a seed.since we havn't to much to select from it's easy and you will have a fitting one in between numbers from 0-9 with a very high chance.let's fly to the moon and see what we find here...that's ok
[attachment=1167:Bildschirmfoto 2012-04-20 um 14.27.50.png]but anyway, if you dislike one, just follow that idea.---something different,i still miss the "city" tagging ("_starport", "_power")
but i guess i know why, there is no need for such with only skyscrapers everywhere. boring imho.(instead to have a little more like "hostile", "outdoor", (as a idea), we have less
) :mrgreen:i can live with skyscrapers on a outdoor world, but on a moon or a rocky planet?if it's such hard to seperate hostile from outdoor, then why don't stand to something that looks more or less reasonable on both?screenshot from FFED3D (potsmokes mod
)i feel such will look also good on earth,but on a moon? certainly not! yes they look a bit overaged, but just as comparisonfortunately FFE is able to seperate between hostile and outdoor (somewhat at least)
Code:
local earth_starports = {CustomSBody:new('Shanghai', 'STARPORT_SURFACE'):latitude(math.deg2rad(31)):longitude(math.deg2rad(-121)),CustomSBody:new('Mexico City', 'STARPORT_SURFACE'):latitude(math.deg2rad(19)):longitude(math.deg2rad(99)),CustomSBody:new('London', 'STARPORT_SURFACE'):latitude(math.deg2rad(51)):longitude(0),CustomSBody:new('Moscow', 'STARPORT_SURFACE'):latitude(math.deg2rad(55)):longitude(math.deg2rad(-37.5)),CustomSBody:new('Brasilia', 'STARPORT_SURFACE'):latitude(math.deg2rad(-15.5)):longitude(math.deg2rad(48)),CustomSBody:new('Los Angeles', 'STARPORT_SURFACE'):seed(2):latitude(math.deg2rad(34)):longitude(math.deg2rad(118)),CustomSBody:new('Gates Spaceport', 'STARPORT_ORBITAL'):semi_major_axis(f(100,100000)):rotation_period(f(1,24*60*3)),
you get this as a result[attachment=1166:Bildschirmfoto 2012-04-20 um 14.10.00.png]looks quite more reasonable, no?like i said this can be done for ANY spaceport or spacestation which isn't rand. generated.e.g. if you like to have a different spacestation, because you feel it's to large or to small, just change resp. enter a seed.since we havn't to much to select from it's easy and you will have a fitting one in between numbers from 0-9 with a very high chance.let's fly to the moon and see what we find here...that's ok