1963 VOLKSWAGEN BUG | Feat. Herbie The Love Bug | Dynamic Horsepowers

Discussion in 'Land' started by VertexStyle, Feb 14, 2018.

  1. Krr2h

    Krr2h
    Expand Collapse

    Joined:
    Jul 5, 2020
    Messages:
    32
    Ok i will just do a backup of my mods, and i will download the new version of beamng xD
     
    • Like Like x 1
  2. Bolt2407_Beamfan

    Bolt2407_Beamfan
    Expand Collapse

    Joined:
    Nov 16, 2020
    Messages:
    1,343
    He's really gonna like having a twin vanilla sister.
     
  3. Jer

    Jer
    Expand Collapse

    Joined:
    Nov 20, 2020
    Messages:
    1,282
    DID YOU JUST BUMP?!? HERBIE IS NOT GOING TO BE HAPPY!!!
     
  4. Bolt2407_Beamfan

    Bolt2407_Beamfan
    Expand Collapse

    Joined:
    Nov 16, 2020
    Messages:
    1,343
    "Hh-h-hEY, Herbie! That was your twin vanilla siste-"
     
  5. Antonio De Carolis

    Antonio De Carolis
    Expand Collapse

    Joined:
    Aug 23, 2019
    Messages:
    26
    my herbie doesn't have horn
     
  6. Speedmos17

    Speedmos17
    Expand Collapse

    Joined:
    Oct 1, 2020
    Messages:
    54
    It's kinda outdated man, that's probably why
     
  7. Bolt2407_Beamfan

    Bolt2407_Beamfan
    Expand Collapse

    Joined:
    Nov 16, 2020
    Messages:
    1,343
    That's normal, because Herbie configurations has the "Herbie Personality Horn," which is the entire thing that makes Herbie has reactions etc. in this mod, I think. If you replace that horn with another one then Herbie is gonna lose their personality.
     
  8. Agent_Y

    Agent_Y
    Expand Collapse
    Jbeam/QA support
    BeamNG Team

    Joined:
    Jul 10, 2020
    Messages:
    10,056
    The "personality horn" is just the normal horn that activates automatically on impact instead of by H button I think. The personality itself is a complex LUA code that is related to dynamic engine horsepower and the self-repair mechanism.
     
    • Like Like x 1
  9. Bolt2407_Beamfan

    Bolt2407_Beamfan
    Expand Collapse

    Joined:
    Nov 16, 2020
    Messages:
    1,343
    True, maybe. Nobody really knows how this Herbie personality works except for this personality horn.
     
    • Like Like x 1
  10. Agent_Y

    Agent_Y
    Expand Collapse
    Jbeam/QA support
    BeamNG Team

    Joined:
    Jul 10, 2020
    Messages:
    10,056
    Actually the LUA code is really self-explanatory and if you know some stuff about coding and look inside you can tell how it all works.
    The mod will tell the difference between Herbie and a normal Beetle by part names. If the configuration has any part with "herbie" in the name, it will treat it like Herbie, otherwise it will be just a normal car. This is called part validation. If it succeeds then it activates the emotions and the self-regeneration. The current personality setting is saved in settings/vehicles/bug/global_data.csv, and the min and max torque curves are in vehicles/bug/data/dynamic_torque_graph.csv. The dynamic curve is based on a formula that calculates it based on the min and max ones and something called torque amplifier. Then it gets saved in vehicles/bug/curves_cache in json format, and overrides the default engine torque curve. Then it modifies the engine thermals so the new curve doesn't cause overheating. Then it gets interesting, it detects the player's behavior, like counting the time without crashing, if crashed then detecting how hard the crash was, and based on that it increases a variable called "player trust". If the crash was hard enough then the horn sound plays, the intensity of the sound is relative to the hardness of the crash until a certain point where the crash is treated as "hard" instead of "medium". If a crash is "small" then it doesn't play the horn at all. For the first 3 hard crashes it also won't play the sound. The hardness of the crash is calculated by the amount of broken beams, which is probably related to why the deformation of this car is weird, the beams can't be grouped in large groups or else a small crash could break a lot of them at the same time and be detected as a hard crash. Also, if you do a wheelie, the wheelie time is calculated, and that gives extra player trust. Same goes for drifting, which is detected by wheel slip, and jumping which is detected by all the wheels being in the air. It can also somehow detect if you "cheated" the jump by just spawning the car in the air. If the player trust is very low the car will backfire and if it's very high it will do "excited hopping". There is also the beam regeneration that also only works if the car has any part with "herbie" in the name, and it's basically the same thing as the Beam Regenerator mod. It's easy to understand how this all works because the code is really well written, but it must have been EXTREMELY HARD to code and get it to work.
     
    • Like Like x 2
  11. Bolt2407_Beamfan

    Bolt2407_Beamfan
    Expand Collapse

    Joined:
    Nov 16, 2020
    Messages:
    1,343
    hippity hoppity, im sorry but my brain is too underIQ to read this message's property
     
    • Agree Agree x 2
  12. Antonio De Carolis

    Antonio De Carolis
    Expand Collapse

    Joined:
    Aug 23, 2019
    Messages:
    26
    Ok, thanks!! And how can I do to get him to raise the hood?
     
  13. Agent_Y

    Agent_Y
    Expand Collapse
    Jbeam/QA support
    BeamNG Team

    Joined:
    Jul 10, 2020
    Messages:
    10,056
    I don't think that's possible in the current version of the mod (which is the only working version)
     
  14. TAMED BURRITO

    TAMED BURRITO
    Expand Collapse

    Joined:
    Sep 22, 2020
    Messages:
    266
    LOL
     
  15. Bolt2407_Beamfan

    Bolt2407_Beamfan
    Expand Collapse

    Joined:
    Nov 16, 2020
    Messages:
    1,343
    He... Can raise the hood by himself or on every car? Bro, you can't. You need to use the nodes, not the best way but pretty much the only way as far as I know.
     
  16. Jer

    Jer
    Expand Collapse

    Joined:
    Nov 20, 2020
    Messages:
    1,282
    Guys, please accept that this is outdated, let Herbie just die in peace
     
  17. Bolt2407_Beamfan

    Bolt2407_Beamfan
    Expand Collapse

    Joined:
    Nov 16, 2020
    Messages:
    1,343
    We do accept it as an outdated, but only slightly outdated.
     
  18. ThatCarGuyDownTheStreet

    ThatCarGuyDownTheStreet
    Expand Collapse

    Joined:
    Mar 30, 2017
    Messages:
    3,253
    last update was only like 5 months ago, honestly not old whatsoever
     
    • Agree Agree x 1
  19. $Reaper$

    $Reaper$
    Expand Collapse

    Joined:
    Jan 28, 2021
    Messages:
    59
    Herbie is mad at me i rammed him full speed with the largest B-Series about 30 times he is very sad.
     
  20. Danill

    Danill
    Expand Collapse

    Joined:
    Sep 25, 2016
    Messages:
    6
    Why this car hates me?
     
  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