Functioning Traffic Lights, Driving AI

Discussion in 'Ideas and Suggestions' started by umadbro?, Jun 18, 2014.

  1. umadbro?

    umadbro?
    Expand Collapse

    Joined:
    Oct 4, 2013
    Messages:
    7
    I made a few searches about these things but couldn't find anything relevant, i was wondering if there could be on certain maps working traffic lights, and if possible AI that you can spawn in that will follow the roads (and go back if you crash them out of their course). Only AI that you spawn in otherwise there would be too much cars and it would be laggy, i wouldn't mind driving with something that's following road and road rules.

    This is just a suggestion, i don't know how the game engine works so don't criticize if i'm have a huge misunderstanding.
     
  2. Ghost187

    Ghost187
    Expand Collapse

    Joined:
    Sep 1, 2013
    Messages:
    409
    regarding the trafficlights...

    i was on to something with pointlights that had pulseanimations to simulate a trafficlightsystem on "riverside expressway"
    its basically just placing three colored pointlights infront of the texture and adjust the animation timing... sure cheap, but good results.

    anotherway would be to make animated textures from the beginning. but im clueless about that
     
    • Like Like x 1
  3. HadACoolName

    HadACoolName
    Expand Collapse

    Joined:
    Aug 3, 2013
    Messages:
    1,931
    How have you gone so long without posting anything????? :eek:
     
  4. umadbro?

    umadbro?
    Expand Collapse

    Joined:
    Oct 4, 2013
    Messages:
    7
    I like to keep a low profile
     
    • Like Like x 1
  5. 14ramosr

    14ramosr
    Expand Collapse

    Joined:
    Sep 7, 2013
    Messages:
    979
    Welcome to the forums! And, I just wanna say: THANK YOU for using the search bar first. Upgraded AI is planned for the future, I know that for sure. Im not sure how it will be done (such as a point to point AI, or procedural/randomly following roads) but the AI will be massively improved.
     
  6. Blockman

    Blockman
    Expand Collapse

    Joined:
    Sep 1, 2013
    Messages:
    296
    And to reduce the lag they could take out most of the interior.


    Sent from my iPhone using Tapatalk
     
  7. gabester

    gabester
    Expand Collapse
    Vehicle Director
    BeamNG Team

    Joined:
    Jun 6, 2012
    Messages:
    2,653
    Interior contributes probably 0.001% to CPU overhead and 0.1% to GPU overhead. The bottleneck is the vehicle physics, and there is no way to reduce the LOD or stop simulating part of it to save FPS.
     
  8. umadbro?

    umadbro?
    Expand Collapse

    Joined:
    Oct 4, 2013
    Messages:
    7
    does that mean We won't have ai that follow certain routes or something between those lines?
     
  9. bigbadboy

    bigbadboy
    Expand Collapse
    Banned

    Joined:
    Aug 3, 2016
    Messages:
    16
    i would agree to that because the ai is just like saying "bruh" every 10 seconds
     
  10. games23323

    games23323
    Expand Collapse

    Joined:
    Jan 4, 2019
    Messages:
    19
    you can always set the AI to random and they would follow the road
     
  11. 98crownvic

    98crownvic
    Expand Collapse

    Joined:
    Jul 14, 2016
    Messages:
    1,525
    WCUSA has working traffic lights. I have no clue how they’re executed, but it has them.

    They sorta do, but they’re not very good at it, going all over the road, wrong ways in one ways, and so on.
     
  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