Re: [nbos] Space Elevator Scripting
Alan Bartholet
Sun Aug 2nd, 2009
Hello Lazarou,
Glad to hear the script is making your work a little easier and yes
you are correct about the proximity. The Hill sphere is the
approximate gravitational sphere of influence of a smaller body in the
face of gravitational interaction from a larger body. If the
geostationary orbit is outside the bodies Hill sphere it therefore
outside the sphere of gravitational influence and thus cannot actually
be in orbit. Jupiter for example has a Huge hill sphere where all
it's moons are located; all of the moons would have very small Hill
sphere's because of the interaction with Jupiter's massive
gravitational force and the geostationary orbit of said moons actually
falls out site it's Hill sphere and thus are not actually in orbit.

However if you want to ignore this you can comment out the check in
the AstroScript file. by changing this:

ElseIf EditingBody.GetGeostationary() = -1 Then
MsgBox "Geostationary orbit is outside planets hill sphere."
Exit Sub

to this:

'ElseIf EditingBody.GetGeostationary() = -1 Then
' MsgBox "Geostationary orbit is outside planets hill sphere."
' Exit Sub


Best Regards,
Alan Bartholet


On Sun, Aug 2, 2009 at 10:33 AM, Lazarou Monkey
Terror<lazarou.monkey.terror-at-gmail.com> wrote:
> Loving the script, just takes the grunt work out of things! It doesn't
> seem to like making elevators for moons though, even mars sized moons
> of  gas giants. Is this something to do with proximity to the primary?
> I get a "hill sphere" error message so I tried adding a more earthlike
> rotation to the moons but to no avail.
>
> On Wed, Jul 29, 2009 at 12:47 AM, Alan
> Bartholet<alan.bartholet-at-gmail.com> wrote:
>> Hello Lazarou,
>>  Thanks, glad you like it.  If you need anything changed or added to
>> it let me know.
>>
>> Best Regards,
>>   Alan Bartholet
>>
>> On Tue, Jul 28, 2009 at 1:11 PM, Lazarou Monkey
>> Terror<lazarou.monkey.terror-at-gmail.com> wrote:
>>> Wow! That's some impressive stuff you whisked up there! That's great :D :D
>>>
>>> On Mon, Jul 27, 2009 at 1:07 AM, Alan Bartholet<alan.bartholet-at-gmail.com> wrote:
>>>> Hello Lazarou,
>>>>   I've completed the script for you and you can download it from here:
>>>> http://www.nbos.com/nox/index.php?action=1001&id=285
>>>>
>>>> If there is anything else you would like me to add to it let me know.
>>>>
>>>> Best Regards,
>>>>   Alan Bartholet
>>>>
>>>> On Sun, Jul 26, 2009 at 12:27 PM, Lazarou Monkey
>>>> Terror<lazarou.monkey.terror-at-gmail.com> wrote:
>>>>> Well for now I've been using the "megastructure" child for the space
>>>>> elevator and had it at geostationary orbit of the world and mentioning
>>>>> the population of the elevator (could there be a random population
>>>>> generator between 1000-100,000 people perhaps?)
>>>>>  I'd prefer a popup menu as not every planet with a high population
>>>>> has a space elevator (some populations aren't meant to leave their
>>>>> homeplanet ;)!)  and it would also offer me some kind of control over
>>>>> the process. Plus my universe is a whopper so I wouldn't want it
>>>>> populating for days on end!
>>>>>  Would there be a way to randomly pick a surface map from a folder of
>>>>> space elevator pictures? If that's too complex don't worry!
>>>>>
>>>>>  Cheers
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> On Sun, Jul 26, 2009 at 6:27 PM, Alan Bartholet<alan.bartholet-at-gmail.com> wrote:
>>>>>> Hello Lazarou,
>>>>>>   I'll need to get some more information from you on exactly what it
>>>>>> is you want it to do.  Do you want it to put a child space station or
>>>>>> other kind of marker in orbit around each planet or just note it in
>>>>>> the system data tree?  Do you want it to automatically add a space
>>>>>> elevator to all inhabited planets or do you want it to be a right
>>>>>> click popmenu item so you can handle each plant on an individual basis
>>>>>> or both?  Things like that.  Let me know and I'll see what I can come
>>>>>> up with.
>>>>>>
>>>>>> Best Regards,
>>>>>>   Alan Bartholet
>>>>>>
>>>>>> On Sun, Jul 26, 2009 at 10:27 AM, Lazarou Monkey
>>>>>> Terror<lazarou.monkey.terror-at-gmail.com> wrote:
>>>>>>> I didn't get very far sadly! Could you rustle up a quick script, or at
>>>>>>> least something i can play around with?
>>>>>>>
>>>>>>>  Cheers!
>>>>>>>
>>>>>>> On Thu, Mar 26, 2009 at 7:56 PM, Lazarou Monkey
>>>>>>> Terror<lazarou.monkey.terror-at-gmail.com> wrote:
>>>>>>>> Cheers for that, I'll have a dabble when I get a moment and see how far I
>>>>>>>> get! :D
>>>>>>>>
>>>>>>>> On Tue, Mar 24, 2009 at 3:56 PM, Alan Bartholet <alan.bartholet-at-gmail.com>
>>>>>>>> wrote:
>>>>>>>>>
>>>>>>>>> Hello Lazarou,
>>>>>>>>>  What you will want to do is get familiar with VBScript and working
>>>>>>>>> with objects.  There are many tutorials and guides on the net that you
>>>>>>>>> can find, a lot have to do with integrating VBScript into a web page
>>>>>>>>> but there is usually enough information to get a good idea of format
>>>>>>>>> and syntax.  Also, you will want to get to know the AlienAPI
>>>>>>>>> (http://www.nbos.com/support/docs/AlienAPI/), this is what you are
>>>>>>>>> going to use to interact with AstroSynthesis.  NBOS provides some
>>>>>>>>> sample scripts (http://www.nbos.com/nox/index.php?action=1001&id=75),
>>>>>>>>> you can also download other peoples scripts to see what they have
>>>>>>>>> done, and I am willing to help with any questions you might have.
>>>>>>>>>
>>>>>>>>> You can also try asking really really nicely with a cherry on top and
>>>>>>>>> I just might be willing to whip something up for you.
>>>>>>>>>
>>>>>>>>> Best Regards,
>>>>>>>>>   Alan Bartholet
>>>>>>>>>
>>>>>>>>> 2009/3/23 Lazarou Monkey Terror <lazarou.monkey.terror-at-gmail.com>:
>>>>>>>>> > Space elevators are handy things and the map I'm working on has lots of
>>>>>>>>> > them
>>>>>>>>> > but filling in every planet is a chore.
>>>>>>>>> >  I can see that scripts can be written to make AS fill in the blanks
>>>>>>>>> > when
>>>>>>>>> > but I'm not a scripting type person so is there any layman accessible
>>>>>>>>> > resource that can help me?
>>>>>>>>> >
>>>>>>>>> > _______________________________________________
>>>>>>>>> > Nbossoftware mailing list
>>>>>>>>> >
>>>>>>>>> >
>>>>>>>>> >
>>>>>>>>> >
>>>>>>>>> _______________________________________________
>>>>>>>>> Nbossoftware mailing list
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> Nbossoftware mailing list
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>> _______________________________________________
>>>>>> Nbossoftware mailing list
>>>>>>
>>>>>>
>>>>>>
>>>>> _______________________________________________
>>>>> Nbossoftware mailing list
>>>>>
>>>>>
>>>>>
>>>> _______________________________________________
>>>> Nbossoftware mailing list
>>>>
>>>>
>>>>
>>> _______________________________________________
>>> Nbossoftware mailing list
>>>
>>>
>>>
>> _______________________________________________
>> Nbossoftware mailing list
>>
>>
>>
> _______________________________________________
> Nbossoftware mailing list
>
>
>
_______________________________________________
Nbossoftware mailing list


Copyright © 2003-2007, NBOS Software. All rights reserved. 'Fractal Mapper', 'ScreenMonkey', 'Character Sketcher', 'Inspiration Pad', 'Fractal World Explorer', 'Goblin API', 'AstroSynthesis' are trademarks of NBOS Software. 'Dwarven Beserker' art by V. Shane.
Member contributed resources