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

NDB

Messages
70
Country
unitedkingdom
Think you have to do it via XML rather than within MSFS. The syntax for doing so is the same as in FSX. <Ndb ...>
 
Messages
179
Country
unitedkingdom
Hi Szpike, Thanks for your prompt return. Could you be a little more specific please. When I created my Farm Strips for FSX I used a programme called FS Architect to place nav aids so the programme did the work. Could you possibly guide me by the hand. Thanks. Neil
 
Messages
70
Country
unitedkingdom
Sure. As long as you know which type the NDB is (H, MH, HH, COMPASS_POINT) this is pretty easy.

At the top level within your XML file, (i.e. immediately below an <FsData> tag) you can add an Ndb tag which looks like the following:

XML:
<Ndb lat="51.520836018025875" lon="-2.591722011566162" alt="0.0F" type="MH" frequency="325.000" magvar="3.4" region="EG" ident="OF" name="BRISTOL FILTON">
  <VisualModel imageComplexity="NORMAL" name="{2fb72c66-290c-4727-b970-da20984cee83}" />
</Ndb>

Obviously, replace the data with the appropriate. The VisualModel which is attached is the default FS2020 render for NDBs.
 
Messages
179
Country
unitedkingdom
Thanks, I've got that but i don't want you to know I'm a bit dense, but what do I do with the xml then. Neil
I couldn't find any refernce in the sdk documentation
 
Messages
70
Country
unitedkingdom
Assuming you've edited the XML in which you're building your scenery, just load it as normal in FS2020 and compile it. It should maintain the Ndb and add it to your scenery.
 
Messages
179
Country
unitedkingdom
Thanks, That's brillant I'll give it a try. One other thing when i place a wall in dev mode, it's easy to alter its position, say sloping it on the terrain but when I return its reurned to its default position, I had exactly the same problem in FSX, i have asked ASOBO but they haven't gor back to me. thanks again. Neil
 
Messages
2
Country
sweden
Hello! My first post here

I’m trying to add older NDBs that are no longer in service. I created a new airport to place it on using the SDK and added an edited version of the code shown above to match my position and freq. I built, exported and installed it. The airport shows up in the VFR map but no NDB. Where can I have gone wrong?

I’m grateful for any help!
Mats
 
Messages
179
Country
unitedkingdom
Look at the reply from Spike above. Make sure you add it at the top LAST when you have finally finished creating your airport, it won't work otherwise.
 
Messages
2
Country
sweden
Thanks neilib. I did that, at least I think I did, this is my first time working sceneries in MSFS and I got just a little bit experience from FSX/P3D. I see I get some errors when I press build package:
Untitled.png


This is my XML:
<?xml version="1.0"?>
<FSData version="9.0">
<Airport country="Sweden" city="Ã…kers Styckebruk" name="Akers Styckebruk NDB" ident="SIB" lat="59.25001877898598" lon="17.09999877748011" alt="43.00005154591054" magvar="5.900000" airportTestRadius="2000.00000000000000" applyFlatten="TRUE" isOnTIN="FALSE">
<TaxiName index="0" name=""/>
<Aprons/>
<PaintedElements/>
<ApronEdgeLights/>
</Airport>
</FSData>
<Ndb lat="59.25" lon="17.10" alt="0.0F" type="MH" frequency="309.500" magvar="3.4" region="ES" ident="SIB" name="AKERS STYCKEBRUK">
<VisualModel imageComplexity="NORMAL" name="{2fb72c66-290c-4727-b970-da20984cee83}" />
</Ndb>
Does this help?
 
Messages
179
Country
unitedkingdom
you may need hyphens between Akers-Styckebruk- this works in mine
<Ndb lat="51.67822693947326" lon="-9.48234360" alt="0.0F" type="COMPASS_POINT" frequency="180.100" range="9260.0M" magvar="3.4" region="EG" ident="EIBN" name="Bantry-Bay-Airfield">
<VisualModel imageComplexity="NORMAL" name="{5eb72c66-290c-4727-b970-da20984cee83}" />
</Ndb> just change a number above for new entries
 
Messages
677
Country
italy
Doesn't the Ndb object have to stay within the tags?

In you example Is outside

Also, in console, you click on each line, in the details section below at the bottom of the console you can gather more info for debugging

Give It a try

Inviato dal mio Mi 9 Lite utilizzando Tapatalk
 
Messages
18
Country
brazil
Hello captains!

Someone managed to create the NDB?

I would like to recreate the old NDB and VORs here in Brazil. I have created many brazilian small airports and some had this NDB or VORs.
 
Messages
18
Country
brazil
Hi, captains!

I tried and nothing goes right. :confused:

Please, take a look at my structure:

1. I edited the file "snar-arp.xml". It is in "...MyFSAirports\SNAR - Almenara - Original\PackageSources\data"
2. Tried this lines:

<?xml version="1.0"?>
<FSData version="9.0">
<FSData>
<Ndb lat="-16.168936" lon="-40.690291" alt="0.0F" type="MH" frequency="1530.000" magvar="23.6" region="South America" ident="AL" name="ALMENARA">
<VisualModel imageComplexity="NORMAL" name="{2fb72c66-290c-4727-b970-da20984cee83}" />
</Ndb>

<!--SceneryObject name: BF_TemplateHouse01-->

Coud you help me?
 
Messages
2
Trying to include NDBs in my scenery packages but also having no luck.

Followed the instructions in the post from szpike above (added NDB tag at top level in the XML file immediately below the <FsData> tag). XML compiles OK but NDB doesn’t appear in the sim.

Any help?

Anyone have any working code they can share?
 

=rk=

Resource contributor
Messages
4,143
Country
us-washington
This NDB works in the scenery it was configured for.

<Ndb lat="10.936249137" lon="114.0989029" alt="3.048M" type="COMPASS_POINT" frequency="0486.00" range="27.0N" magvar="0.3" ident="NDBA" name=""/>

It can be placed anywhere within the <FSData version="9.0"> </FSData> category, but should not be placed within a sub category. It also must be hand written into the XML, ADE will produce errors, I believe.
 
Top