Dismiss Notice

In the upcoming weeks mod approvals could be slower than normal.
Thank you for your patience.

Active suspension 1.0

Improve your driving experience with active suspension!

  1. Miata lover


    Active suspension



    This mod adds active springs/struts with variable length and spring force, active dampers and active sway bars, everything controlled by the current drive mode.


    Here are some photos of what is it capable of:
    Comfort mode
    screenshot_2023-06-27_11-13-29.png
    Sport/TCS Off mode
    screenshot_2023-06-27_11-13-35.png
    Offroad Mode
    screenshot_2023-06-27_11-13-45.png



    Mod includes:​
    • Active Struts / Springs / Dampers / Swaybars;​
    • Modified Drive Modes;​
    • Two configs.​

    Currently available for Cherrier Tograc and ETK 800-series​

    You can use this suspension in your own mods, just don't forget to credit me.

    To add the adaptive suspension into your own mod:
    1. Convert each of the spring beams to hydros and name them (eg. "spring_FR").​
    Code:
    "hydros": [
              ["id1:", "id2:"],
              //rear springs
              {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1, "beamShortBound":1},
              {"beamDeform":20000,"beamStrength":150000},
              {"beamSpring":30000,"beamDamp":0},
              ["rh5l","r1ll", {"name":"spring_RL","inputSource":"springHydroR","precompressionRange":0.0,"inRate":3,"outRate":5,"soundFile":"event:>Vehicle>Suspension>car_modn_med_01>spring_compress_01","colorFactor":0.5,"attackFactor":30,"volumeFactor":1.10,"decayFactor":6,"noiseFactor":0.01,"pitchFactor":0.2,"maxStress":1300}],
              ["rh5r","r1rr", {"name":"spring_RR","inputSource":"springHydroR","precompressionRange":0.0,"inRate":3,"outRate":5,"soundFile":"event:>Vehicle>Suspension>car_modn_med_01>spring_compress_01","colorFactor":0.5,"attackFactor":30,"volumeFactor":1.10,"decayFactor":6,"noiseFactor":0.01,"pitchFactor":0.2,"maxStress":1300}],
              {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0, "beamShortBound":1.0},
        ],

    2. Paste this code into the spring/strut jbeam:
    Code:
    "controller": [
        ["fileName"],
        ["activeSprings" {"name":"activeFrontSpring", "springHydro":"springHydroF", "springBeamNames":["spring_FR", "spring_FL"]}]
    ],
    
    "name" - set this to anything you want - must be unique for whole vehicle,
    "springHydro" - name of the electric your spring hydros use,
    "springBeamNames" - a table containing spring hydros' names.

    3. Paste this into the spring/strut jbeam too:
    Code:
    "activeFrontSpring": {
        "modes": [
            ["name",    "springLengthCoef", "beamSpringCoef"],
            ["low",       0.1,   2],
            ["regular", 0.55,   1],
            ["high",    1,       0.85]
        ]
    },
    "name" - how you want each mode to be named
    "springLengthCoef" - how much the springs expand/retract in each mode (it can only go from 0 to 1),
    "beamSpringCoef" - beamSpring coefficient of the spring hydros in each mode.

    4. Assign names to your swaybars, eg. "Swaybar_F".​
    Code:
    "torsionbars": [
            ["arbrr", "rx4r", "rx4l", "arbrl" {"name":"swaybar_R"}],
        ],

    5. Paste this into the swaybar jbeam:​
    Code:
    "controller": [
            ["fileName"],
            ["drivingDynamics/actuators/adaptiveTorsionBars" {"name":"adaptiveFrontSwayBar", "torsionBarNames":["swaybar_F"]}]
        ],
        "adaptiveFrontSwayBar": {
            "modes": [
                ["name",    "springCoef", "dampCoef"],
                ["soft",     0.1,     1],
                ["regular",  1,     1],
                ["hard",     1.2,   1]
            ]
        },
    "name" - same as before
    "springCoef" - swaybar stiffness coefficient
    "dampCoef" - swaybar damping coefficient, in most cases set this to 1

    6. Copy the "lua" folder from this mod to yours,

    7. Paste this code into each of your drivemodes jbeam:
    Code:
    "settings": [
        ["type"]
        ["controller", {"controllerName":"activeFrontSpring", "springMode":"low"}]
        ["controller", {"controllerName":"activeRearSpring", "springMode":"low"}]
        ["controller", {"controllerName":"adaptiveFrontSwayBar", "torsionBarMode":"regular"}]
        ["controller", {"controllerName":"adaptiveRearSwayBar", "torsionBarMode":"regular"}]
    ],
    "controllerName" - name of the controller specified in springs jbeam,
    "springMode" - what spring mode to use in this drivemode - use mode names you specified before in "modes" table.

    It's recommended to use separate controllers for front and rear suspension

Recent Updates

  1. 1.0 release
  2. 0.2 Update

Recent Reviews

  1. chars
    chars
    5/5,
    Version: 1.0
    I wish I could react to the terrain like Mercedes Benz's 'air body control' technology. Or I wish I could refer to Rolls-Royce's 'Planer Suspension'.
  2. Mr. Marbles
    Mr. Marbles
    5/5,
    Version: 0.2
    does what it says very well, surprised at how well it offroads and turns into a sportier ride directly afterwards.

    the config is a bit wonky, since it still has the diesel gauge and transmission but thats all minor.

    i think a cool feature would be, that the car lifts up as soon as you open any door for easier entry.
  3. Owerfoxxd
    Owerfoxxd
    5/5,
    Version: 0.2
    the mod is really well done, the only thing its missing is the rear suspension adjusting for acceleration G force
    Other than that its perfect, it would be really nice to see if someone would some day inplement hydropneumatic suspension
  4. zeeesss
    zeeesss
    5/5,
    Version: 0.2
    NOT BAD GOOD
  5. xpogosam
    xpogosam
    5/5,
    Version: 0.1
    Well Done! Been meaning to do something similar for axle lift coilovers on a few other cars.
  6. DominkG
    DominkG
    5/5,
    Version: 0.1
    Great mod! But Tograc is an crossover.
  7. DutchBloke28
    DutchBloke28
    5/5,
    Version: 0.1
    The suspension works very good but I did find a couple of flaws.
    - Just kidding, I didn't
    Well done, 5/5 for the mod and a 5/5 for these line of codes that makes it possible to put this suspension on every car.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice