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

Problem with airport heading and makemdl 2002

Messages
130
Country
puertorico
Hello,
The airport I want to create has a heading of 82.790001. However, makemdl rounds it to 82. I then change it to 83 since it is the closest whole number but it of course it ends up not being perfectly aligned with the ground textures.

What can I do?
 
If it were me, I'd rotate it in GMax to the desired heading and export on a heading of 0.00 or 360 if you wanted to use the autogen tweak.

David
 
How do you set the heading in Gmax?:confused:
That would definitely help me.

Rotate Z, or right click on the rotate button and adjust the z settings. It will be in degrees just like the sim. You will still have to fine tune from there but should be close. When you export leave the makemdl heading alone and do all adjustments in gmax.
 
Alternatively, you can tweak the heading contained in the .asm file to any value you want.

The simulator uses pseudodegrees expressed in hexadecimal format, so unfortunately, you can't just type in 82.790001 and expect it to work.

First, take your heading in degrees and divide by 360 and multiply by 65536:

82.79 / 360 * 65536 = 15071

Then convert to a hex value:

15071 = 3ADF

You can use the Windows Calculator to convert the value (from the View menu, choose "Programmer" mode. Type in the decimal value then click the Hex button. The hex value is now displayed)

Change the following line in your .asm:

INSTANCE_CALL OBJECT_0_BEGIN, 0, 0, 0F3CEh

to

INSTANCE_CALL OBJECT_0_BEGIN, 0, 0, 03ADFh

Regards,

Nick

***EDITED because you don't need to find the reciprocal before continuing with the other steps.
 
Last edited:
Hi,

Hex means hexadecimal. If you put the calculator of Windows in scientific mode you can do the conversion with it.
 
Back
Top