Jump to content
Sign in to follow this  
chabrier

Inherent flaw of FSX to give too much ground friction?

Recommended Posts

I finally had a chance to try the sim1.dll over the weekend and I have only one thing to say: Johan, thank you! Admittedly, when I started this thread I had low confidence that the FS community had a fix or would be working on one. After all, FSX is already ~6 years...

 

Thank you Johan (and Pete for the easy distribution).

 

Pierre

Share this post


Link to post
Share on other sites

Pete...I've been doing some experimenting with the ipc.SetFriction calls in Lua (does that now make me a "Luatic?"). I can confirm that dynamic "on-the-fly" changes to the friction settings do indeed work in FSX.

 

Good. That could enable some of the ambitious ideas put forward in this thread come to fruition!

 

I've written a Lua program that restores the rolling friction and braking coefficients to default when groundspeed is above 30 knots...this allows the benefits of the reduced coeffecients during taxi ops (i.e. easier breakaway, low-power taxi, better brake effectiveness during block-in etc), yet minimizes effects to the add-on designer's FDE-driven takeoff and landing performance...a best-of-both-worlds compromise. I'll send you the Lua file.

 

Thanks. I'll add it to the examples in the Lua package.

 

Best Regards

Pete


Win10: 22H2 19045.2728
CPU: 9900KS at 5.5GHz
Memory: 32Gb at 3800 MHz.
GPU:  RTX 24Gb Titan
2 x 2160p projectors at 25Hz onto 200 FOV curved screen

Share this post


Link to post
Share on other sites

Pete...I've been doing some experimenting with the ipc.SetFriction calls in Lua (does that now make me a "Luatic?"). I can confirm that dynamic "on-the-fly" changes to the friction settings do indeed work in FSX.

 

I've written a Lua program that restores the rolling friction and braking coefficients to default when groundspeed is above 30 knots...this allows the benefits of the reduced coeffecients during taxi ops (i.e. easier breakaway, low-power taxi, better brake effectiveness during block-in etc), yet minimizes effects to the add-on designer's FDE-driven takeoff and landing performance...a best-of-both-worlds compromise. I'll send you the Lua file.

 

Cheers

Good. That could enable some of the ambitious ideas put forward in this thread come to fruition!

 

 

 

Thanks. I'll add it to the examples in the Lua package.

 

Best Regards

Pete

 

When these files go up, will we need to change anything in FSUIPC menu or .cfg other than the present PatchSim1friction=Yes?


Anthony Cacciatore

Share this post


Link to post
Share on other sites

When these files go up, will we need to change anything in FSUIPC menu or .cfg other than the present PatchSim1friction=Yes?

 

I think you must be rather confused. Bob's contribution, which is now included in the Lua package I uploaded earlier today, is nothing to do with any menu or CFG or parameter in the FSUIPC INI. It is a more sophisticated version of my original "Frictions.Lua" plugin, which restores the rolling frictions when the aircraft is on the ground and above a certain groundspeed. All you get with the PatchSIM1friction=Yes parameter is the original Johan Dees' patches which were previously provided via the replacement SIM1.DLL.

 

The Lua plug-in method can change the frictions dynamically, whilst you are using the Sim. It will allow all sorts of interesting developments in the future if any of the ideas posted in this thread come to fruition.

 

Regards

Pete


Win10: 22H2 19045.2728
CPU: 9900KS at 5.5GHz
Memory: 32Gb at 3800 MHz.
GPU:  RTX 24Gb Titan
2 x 2160p projectors at 25Hz onto 200 FOV curved screen

Share this post


Link to post
Share on other sites

The Lua plug-in method can change the frictions dynamically, whilst you are using the Sim. It will allow all sorts of interesting developments in the future if any of the ideas posted in this thread come to fruition.

 

Regards

Pete

 

Pete,

 

Does FSUIPC's LUA support using LUAC ?? (dofile ? )

 

