Page 18 of 31

Posted: Mon Jul 18, 2005 3:14 pm
by Selezen
If I knew what a LaGrange point was, I would tell you...

IIRC, could it be the zone of equilibrated gravity between two or more stellar objects?

Anyway, no. It's hard coded to be 200,000m away from Tionisla.

According to Giles, as long as an object has a role of 'station' it should spin. I've tried this, but to no avail. I also can't find out how to change the facing: I had a suspicion that the slot always faces the planet, but this may not be accurate.

The actual code from planetinfo is:

Code: Select all

"checkForShips: dodec", 														{
					conditions = ("shipsFound_number lessthan 2");
					do = ( "addShipsAt: dodec 1 psm 0 0 200500" );
				},
I've tried changing the addShipsAt statement to say 'dodo', 'dodecahedron', 'dodo station', 'dodec station', 'dodo spin_you_git' and so on, but with no luck thus far.

One problem - my running version of Oolite is now about 4 versions behind what you Macaddicts are running. Please remember that any advances since version 1.49 will not run on either Arnoud's or my systems (not sure about Rik).

Posted: Mon Jul 18, 2005 3:27 pm
by Arexack_Heretic
Rxck is up to date with his version. :)

'Dodecahedron station' should work, don't know what could be the problem.
could it be CAPS again maybe?
edit: what stations does Tionisla have natively? shouldnt matter but...
I also assumed a station would spawn with it's dockingside towards the planet....they are always spawned in an equatorial orbit, so this means the port faces sideways and is rotated to face the planet...

Yep, lag-range point means point of equal gravity between (at least) three bodies. (which are mass locked into the same orbital/gravitational system, otherwise the lagrange would not be stable).
Or read this snippet:
French mathematician and astronomer Joseph Louis Lagrange showed that three bodies can lie at the apexes of an equilateral triangle which rotates in its plane. If one of the bodies is sufficiently massive compared with the other two, then the triangular configuration is apparently stable. Such bodies are sometimes referred to as Trojans. The leading apex of the triangle is known as the leading Lagrange point or L4; the trailing apex is the trailing Lagrange point or L5.
www.seasky.org/astronomy/astronomy_glossary.html

An area of gravitational stability created by the interactions of a planet and its satellite. These points are named after Joseph Louis Lagrange, the 18th-century mathematician who first predicted their existence. There are five such regions in the Earth-moon system, referred to as L1 through L5, which make ideal sites for space colonies. [See Map of Space] In the Cosmic Era, the largest clusters of space colonies are located at L4 and L5, which lie along the moon's orbital path, 60 degrees to either side of the moon itself. These regions are more stable than L1, L2, and
http://www.gundamofficial.com/worlds/ce ... _misc.html

A unique point in the plane of two orbiting bodies where a third body experiences no forces and can remain effectively motionless in equilibrium.
http://www.ioncmaste.ca/homepage/resour ... ssary.html

One of five special points in the plane of two massive bodies orbiting one another, where a third body of negligible mass can remain in equilibrium.
astronomy.nju.edu.cn/astron/AT3/GLOSS_L.HTM

In celestial mechanics, the Lagrangian points, (also Lagrange point, L-point, or libration point) are the five stationary solutions of the circular restricted three-body problem. I.e. given two massive bodies in circular orbits around their common center of mass, there are five positions in space where a third body, of negligible mass, could be placed which would then maintain its position relative to the two massive bodies. As seen in a frame of reference which rotates with the same period as t
en.wikipedia.org/wiki/Lagrange_point

Non-rotating non-system stations

Posted: Mon Jul 18, 2005 4:36 pm
by aegidian
I worked out what the problem was here, basically station rotation was only being set when the Universe was being set up, ot when the station is added to the universe.

I'm changing that for v1.53, stations added by scripts will in future rotate properly.

Posted: Mon Jul 18, 2005 5:29 pm
by Murgh
that's encouraging. since Giles isn't objecting to our fears of turning the station, maybe that is too?

