Sign in to follow this  
chabrier

Inherent flaw of FSX to give too much ground friction?

Recommended Posts

Lower slipping friction means the whole aircraft sliding sideways.

 

And that's exactly what happens, for at least a half second before the pilot starts *slowly* turning the nose to line up with the runway. Can't turn it quickly, you've got passengers to coddle. Visualize an airliner landing with the nose pointing 10 to 15 degrees off the runway.

 

This is all very interesting but must you have a knowledge of Lua, whatever that is? Sounds like something for programming whizz kids!

 

Looks like it will be set up so you only have to fill in some values, same as any other config file. No programming knowledge required. Pete's done a good job with this.

 

Hook

Share this post


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

OK mr stupid questions again.

 

I have registered version FSUIP4.

I want FSUIP4 to inject the new values for me without me having to manually changing sim1.dll

I want these values for ALL planes. not different values for each plane. I am more then happy with current adjusted values of Johann for all planes.

 

So as I understand, then I only need to use FSUIP4 latest (4859j)

 

and I add this entry in ini file.

-under [General] section added the entry

PatchSIM1friction=Yes

 

but delete this one from the ini file - that I initially added (and remove the frictions.lua file - that I initially added)

-under [LuaFiles] section I added entry for friction

20=Frictions ** note 20 is my next available number

 

