(Solved) What is this weird powertrain device?

Discussion in 'Content Creation' started by Agent_Y, Oct 5, 2021.

  1. Agent_Y

    Agent_Y
    Expand Collapse
    Jbeam/QA support
    BeamNG Team

    Joined:
    Jul 10, 2020
    Messages:
    10,056
    So I randomly found out that in the vanilla game there is a powertrain device called electricServo. I have no idea what it does, it's not used anywhere in game, but has its own icon in the powertrain. it has the engine category but doesn't seem to be controllable with throttle. It apparently connects to wheels and acts like a brake when I connected it. It has some different rotation modes, and can be disconnected like a shaft, has many adjustable values, idk what the heck it is but I want to know because it's really interestng.
     
  2. elpaloJDM

    elpaloJDM
    Expand Collapse

    Joined:
    Mar 26, 2021
    Messages:
    28
    could it be a kind of retarder or engine brake?
     
  3. Agent_Y

    Agent_Y
    Expand Collapse
    Jbeam/QA support
    BeamNG Team

    Joined:
    Jul 10, 2020
    Messages:
    10,056
    It replaces the engine so no
     
  4. jakelooker

    jakelooker
    Expand Collapse

    Joined:
    Aug 31, 2013
    Messages:
    149
    Are you sure it's not used in a prop of some kind?
     
  5. SKB

    SKB
    Expand Collapse

    Joined:
    Apr 22, 2017
    Messages:
    1,964
    what does the icon look like?
     
  6. Agent_Y

    Agent_Y
    Expand Collapse
    Jbeam/QA support
    BeamNG Team

    Joined:
    Jul 10, 2020
    Messages:
    10,056
    Just a big greeen circle that occasionally is highlighted yellow but I think that is a bug because it happens randomly
     
    • Like Like x 1
  7. SKB

    SKB
    Expand Collapse

    Joined:
    Apr 22, 2017
    Messages:
    1,964
    hmm, interesting, wonder if the new update will implement something new :)
     
  8. Agent_Y

    Agent_Y
    Expand Collapse
    Jbeam/QA support
    BeamNG Team

    Joined:
    Jul 10, 2020
    Messages:
    10,056
    Late reply but I didn't see the message, I searched the files of the whole game with notepad++ and winrar for any metions of it and the only ones were in its own LUA file so it is literally not used anywhere
     
  9. Sithhy™

    Sithhy™
    Expand Collapse

    Joined:
    Apr 5, 2017
    Messages:
    3,343
    Maybe it's for regenerative braking for the electric vehicles?
     
  10. LucasBE

    LucasBE
    Expand Collapse

    Joined:
    Mar 22, 2015
    Messages:
    2,481
    It's, well, a servo. IIRC it's used in the phoulkon turret thing, you should check it out :D
     
    • Like Like x 2
  11. Agent_Y

    Agent_Y
    Expand Collapse
    Jbeam/QA support
    BeamNG Team

    Joined:
    Jul 10, 2020
    Messages:
    10,056
    Regenerative braking is controlled by the electric motors
    --- Post updated ---
    So I checked in the Phoulkon mod files and it appears that it's a complex device for setting exact precise angle on rotators via lua commands. And that's how the Phoulkon turret rotates. It's pretty cool. You just switch to current vehicle in console and write something like this:
    Code:
    powertrain.getDevice("your servo name"):setTargetAngle(the angle you want)
    
    And it will set this angle on the wheel or whatever other rotator you want (relative to default angle). Of course in the Phoulkon it's automatized. You can set how fast it sets the angle in RPM, change gear ratio, set stall torque, friction and dynamic friction, as well as angular spring (so basically stiffness of the servo end). And you can disconnect it too. There are also 2 modes, "absolute" will always rotate it in the direction you want while "shortest" will pick the direction that is faster to reach the target angle.
    So something like this is probably useless in normal vehicles but extremely useful in complex rotating props.
    A servo-controlled car is possible if you set rotation mode to absolute and put a very large angle. You start it by putting the command and stop by disconnecting the servo lol
     
    #11 Agent_Y, Oct 6, 2021
    Last edited: Oct 6, 2021
    • Like Like x 3
  12. D-Troxx

    D-Troxx
    Expand Collapse

    Joined:
    Oct 4, 2013
    Messages:
    1,321
    Iirc the crusher rollers also use servo's
     
  13. Agent_Y

    Agent_Y
    Expand Collapse
    Jbeam/QA support
    BeamNG Team

    Joined:
    Jul 10, 2020
    Messages:
    10,056
    It would make zero sense if they used them because servo rotation angle is limited. They use normal powertrain with electric motors like Vivace, you can check:
    asasdasd.png
     
    • Like Like x 1
  14. D-Troxx

    D-Troxx
    Expand Collapse

    Joined:
    Oct 4, 2013
    Messages:
    1,321
    My bad.
    I remembered it incorrectly.
     
  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