Powertrain suggestion

Discussion in 'Ideas and Suggestions' started by Blijo, Jan 18, 2017.

  1. Blijo

    Blijo
    Expand Collapse

    Joined:
    Apr 27, 2016
    Messages:
    2,055
    Hi devs :)
    I am currently trying to make a awd covet, but I keep screwing up.
    I have trouble with the new code, it doesnt let me see where the output goes in the code, so I can only see that ingame. you can only see the input in the code, which doesnt feel natural to me
    My suggestion is:
    Make a drivetrain_output part in the jbeam where you can define the outputs with variables for instance:
    "drivetrain_output" :{
    ["name", "percentage"]
    ["v6_differential_F", "$variable1"]
    ["v6_differential_R", "$variable2"]
    },
    this would be typically under a transfercase, or for the easy awd conversions under the gearbox part.
    the variable would be the 'standard' variable method :)
    for a differential it could be:
    "drivetrain_output" :{
    ["name", "percentage"]
    ["RR", "$diffvalueR"]
    ["RL", "$diffvalueF"]
    },
    with as diffvalue the differential mode, but that part needs some more thinking :p
     
    #1 Blijo, Jan 18, 2017
    Last edited: Jan 18, 2017
  2. SixSixSevenSeven

    SixSixSevenSeven
    Expand Collapse

    Joined:
    Sep 13, 2013
    Messages:
    6,960
    Your output is defined simply by parts defining their inputs. I see no need for any change
     
    • Informative Informative x 2
  3. Blijo

    Blijo
    Expand Collapse

    Joined:
    Apr 27, 2016
    Messages:
    2,055
    Oh shit, that is why I can't get my stuff to work xd.
    But still, outputs are easier to work with imo.
     
  4. Diamondback

    Diamondback
    Expand Collapse
    Vehicle Systems Lead
    BeamNG Team

    Joined:
    Apr 8, 2014
    Messages:
    1,957
    Working with outputs rather than inputs is difficult because you usually don't know the output in a given part due to how our cars are split up in jbeam.
    Defining inputs is much more generic and easier to work with.
     
    • Agree Agree x 1
  5. Blijo

    Blijo
    Expand Collapse

    Joined:
    Apr 27, 2016
    Messages:
    2,055
    okay, thanks for the reply :)
    I will try to adapt then :p
     
  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