• 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.

Docking System and ASM

Messages
178
Country
germany
Maybe someone can see what's wrong?

One week I tried to make my own Docking Guide System. The Heading for parking Aircraft should be 151°.

The left and right directions are working fine, no problems with them. But everything with distance doesn't work. If I do not use a seperation plane and only one Draw, I get

DRAW_TRI_BEGIN 6, 4
DRAW_TRI 0, 3, 1 ; poly=6 part=5
DRAW_TRI 3, 0, 2 ; poly=5 part=5
DRAW_TRI_END

shows the correct WAIT.

DRAW_TRI_BEGIN 10, 4
Shows Stop.

But with the Seperation_Plane nothing is shown, only a hole in the model.
I compared with the Safedock-Tool and also checked a model made with this. It works, only my own model didn't work. I found only one difference in the code, this was MATERIAL 1,2, in my model it is MATERIAL 0,2.

ADGSX_AC_4 label BGLCODE
MATERIAL 0,2 ; <255,255,255,255> ADGS_MSG.BMP;;;
BGL_ZBIAS 1
; wait
SEPARATION_PLANE me00, -15886, 0, 28660, (40+40)*32767
DRAW_TRI_BEGIN 6, 4
DRAW_TRI 0, 3, 1 ; poly=6 part=5
DRAW_TRI 3, 0, 2 ; poly=5 part=5
DRAW_TRI_END
BGL_JUMP_32 meend
me00 label word
;Stop
SEPARATION_PLANE me01, -15886, 0, 28660, (40-1)*32767
DRAW_TRI_BEGIN 10, 4
DRAW_TRI 0, 3, 1 ; poly=6 part=5
DRAW_TRI 3, 0, 2 ; poly=5 part=5
DRAW_TRI_END
BGL_JUMP_32 meend
me01 label word
meend label word
BGL_ZBIAS 0
BGL_RETURN

Any ideas? Thank you
 
Messages
178
Country
germany
I'm so supid, forget this:

; NonAlpha
ADGSX_NonAlpha label BGLCODE
if 500 ge 1
IFIN1 notvisible, 033Bh, 0, 500
endif
BGL_CALL_32 ADGSX_MasterScale_1 ; Node 1 - MasterScale
if 500 ge 1
notvisible label word
endif
BGL_END
BGL_RETURN

Now it works fine
 
Top