I don't fathom the intricacies of Lagrange, just that it seemed to fit L1..
Image

Posted: Mon Jul 18, 2005 8:19 pm
by Selezen
Ooh! Cool! I managed to accidentally get something astronomically right!!

I'm glad that Giles has managed to solve the mystery of the non-rotating station...but I may never get a station to spin unless someone can get V1.53 to convert over to Windoze...

:cry:

Posted: Mon Jul 18, 2005 8:31 pm
by Arexack_Heretic
Send your material to Rxck for play-testing in the meantime :)

Re: Non-rotating non-system stations

Posted: Tue Jul 19, 2005 8:09 am
by Selezen
aegidian wrote:
stations added by scripts will in future rotate properly.
Can you tell me how to change the orientation of the station, or is it set to face the planet?

Re: Non-rotating non-system stations

Posted: Tue Jul 19, 2005 9:08 am
by aegidian
Selezen wrote:
aegidian wrote:
stations added by scripts will in future rotate properly.
Can you tell me how to change the orientation of the station, or is it set to face the planet?
It's not currently possible.

I could add another routine that adds ships at a location facing another location.

:idea: But considering the increasing complexity of this, I think it'd be better to begin to think about setting up ships by setting a spawn position and orientation (and any other spawning characteristics) within the shipdata.plist entry.

This could look like:

Code: Select all

<key>spawn</key><!-- data for when ship is spawned -->
<dict>
<key>position</key><!-- optional, sets the spawn position -->
<string>psm 0 0 200000</string>
<key>facing_position</key><!-- optional, sets the direction faced -->
<string>psm 0 0 0</string>
<key>spawn_actions</key><!-- optional, works like launch_actions -->
<array/><!-- no actions (empty array) for now -->
</dict>
Then we could have a simple "spawnShip: togy_station" in the script that would set it up.

It wouldn't be too hard to write and might simplify scripts somewhat.

Hmm?...

Posted: Tue Jul 19, 2005 11:12 am
by Selezen
That sounds damn good to me...

It would make things so much easier, esp. for the TOGY. We could spawn monuments to face certain directions, and could obviously face the station to the yard.

It would also make the creation of galactic signposts possible!! :lol:

Posted: Mon Jul 25, 2005 9:10 am
by Selezen
Sorry to double post (albeit a week apart), but I just wanted to let you guys know I am not gonna be around for the next week or so.

I'm going on honeymoon!! W00t!!!

<ahem>

So I should be back online next Tuesday. Have fun without me...

Now...to try and convince the wife that it would be a good idea to let me take the laptop... Come on, I need to be able to plot this graveyard layout sometime!!! :wink:

Posted: Mon Jul 25, 2005 12:04 pm
by Arexack_Heretic
Congratulations to you and your blushing bride!

Don't you dare take something as distracting as Oolite onto your honeymoon, you rascal!

Have fun together and we'll hear from you in a while.



(You could take a piece of plottingpaper....) ;)

Posted: Mon Jul 25, 2005 2:34 pm
by Star Gazer
All the very best to you, and your new bride.

I just can't believe you need your laptop... :shock: :lol: :lol: :lol:

Posted: Mon Jul 25, 2005 2:41 pm
by aegidian
Selezen, congratulations, and a joyful life for you and your wife.

Posted: Mon Jul 25, 2005 3:10 pm
by jonnycuba
Congrats.... Have a top honeymoon!

Posted: Mon Jul 25, 2005 4:23 pm
by Selezen
Thanks, everyone! :D

Here's a piccie from the wedding for you all...

No laughing at the vacant dude at the front - concentrate on the pretty lady who was daft enough to marry him!!

http://hughesd.co.uk/annedunsire/content/OurWedding.asp

See you when I get back. I ain't taking the laptop - a swift kick in the squidgy bits has put paid to that idea... :wink:

Mind you, the GameBoy Advance has Elite TNK on it... Hmm...

Right - back to packing.

<really gone now>