Tionisla Orbital Graveyard

An area for discussing new ideas and additions to Oolite.

Moderators: winston, another_commander

User avatar
Selezen
---- E L I T E ----
---- E L I T E ----
Posts: 2530
Joined: Tue Mar 29, 2005 9:14 am
Location: Tionisla
Contact:

Post 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).
User avatar
Arexack_Heretic
Dangerous Subversive Element
Dangerous Subversive Element
Posts: 1876
Joined: Tue Jun 07, 2005 7:32 pm
Location: [%H] = Earth surface, Lattitude 52°10'58.19"N, longtitude 4°30'0.25"E.
Contact:

Post 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
Riding the Rocket!
User avatar
aegidian
Master and Commander
Master and Commander
Posts: 1161
Joined: Thu May 20, 2004 10:46 pm
Location: London UK
Contact:

Non-rotating non-system stations

Post 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.
"The planet Rear is scourged by well-intentioned OXZs."

Oolite models and gear? click here!
User avatar
Murgh
---- E L I T E ----
---- E L I T E ----
Posts: 454
Joined: Fri Sep 03, 2004 6:19 am
Location: Terra Firma

Post 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
User avatar
Selezen
---- E L I T E ----
---- E L I T E ----
Posts: 2530
Joined: Tue Mar 29, 2005 9:14 am
Location: Tionisla
Contact:

Post 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:
User avatar
Arexack_Heretic
Dangerous Subversive Element
Dangerous Subversive Element
Posts: 1876
Joined: Tue Jun 07, 2005 7:32 pm
Location: [%H] = Earth surface, Lattitude 52°10'58.19"N, longtitude 4°30'0.25"E.
Contact:

Post by Arexack_Heretic »

Send your material to Rxck for play-testing in the meantime :)
Riding the Rocket!
User avatar
Selezen
---- E L I T E ----
---- E L I T E ----
Posts: 2530
Joined: Tue Mar 29, 2005 9:14 am
Location: Tionisla
Contact:

Re: Non-rotating non-system stations

Post 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?
User avatar
aegidian
Master and Commander
Master and Commander
Posts: 1161
Joined: Thu May 20, 2004 10:46 pm
Location: London UK
Contact:

Re: Non-rotating non-system stations

Post 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?...
"The planet Rear is scourged by well-intentioned OXZs."

Oolite models and gear? click here!
User avatar
Selezen
---- E L I T E ----
---- E L I T E ----
Posts: 2530
Joined: Tue Mar 29, 2005 9:14 am
Location: Tionisla
Contact:

Post 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:
User avatar
Selezen
---- E L I T E ----
---- E L I T E ----
Posts: 2530
Joined: Tue Mar 29, 2005 9:14 am
Location: Tionisla
Contact:

Post 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:
User avatar
Arexack_Heretic
Dangerous Subversive Element
Dangerous Subversive Element
Posts: 1876
Joined: Tue Jun 07, 2005 7:32 pm
Location: [%H] = Earth surface, Lattitude 52°10'58.19"N, longtitude 4°30'0.25"E.
Contact:

Post 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....) ;)
Riding the Rocket!
User avatar
Star Gazer
---- E L I T E ----
---- E L I T E ----
Posts: 633
Joined: Sat Aug 14, 2004 4:55 pm
Location: North Norfolk, UK, (Average Agricultural, Feudal States,Tech Level 8)

Post 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:
Very funny, Scotty, now beam down my clothes...
User avatar
aegidian
Master and Commander
Master and Commander
Posts: 1161
Joined: Thu May 20, 2004 10:46 pm
Location: London UK
Contact:

Post by aegidian »

Selezen, congratulations, and a joyful life for you and your wife.
"The planet Rear is scourged by well-intentioned OXZs."

Oolite models and gear? click here!
User avatar
jonnycuba
Deadly
Deadly
Posts: 233
Joined: Fri May 21, 2004 1:04 pm
Location: Witchspace

Post by jonnycuba »

Congrats.... Have a top honeymoon!
Team Zorg are Go!
User avatar
Selezen
---- E L I T E ----
---- E L I T E ----
Posts: 2530
Joined: Tue Mar 29, 2005 9:14 am
Location: Tionisla
Contact:

Post 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>
Post Reply