Jump to content
The simFlight Network Forums

LUA dynamicfriction


Recommended Posts

Hi,

I am experiencing a problem with this File for fsuipc ,

When I add the line

1= LUA dynamicFriction in the FSUIPC.ini nothing happens in FSX , I just reinstalled fsuipc, I do remember it used to add an automatic line

[LuaFiles]

1 = DynamicFriction

But It doesn't appear in my file,

Thanks for your help!

Link to comment
Share on other sites

1= LUA dynamicFriction in the FSUIPC.ini nothing happens in FSX , I just reinstalled fsuipc, I do remember it used to add an automatic line

[LuaFiles]

1 = DynamicFriction

But It doesn't appear in my file,

 

You do NOT add any lines to [LuaFiles]. That section is created automatically by FSUIPC based on the Lua files it finds in the Modules folder. You must NEVER edit it. It is not a user area!

 

If your Modules file contains the Lua program and you want it loading automatically you need an [Auto] section containing 

 

1=Lua DynamicFriction

 

BTW reinstalling FSUIPC does not disturb ANY files you have created or added, it merely updates the DLL and the stuff in the FSUIPC Documents subfolder.

 

Pete

Link to comment
Share on other sites

Actually what I mean here is when I add the line 1= LUA dynamic friction , nothing happens in the ini file ,

Usually fsuipc is supposed to create the following line by itself

[LuaFiles]

1 = DynamicFriction

But I can't see this it when I reopen the ini file.

Link to comment
Share on other sites

Actually what I mean here is when I add the line 1= LUA dynamic friction , nothing happens in the ini file ,

 

In the [Auto] section? Remove the space.You must get the name right. it needs to be 

 

1= LUA DynamicFriction

 

Usually fsuipc is supposed to create the following line by itself

[LuaFiles]

1 = DynamicFriction

 

You misunderstand. It doesn't create that because you add another line saying 1=Lua DynamicFriction. The complete [LuaFiles] section is always made and contains a list of ALL the Lua files in your FSUIPC Modules folder. It is nothing whatsoever with anything else you do, all you have to do is put Lua files into the Modules folder.

 

The lines in there are needed to enable button and axis assignments to Lua programs, they don't affect any Lua commands elsewhere, such as in the [Auto] section. 

 

But I can't see this it when I reopen the ini file.

 

In that case there is no such file in your Modules folder!

 

Pete

Link to comment
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
×
×
  • 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.