Re: [nbos] Generating habitable/inhabitable systems."Rob Graham" Thu Jun 11th, 2009
>From memory John one of the Bigbang/Fast Bang scripts had something like
this in it.
I'm not certain which.. but your right there was a script that would do it.
----- Original Message -----
From: "John S. Morgan" <johnsmorgan-at-comcast.net>
Sent: Thursday, June 04, 2009 1:35 PM
Subject: Re: [nbos] Generating habitable/inhabitable systems.
> >At 12:05 PM 5/31/2009, you wrote:
>> > I'm trying to figure out the AlienScript API to create a function
>> >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
>>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
>>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")
> I seem to recall seeing a script that did much what you want, but I can't
> remember where I saw it. I'm not familiar with the AlienScript API, but if
> it allows for loops like Visual Basic's DO WHILE, you might be able to
> it continuously create and delete planets until one shows up as Habitable.
> -J. Morgan
> Nbossoftware mailing list
Nbossoftware mailing list