WIP Beta released Oxnitron Electronics 22.06.2016

Adds ESC and TCS to vehicles for better control and easier handling.

  1. Oxnitron

    Oxnitron
    Expand Collapse

    Joined:
    Nov 29, 2015
    Messages:
    42
    Oxnitron submitted a new resource:

    Oxnitron Electronics - Adds ESC and TCS to vehicles for better control and easier handling.

    Read more about this resource...
    --- Post updated ---
    Hello everyone!

    I may need some help, I'm trying to add ABS to the mod as well but for some reason ABS only works when it is in the vehicle_body.jbeam
    If someone could take a look at this I would be grateful ^^

    I added a second slot in my vehicle_mod file for ABS and then a vehicle_ABS file.
    The game does load the slot and also the file but for some reason the ABS does not work even though the file is loaded.

    Then there is another file (vehicle_body.jbeam) where I also added a slot directly to the body. (it uses the same ABS file)
    For some reason there it works? I really don't understand why.

    Thank you!
     

    Attached Files:

    #1 Oxnitron, Jun 22, 2016
    Last edited: Jun 22, 2016
  2. synsol

    synsol
    Expand Collapse
    QA Lead
    BeamNG Team

    Joined:
    Aug 4, 2013
    Messages:
    1,473
    Hi, you have to also add modded brakes with the Abs values , and this should work by activating in the mod slot .
     
  3. Oxnitron

    Oxnitron
    Expand Collapse

    Joined:
    Nov 29, 2015
    Messages:
    42
    Thanks for your help, but I dont understand where I have to put the brakes (and in what form)

    Code:
    {
        "super_ABS_Oxnitron": {
            "information":{
                "authors":"Oxnitron",
                "name":"Anti-Lock Braking System",
                "value":350,
            }
            "slotType":"super_ABS_Oxnitron",
            "pressureWheels": [
                ["name","hubGroup","group","node1:","node2:","nodeS","nodeArm:","wheelDir"],
                //brakes
            ],
            "engine": {
                "ABSrate":8
            },
        }
    }
    Should I insert the brakes after " //brakes " ?
    And then put the whole brake there? I also tried putting the brakes next to the ABS part but that didn't do anything.

    Code:
    {
    "super_brake_F_Oxnitron": {
        "information":{
            "authors":"Oxnitron",
            "name":"Front Brakes with ABS",
            "value":900,
        }
        "slotType" : "super_brake_F_Oxnitron",
        "variables": [
            ["name", "type", "unit", "category", "default", "min", "max", "title", "description"]
            ["$braketorque_F", "range", "", "Brakes", 1550, 0, 2500, "Front Brake Torque", "Strength of the front brakes"{"minDis":0}]
        ],
        "flexbodies": [
            ["mesh", "[group]:", "nonFlexMaterials"],
            //brake discs
            ["super_brakedisc_FR", ["wheel_FR","wheelhub_a_FR","wheelhub_b_FR"], ["super"]],
            ["super_brakedisc_FL", ["wheel_FL","wheelhub_a_FL","wheelhub_b_FL"], ["super"]],
        ],
        "pressureWheels": [
                ["name","hubGroup","group","node1:","node2:","nodeS","nodeArm:","wheelDir"],
                {"brakeTorque":"$braketorque_F"},
                {"brakeInputSplit":1},
                {"brakeSplitCoef":1},
                {"parkingTorque":0},
                {"brakeSpring":50},
        ],
    }
    }
    Sorry I'm not very experienced in programming :(

    Edit: I also tried only putting the "pressurewheels"... part there but that didn't work either.
     
  4. iheartmods

    iheartmods
    Expand Collapse

    Joined:
    Aug 8, 2012
    Messages:
    1,482
    The 90's Pessima, Pickup, Covet, 200BX, and Grand Marshal already have ABS, some as options.
     
  5. Oxnitron

    Oxnitron
    Expand Collapse

    Joined:
    Nov 29, 2015
    Messages:
    42
    Yes but there the ABS is simply inside the vehicle_body.jbeam and it works with the normal brakes,
    Since I can't replace the body.jbeam , I have to make the ABS seperately for other vehicles (like the bolide)
     
  6. synsol

    synsol
    Expand Collapse
    QA Lead
    BeamNG Team

    Joined:
    Aug 4, 2013
    Messages:
    1,473
    You have to add the "ABSthreshold" value on your brake , i've not tested but it's should work ;) (this is the coupe data)
    {"ABSthreshold":1.9},
    {"brakeTorque":1600},
    {"brakeInputSplit":1},
    {"brakeSplitCoef":1},
    {"parkingTorque":0},
    {"brakeSpring":45},
     
  7. Oxnitron

    Oxnitron
    Expand Collapse

    Joined:
    Nov 29, 2015
    Messages:
    42
    I added now optional brakes with ABS but even if you select those brakes and turn ABS on, it doesn't work.
    I played around a bit with the ABSthreshold value but that doesn't seem to be the issue.

    Edit: The weird thing is that ABS does work when it is inside the vehicle_body.jbeam even if the brakes don't have the "ABSthreshold" :/
     

    Attached Files:

    #7 Oxnitron, Jun 22, 2016
    Last edited: Jun 22, 2016
  8. Floppydopda

    Floppydopda
    Expand Collapse

    Joined:
    Aug 25, 2013
    Messages:
    56
    I can't seem to download this manually. It says something like Authorization Required.
     
  9. Oxnitron

    Oxnitron
    Expand Collapse

    Joined:
    Nov 29, 2015
    Messages:
    42
    Oxnitron updated Oxnitron Electronics with a new update entry:

    Added D-series H-series and Roamer

    Read the rest of this update entry...
    --- Post updated ---
    The new update got approval, can you try if it works now ?
    Other people seem to have the same problem.
     
  10. Oxnitron

    Oxnitron
    Expand Collapse

    Joined:
    Nov 29, 2015
    Messages:
    42
  11. Oxnitron

    Oxnitron
    Expand Collapse

    Joined:
    Nov 29, 2015
    Messages:
    42
  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