Jump to content
Sign in to follow this  
wsieffert

Problem adding missing navaids.

Recommended Posts

I'm using FS Scenery Creator v1.5.5 to add a missing navaid. It works fine as long as I don't check the box "List in Facility Database." When I do check the box, I get the following error: -> NameEntry() 6: container no. 3 not foundThe .bgl files compile anyway. The navaid works, and shows up on the map, but I get the message "Building database for new scenery files" every time I start FS. If I delete the afd file it goes away. How can I get around this, I want the navaid to show up on the map?

Share this post


Link to post
Share on other sites

I think the error means that you haven't setup your project properly. In the project preferences you can set the AFD Area, Region, etc and I guess those are empty know.And it is normal that FS rebuilds its database when a new AFD file is added. So every time when you compile the AFD file, FS will have to rebuild.Arno


Member Netherlands 2000 Scenery Team[a href=http://home.wanadoo.nl/arno.gerretsen]http://home.wanadoo.nl/arno.gerretsen/banner.jpg[/a]

Arno

If the world should blow itself up, the last audible voice would be that of an expert saying it can't be done.

FSDeveloper.com | Former Microsoft FS MVP | Blog

Share this post


Link to post
Share on other sites

In airport setup of directories (folders), there is a slot for AFDFiles. I don't have FSSC loaded so don't know if there is a separate setup slot for AFDFiles.What it sounds like is FSSC is looking for a folder and can't find it. Try opening your preferences (setup) page and see if a separate slot for AFDFiles is available. If so, browse (or Type) your fs2002 AFDFiles location in the slot.

Share this post


Link to post
Share on other sites

Nope, FSSC has no option for the AFD path or so. But as I described above I think the setup of the AFD region etc is not correct (this is in the preferences of the scenery project in FSSC).Arno


Member Netherlands 2000 Scenery Team[a href=http://home.wanadoo.nl/arno.gerretsen]http://home.wanadoo.nl/arno.gerretsen/banner.jpg[/a]

Arno

If the world should blow itself up, the last audible voice would be that of an expert saying it can't be done.

FSDeveloper.com | Former Microsoft FS MVP | Blog

Share this post


Link to post
Share on other sites

I have already filed out all fields under Edit/Scenery Properties, on all tabs. Any other ideas?

Share this post


Link to post
Share on other sites

I know it's normal when something new is added, but it is doing it every time I start FS. It is the AFD file doing it, if I remove it and leave the scenery bgl file it quits doing it.

Share this post


Link to post
Share on other sites

It should only do it once. But when you recompile the scenery in FSSC a new version of the BGL will be there and FS will do it again.Arno


Member Netherlands 2000 Scenery Team[a href=http://home.wanadoo.nl/arno.gerretsen]http://home.wanadoo.nl/arno.gerretsen/banner.jpg[/a]

Arno

If the world should blow itself up, the last audible voice would be that of an expert saying it can't be done.

FSDeveloper.com | Former Microsoft FS MVP | Blog

Share this post


Link to post
Share on other sites

Can you maybe post more of the SCASM code of the AFD then? That should help in finding the problem.Arno


Member Netherlands 2000 Scenery Team[a href=http://home.wanadoo.nl/arno.gerretsen]http://home.wanadoo.nl/arno.gerretsen/banner.jpg[/a]

Arno

If the world should blow itself up, the last audible voice would be that of an expert saying it can't be done.

FSDeveloper.com | Former Microsoft FS MVP | Blog

Share this post


Link to post
Share on other sites

Here is the scasm code it is generating:

; ************************************************************; Scenery compiled by FS Scenery Creator 1.5.5 by Derek Leung; Scenery compiled on 1/14/2003 2:08:20 PM; Scenery created by Jim Chaney; ************************************************************Set( FSVERS 0x800 )AI_Border( N32:14:46.0406 N32:14:36.1594 W091:01:26.8585 W091:01:38.5415 )Header( 1 N32:14:46.0406 N32:14:36.1594 W091:01:26.8585 W091:01:38.5415 )LatRange( N32:14:36.1594 N32:14:46.0406 )Container( NDB 1 )  Navaid( N32:14:41.1000 W091:01:32.7000 22.87 0 0.3440 NDB HIGHALT 0 TV )EndCNameList( 409 )  NameEntry( REGION 0 "North America" )  NameEntry( COUNTRY 0 "United States" )  NameEntry( STATE 0 "Louisiana" )	NameEntry( NDB 1 "SAVRY" )  NameEntry( CITY 0 "Mound" )	NameEntry( AIRPORT 3 "SAVRY NDB" )EndNL

All I'm putting down is an NDB and an antenna object. Everything works except it causes FS to rebuild the scenery db every time I restart FS.

Share this post


Link to post
Share on other sites

Here is one I made with Airport. Airport compiles a separate AFD *.BGL to put in your fs2002scenedbAFDFILESScenery folder.;---------------------------------------------------------------------------; AFD SCASM file - generated by Freeware Version 2.6 Build 157; TESTISLE.SCATuesday, January 14, 2003 - 6:12:05 PM; HomeFile( "TESTISLE_AFD.bgl" );---------------------------------------------------------------------------Set( FSVERS 0x800 ) Header( 1 -45.12500 -44.87500 -45.12500 -44.87500 )AI_BORDER( -45.12500 -44.87500 -45.12500 -44.87500 )Container( APT 1 ) APLocation( -45:0.0 -045:0.0 0.9144 ) ICAO_ID( KTIS ) RwyLoc( -45:0.0 -045:0.0 0.9144 90 -9.4 6562 164 0 10 2 0x60 304.8 ) NavAid( -45.0000000 -44.9879312 0.9144 90 111.900 LOC NONE 2 ITIE ) NavAid( -45.0000000 -45.0095280 0.9144 3 111.900 SLOPE NONE 2 ITIE ) NavAid( -45.0000000 -45.0095280 0.9144 90 111.900 DME NONE 2 ITIE ) NavAid( -45.0000000 -45.0120688 0.9144 270 111.800 LOC NONE 4 ITIW ) NavAid( -45.0000000 -44.9904720 0.9144 3 111.800 SLOPE NONE 4 ITIW ) NavAid( -45.0000000 -44.9904720 0.9144 270 111.800 DME NONE 4 ITIW ) SetupLoc( -44:60.0 -045:0.76225 0.9144 90 1 0 10 ) SetupLoc( -45:0.0 -044:59.23775 0.9144 270 1 0 28 )ENDCContainer( VOR 2 ) NavAid( -45:0.04555 -045:0.0 0.9144 9.39999961853027 109.000 VOR 3 1 TIS ) NavAid( -45:0.04555 -045:0.0 0.9144 9.39999961853027 109.000 DME 3 1 TIS )ENDCContainer( NDB 3 ) NavAid( -44:59.88805 -045:0.04445 0.9144 9.4 0.500 NDB 6 0 TIS )ENDCNamelist( 409 ) NameEntry( REGION 0 "" ) NameEntry( COUNTRY 0 "" ) NameEntry( VOR 2 "Test Island " ) NameEntry( NDB 3 "Test Isle " ) NameEntry( CITY 0 "" ) NameEntry( AIRPORT 1 "" )ENDNL

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...