Re: [nbos] Generating habitable/inhabitable systems.NBOS Support Wed Jun 3rd, 2009
At 12:05 PM 5/31/2009, you wrote:
> I'm trying to figure out the AlienScript API to create a function that
>will generate habitable or inhabitable systems on command. I get most of
>it, but I can't figure out how you tell the generator "make this one
When Astro generates a planet, it first generates the planet, and then
determines what its habitability code is based on the planet's
attributes. ie, its not deciding 'make one out of ten planets hospitable',
but rather, its generating planets, and if one of them happens to meet the
qualification, it marks it as habitable/hospitable.
If you want to make a planet with the api, create a planet of the right
size, set its temperature and atmosphere, and mark it as habitable. Or,
select a spot in an existing system and use the 'Create Body - Planet -
Earthlike' option from the pop-up menu in the system data display.
There's also an API function called PlanetEarthLike() which will make a
roughly Earth sized planet w/ an atmosphere similar to ours. BUT, that
still may not end up as habitable if you place it too far or too close to a
star as I believe it still does all the atm calculations to determine
possible atm compositions.
Use it like:
PlanetEarthlike( b, "AstroSynthesis Standard Names.ipt")
Nbossoftware mailing list