1. Trouble with the game?
    Try the troubleshooter!

    Dismiss Notice
  2. Issues with the game?
    Check the Known Issues list before reporting!

    Dismiss Notice

Where is in the jbeam files is 4WD defined for the vehicles?

Discussion in 'General Discussion' started by coljessip, Aug 7, 2013.

  1. coljessip

    coljessip
    Expand Collapse

    Joined:
    Aug 7, 2013
    Messages:
    3
    Does anyone know where in the jbeam files you can "make" a 2WD vehicle 4WD? I want to try out the sedan or hatchback in 4WD.
     
  2. 777-300ER

    777-300ER
    Expand Collapse

    Joined:
    Aug 5, 2012
    Messages:
    26
    You need to add a front transfer case to them in the .jbeam. How to do that I don't know.
     
  3. ThreeDTech21

    ThreeDTech21
    Expand Collapse

    Joined:
    Sep 27, 2013
    Messages:
    1,616
    I think it's in the transmission section or perhaps engine section
     
  4. Zappymouse

    Zappymouse
    Expand Collapse

    Joined:
    Jun 18, 2013
    Messages:
    1,062
    Kinda counterintuitively, the diffs are defined in the suspension jbeams.

    Code:
    "fullsize_differential_F": {    "information":{
            "authors":"garblaster",
            "name":"Gavril Grand Marshal Front Differential",
        }
        "differentials": [
                ["wheelName1",     "wheelName2", "type", "state", "closedTorque", "engineTorqueCoef"],
                ["FL","FR", "open", "open", 0, 1]
        ],
        "engine":{
            "differential":3.27,
            "axleFriction":12
            },
        "slotType" : "fullsize_differential_F",
    }
    Try that on for size in fullsize_suspension_F.jbeam. Don't forget to add the slot:

    Code:
    ["fullsize_differential_F","fullsize_differential_F", "Grand Marshal Front Differential"],
     
  5. ThreeDTech21

    ThreeDTech21
    Expand Collapse

    Joined:
    Sep 27, 2013
    Messages:
    1,616
    Yikes that's like putting the door attributes in the engine jbeam..


    Sent from my iPhone using Tapatalk
     
  6. gabester

    gabester
    Expand Collapse
    Vehicle Director
    BeamNG Team

    Joined:
    Jun 6, 2012
    Messages:
    2,653
    The differential is part of the axle... makes sense to me. The driven-ness of the wheels is also set by the "propulsed" value in a given wheels section. You'll notice that the transfer case parts on the D15 and H15 have a wheels section simply containing "propulsed":1. These parts load before the actual wheels, thus assigning the propulsion to them.
     
  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