It might be an incentive for some Commercial developers to develop sophisticated Lua based addons, knowing they have some protection of their IP.

 

 

luac is the Lua compiler. It translates programs written in the Lua programming language into binary files that can be loaded and executed with lua_dofile in C or with dofile in Lua.

 

The main advantages of precompiling chunks are: faster loading, protecting source code from user changes, protecting source code Intellectual Property, and off-line syntax error detection.

Share this post


Link to post
Share on other sites

Does FSUIPC's LUA support using LUAC ?? (dofile ? )

 

I thought compiled Lua files could be executed by any Lua interpreter? The one built into FSUIPC and WideClient is the standard version 5.1 with additional built-in libraries and some minor changes to a few of the standard library functions so that they don't mess up the process they are running in. Oh, and some debuging features like trace and variable logging.

 

Regards

Pete


Win10: 22H2 19045.2728
CPU: 9900KS at 5.5GHz
Memory: 32Gb at 3800 MHz.
GPU:  RTX 24Gb Titan
2 x 2160p projectors at 25Hz onto 200 FOV curved screen

Share this post


Link to post
Share on other sites

Forgive my ignorance, but to try out Bob's dynamic friction lua script, I simply place that file in the Modules folder within FSX, correct? I do not need to edit the FSUIPC.ini file at all, right?

 

thanks!


Wayne Klockner
United Virtual

BetaTeamB.png

 

Share this post


Link to post
Share on other sites

Hi everyone;

I've been steered over here by folks who are extremely interested in what's being discussed. As an adviser on realism for MSFS going back to the FSX Beta process I can tell you that this exact issue has been a thorn in my realistic side since the beginning. Over time I've discussed the issue with friends who were members of the Aces team and they are aware of my concerns AND the issue.

Reading over this thread it is apparent that the issue is well understood by the people discussing it and having Pete Dawson involved in this is a HUGE plus for the community.

I feel strongly you people might be well into finally solving this problem. I feel the issue is so important it represents perhaps the most important unsolved realism factor in FSX.

Considering I'm NOT a computer guy but rather on the aircraft/aerodynamics end of this equation I've noticed the issue being discussed mainly on takeoffs in MSFS. To expand a bit I've noticed it most on tail wheel aircraft after the tail wheel leaves a runway and the aircraft is on the takeoff run balanced on its 2 main gear. It's also noticable on nose wheel equipped airplanes but in my opinion not as pronounced.

I've described the problem to Microsoft as I saw it at the time during the beta as the aircraft seemingly rotating on a pivot axis in slew as opposed to what I felt I should have been seeing on a takeoff run with rudder input. I was seeing slew from side to side with the nose changing direction with a 0 change in ACTUAL direction. In the real aircraft I SHOULD have been seeing with rudder input a SERPENTINE WEAVE as the aircraft reacted to the applied rudder with the airplane changing DIRECTION. What I was getting was a slewing yaw on a PIVOT.

As some have said, exactly like the aircraft was on ice and hydroplaning in yaw.

Please accept my best wishes to all of you working on this. If the solution is found you will have succeeded in making desktop simulation just that much more realistic and more useful as a tool in real world aviation.

Dudley Henriques

MVP Microsoft FS 2006-2007

  • Upvote 3

Share this post


Link to post
Share on other sites

Great post, Dudley. Pretty interesting thread and an amazing outcome so far. Thanks again to all folks involved. :smile:

Share this post


Link to post
Share on other sites

Wow, Dudley! I've noticed a certain lack of side friction when on the mains of a taildragger, so if this fixes it, it's all to the good. I haven't seen a problem with tricycle gear.

 

Did you have any comments on the rolling friction?

 

Thanks!

 

Hook


Larry Hookins

 

Oh! I have slipped the surly bonds of Earth
And danced the skies on laughter-silvered wings;

Share this post


Link to post
Share on other sites

installed 4859k and it works well--better lateral stabilty on the ground. great job.


