Jump to content
Sign in to follow this  
Guest tunger

Help creating facilities

Recommended Posts

Guest tunger

I'm trying to add back country runways to FS 2004. So far I have succeeded in creating the runways. Now I want to create facilities data so they runways appear on the map. My attempts have failed and I would like some guidance.My procedure is: o Create a table of back country runway information. o Process this was a program I wrote to produce SCASM input files describing the runways. o Compile the SCASM. o Install, fly, and land.To add airport facilities I changed my program to also produces a seperate SCASM input file with definitions of airport facilities. I'll attach a fragment of that below.1. Is SCASM a good choice for this? Is there another tool I should use?2. Can anyone provide me with a sample of the SCASM code needed to describe airport facilities?Thanks,Tom----------------------------; Sample Set (FSVERS 0x800)Header (1 38:35:47.050360 38:00:15.000000 -109:57:22.310599 -110:59:17.148387)LatRange (38:35:47.050360 38:00:15.000000);; BuckHornDraw2;Container (APT 1) APLocation (38:27:6.798561 -110:35:29.723502 1526) RwyLoc (38:27:6.798561 -110:35:29.723502 1526 45 0 1443 65 0 04 1 60 1830)EndCNameList (409) NameEntry ( REGION 0 "United States") NameEntry ( STATE 0 "Utah") NameEntry (AIRPORT 1 "HanksVille:BuckHornDraw2")EndNL

Share this post


Link to post
Share on other sites
Guest luissa

Hi Tom,SCASM only supports AFD format for FS2002. This format in FS2004 is very different. If the airport exists in FS2004 you can edit its AFD data with the new AFCAD2 tool. However you can not create new airports with AFCAD2 at its present state.If are prepared for some hexadecimal editing, then you can open a stock airport with AFCAD2, delete everything and save it. Then open the saved file with an hexadecimal editor and change latitude altitude (this can be done through AFCAD2) and longitude. You have to change the ICAO code (which is in a very strange format). With trial an error, may be you get a good file for data filling with AFCAD2.Regards, Luis

Share this post


Link to post
Share on other sites
Guest tunger

Thanks for that explanation. I can now stop scanning the SCASM docs for the hidden instuction which I need to include to make my facilities work.They are all new airports. I may possibly be able to write a tool to do the hex editing automatically for me. But... this is beginning to look like quite a bit of work just to get the names to show up. But... sure will be more useful for people if they have a way to find the runway.Tom

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