Sorry for my stupidity, but I try and get my mind around the lua part. (as i understand for my requirements it is not necessary to use the frictions.lua file and its corresponding entries in the ini file, if I want to use the adjusted patch for ALL planes.

 

BUT

if I want to adjust per plane, I use the master "friction.lua" and I create for each plane its own lua file and then that will be linked to key for each

plane, and the "patchsim1friction" entry then become obsolete - you remove that ONE.

Share this post


Link to post
Share on other sites

This is all very interesting but must you have a knowledge of Lua

 

No, not really at all. The lines setting the different friction coefficients are all the same. Just look earlier inthe thread where I posted an example. There are defined words for the type of friction ("class", like WHEEL, SKID, SKI and so on), whether it is sideways ("SLIPPING") or not ("ROLLING"). What the surface is ("TARMAC", "ASPHALT", "SAND", "WATER", etc), and its condition ("DRY", "RAIN" "ICE", "SNOW"). It's just a way of specifying values, thst's all. There's no actual programming involved, unless you want to follow Geoff's suggestions and work on things like real-time Brake Pad wear simulation, Tyre wear simulation, Brake failure simulation, Brake fade at high brake temperatures, and Random ICE patches on Runways in cold weather.

 

Just look at the example. You'll see what I mean. you don't even need to know what the numbers mean (no one does anyway).. They are just values betwen 0 and 1 which govern the degree of whatever it is. Think of 0 as none, and 1 as 100%.

 

Pete

Share this post


Link to post
Share on other sites

Looks like it will be set up so you only have to fill in some values, same as any other config file. No programming knowledge required. Pete's done a good job with this.

Hook

 

I have absolutely no doubt he has done a good job, but where do I mess with it? (or probably, mess it up)

I've inserted the Patchsimdll=1 into the ini file, I think I'd best leave it at that. I only fly light aircraft so will that do me? :unsure:

 

Sorry Pete, I was typing too slowly. Question is, where do I find the file to edit? My head, my head!

Share this post


Link to post
Share on other sites

I have registered version FSUIP4.

I want FSUIP4 to inject the new values for me without me having to manually changing sim1.dll

I want these values for ALL planes. not different values for each plane. I am more then happy with current adjusted values of Johann for all planes.

 

So as I understand, then I only need to use FSUIP4 latest (4859j)

 

and I add this entry in ini file.

-under [General] section added the entry

PatchSIM1friction=Yes

 

Yes. And this will be the same for unregistered users too.

 

but delete this one from the ini file - that I initially added (and remove the frictions.lua file - that I initially added)

-under [LuaFiles] section I added entry for friction

20=Frictions ** note 20 is my next available number

 

It is NEVER necessary to edit that section, but you do not need to delte anything at all. It won't do anything as it is. It takes more, which you've not yet done.

 

if I want to adjust per plane, I use the master "friction.lua" and I create for each plane its own lua file and then that will be linked to key for each

plane, and the "patchsim1friction" entry then become obsolete - you remove that ONE.

 

You need to actively link it to a plane or profile by using the Profiles and then set the approapriately changed Lua file to load for that profile. This'll be second nature to folks already using profiles for other things like buttons and axes, but if you aren't one of those best read up a little first And it isn't necessary to remove the "patchsim1friction" parameter. That would still set those values as default, though they'd be lost as soon as one of the Lua plug-ins with ftictions being set was actually run.

 

Pete

 

I have absolutely no doubt he has done a good job, but where do I mess with it? (or probably, mess it up)

I've inserted the Patchsimdll=1 into the ini file, I think I'd best leave it at that. I only fly light aircraft so will that do me? :unsure:

 

It won't do anything, actually. You have it wrong. It's "patchsim1friction=Yes"

 

Sorry Pete, I was typing too slowly. Question is, where do I find the file to edit? My head, my head!

 

All the FSUIPC files are in the FS Modules folder. Nowhere else. They've always been there. The INI file is the configuration settings file.

 

Pete

Share this post


Link to post
Share on other sites

Yes I did put "patchsim1friction=Yes" in the .ini. I just couldn't remember the correct name offhand.

Share this post


Link to post
Share on other sites

Brake Wear, Tyre Wear Simulation? So finally FSX will be able to simulate the airplane I fly in Real Life :lol:

 

The fact that this has to be done by the user doesn't make me happy, I won't try messing with my Ultra Realistic Airbus addon with something that can make things go bad pretty quickly. I think the best option FSUIPC will enable us is to set it by airplane, so General Aviation Yes, Ultra Realistic 70 dollar Addon, No.

Share this post


Link to post
Share on other sites

Brake Wear, Tyre Wear Simulation? So finally FSX will be able to simulate the airplane I fly in Real Life :lol:

 

The fact that this has to be done by the user doesn't make me happy, I won't try messing with my Ultra Realistic Airbus addon with something that can make things go bad pretty quickly. I think the best option FSUIPC will enable us is to set it by airplane, so General Aviation Yes, Ultra Realistic 70 dollar Addon, No.

 

Any "ultra-realistic" addon has to use the flawed dll, so ground friction will never be realistic no matter how much money you pay.

  • Upvote 1

Share this post


Link to post
Share on other sites

4859j failing

 

System is FSX/Acceleration ( I have p3d on a different system - new fsuipc works fine) - install and add PatchSIM1friction=yes in [general] section. Start FSX - get trusted module request - FSX load fails with error

 

Problem Event Name: APPCRASH

Application Name: fsx.exe

Application Version: 10.0.61637.0

Application Timestamp: 46fadb14

Fault Module Name: FSUIPC4.dll

Fault Module Version: 4.8.5.9

Fault Module Timestamp: 50c070d4

Exception Code: c0000005

Exception Offset: 0001c4b3

OS Version: 6.1.7601.2.1.0.256.48

Locale ID: 1033

 

 

logfile:

 

********* FSUIPC4, Version 4.859j by Pete Dowson *********

Running inside FSX on Windows 7

Module base=68900000

User Name="victor baron"

User Addr="vgbaron@hotmail.com"

FSUIPC4 Key is provided

WideFS7 Key is provided

16 System time = 06/12/2012 17:27:28

16 FLT UNC path = "\\BLAZER\Users\Vic\Documents\Flight Simulator X Files\"

16 Hook Error: can't find .37 in SIM1.dll

16 Hook Error: can't find .37 in VISUALFX.dll

47 Trying to connect to SimConnect Acc/SP2 Oct07 ...

47 FS UNC path = "F:\FSX\"

265 LogOptions=00000000 00000001

Share this post


Link to post
Share on other sites

The fact that this has to be done by the user doesn't make me happy, I won't try messing with my Ultra Realistic Airbus addon with something that can make things go bad pretty quickly. I think the best option FSUIPC will enable us is to set it by airplane, so General Aviation Yes, Ultra Realistic 70 dollar Addon, No.

 

Don't forget that any changes made by FSUIPC are only done at run time, they aren't permanent, and you can undo it as fast as you did it. In fact just change the INI file or Lua whilst FS is running and reload the aircraft (or, actually, load a different one first then back, so it sees the change).

 

Regards

Pete

 

4859j failing

 

 

Please use the Support Forum for support.

 

Pete

Share this post


Link to post
Share on other sites

4859j

logfile:

 

********* FSUIPC4, Version 4.859j by Pete Dowson *********

Running inside FSX on Windows 7

Module base=68900000

User Name="*********"

User Addr="****************"

FSUIPC4 Key is provided

WideFS7 Key is provided

16 System time = 06/12/2012 17:27:28

16 FLT UNC path = "\\BLAZER\Users\Vic\Documents\Flight Simulator X Files\"

16 Hook Error: can't find .37 in SIM1.dll

16 Hook Error: can't find .37 in VISUALFX.dll

47 Trying to connect to SimConnect Acc/SP2 Oct07 ...

47 FS UNC path = "F:\FSX\"

265 LogOptions=00000000 00000001

 

Peter,

 

Does FSUIPC do some patching of VISUALFX.dll as well ?

Share this post


Link to post
Share on other sites

Okay. FSUIPC 4.859j is now available in the Download Links subforum in my Support Forum.

Cannot find it? Could we have a link please.

 

EDIT:

Just found this link

http://fs-mp.com/sim1/

 

works

Share this post


Link to post
Share on other sites

Brilliant work by Pete here - as always working hard to push the bar of realism and fun in our hobby!

 

Keep up the excellent work Pete.

Share this post


Link to post
Share on other sites

Does FSUIPC do some patching of VISUALFX.dll as well ?

 

It hooks specific calls into that DLL and into SIM1 in order to effect the wind smoothing and direct ambient wind control. It has done since way back. There are also other hooks placed in SIM1 for this. ("Hooks" are where the code sequence is diverted through other code (in FSUIPC1) and back again).

 

There were many many more hooks and patches before SimConnect made a lot of stuff more sanitory. ;-)

 

