Unsolved custom modding electronics

Discussion in 'Mod Support' started by BATTERYMAN, Nov 12, 2018.

  1. BATTERYMAN

    BATTERYMAN
    Expand Collapse

    Joined:
    Nov 12, 2018
    Messages:
    6
    Hi, i'm trying to figure out how to do some custom modding with the
    Electronic Stability & Traction Control and Anti-Lock Braking System

    i'v try'd to dig around to find any clues but it seems i failed.

    This is what i'm trying to accomplish.

    Define ABS on individual pair of wheel, forexample : disable ABS on front wheels but let it work on rear wheels
    -or define values for front wheels and rear wheels.

    Define ESC on individual pair of wheels, same example as ABS
    -however changing "actionedWheels": ["FR", "FL", "RR", "RL"], to "actionedWheels": ["RR", "RL"], will give error

    This is how the abs code looks like and i can't figure out any clue where to define individual wheel pair :

    "Camso_ABS": {
    "information":{
    "name":"Anti-Lock Braking System",
    "value":600,
    }
    "slotType":"Camso_ABS",
    "pressureWheels": [
    ["name","hubGroup","group","node1:","node2:","nodeS","nodeArm:","wheelDir"],
    //brakes
    {"enableABS":true},
    {"absHz":50}, //Fastest rate that ABS can cycle or read wheel speeds
    ],
    }
    }

    The type of mod is an exported Automation car, so the only files i'v found any usefull information is in
    camso_electronics.jbeam and camso_engine.jbeam

    but still it seems i haven't figure out how to mod the ABS and ESC the way i wish, and i haven't found any clue at the beam.ng mod wiki.
     
  2. aljowen

    aljowen
    Expand Collapse

    Joined:
    Oct 21, 2012
    Messages:
    1,677
  3. BATTERYMAN

    BATTERYMAN
    Expand Collapse

    Joined:
    Nov 12, 2018
    Messages:
    6
    ok i will try to figure it out tomorrow.

    i uploaded the mod file, if someone wants to poke into it.

    a bit out of topic but .. if someone find it strange that i added differential on a front-engine rear wheel car, is because i'm experimenting with a similar driving experience as if a 4x4 was in (Front shaft disconnected + Front locked differential ) is added to a FR layout.
     

    Attached Files:

  4. BATTERYMAN

    BATTERYMAN
    Expand Collapse

    Joined:
    Nov 12, 2018
    Messages:
    6
    ok so here is what i figure out :

    it is possible to set individual ABS states if i remove any global overrides.
    1. i comment out enable abs from camso_electronics.jbeam
    2. i added {"enableABS":true}, into wheels_rear.jbeam under the "pressureWheels": [ section
    3. i added {"enableABS":false}, into wheels_front.jbeam under the "pressureWheels": [ section

    this resulted in ABS on the rear only.
    Now i did also figure {"absHz":50}, is a global value for all wheels, so individual values doesnt effect, the game only pick the latest value and set it to all wheels.
     
    • Informative Informative x 1
  5. BATTERYMAN

    BATTERYMAN
    Expand Collapse

    Joined:
    Nov 12, 2018
    Messages:
    6
    i'm adding more information for my discovering about giving different break strength on front and rear.


    -In suspension_R.jbeam and suspension_L.jbeam there is a section called pressureWheels under where the brakes definition is
    -Changing the value brakeTorque": to a lower or higher value can tweak the strength of your wheels.
    -You can then re-tweak your car after export for a more finer tuning break force .
    -Forexample if you want the break in front to be 50% lower than the original value, copy your value to a calculator and divide by 2 and copy the value back.
    -This can be useful if your using ABS rear only and your front brakes locks up too easy.
     
  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