Sign in to follow this  
Guest

Alias Statements

Recommended Posts

According to the Aircraft Container SDK the following applies:1. Alias statements allow aircraft to share components with other aircraft. If it made sense, you could have a 747 share a sound file with a Cessna.2. The (General) section in the aircraft.cfg file allows you to make statements that apply to all the variants in that *.cfg file.Now to my question. Even though the SDK does not mention this function, is it possible to place an "alias" statement in the (General) section so that I can avoid placing it in every (fltsim.n) section within an aircraft's *.cfg file. For example, in my AI project I have almost one-hundred 737-400 variants in the same cfg file. I'm trying to avoid putting an "alias" statement in all 100 (fltsim.n) sections by using an "alias" in the (General) section to refer to a sound package (located in another directory) for all 100 variants. Can this be done?Confucious say, "Man who fly upside down have crack up."

Share this post


Link to post
Share on other sites
Help AVSIM continue to serve you!
Please donate today!

Hi!If I recall correctly, you don't need to copy over the General section. You should just have one copy of it and that's it. jd

Share this post


Link to post
Share on other sites

I guess you will just have to try it and let us know.When flightsim loads, it looks at the headers for information, reads the information provided under the header and if appropiate places it in memory for use. If you place inappropiate data under a header, it may ignore it, cause a system crash, or read and place it somewhere in memory.

Share this post


Link to post
Share on other sites

Very well. I'll just try one and see what happens. It sure would save a lot of pasting.Thanks for your response. I appreciate it.Confucious say, "Man who fly upside down have crack up."

Share this post


Link to post
Share on other sites

Yes, I understand the purpose of the (General) section. My question is though can you put an "alias" statement in this section. The SDK does not include the "alias" in the explanation of this section.Thanks for responding.Confucious say, "Man who fly upside down have crack up."

Share this post


Link to post
Share on other sites

>According to the Aircraft Container SDK the following >applies: >>1. Alias statements allow aircraft to share components with >other aircraft. If it made sense, you could have a 747 >share a sound file with a Cessna. >>2. The (General) section in the aircraft.cfg file allows >you to make statements that apply to all the variants in >that *.cfg file. >>Now to my question. Even though the SDK does not mention >this function, is it possible to place an "alias" statement >in the (General) section so that I can avoid placing it in >every (fltsim.n) section within an aircraft's *.cfg file. >For example, in my AI project I have almost one-hundred >737-400 variants in the same cfg file. I'm trying to avoid >putting an "alias" statement in all 100 (fltsim.n) sections >by using an "alias" in the (General) section to refer to a >sound package (located in another directory) for all 100 >variants. Can this be done? >>Confucious say, "Man who fly upside down have crack up." I don't think you can. FS looks for the sound entry in the fltsim.n sections, not the General one. I think so anyway.__________________________________________________________EricList of all airlines, aircraft manufacturers and aircraft types recognised by ATC:http://www.geocities.com/eric_2203/orhttp://ftp.avsim.com/library/esearch.php?D...atID=fs2002misc

Share this post


Link to post
Share on other sites

Thanks Eric. I guess I'll just have to bite the bullet and paste them all in the (fltsim.n) section. Thanks for your response.Confucious say, "Man who fly upside down have crack up."

Share this post


Link to post
Share on other sites

If you want to use the same sound package for all 100 737's, just put the alias statement into the aircraft's SOUND folder (move the default sound folder to SOUND.1). All that should be in the SOUND folder is a sound.cfg file that has in it:{fltsim}alias=C182sound(This would alias the sounds to the Cessna sound package). There should be square brackets around the fltsim entry.Leave all the sound= lines in the aircraft.cfg alone.Hope this helps,-- Tom GibsonCalifornia Classic Propliners: http://www.calclassic.com/Cal Classic Alco Page: http://www.calclassic.com/alco/Freeflight Design Shop: http://www.freeflightdesign.com/ San Diego Model RR Museum: http://www.sdmodelrailroadm.com/Drop by! ___x_x_(")_x_x___

Share this post


Link to post
Share on other sites

Sometimes the simplest solution is the best. Thanks Tom.Confucious say, "Man who fly upside down have crack up."

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