Jump to content
The simFlight Network Forums

Recommended Posts

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.

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.