Jump to content
The simFlight Network Forums

Recommended Posts

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

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

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