• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

How to ... Gate alignement ?

Messages
20
Country
thailand
I would like to make an FS9 red/green indicator to ensure proper airplane left/right alignement at the gate.... Wouldl like to do it by writing/tweaking a piece of BGL or Asm code. Any idea how to go about it ? Which OPcode or variable can I use for this purpose ?
All my FS coding knowledge originated from this forum, but have no clue this time on how to proceed for a left right indicator.:confused:
Thanks in advance for any hints.
 
Hi,

Have a look at this article on the Wiki. I tried to explain there how I made my docking systems, so that should give you a starting point.
 
Arno,

Thanks to this article I was able to make an odometer succesfully at each gate. So the content has been digested and put to good use at it's fulliest extend. In this excellent article you describe how to approach distance based through the SEPARATION_PLANE operand and texture fine tuning.
However, the objective of this inquiry is to give a left/right indication (not distance) to align at a 0 degree angle the gate. In your VGDS system article this was achieved by Gmax optical approach. Instead I would like to write some code for a green / right indicator with the same texture fine tuning approach as described in your article.
The question is there an Opcode or variable or suggestion I can use to retrieve my plane's current alignement and as a result display the corresponding texture.
Angle positive:Red/Green, Angle zero:Green-Green or Angle negative: Green/Red texture.
Thanks for any hints.
 
Hi,

After I wrote that article I also made another type of docking system that has lights to indicate if you are on the left or right side. For that I used the SEPARATION_PLANE command as well. So in that case the vector did not point out of the docking system, but along it. Based on the amount of meters you are from the centerline a different texture is shown with an updated display of the docking system.

Could you use this technique on your object as well?
 
Got it !

Arno,
Thanks for your reply ! Of course SEPARATE_PLANE under a different angle is the way to go ! Will start coding. See the end of the tunnel now !
 
Back
Top