crazy idea: artificial planet ring

General discussion for players of Oolite.

Moderators: winston, another_commander

User avatar
ClymAngus
---- E L I T E ----
---- E L I T E ----
Posts: 2514
Joined: Tue Jul 08, 2008 12:31 am
Location: London England
Contact:

Re: crazy idea: artificial planet ring

Post by ClymAngus »

Ok taking the taxi to real street here:

We need a big fat object (rough dimension) kind of domino sizing, slap it in rough orbit see if it causes things to blow up, if not string 2-3 together.

To make this happen someone has to bite the bullet and evolve this up. :D
Switeck
---- E L I T E ----
---- E L I T E ----
Posts: 2411
Joined: Mon May 31, 2010 11:11 pm

Re: crazy idea: artificial planet ring

Post by Switeck »

Biggest ship I know of is the generation ships (OXP)...try spawning them near a planet.
User avatar
Thargoid
Thargoid
Thargoid
Posts: 5528
Joined: Thu Jun 12, 2008 6:55 pm

Re: crazy idea: artificial planet ring

Post by Thargoid »

Ships right near the "surface" of a planet are fine (that's basically how Planetfall works). However ships inside a planet will just go kaboom. So to do this the ship itself would need to be positioned so that it doesn't do that.

But as to whether such a ship could encompass a planet (in terms of collision detection, even if the ring is hollow and no entity actually is sub-surface) is an interesting question. Might have to mock something up as a test perhaps...

Also as noted the sudden appearance/disappearance at range due to how Oolite draws things could be an immersion-breaker...
User avatar
Mauiby de Fug
---- E L I T E ----
---- E L I T E ----
Posts: 847
Joined: Tue Sep 07, 2010 2:23 pm

Re: crazy idea: artificial planet ring

Post by Mauiby de Fug »

I was about to say that the whole thing with subentities not showing up at a distance could surely be dealt with by just using a series of whole ships, carefully placed and probably with a null AI, except it just dawned upon me that it might be a bit tricky trying to place them adjacent to each other without collision detection deciding that they're crashing into each other...
User avatar
Thargoid
Thargoid
Thargoid
Posts: 5528
Joined: Thu Jun 12, 2008 6:55 pm

Re: crazy idea: artificial planet ring

Post by Thargoid »

OK I've got a string of 1km long (and 100m square) entities encircling the main planet working. Each is a separate entity, but the general concept works.

At the moment I'm trying to get them oriented perpendicular to the planet (so they form a ring of sorts) but the code isn't playing ball for some reason. But doing it as a lot of seperate entities works.
User avatar
Thargoid
Thargoid
Thargoid
Posts: 5528
Joined: Thu Jun 12, 2008 6:55 pm

Re: crazy idea: artificial planet ring

Post by Thargoid »

OK, something like this?

Image

That's just with a simple placeholder rectangular plain block. But as it's done with individual elements, if we have a few different ones of the same length and roughly same size but modelled and skinned differently, each ring could be different by letting Oolite pick by role...

This could be a fun idea - but now I'm going to bed.
User avatar
Cody
Sharp Shooter Spam Assassin
Sharp Shooter Spam Assassin
Posts: 16081
Joined: Sat Jul 04, 2009 9:31 pm
Location: The Lizard's Claw
Contact:

Re: crazy idea: artificial planet ring

Post by Cody »

Wow!! The TMA... one step ahead!
I would advise stilts for the quagmires, and camels for the snowy hills
And any survivors, their debts I will certainly pay. There's always a way!
JD
Deadly
Deadly
Posts: 182
Joined: Thu Nov 25, 2010 10:42 pm
Location: London, UK

Re: crazy idea: artificial planet ring

Post by JD »

That already looks absolutely brilliant. Does the entity count not weigh down the game performance?
User avatar
Thargoid
Thargoid
Thargoid
Posts: 5528
Joined: Thu Jun 12, 2008 6:55 pm

Re: crazy idea: artificial planet ring

Post by Thargoid »

That particular example adds 310 entities overall (the number of entities spawned depends on the planetary radius - it always spawns 1000m above the surface). On my Aspire One netbook it doesn't seem to affect it at all, although other peoples mileage may vary.

I'll package things up tonight and let people test it.
User avatar
Eric Walch
Slightly Grand Rear Admiral
Slightly Grand Rear Admiral
Posts: 5536
Joined: Sat Jun 16, 2007 3:48 pm
Location: Netherlands

Re: crazy idea: artificial planet ring

Post by Eric Walch »

And when you want to do this perfect, I assume the ring must be over the planet equator. I think the planet rotates around the vectorUp axis so that should become the axis to align the ring around.
JD wrote:
Does the entity count not weigh down the game performance?
Probably not that much. It helps when the objects are unPiloted because that the collision avoidance code is only fully calculated for piloted objects. And having the same texture for all elements also will help.

When you press shift-F you will see a p- and a c- number. The p- number is the number of object-pairs for which a distance between the objects is calculated on each frame. The c- number is the amount of pairs a more thorough collision avoidance calculation takes place. Om my computer the p- number must raise to over the 10000 for starting to see any effect on performance. It would be interesting to see the effect on this numbers for the ring. :wink:
User avatar
pagroove
---- E L I T E ----
---- E L I T E ----
Posts: 3035
Joined: Wed Feb 21, 2007 11:52 pm
Location: On a famous planet

Re: crazy idea: artificial planet ring

Post by pagroove »

Wow Thargoid Just Wow!. That looks good! Now we need some good background story behind it. It will need a home planet as this will be the 'only' ring in the eight. So it will be well known. Maybe other oxp's can step in also and make some 'hotel stations' All those guests can't be stationed at the surface.

I opt for some texture work If you want. But be free to seek others to.

Do you have further ideas with it? (such as a race track of some sort?). Maybe you can place a start of 'stargate' like rings on the objects so the ships have to fly over it. It is a sort of Ooonianapolis then. But we can also have other ideas like huge solar panels on it.

Anyone has other cool ideas with it?
Last edited by pagroove on Wed Sep 14, 2011 1:53 pm, edited 1 time in total.
For P.A. Groove's music check
https://soundcloud.com/p-a-groove
Famous Planets v 2.7. (for Povray)
Image
https://bb.oolite.space/viewtopic.php?f=4&t=13709
User avatar
Disembodied
Jedi Spam Assassin
Jedi Spam Assassin
Posts: 6885
Joined: Thu Jul 12, 2007 10:54 pm
Location: Carter's Snort

Re: crazy idea: artificial planet ring

Post by Disembodied »

You could always give the backstory a bodyswerve, as it were, and just claim that nobody knows who built it ... if you put it around a human colonial world, it might have just been there when they arrived, all empty and full of potential. Maybe there's an archaeological investigation still ongoing, and rumours of occasional disappearances. It also wouldn't need to be around a top-TL system, either.
User avatar
Cody
Sharp Shooter Spam Assassin
Sharp Shooter Spam Assassin
Posts: 16081
Joined: Sat Jul 04, 2009 9:31 pm
Location: The Lizard's Claw
Contact:

Re: crazy idea: artificial planet ring

Post by Cody »

Disembodied wrote:
You could always give the backstory a bodyswerve, as it were, and just claim that nobody knows who built it
I kinda like that idea, D... hmm.
I would advise stilts for the quagmires, and camels for the snowy hills
And any survivors, their debts I will certainly pay. There's always a way!
User avatar
pagroove
---- E L I T E ----
---- E L I T E ----
Posts: 3035
Joined: Wed Feb 21, 2007 11:52 pm
Location: On a famous planet

Re: crazy idea: artificial planet ring

Post by pagroove »

El Viejo wrote:
Disembodied wrote:
You could always give the backstory a bodyswerve, as it were, and just claim that nobody knows who built it
I kinda like that idea, D... hmm.
Could also be good source material for future missions.
But may I suggest to place the ring around a planet in a galaxy where there are not or not much missions yet?
For P.A. Groove's music check
https://soundcloud.com/p-a-groove
Famous Planets v 2.7. (for Povray)
Image
https://bb.oolite.space/viewtopic.php?f=4&t=13709
User avatar
Disembodied
Jedi Spam Assassin
Jedi Spam Assassin
Posts: 6885
Joined: Thu Jul 12, 2007 10:54 pm
Location: Carter's Snort

Re: crazy idea: artificial planet ring

Post by Disembodied »

pagroove wrote:
Could also be good source material for future missions.
But may I suggest to place the ring around a planet in a galaxy where there are not or not much missions yet?
I'd suggest somewhere early, myself ... Galaxy 1 or 2. You could give new players a sense of what might be out there, and have a range of missions based on the player's level – so there could be a few "deliver some archaeological supplies"-type missions early on and maybe a big "woah momma"-type for players who've gone round the eight.
Post Reply