i9-10900k @ 5.1GHz 32G XMP-3200 | RTX3090 | 3T m.2 | Win11 | vkb-gf ultimate & pedals | virpil cm3 throttle | 55" 4k UHDTV | HP R-G2 VR | DCS

 

 

 

Share this post


Link to post
Share on other sites

Forgive my ignorance, but to try out Bob's dynamic friction lua script, I simply place that file in the Modules folder within FSX, correct? I do not need to edit the FSUIPC.ini file at all, right?

 

thanks!

 

You'll need to put the DynamicFriction.lua file into the modules folder, and then in FSUIPC4.INI you need to have an "Auto" section to invoke it, something like this:

 

[Auto]
1=Lua DynamicFriction


Bob Scott | President and CEO, AVSIM Inc
ATP Gulfstream II-III-IV-V

System1 (P3Dv5/v4): i9-13900KS @ 6.0GHz, water 2x360mm, ASUS Z790 Hero, 32GB GSkill 7800MHz CAS36, ASUS RTX4090
Samsung 55" JS8500 4K TV@30Hz,
3x 2TB WD SN850X 1x 4TB Crucial P3 M.2 NVME SSD, EVGA 1600T2 PSU, 1.2Gbps internet
Fiber link to Yamaha RX-V467 Home Theater Receiver, Polk/Klipsch 6" bookshelf speakers, Polk 12" subwoofer, 12.9" iPad Pro
PFC yoke/throttle quad/pedals with custom Hall sensor retrofit, Thermaltake View 71 case, Stream Deck XL button box

Sys2 (MSFS/XPlane): i9-10900K @ 5.1GHz, 32GB 3600/15, nVidia RTX4090FE, Alienware AW3821DW 38" 21:9 GSync, EVGA 1000P2
Thrustmaster TCA Boeing Yoke, TCA Airbus Sidestick, 2x TCA Airbus Throttle quads, PFC Cirrus Pedals, Coolermaster HAF932 case

Portable Sys3 (P3Dv4/FSX/DCS): i9-9900K @ 5.0 Ghz, Noctua NH-D15, 32GB 3200/16, EVGA RTX3090, Dell S2417DG 24" GSync
Corsair RM850x PSU, TM TCA Officer Pack, Saitek combat pedals, TM Warthog HOTAS, Coolermaster HAF XB case

Share this post


Link to post
Share on other sites

I just saw that dynamic friction element of yours, Bob. Must have missed it before. :blush: Great idea! Now I was wondering how I could make sure that it's active. Means apart from flying and trying to feel the difference.

Share this post


Link to post
Share on other sites

Forgive my ignorance, but to try out Bob's dynamic friction lua script, I simply place that file in the Modules folder within FSX, correct? I do not need to edit the FSUIPC.ini file at all, right?

 

You'll need to run it, or get it to run automatically. All having a Lua plug-in placed in Modules does for you is ensure it is listed for assignment to button or keypress in the FSUIPC assignments options -- the same as with macros. If you want it loaded automatically then you can either run it FROM your ipcReady.lua, if you are using one, or rename it to ipcReady.lua otherwise. If you want it loaded on an aircraft or profile basis, so you can change some of the friction values, then you use the [Auto ...] facility, which, yes, does mean editing the INI file.

 

Details of how Lua plug-ins are run are provided in the Lua Plug-Ins document, and details of the automatic running of macros and plug-ins via [Auto] are provided in the FSUIPC documentation.

 

Any other questions, please go to my Support Forum.

 

[EDIT]

I see Bob's answered as well, giving you one specific way of running it which will work fine.

 

Regards

Pete


Win10: 22H2 19045.2728
CPU: 9900KS at 5.5GHz
Memory: 32Gb at 3800 MHz.
GPU:  RTX 24Gb Titan
2 x 2160p projectors at 25Hz onto 200 FOV curved screen

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  

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...