Join us at the Oolite Anniversary Party -- London, 7th July 2024, 1pm
More details in this thread.

Question regarding dockables

Discussion and information relevant to creating special missions, new ships, skins etc.

Moderators: winston, another_commander

User avatar
imipak
Above Average
Above Average
Posts: 31
Joined: Sun Sep 25, 2005 9:54 pm
Location: Portland, OR
Contact:

Post by imipak »

Thargoid wrote:
Something big, with a significantly smaller port_radius than it's radius, and a pipeway down into the structure to get within that port_radius.

And I thought I was supposed to be the evil one round here?
:twisted:
Of course, this still runs into a problem. To construct a maze, I will need to be able to construct a non-trivial pipe, with forks. I'd value other people's opinions on this - is the engine going to be able to handle this ok, or will I be better off with having a host of ships inside a shell that makes it look like a single ship with maze?
User avatar
JensAyton
Grand Admiral Emeritus
Grand Admiral Emeritus
Posts: 6657
Joined: Sat Apr 02, 2005 2:43 pm
Location: Sweden
Contact:

Post by JensAyton »

imipak wrote:
Of course, this still runs into a problem. To construct a maze, I will need to be able to construct a non-trivial pipe, with forks.
The engine doesn’t care about topology, but it has limited spacial resolution for collision detection.

Using the debug console, you can visualise this with the command console.debugFlags = console.DEBUG_OCTREE_DRAW (use console.debugFlags = 0 to turn it off).
User avatar
ADCK
---- E L I T E ----
---- E L I T E ----
Posts: 771
Joined: Thu Dec 24, 2009 12:30 am
Location: Sydney
Contact:

Post by ADCK »

Ahruman wrote:
imipak wrote:
Of course, this still runs into a problem. To construct a maze, I will need to be able to construct a non-trivial pipe, with forks.
The engine doesn’t care about topology, but it has limited spacial resolution for collision detection.

Using the debug console, you can visualise this with the command console.debugFlags = console.DEBUG_OCTREE_DRAW (use console.debugFlags = 0 to turn it off).
Can't you also do this by pausing and hitting a certain key (I forget which one) I seem to remember accidentally activating visible collisions boxes with a hot-key.
User avatar
Thargoid
Thargoid
Thargoid
Posts: 5525
Joined: Thu Jun 12, 2008 6:55 pm

Post by Thargoid »

ADCK wrote:
Can't you also do this by pausing and hitting a certain key (I forget which one) I seem to remember accidentally activating visible collisions boxes with a hot-key.
Debug keys courtesy of the wiki.
User avatar
Thargoid
Thargoid
Thargoid
Posts: 5525
Joined: Thu Jun 12, 2008 6:55 pm

Post by Thargoid »

imipak wrote:
Since the slot will be at the dead centre of the maze, the NPCs outside of the scenario will suicide against the outside of the maze-ship. Might be kind of cool-looking. :) Is there a maximum distance over which they will not attempt to dock? If so, I simply set the radius of the maze-ship greater than that, so the NPCs never see the docking port.

It depends on how different-sized ships are handled. I'd like a Worm or other mini-ship to handle any corner, a very lightweight racing ship could handle =most= corners, and a path exists for a Cobra Mk III to reach the center, but it is neither the quickest or the easiest. Larger ships should explode somewhere.

I want this to be absolutely hairy, which means that I don't want ships that can muscle their way through. I want sweat. I want tears. I want to hear the screams of anguished players as they take a corner too fast.
If this were Frontier then it'd be tricky, but don't forget in Oolite the ships can dead-stop and rotate. Hence such navigations get somewhat easier as you can always stop and re-align where needed. So corners are simply fly to the apex, stop, rotate, continue.

And I wouldn't even want to think of the AI that could make NPCs handle such a docking ;)
User avatar
Killer Wolf
---- E L I T E ----
---- E L I T E ----
Posts: 2266
Joined: Tue Jan 02, 2007 12:38 pm

Post by Killer Wolf »

"the AI will need to be souped-up to handle the peculiarities of a maze,"
yeah, good luck w/ that...!
User avatar
JensAyton
Grand Admiral Emeritus
Grand Admiral Emeritus
Posts: 6657
Joined: Sat Apr 02, 2005 2:43 pm
Location: Sweden
Contact:

Post by JensAyton »

ADCK wrote:
Ahruman wrote:
Using the debug console, you can visualise this with the command console.debugFlags = console.DEBUG_OCTREE_DRAW (use console.debugFlags = 0 to turn it off).
Can't you also do this by pausing and hitting a certain key (I forget which one) I seem to remember accidentally activating visible collisions boxes with a hot-key.
I’m not referring to bounding boxes (“X”), which would be useless for this. “D” enables octree rendering, but also lots of other unhelpful stuff, and slows everything down quite a bit.
Last edited by JensAyton on Sat Jun 19, 2010 8:35 pm, edited 1 time in total.
User avatar
Commander McLane
---- E L I T E ----
---- E L I T E ----
Posts: 9520
Joined: Thu Dec 14, 2006 9:08 am
Location: a Hacker Outpost in a moderately remote area
Contact:

Post by Commander McLane »

I don't want to spoil your idea, but let me just re-iterate what Ahruman said a couple of posts above: Oolite's collision detection sucks! :evil:

I had this idea of a maze ever since I had the first look at Killer Wolf's models for the Hacker Outpost and the Salvage Gang, and it is a beautiful and very tempting idea.

LittleBear was well into it in Assassins.oxp, which contains one mission which was originally meant to re-create the destruction of the death star from Return Of The Yedis. The model was well into making, but in the end it didn't work, because you couldn't enter the structure without blowing up.

Cataclysm contains Thargoid Hives, which are positively huge, and have huge entrances to fly in. But if you're only a couple of meters off the dead center (and I am talking about having hundreds of meters of free space around you before there is a wall), you will explode, because the collision detection thinks that you've already collided.

As you want to model a dockable entity, you will have it a little easier. Collision detection is better around docking bays. But still, you may find that the whole thing is simply too fiddly to be worthwhile.
User avatar
DaddyHoggy
Intergalactic Spam Assassin
Intergalactic Spam Assassin
Posts: 8507
Joined: Tue Dec 05, 2006 9:43 pm
Location: Newbury, UK
Contact:

Post by DaddyHoggy »

Cdr M wrote:
Return Of The Yedis
:wink: Did this have a cinematic release?
Selezen wrote:
Apparently I was having a DaddyHoggy moment.
Oolite Life is now revealed here
User avatar
Commander McLane
---- E L I T E ----
---- E L I T E ----
Posts: 9520
Joined: Thu Dec 14, 2006 9:08 am
Location: a Hacker Outpost in a moderately remote area
Contact:

Post by Commander McLane »

DaddyHoggy wrote:
Cdr M wrote:
Return Of The Yedis
:wink: Did this have a cinematic release?
Yes. In multiple cinemas. :P
User avatar
imipak
Above Average
Above Average
Posts: 31
Joined: Sun Sep 25, 2005 9:54 pm
Location: Portland, OR
Contact:

Post by imipak »

Commander McLane wrote:
DaddyHoggy wrote:
Cdr M wrote:
Return Of The Yedis
:wink: Did this have a cinematic release?
Yes. In multiple cinemas. :P
I believe it's the Aramaic version, as there's no J. (See: Last Crusade)
Post Reply