Thrusters in multiple files

Discussion in 'Content Creation' started by Asgalager, May 4, 2021.

  1. Asgalager

    Asgalager
    Expand Collapse

    Joined:
    Sep 1, 2016
    Messages:
    107
    I was trying to add JATO rockets to a mod with existing thrusters, when it looked like some kind of conflict was preventing both thrusters from working at the same time. I have a thrusters section in the main jbeam file:
    Code:
    "thrusters": [
            ["id1:", "id2:"],
            {"factor": 100},
            {"thrustLimit": "$pushstrength"},
            {"control": "T"},
            
            //forward
            ["a2", "a11"],
            ["a4", "a12"],
            
            //steer left
            {"factor": 100},
            {"thrustLimit": 100},
            {"control": "G"},
            ["a2", "a4"],
            
            //steer right
            {"factor": 100},
            {"thrustLimit": 100},
            {"control": "H"},
            ["a4", "a2"],
        ],
    And another one from jato rockets:
    Code:
    "thrusters": [
            ["id1:", "id2:", "factor", "thrustLimit", "control"],
            ["jt5l", "jt6l", 2000, 2000, "jato"],
            ["jt5r", "jt6r", 2000, 2000, "jato"],
        ],
    If there is a configuration that has jato rockets, then the rockets won't work. If I remove one, the other one works. Merging them into one file causes the old thrusters to only work when jato rockets are there which isn't what I want. Is there any way to have both working or is there a possible workaround I'm missing?
     
  2. Agent_Y

    Agent_Y
    Expand Collapse
    Jbeam/QA support
    BeamNG Team

    Joined:
    Jul 10, 2020
    Messages:
    10,056
    Idk if it will work but try making the format of your JATO thrusters the same as in the main Jbeam file where for some reason they are formated like beams, sometimes the game freaks out when there are different formats for the same section in the same vehicle.
     
  3. Asgalager

    Asgalager
    Expand Collapse

    Joined:
    Sep 1, 2016
    Messages:
    107
    That worked, thanks!
     
  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