Automobilista 2 Custom Force Feedback - Overview & Recommendations

Discussion in 'Automobilista 2 - General Discussion' started by Karsten Hvidberg, May 30, 2020.

  1. Tiger_Feet

    Tiger_Feet New Member

    Joined:
    Jul 28, 2023
    Messages:
    14
    Likes Received:
    15
    Possibly a daft question...

    Does ABS 'effect' work in all cars or just cars with ABS?
     
  2. Racinglegend1234

    Racinglegend1234 AMS2 wiki founder AMS2 Club Member

    Joined:
    Jul 28, 2022
    Messages:
    5,640
    Likes Received:
    1,955
    I assume it only works on cars with ABS since it probably engages when ABS engages
     
  3. Tiger_Feet

    Tiger_Feet New Member

    Joined:
    Jul 28, 2023
    Messages:
    14
    Likes Received:
    15
    Yea that would make sense.

    I wasnt sure if AMS2 had ABS 'telemetry' or not.

    Thats got me thinking, if it has maybe I can add an effect on my motion rig too. Never thought about that before now.
     
  4. GFoyle

    GFoyle Active Member AMS2 Club Member

    Joined:
    Mar 8, 2023
    Messages:
    596
    Likes Received:
    196
    My poor man's motion rig is strong enough wheelbase that vibrates the whole rig so I do feel those effects clearly on the pedals too. This is a reason I'm hesitant to get a better, more sturdy rig... might damper it too much and make want some separate haptics on the pedals very least.

    not sure does AMS2 telemetry have that or not, but custom ffb does't use telemetry as far as I know, so can't make conclusions of that
     
    • Like Like x 1
  5. Joaquim Pereira

    Joaquim Pereira Well-Known Member

    Joined:
    Dec 31, 2021
    Messages:
    469
    Likes Received:
    437
    Reiza, we need more sliders, please!! :)

    The self alignment is purely from rack forces.

    It makes a difference, but it tops out at 6% of the total forces... try to reduce the 8 in this line:
    Code:
    (pseudo_gyro_force (/ (tanh (* 15 pseudo_gyro_force)) 8))

    Again, reduce the 3.4 in this line:
    Code:
    (delta_load_wt (/ (tanh (* (/ (- FL_load FR_load) f_load_avg))) 3.4))

    Nothing strange happens, Earth still goes it's journey across the Universe :).

    I treated kerbs differently in previous versions, now I don't. Just increase macro_details in this line (ofc, you can go above 1.5, no problem):
    Code:
    (macro_details 1.0)            # bigger suspension details [0-1.5]

    Hi Richard! Just default/neutral settings. With custom files we change things here. With baked FFB from sims, those settings can/should be changed to better suit personal preferences.

    I'm a very simple man, ABS effect is just an ABS effect.:)
    If you want other tyres effect, mess with scrub_scale, line:
    Code:
    (scrub_scale 1.0)            # scrub feeling [0-3]


    AMS2 outputs ABS to shared memory, but custom FFB files don't use that info (that conveys external applications needs). For instance, SimHub uses it.

    Worry not! My Trak Racer TR160 Mk4 also does that!!
    (is important to isolate the rig from the ground to let it sing it's song :))
     
    • Useful Useful x 2
    • Winner Winner x 1
  6. Xzanman

    Xzanman Active Member

    Joined:
    Jun 8, 2023
    Messages:
    258
    Likes Received:
    165
    Can the ABS effect be added to other custom files, if possible and you allowed such a thing how would this be done?
     
    • Agree Agree x 1
  7. Marnus Zwarts

    Marnus Zwarts Boost Creep AMS2 Club Member

    Joined:
    Jan 6, 2021
    Messages:
    233
    Likes Received:
    91
    Thanks for the explanations! Which rack setting will help adjust the self alignment forces?
     
  8. Joaquim Pereira

    Joaquim Pereira Well-Known Member

    Joined:
    Dec 31, 2021
    Messages:
    469
    Likes Received:
    437
    Sure others can use it too. Just find "ABS effect", it's all there.
    It's just a rounded squared sine wave generator that affects output when abs_active variable is true (1). This formulation has used.

    upload_2024-2-3_10-56-24.png


    Are you talking about straight line or oversteer alignment forces?
     
    • Informative Informative x 2
    • Like Like x 1
  9. Marnus Zwarts

    Marnus Zwarts Boost Creep AMS2 Club Member

    Joined:
    Jan 6, 2021
    Messages:
    233
    Likes Received:
    91
    Ingame 75 0 50 0
    wheelbase ffb 35 - 40
    drift off
    fei 80 - 100

    I have a slight disability which affects my muscle exhaustion rate, therefore I use higher effect ratios due to not being able to handle the "standard" amount of force

    I want the wheel to have a bit of a rubber band effect to pull itself back to the centre during normal cornering on the limit (def + has this effect), then it does feel less strenuous for me to not actively pull the wheel back to the centre. With my CSL belt base, the wheel hardly realigns itself back to centre?
    I guess oversteer if I understand correctly?

    PS. I could never go back to def+ after this file. Def+ gives ZERO oversteer feedback
     
    Last edited: Feb 3, 2024
  10. Joaquim Pereira

    Joaquim Pereira Well-Known Member

    Joined:
    Dec 31, 2021
    Messages:
    469
    Likes Received:
    437
    @Marnus Zwarts I don't really have an oversteer effect on FullFFB, per si. I do have a relaxation when rears loose grip - the force component related with yaw (sense of lateral force on the car/body) is reduced (even cancelled) as grip goes down.
     
    • Like Like x 1
  11. Michael Enright

    Michael Enright Well-Known Member AMS2 Club Member

    Joined:
    Jul 3, 2019
    Messages:
    1,156
    Likes Received:
    322
    So just to get my head around this correctly, if I would like to put your ABS effect in a different Custom file, I only have to add these lines in the file;

    (ABS_freq 0.45) # ABS frequency [0.2-1.0]
    (ABS_gain 0.37) # ABS gain [0-1] (0 will disable ABS effect)

    #ABS effect
    (ABS_tex (tanh (* 10 (oscillator ABS_freq))))
    (speed_bias (crossover vel_mag 10 20))
    (rack_coarse_lfb (+ rack_coarse_lfb (* abs_active ABS_tex speed_bias ABS_gain)))

    If so, is there a certain position in the file they should go?
    Doing just that doesn't seem to work for me. Thanks for your time.
     
  12. Kuku

    Kuku Flying Kiwi AMS2 Club Member

    Joined:
    Aug 30, 2020
    Messages:
    1,475
    Likes Received:
    943
    if you are looking to test it with a momentum rack based file ie Karsten rFuktor.

    Then it would need to be tied into a branch of final output.
    Quick Look at ….I would try
    Adding a new command to simplify it ..
    Like
    ( abs_effect rack_coarse_lfb )

    Then adding easy identifiable abs_effect into FX slider controls output line .

    so

    # Effects blend & scale
    #
    (effects (+ engine_effect tear_effect scrub_effect flatspots_effect road_effect abs_effect))
    (effects (* effects (* 2 (power fx 1.6)) master_effects))

    but of course this method would add another scalar via the master fx through fx slider . So may need tuning.

    another way to try would be add
    rack_coarse_lfb

    Into the rack directly
    by adding it into final rack all ..
    # Final Rack & Effects Blending
    #

    (rack_big (spring rack_big 10000 1 1)) 200000
    (all (+ rack_big road_features effects rack_coarse_lfb))

    though this could potentially be violent….
    Try any of this at your own risk …

    I don’t know what will work best without experimentation, and I’m currently away for holidays and so take the above as just thinking out loud , based of a Quick Look over and struggling to make this fluid on a phone ..;)
     
    • Like Like x 1
  13. Joaquim Pereira

    Joaquim Pereira Well-Known Member

    Joined:
    Dec 31, 2021
    Messages:
    469
    Likes Received:
    437
    Just replace the line:
    Code:
    (rack_coarse_lfb (+ rack_coarse_lfb (* abs_active ABS_tex speed_bias ABS_gain)))
    
    with
    
    (abs_effect (* abs_active ABS_tex speed_bias ABS_gain))
    and add abs_effect to the effects line just like @Kuku Maddog says.
    Remember, the file is interpreted sequentially so the abs_effect must be calculated before the effects sum line.
    Also, check if none of the variables are used in any other way (that could break the code).
     
    • Like Like x 1
  14. Michael Enright

    Michael Enright Well-Known Member AMS2 Club Member

    Joined:
    Jul 3, 2019
    Messages:
    1,156
    Likes Received:
    322
    So which do I have to have first?

    # Effects blend & scale
    #
    (effects (+ engine_effect tear_effect scrub_effect flatspots_effect road_effect abs_effect))
    (effects (* effects (* 2 (power fx 1.6)) master_effects))

    or

    #ABS effect
    #

    (ABS_tex (tanh (* 10 (oscillator ABS_freq))))
    (speed_bias (crossover vel_mag 10 20))
    (abs_effect (* abs_active ABS_tex speed_bias ABS_gain))

    And I take it I don't need these two lines either then;

    (ABS_freq 0.4) # ABS frequency [0.2-1.0]
    (ABS_gain 0.4) # ABS gain [0-1] (0 will disable ABS effect)

    This is all foreign to me, but like experimenting. Thanks.

    EDIT:: It works. Nice extra touch. Thankyou @Joaquim Pereira
     
    Last edited: Feb 5, 2024
    • Like Like x 1
  15. Xzanman

    Xzanman Active Member

    Joined:
    Jun 8, 2023
    Messages:
    258
    Likes Received:
    165
    So what method did you use, I have tried a few ways on the rack_force file and can't get it working.
     
  16. Michael Enright

    Michael Enright Well-Known Member AMS2 Club Member

    Joined:
    Jul 3, 2019
    Messages:
    1,156
    Likes Received:
    322
    I added the abs_effect to the effects line, then after that I added the ABS Effect lines. Looks like this;
    ###########################################################
    #
    # Effects blend & scale
    #

    (effects (+ engine_effect tear_effect scrub_effect flatspots_effect road_effect abs_effect))
    (effects (* effects (* 2 (power fx 1.6)) master_effects))

    ###########################################################
    #
    #ABS effect
    #

    (ABS_tex (tanh (* 10 (oscillator ABS_freq))))
    (speed_bias (crossover vel_mag 10 20))
    (abs_effect (* abs_active ABS_tex speed_bias ABS_gain))


    ###########################################################
    Don't know if it was needed or not, but I also put The ABS Gain and Freq lines straight after the (large_offroad_bump_scale line.
     
    • Like Like x 1
  17. Deadfl0w

    Deadfl0w New Member

    Joined:
    Feb 5, 2024
    Messages:
    1
    Likes Received:
    0
    Hey guys, i have a question. I don´t understand how i can check which profile is good for me. i have an Fanatec CS DD (12NM) Base. With the custom ffb from Joaquim Pereira i have weired effects arount -5° to 5° (in the middle position of the wheel). i like the effects from you´re settings but i don´t know how to change this.

    Also i have exact this problem from you´re explanation and don´t know how to change this. [​IMG]
     
  18. Xzanman

    Xzanman Active Member

    Joined:
    Jun 8, 2023
    Messages:
    258
    Likes Received:
    165
    The first part I can't help you with, the second part is a graph showing clipping. You can use the car speciific gain to control this. Lower by about 5 each time until that you get no clipping, that is no red in the far right bar showing during normal on track driving.
     
  19. Joaquim Pereira

    Joaquim Pereira Well-Known Member

    Joined:
    Dec 31, 2021
    Messages:
    469
    Likes Received:
    437
    Well, it works, right? :)
    But the correct order is:
    1. contants definitions first, (ABS_freq 0.4) and (ABS_gain 0.4) lines
    2. abs effects calculations
    3. Effects blend & scale
    It works because the next FFB calculation will have everything it needs, but there is an one cycle delay (I doubt anyone will notice it tho).

    The suggested gain=65 should not need changing, no matter the wheel base you use. It, and a vehicle-specific around 100, should give very little clipping in game's output (what I can call, subjectively, an acceptable clipping amount).
    I don't have the opportunity to test many cars, but is not hard to believe the top tier classes can have some ocillations around the center at high speed, bumpy tracks (I already notice LMDh does that at Mulsanne straight). Further refinements to come, if necessary.
     
  20. Michael Enright

    Michael Enright Well-Known Member AMS2 Club Member

    Joined:
    Jul 3, 2019
    Messages:
    1,156
    Likes Received:
    322
    Great, thank you. I will try it the other way around and see if I can notice any difference. It is quite subtle, as opposed to your file, which is very pronounced. I like very much some aspects of yours over Daniels, but I like some of Daniels over yours. Oh to find the sweet spot, eh? :)
     

Share This Page