1. Trouble with the game?
    Try the troubleshooter!

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

    Dismiss Notice

How to make the attachment of the JATO rockets on the Hero Bus stronger

Discussion in 'General Discussion' started by sln2006, Feb 16, 2021.

  1. sln2006

    sln2006
    Expand Collapse

    Joined:
    Nov 20, 2016
    Messages:
    27
    Hello,

    I am trying to change the JATO rocket on the hero bus in order to have more power.

    ```
    "jato":{
    "thrusterNodes:":["jt5l", "jt6l", "jt5r", "jt6r"],
    "fuel": 200,
    },
    "thrusters": [
    ["id1:", "id2:", "factor", "thrustLimit", "control"],
    ["jt5l", "jt6l", 500000, 500000, "jato"],
    ["jt5r", "jt6r", 500000, 500000, "jato"],
    ],
    // 50000, 50000
    ```
    I gave it 10x the power to 500,000, however, I am having the issue with the rockets instantly detaching as soon as I power them.

    Is their anyway to just make the attachment point stronger to handle the thrust?
     
  2. DrowsySam

    DrowsySam
    Expand Collapse

    Joined:
    Jul 30, 2013
    Messages:
    996
    You can find the attachment beams in the same file(citybus_jato.jbeam), it's down on line 182.

    Increase the beamStrength and beamDeform to make it stronger

     
    • Agree Agree x 3
  3. sln2006

    sln2006
    Expand Collapse

    Joined:
    Nov 20, 2016
    Messages:
    27
    Does increasing beamDeform make it stronger or weaker?
     
  4. Agent_Y

    Agent_Y
    Expand Collapse
    Jbeam/QA support
    BeamNG Team

    Joined:
    Jul 10, 2020
    Messages:
    10,056
    If you increase BeamDeform without increasing BeamStrength, the connections will take more force to deform than to break. So in a situation where normally they would deform they will break instead.
    If you increase BeamStrength but not BeamDeform, it will take the same amount of force to deform but more to break, so in a situation where they would have broken off they will deform and you don't want that.
    If you increase both, the connections will be stronger, but increasing them too much could potentially make the connection unstable as they will cause instability in an extreme situation where they would have normally either broken or deformed but they can't.
    Basically you have to increase both but not by just randomly adding 0s to the numbers, you have to do it precisely and test a lot.
     
    • Agree Agree x 1
  5. sln2006

    sln2006
    Expand Collapse

    Joined:
    Nov 20, 2016
    Messages:
    27
    How do I make them indestructible? I am assuming their is a max integer limit. Is their a way to make a value indestructible? Does the object constructors check for a negative input value, such as -1, in order to remove destructibility from a part?
     
  6. Agent_Y

    Agent_Y
    Expand Collapse
    Jbeam/QA support
    BeamNG Team

    Joined:
    Jul 10, 2020
    Messages:
    10,056
    There is an integer limit value but I forgot what it is, check it in the files of something indestructible like in-game props. Also making them indestructible won't work, I checked, on high enough value (even just around 50-100 times bigger) the rocket themselves will start break apart, and higher than that (about 500 times bigger with over 100 times stronger rockets) it will just bend and break the bus. There could be a more even distribution of force so the front goes forward too so the rear bends less, another set of rockets on the front would help, of course placed in a way that it's not attached to the windshield because that is fragile.
     
    • Agree Agree x 1
  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