Automobilista 2 Custom Force Feedback - Overview & Recommendations

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

  1. Michael Enright

    Michael Enright Well-Known Member AMS2 Club Member

    Joined:
    Jul 3, 2019
    Messages:
    1,274
    Likes Received:
    351
    I just tried it again, back to back, and now I am leaning back toward
    (center_full (blend (min 1.00 (* lfb_slider 9.0)) 0.6 0.3)
    This is a very weird thing. Each time I play, it can feel slightly different. Just keep experimenting I guess.
     
    • Like Like x 2
    • Agree Agree x 1
  2. Dean Ogurek

    Dean Ogurek "Love the Simulation You're Dreaming In." AMS2 Club Member

    Joined:
    Mar 9, 2016
    Messages:
    1,644
    Likes Received:
    739
    @Karsten Hvidberg
    Nice work on your latest version release.;)

    One thing I would like to try is to delay the Tear effect to the point where the steer tires are at greater slip- angle. From my RL experience, such effect does not occur until the tires are really being pushed hard, just exceeding optimal grip in the cornering phase.

    As it is now, the tear effect occurs a bit too early, imo.

    I'm willing to experiment with this but, just not sure what parameters would have the desired effect.
     
    • Like Like x 2
    • Informative Informative x 1
  3. Karsten Hvidberg

    Karsten Hvidberg Well-Known Member

    Joined:
    Feb 27, 2020
    Messages:
    1,255
    Likes Received:
    1,647

    Away from comp, but it's named something "tear offset", the higher the later.
    Also "scrub offset" is there.
     
    • Useful Useful x 1
  4. Manolo

    Manolo Member

    Joined:
    Sep 28, 2021
    Messages:
    83
    Likes Received:
    57
    Yes tear_threshold and scrub_threshold, you can modify already now when start the effect ;)
     
    • Like Like x 3
  5. hotak

    hotak New Member AMS2 Club Member

    Joined:
    Dec 23, 2016
    Messages:
    12
    Likes Received:
    9
    I tried to post in the other FFB thread, but could anyone update me on the various bugs/known issues for custom FFB? I want to make a pure rack FFB file for my simucube2, with only the steering limit bumpstops as additional effect. I already made one for PpCars2, but directly porting it to AMS2 results in very strong FFB with bad oscillation issues. It used inverted My and Mx forces as suggested in christiaan's pure FFB for pCars2, is this still valid? Can i find a documentation about the various variables and operations somewhere?
     
  6. Danielkart

    Danielkart Well-Known Member

    Joined:
    Jun 25, 2021
    Messages:
    1,448
    Likes Received:
    1,475
    I assume that you are traveling with motion because you only want to simulate the steering axles? That's going to be difficult
     
  7. TomP

    TomP Active Member

    Joined:
    Jul 5, 2020
    Messages:
    70
    Likes Received:
    137
    @hotak Try default file generated by the game. From description it "gives you raw & unaltered force as integrated by physics engine acting on steering rack of the vehicle physical model" .

    Here you have default file with modified bumpstop.
     

    Attached Files:

  8. Danielkart

    Danielkart Well-Known Member

    Joined:
    Jun 25, 2021
    Messages:
    1,448
    Likes Received:
    1,475
    Stakanov and to everyone here in the forum. Stakanov I discovered something in the thread. If that's what I think, after these 2 codes (front axle connected to steering) there is another gamechanger in ffb. Oh my God :D:D I'll try to test it today and report back
    regards
     
    • Like Like x 1
  9. Kuku

    Kuku Flying Kiwi AMS2 Club Member

    Joined:
    Aug 30, 2020
    Messages:
    1,683
    Likes Received:
    1,034
    Many moons ago, I experimented with porting Christians file into Ams2 , it was probably before there was even a damping slider in Ams2,
    I can’t remember how well it worked , but it’s possible.
    I will have to see if I can find the file on my old hardrive, it may help you identify what you need to get it working.
     
  10. Stakanov

    Stakanov Well-Known Member AMS2 Club Member

    Joined:
    Feb 7, 2020
    Messages:
    594
    Likes Received:
    821
    I am also experiencing these strange phenomena of changing sensations ... it happens when I restart the game, or when I change the car and then return to the same, or, when I leave I have an accident and then I restart the game ... having said that, if the my game does not throw a tantrum, with the latest experimental version n.6 by karsten I recently find this center decent which initially I would have given for exaggeration .....

    (center_full (blend (min 1.00 (* lfb_slider 12.0)) 0.6 0.3)

    ????? o_Oo_Oo_Oo_Oo_Oo_O

    :D:D:D
     
    • Informative Informative x 1
  11. Kuku

    Kuku Flying Kiwi AMS2 Club Member

    Joined:
    Aug 30, 2020
    Messages:
    1,683
    Likes Received:
    1,034
    if you use/ have one of my previous tunes, you could copy the scrub and tear threshold values and also the frequency’s and scales and it will feel very similar.
    But try it in steps, do threshold first then effects .
     
    • Like Like x 1
  12. Danielkart

    Danielkart Well-Known Member

    Joined:
    Jun 25, 2021
    Messages:
    1,448
    Likes Received:
    1,475
    oh my god it s incredibly accurate what I thought I m grinning at all times. Will post it to you today:D:D:D:D:D
     
  13. Danielkart

    Danielkart Well-Known Member

    Joined:
    Jun 25, 2021
    Messages:
    1,448
    Likes Received:
    1,475
    Tested with Mercedes Benz CLK LM (rather a difficult car to drive)
    Scrup comes before tear:

    (tear_threshold 0.3)
    (scrup_threshold 0.15)

    For effects scales:
    (tear_hard 0.3)
    (tear_frq_scale 1.25)
    (tear_scale 0) I could hardly believe it myself, set tear_scale to 0. But it takes away all the tire feel and roughing. It covers the whole ffb feeling enormously.

    Now the implementation at Scrub FX. 2 new lines

    (FL_scrub(*FL_scrub(blend(abs RL_scrub)1 0.3)))

    (FR_scrub(*FR_scrub(blend(abs RR_scrub)1 0.3)))

    This is for Stakanov's custom file, mine would be just one line. But with both Stakanov and my custom, it's just amazing. A tire feeling to dream of and full car control.
    Have fun and good night
     
    • Creative Creative x 2
    • Like Like x 1
    • Agree Agree x 1
  14. Stakanov

    Stakanov Well-Known Member AMS2 Club Member

    Joined:
    Feb 7, 2020
    Messages:
    594
    Likes Received:
    821
    @Danielkart you'll be a fool but I'm going to the asylum with you!!! o_O:Do_O:Do_O:D
    it's true, I activate the tear_scale at any level and the tires doze off, I set tear_scale 0.00 and the tires return and excellent advice on the implementation of additional scrub lines. :D:D:D

    @Karsten Hvidberg i think, if we are not wrong, that here we need to investigate, if this mistake is irremovable we could think of eliminating the tear otherwise we must find a way to produce the effect while preserving the feeling of the tires. The problem is immediate when the tear_scale_effect is activated > 0 ... o_O

    I tested a little, but for now, I can only confirm that I am happy with this code for the center :)
    (center_full (blend (min 1.00 (* lfb_slider 12.0)) 0.6 0.3)

    and add that I have re-entered the MadnessBug code, maybe it will be placebo but I no longer feel the strange random variations in the driving sensations ;)

    Good night guys!!!
     
    • Like Like x 3
    • Informative Informative x 2
  15. Danielkart

    Danielkart Well-Known Member

    Joined:
    Jun 25, 2021
    Messages:
    1,448
    Likes Received:
    1,475
    good morning Stakanov, good morning Karsten!
    hihi, Stakanov i know an institution here, should i make a reservation?:D:D It's unbelievable but true, I felt like a donkey yesterday too, but a happy donkey.
    Karsten, I don't think it's a mistake, on the contrary, it opens up great opportunities again. :)This tear_scale was responsible for a lot of bugs. It can also be that the fluctuations in the driving experience that you described caused it. I only had a little time yesterday to test more. Anyway, it's getting better and better, and I'm already seeing new possibilities with this extreme progression and these changes. Have a nice day, it's snowing here:eek:
     
  16. Karsten Hvidberg

    Karsten Hvidberg Well-Known Member

    Joined:
    Feb 27, 2020
    Messages:
    1,255
    Likes Received:
    1,647
    I am not sure what you mean by bugs reg. tear_scale?
     
  17. Stakanov

    Stakanov Well-Known Member AMS2 Club Member

    Joined:
    Feb 7, 2020
    Messages:
    594
    Likes Received:
    821
    @Danielkart and @ALL I'm not on my computer today and I will stay away from home so I can only search the archives on my mobile, in these spoilers there are the first version of tear implemented by Karsten ... you or someone could try if it works or if it covers also the feeling of rubber ..... perhaps some of these give important indications. ;)

    First tear...
    ###########################################################
    #
    # Tear FX
    #

    (tear_scale_front 0.3)
    (tear_scale_rear 0.5)

    (FL_tear (* 2 grip_fl FL_tear))
    (FR_tear (* 2 grip_fr FR_tear))
    (RL_tear (* 2 grip_rl RL_tear))
    (RR_tear (* 2 grip_rr RR_tear))

    (F_tear (max FL_tear FR_tear))
    (R_tear (max RL_tear RR_tear))

    (F_tear (max 0 (- F_tear 0.05)))
    (R_tear (max 0 (- R_tear 0.05)))

    (F_tearVol (power F_tear 1.7))
    (R_tearVol (power R_tear 1.7))

    (F_tearS (* tear_frq_scale (- 1.5 (* 0.2 F_tear))))
    (R_tearS (* tear_frq_scale (- 1.5 (* 0.2 R_tear))))

    (F_tearP F_tearP)
    (R_tearP R_tearP)

    (F_tearP (+ F_tearP (* dt F_tearS 0.4 750)))
    (R_tearP (+ R_tearP (* dt R_tearS 0.4 500)))

    (F_tear (+ (* 0.4 (sin (* 1 F_tearP))) (* 0.4 (sin (* 1.23 F_tearP)))))
    (R_tear (+ (* 0.4 (sin (* 1 R_tearP))) (* 0.4 (sin (* 1.23 R_tearP)))))

    (F_tear (* F_tear tear_scale_front F_tearVol))
    (R_tear (* R_tear tear_scale_rear R_tearVol))

    (tear_effect (* tear_scale 1.3 (+ F_tear R_tear)))
    (tear_effect (spring tear_effect 200000 1 1))

    A subsequent change to the tear took place in rfactor 4.1 with the insertion of the deadzone...
    ###########################################################
    #
    # Tear FX
    #

    (tear_scale_front 0.32)
    (tear_scale_rear 0.28)

    (FL_tear (* (if FL_bump_offroad 0 1) FL_tear))
    (FR_tear (* (if FL_bump_offroad 0 1) FR_tear))
    (RL_tear (* (if FL_bump_offroad 0 1) RL_tear))
    (RR_tear (* (if FL_bump_offroad 0 1) RR_tear))

    (F_tear (max FL_tear FR_tear))
    (R_tear (max RL_tear RR_tear))

    (tear_deadzone 0.07)
    (F_tear (max 0 (- F_tear tear_deadzone)))
    (R_tear (max 0 (- R_tear tear_deadzone)))
    (F_tear (/ F_tear (- 1 tear_deadzone)))
    (R_tear (/ R_tear (- 1 tear_deadzone)))

    (F_tearVol (power F_tear 1))
    (R_tearVol (power R_tear 1))

    (F_tearS (* tear_frq_scale (+ 0.5 (* 1.5 F_tear))))
    (R_tearS (* tear_frq_scale (+ 0.5 (* 1.5 R_tear))))

    (F_tearP F_tearP)
    (R_tearP R_tearP)

    (F_tearP (+ F_tearP (* dt F_tearS 0.4 750)))
    (R_tearP (+ R_tearP (* dt R_tearS 0.4 500)))

    (F_tear (+ (* 0.4 (sin (* 1 F_tearP))) (* 0.4 (sin (* 1.23 F_tearP)))))
    (R_tear (+ (* 0.4 (sin (* 1 R_tearP))) (* 0.4 (sin (* 1.23 R_tearP)))))

    (F_tear (* F_tear tear_scale_front F_tearVol))
    (R_tear (* R_tear tear_scale_rear R_tearVol))

    (tear_effect (* tear_scale 1.3 (+ F_tear R_tear)))
    (tear_effect (spring tear_effect 65000 1 1))

    And then in 4.3 it changed again in the first embryonic forms of the present one,,,,

    ###########################################################
    #
    # Tear FX
    #

    (FL_tear (max 0 (- FL_tear 0.3)))
    (FR_tear (max 0 (- FR_tear 0.3)))
    (F_tear (* 0.5 (+ FL_tear FR_tear)))
    #(tear (* 0.15 tear_scale (min 0.5 F_tear) (power (oscillator (* tear_frq_scale (min 1 F_tear) dt 50)) 5)))
    (oo oo)
    (o (oscillator (* tear_frq_scale (min 1 F_tear) dt 50)))
    (o (power o 1.8))
    (o2 (if (min 0 (* o (- o oo))) (* o 0.5) o))
    (oo o)
    (tear (* 0.15 tear_scale (min 0.5 F_tear) o2))
    (tear (spring tear (* tear_hard 700000) 1))
    (tear_effect tear)

    That's all, after these the latest version of tear took over (obviously I haven't published all the minor changes that have occurred in the individual values) ;)
     
    Last edited: Apr 2, 2022
    • Like Like x 1
    • Informative Informative x 1
  18. Karsten Hvidberg

    Karsten Hvidberg Well-Known Member

    Joined:
    Feb 27, 2020
    Messages:
    1,255
    Likes Received:
    1,647

    Is there a problem?
     
  19. Kuku

    Kuku Flying Kiwi AMS2 Club Member

    Joined:
    Aug 30, 2020
    Messages:
    1,683
    Likes Received:
    1,034
    I’m almost caught up ;)

    the way than Daniel has implemented the scrub and tear isnt dissimilar to the way I’ve been using for some time, except for the zero tear scale. So it mostly feels very similar but does come through the wheel smoother,

    for me, tear has always been a snag feeling which is why I’ve always pushed it out to be at edge of grip threshold as a que that the tire is almost ready to give in.

    it also gives a good initial lock up feeling .

    some tires have more tack than other, and on some tracks with the tacky tires the tear can be quite rough feeling.

    making the scale low does smooth this out for sure. But there is a trade off that the tire sensation is quite same same throughout if you know what I mean.

    so I’m not saying I don’t like it at zero, I’m just saying there’s still a case for it to be used depending on taste.
    I’m not sure there’s any actual bug with it, it’s just an effect.
     
    • Informative Informative x 1
  20. Danielkart

    Danielkart Well-Known Member

    Joined:
    Jun 25, 2021
    Messages:
    1,448
    Likes Received:
    1,475
    sorry karsten , English is not my mother tongue. I mean Tear_scale is responsible for the wrong scrub feeling and tear feeling. How long it's been you'd have to look up what Stakanov said. I usually never look back at what used to be. I test and go by my feelings and adjust values accordingly. But I'm sure it's been like this for a long time.
    regards Karsten
     

Share This Page