Pete

 

The link for FSUIPC4859j.zip (latest version: j ) is OK at http://fs-mp.com/sim1/

 

Best not to have links to specific versions, only to the right thread in the SubForum. Version 4.859k will replace 4.859j very soon ...

 

You'll find everything also at the Peter Dowson support forums here :

http://forum.simflig...pdated-modules/

 

Better, but still best to go one level up, to Download Links so you find the updated Lua plug-ins package too. It is that which contains the Frictions.lua and the documentation listing the names of all the surfaces etc.

 

Pete

Share this post


Link to post
Share on other sites

Best not to have links to specific versions, only to the right thread in the SubForum. Version 4.859k will replace 4.859j very soon ...

 

Good news. Thanks Pete !

Share this post


Link to post
Share on other sites

Better, but still best to go one level up, to Download Links so you find the updated Lua plug-ins package too. It is that which contains the Frictions.lua and the documentation listing the names of all the surfaces etc

That's Dated 05 May 2011?

 

I've just done a very simple test.

MS 172 full throttle to a point on the runway and then F1 to see how far it rolls, no breaks.

 

With the "fix" the 172 rolls about x2 the distance.

 

But does these mean the NGX auto breaks are going to take x2 longer to bring the aircraft to 40knots?

Share this post


Link to post
Share on other sites

That's Dated 05 May 2011?

 

What is? The Lua plugins ZIP file, posted yesterday? Have you looked at it?It is dated 5th December 2012. It even says so in the ZIP name. Don't you see the Frictions things listed in the changes list just below?

 

Maybe you are confused because I don't post a complete new announcement each time I need only add or amend one line in an existing one. The stupid Forum software doesn't update the date, it only keeps the origination date. I'm surprised you've not noticed this before. The only way around it would be to delete the existing thread and post a completely new one each time, and really I have better things to do, and it's never been a problem in any case.

 

Pete

Share this post


Link to post
Share on other sites

Pete Sorry I did not DL it because I thought the post looked old and could not see a EDIT DATE XXXXX.

Share this post


Link to post
Share on other sites

With respect to crosswind landings, not all airliners should crab the maingear at touchdown. It is all to do with the relative sideloading that the undercarriage can withstand. Only the really big boys can play at crabbing the mains on touchdown and even then, you will often see the decrab occur before touchdown to reduce the sideways loading on the gear. Not a good idea to crab a 737/A320 or smaller right onto the runway. A small degree of crab may be necessary in particularly heavy wind conditions, as illiustrated by the video below...

 

There are some great YT videos illustrating this, particularly during Storm Andrea on Germany (look for a ca. 10 minute video of landings at Düsseldorf Airport...)

 

A

Share this post


Link to post
Share on other sites

I've replaced 4.859j with 4.859k which computes the correct table address in process memory in a different way. I'm hoping this fixes the problem reported earlier by Vic Baron. It also now logs the address used and the success or otherwise of the friction setup.

 

Regards

Pete

Share this post


Link to post
Share on other sites

True, we certainly don't want to land our GA Airplanes with a Crab Angle. But at touchdown with default friction the plane will travel sideways with the wind, almost impossible to hold the centerline with rudder, so this friction makes things more controllable

Share this post


Link to post
Share on other sites

With respect to crosswind landings, not all airliners should crab the maingear at touchdown. It is all to do with the relative sideloading that the undercarriage can withstand. Only the really big boys can play at crabbing the mains on touchdown and even then, you will often see the decrab occur before touchdown to reduce the sideways loading on the gear. Not a good idea to crab a 737/A320 or smaller right onto the runway. A small degree of crab may be necessary in particularly heavy wind conditions, as illiustrated by the video below...

 

There are some great YT videos illustrating this, particularly during Storm Andrea on Germany (look for a ca. 10 minute video of landings at Düsseldorf Airport...)

 

A

 

I guess in no plane its good to land and skid the tires over the asphalt due to crossind.

As soon as the rubber hits the ground, on dry surface, you have grip. If the pilot keeps on crabbing then you slide, and it will be a coslty operation to replace the

tires.

 

Thats why all planes at landing should right just before touchdown decrab and center with the runway centerline.

 

On a wet or icy/snow runway you can keep the crab untill touchdown and straight with rudder then to the centerline.

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