Orbiter-Forum  

Go Back   Orbiter-Forum > Orbiter Space Flight Simulator > General Questions & Help
Register Blogs Orbinauts List Social Groups FAQ Projects Mark Forums Read

General Questions & Help General & Advanced Orbiter flight questions, Orbiter installation questions, to all other help topics here.

Reply
 
Thread Tools
Old 02-22-2018, 12:48 PM   #1
Luis J
Orbinaut
Default Landing on the roof

I'm doing several planetary bases. I tried to put a PAD landing on the roof of a building, but that does not work. The ship crosses the PAD and the building and reaches the ground below, in the basement of the building.

I would be very grateful that someone would explain me the way to do it, but I have little knowledge of Orbiter, so it should be a very clear and detailed explanation (I use Orbiter-2016).

Very grateful for your kindness: Luis J. Llorente
Luis J is offline   Reply With Quote
Old 02-22-2018, 01:24 PM   #2
gattispilot
Addon Developer
 
gattispilot's Avatar
Default

I don't think that is possible. Could you post an scenario.
gattispilot is offline   Reply With Quote
Old 02-22-2018, 01:40 PM   #3
PhantomCruiser
Wanderer
 
PhantomCruiser's Avatar

Default

I'm pretty sure I understand what you want to do. And it's possible (sort of). You'd need to make your building a vessel, and have an attachment point on the roof. You'd also need an attachment point on the vessel you're flying.

Fly to the landing pad, activate the attachment manager and when the two are close enough, attach. The vehicle will look as if it's parked on the roof.

hang on... John this should look familiar
https://www.orbithangar.com/searchid.php?ID=4335
PhantomCruiser is offline   Reply With Quote
Thanked by:
Old 02-22-2018, 02:09 PM   #4
gattispilot
Addon Developer
 
gattispilot's Avatar
Default

Yes it is and the Oblivion stuff does that.

What would nice is maybe a pad vessel that as yoi came near then it would auto attach. power up the hovers,.... and then release.

I know there are things like this around.
gattispilot is offline   Reply With Quote
Old 02-22-2018, 02:29 PM   #5
Woo482
Moderator
 
Woo482's Avatar


Default

It's easy enough to do, the AV-88 had support for it before it landed in dev-hell

I might have to take a look at creating a generic solution, once oMMU is done
Woo482 is offline   Reply With Quote
Old 02-23-2018, 08:52 PM   #6
Luis J
Orbinaut
Question Thank you very much

I think I understood. You have to put an "attachment point", but the buildings do not support this property, so you have to design the building as if it were a ship (with mesh), and then put an "attachment point".

The problem is that I do not know what an "attachment point" is. I do not know how it is achieved or how it is introduced in the "Mesh".

It would be great if you could answer these questions.

---------- Post added at 20:52 ---------- Previous post was at 20:48 ----------

You can see examples:

https://www.orbithangar.com/addonpics/SSPLB3.jpg
https://www.orbithangar.com/searchid.php?ID=2099
https://www.orbithangar.com/searchid.php?ID=1046

But I could not contact poop_shooter
Luis J is offline   Reply With Quote
Old 02-23-2018, 10:57 PM   #7
gattispilot
Addon Developer
 
gattispilot's Avatar
Default

Well in a cfg you can add an attachment.

Code:
BEGIN_ATTACHMENT
C 0.0 2.43 -2.65  0 1 0  0 0 1  arm
END_ATTACHMENT
But you need to know the where to attach?

I have seen in the past where it looks above the surface but it really is at the surface.

So what exactly are you trying to do. I might could make an easy dll for it.
gattispilot is offline   Reply With Quote
Old 03-05-2018, 04:47 PM   #8
DanteLed
Orbinaut
Default

Quote:
Originally Posted by Woo482 View Post
 It's easy enough to do, the AV-88 had support for it before it landed in dev-hell
AV-88 Deck landing test. - YouTube
I might have to take a look at creating a generic solution, once oMMU is done
Very neat video. This doesn't seem easy to pull off to me though. I might be wrong.
DanteLed is offline   Reply With Quote
Old 03-12-2018, 05:00 PM   #9
Luis J
Orbinaut
Smile attachment.

Quote:
Originally Posted by gattispilot View Post
 Well in a cfg you can add an attachment.

Code:
BEGIN_ATTACHMENT
C 0.0 2.43 -2.65  0 1 0  0 0 1  arm
END_ATTACHMENT
But you need to know the where to attach?

I have seen in the past where it looks above the surface but it really is at the surface.

So what exactly are you trying to do. I might could make an easy dll for it.
Sorry I did not write you before, but I've been very busy.
I wanted to do two things:
1st Put a lock on the side of a building, so that XR-2 can dock directly in the building itself.
2nd Place a lock in your own ship

Regarding the 1st question you tell me that I can put the code in the "xxx.cfg" of the base:
BEGIN_ATTACHMENT
C 0.0 2.43 -2.65 0 1 0 0 0 1 arm
END_ATTACHMENT
But I would have to know what each one of those numbers means, to adapt them to my base. At least, I've already learned to create meshes (thanks to the tutorials)

Regarding the 2nd question, the thing is simpler: I DO NOT KNOW
I can make the mesh of a ship, but I do not know how it is defined in Orbiter,
and I do not know what other files you need. I think you need a "xxxx.dll",
but I have not found tutorials for that.

If you could help me with all this, I would be very grateful.
Luis J is offline   Reply With Quote
Old 03-12-2018, 05:24 PM   #10
gattispilot
Addon Developer
 
