tommyh454 Posted December 3, 2019 Report Share Posted December 3, 2019 I'm trying to load a couple of Lua scripts for only certain aircraft profiles. In this case the Flysim Learjet 35A. Apparently I'm missing something and would appreciate someone pointing me in the right direction The 2 scripts work fine if started with just [Auto]. But will not work when loaded with [Auto.Lear35] Fsuipc.ini (parts) ShortAircraftNameOk=Substring UseProfiles=Files ( Modules\Profiles I have Lear35.ini for the profile name. ) [Auto] [Auto.Lear35] 1=Lua Get_Gear_Height 2=Lua Lear35Controls2 [Profile.Lear35] 1=Learjet 35A N925DM 2=Learjet 35A N950SP 3=Learjet 35A N454TH From the FSUIPC log. E:\Prepar3D v4\SimObjects\Airplanes\FLYSIM Learjet 35A\Learjet35A.air The user object is 'Learjet 35A N454TH' FSUIPC5 5.152 Prepar3D v4 4.5.13.32097 Win 10 For reference I using this from the Advance Users guide. Page 39 [Auto.xxxx...] where the xxxx part is the aircraft name, or part-name (as in Aircraft Specific sections), or a profile name when profiles are being used. Thanks for any help. Link to comment Share on other sites More sharing options...
Thomas Richter Posted December 3, 2019 Report Share Posted December 3, 2019 Hi, best is as always to attach your unmodified/ complete FSUIPC5.log and FSUIPC5,ini files to maybe identify already an error. Just copy and paste their content or zip those files and attach them. Thomas Link to comment Share on other sites More sharing options...
John Dowson Posted December 3, 2019 Report Share Posted December 3, 2019 There is also a separate document you should read if you are using profiles in separate files, called (unsurprisingly) Profiles in Separate Files.pdf. I suspect that your problem is that the [Auto] section in your Lear35.ini should just be called [Auto] and not [Auto.Lear35] - the latter is used in your FSUIPC5.ini file when you are using profiles but NOT in separate files. John Link to comment Share on other sites More sharing options...
tommyh454 Posted December 3, 2019 Author Report Share Posted December 3, 2019 Thomas and John Thanks, I will upload the complete logs in a hour or so , as soon as I finish this flight. Link to comment Share on other sites More sharing options...
tommyh454 Posted December 3, 2019 Author Report Share Posted December 3, 2019 Ok here is the FSUIPC log, *ini and Lear35.ini Those two scripts in [Auto.Lear35] will not load. They work fine if called by a button, or if placed in [Auto] Thanks for taking a look at this. FSUIPC5.log FSUIPC5.ini Lear35.ini Link to comment Share on other sites More sharing options...
John Dowson Posted December 3, 2019 Report Share Posted December 3, 2019 As I indicated, your [Auto.Lear35] section in your FSUIPC5.ini file, should be in your Lears5.ini file but as an [Auto] section. John Link to comment Share on other sites More sharing options...
tommyh454 Posted December 3, 2019 Author Report Share Posted December 3, 2019 John Now I understand what you were saying. That works great and all is well in Sim land. Thank you for the help. Link to comment Share on other sites More sharing options...
John Dowson Posted December 3, 2019 Report Share Posted December 3, 2019 No problem. The documentation is not too clear on this - I'll update it for the next release. Happy flying! John Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now