gattispilot's Avatar
Default

Ok. Well on the attachment.
C= parent
0.0 2.43 -2.65 are where the attachment is to be placed

But it sounds like you need 2 things. One a pad that you can attach too and then add an attachment to your vessel.

Well if you can make meshes. Can you make a mesh of your landing pad? Then I can make some code to attach. And adjust the Y value of the touchdown point.
gattispilot is offline   Reply With Quote
Old 03-13-2018, 12:21 PM   #11
Luis J
Orbinaut
Smile Attachment

Thank you very much for answering me, and many more thanks for answering so fast.
Unfortunately you are very brief in your explanations:
We were talking about a file "xxxx.cfg" of the base. suppose a square building in which I want to put a lock, the code would:

BLOCK; Building
POS 10 0 10
SCALE 40 20 40
ROT 0
TEX1 d_ring 1 1; d_ring
TEX2 Fcd11 1 1
TEX3 Roof02 1 1
END

BEGIN_ATTACHMENT
(parent ???) 30.0 2.43 10.0 0 1 0 0 0 1 arm
END_ATTACHMENT

In this code, the coordinates (30.10) point to the front wall of the building
and the coordinate 2.43 (approximately) would be the height of the nose of the ship XR-2
But I still do not know that I should write where it says "parent", and I do not know what the numbers "0 1 0 0 0 0 1 arm" of the code of that line mean.

You are very kind, a hug

---------- Post added at 12:21 ---------- Previous post was at 12:13 ----------

I forgot the other question: How to make a ship.
I do not know anything. I only do the mesh. I think you also need a "xxx.dll" file, but I do not know how it is done. I have not found any tutorials either ....
I think that if you know all this, but I do not want you to do it to me, the most beautiful thing is to entertain oneself in doing it.

Do you know where I can find tutorial to do "xxxx.dll"?

I repeat my gratitude
Luis J is offline   Reply With Quote
Old 03-13-2018, 12:35 PM   #12
Luis J
Orbinaut
Smile continuation

I do not know if I'm explaining myself well. I send you an image

Click image for larger version

Name:	Atraque.jpg
Views:	11
Size:	174.3 KB
ID:	15650
Luis J is offline   Reply With Quote
Old 03-13-2018, 12:46 PM   #13
camelopardis
Donator
Default

Quote:
Originally Posted by Luis J View Post
 Thank you very much for answering me, and many more thanks for answering so fast.
Unfortunately you are very brief in your explanations:
We were talking about a file "xxxx.cfg" of the base. suppose a square building in which I want to put a lock, the code would:

BLOCK; Building
POS 10 0 10
SCALE 40 20 40
ROT 0
TEX1 d_ring 1 1; d_ring
TEX2 Fcd11 1 1
TEX3 Roof02 1 1
END

BEGIN_ATTACHMENT
(parent ???) 30.0 2.43 10.0 0 1 0 0 0 1 arm
END_ATTACHMENT

In this code, the coordinates (30.10) point to the front wall of the building
and the coordinate 2.43 (approximately) would be the height of the nose of the ship XR-2
But I still do not know that I should write where it says "parent", and I do not know what the numbers "0 1 0 0 0 0 1 arm" of the code of that line mean.

You are very kind, a hug

---------- Post added at 12:21 ---------- Previous post was at 12:13 ----------

I forgot the other question: How to make a ship.
I do not know anything. I only do the mesh. I think you also need a "xxx.dll" file, but I do not know how it is done. I have not found any tutorials either ....
I think that if you know all this, but I do not want you to do it to me, the most beautiful thing is to entertain oneself in doing it.

Do you know where I can find tutorial to do "xxxx.dll"?

I repeat my gratitude

Hola Luis!

About creating ships (vessels),

You can do ships in different ways. One of them is creating a vessel dll, but it is not easy. You can also make scripted vessels in the Lua language (which are text files and you don't need a developing environment, just a text editor). Or use any existing contributed vessel addon which lets you define vessels through config scripts.

There is tons of information under the Orbiter\Doc and Orbiter\Orbitersdk\Doc directories. Concretely you could start reading 3DModel.pdf, which describes how to define vessels, and then API_Guide.pdf, which explains the dll part. They are easy to read and well written.

For Lua scripting read the last section in Orbiter/Doc/Orbiter.chm file.

Cheers
camelopardis is offline   Reply With Quote
Old 03-13-2018, 01:01 PM   #14
gattispilot
Addon Developer
 
gattispilot's Avatar
Default

So dock or landing pad?

In this case the parent is the pad and the child the vessel. So the values would be at the top of the pad and then the child at the bottom of the wheels.


Because a landing pad above the surface would use attachment. but a dock uses a dock.

Are talking 2016 or 2010. I can make a landing pad mesh that you can set the Y touchdown. So then as you fly to it. Press a key and if a vessel is near it will attach.

Last edited by gattispilot; 03-13-2018 at 01:05 PM.
gattispilot is offline   Reply With Quote
Reply

  Orbiter-Forum > Orbiter Space Flight Simulator > General Questions & Help


Thread Tools

Posting Rules
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Jump


All times are GMT. The time now is 06:25 PM.

Quick Links Need Help?


About Us | Rules & Guidelines | TOS Policy | Privacy Policy

Orbiter-Forum is hosted at Orbithangar.com
Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
Copyright 2007 - 2017, Orbiter-Forum.com. All rights reserved.