1. Stuck or having problems creating your mod?

WIP Traffic Tool 1.2.1

It's here! Create dynamic traffic on almost any map!

  1. cgjunk

    cgjunk
    Expand Collapse

    Joined:
    Mar 1, 2015
    Messages:
    88
    STAFF MEMBER!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

    Hurray!!!! HIP HIP HORRAY! Dis gon be good.

    So....what's in like on the inside?
     
    • Agree Agree x 1
  2. CrimsonCrocodile

    CrimsonCrocodile
    Expand Collapse

    Joined:
    Jun 27, 2017
    Messages:
    1,429
    It's all under NDA so I doubt he can tell us much lol
     
    • Agree Agree x 1
  3. cgjunk

    cgjunk
    Expand Collapse

    Joined:
    Mar 1, 2015
    Messages:
    88
    Maybe he can tell us if the floors are shiny, or maybe they put out chips and salsa...the good kind. Maybe he can tell us about the jet. Not everything is in an NDA you know ;)

    Seriously though, this is awesome. The importance of Gamergull’s contributions have been recognized. This can only mean an even better and more polished AI for the base game. The sky is the limit (no pressure).
     
    • Agree Agree x 3
  4. tdev

    tdev
    Expand Collapse
    Developer
    Staff Member

    Joined:
    Aug 3, 2012
    Messages:
    2,864
    We just started working together on getting this integrated into the core game :)
     
    • Like Like x 43
    • Informative Informative x 2
    • Agree Agree x 1
  5. SomeVietnameseplayer

    SomeVietnameseplayer
    Expand Collapse

    Joined:
    Mar 10, 2018
    Messages:
    7
    I still remember the Devblog video about Traffic AI stop at the intersection, will it come true in the next update?
     
    • Agree Agree x 1
  6. kongfeh

    kongfeh
    Expand Collapse

    Joined:
    Oct 2, 2013
    Messages:
    28
    I am really happy to hear, that they are working to make the traffic app official! That would guarantee us that the app will be developed at the same time as the game (as part of the game) and we will never have to miss it again! Thanks again for the app Gamergull. The game is now on a completely different level! Good luck on your future path in the BeamNG team! I'm sure we'll all have a lot of fun with your talent :)
     
    • Agree Agree x 5
  7. Cop

    Cop
    Expand Collapse

    Joined:
    Jul 15, 2018
    Messages:
    64
    Nice! The colrbug, can also be solved if you change the color to unchanged I noticed. You really do great work! By the way, ever tried out the polish map and skins?
     
  8. LegoMarcusR

    LegoMarcusR
    Expand Collapse

    Joined:
    Mar 13, 2015
    Messages:
    122
    After using this mod for quite a bit, I have some recommendations I would like to make. First, changing the skin of a police car makes it not chase you any more. I think making it detect if a light bar is on the car or not should determine if it is a police car or not, rather than having to have the default skins. Secondly, it would be really cool if each individual road had a set speed limit with the included speed limit option being an override. This may be hard to implement, but at the moment, it is hard to get the speed limit right, as you want it high enough for the freeway but low enough so that you get pulled over for whipping it on a windier road.

    I hope this helps with the development of the mod, and I would just like to say that I think this is my favorite mod made for this game so far. Amazing work.
    --- Post updated ---
    Oh and another thing that would be cool is if the AI police could pull over the AI.
     
  9. Shotgun Chuck

    Shotgun Chuck
    Expand Collapse

    Joined:
    Mar 6, 2015
    Messages:
    1,103
    ALL ABOARD THE HYPE TRAIN
     
    • Agree Agree x 2
  10. fufsgfen

    fufsgfen
    Expand Collapse

    Joined:
    Jan 10, 2017
    Messages:
    6,779
    Sometimes I get error spawning lot of red text in console, userdata excepted go table instead is the error message. Has happened randomly, sometimes after using insert or r to fix the car, but I'm not sure what really triggers that.

    Maybe is related to situation where using parts manager to change parts of car, then hitting r or insert, but still haven't found certain way to make it happen, most of the times when happens I have had own car config changed with parts manager and using insert or r to own car.

    Anyway future versions probably will have better ways of doing things as some changes to game might happen in order to support traffic functionality better.

    I really like how this turned out to becoming part of core game, this is so huge game changer that it certainly needs to be part of the game and you certainly deserve all the glory with it.




    Most fun way to use this tool has been setting up to 10 AI cars, then set one to flee mode with AI manager, usually one with stig inside I set fleeing, then use police car yourself and high speed chases are really good at American road map, that I find to be best of all, you can keep running forever and roads are enough long to not feel running on circles constantly.

    Just don't set Pigeon to flee on Cliff roads map, that will result insane high speed chases at 20mph uphills, barrel rolling pigeon at downhills, it has some entertainment value though!
     
    • Like Like x 1
  11. Cop

    Cop
    Expand Collapse

    Joined:
    Jul 15, 2018
    Messages:
    64
    Agreed, but it's tricky to make the mod clear the fleeing car is not traffic al, plus that it doesn't crash into traffic, given the awareness does not work for it.
     
  12. Gamergull

    Gamergull
    Expand Collapse
    Staff Member

    Joined:
    Jun 3, 2018
    Messages:
    273
    Yeah, that's true; any AI vehicle not activated by my app gets ignored by my script entirely. It's due to my code structure; the AI awareness logic isn't part of the ai.lua file (but it's possible; however, I'm not gonna mess around with that at the moment).
     
  13. Jarret Rucker

    Jarret Rucker
    Expand Collapse

    Joined:
    Apr 18, 2017
    Messages:
    467
    Wait so this app is gonna be integrated into the base game? What have I been missing?
     
  14. Blijo

    Blijo
    Expand Collapse

    Joined:
    Apr 27, 2016
    Messages:
    1,925
    I think that this is a good thing. It gives a bit more control so you can set up a chasing or fleeing car in traffic :)
    Congrats on getting this to the base game btw. Well deserved imo.

    Because of that, I made you something.
    bngull.png A new profile pic :D
     
    • Like Like x 9
  15. fufsgfen

    fufsgfen
    Expand Collapse

    Joined:
    Jan 10, 2017
    Messages:
    6,779
    When fleeing AI crashes, I then drive on and soon it is spawned onto traffic again, then it starts running away and I chase with sirens on. It is kinda real like, when AI gets too far and crashes to other cars as role of police is warn other road users that they can avoid the fast one.


    That makes it kinda whole game, where aim is to warn other road users (make them drive side of road) before speeder crashes to them, it requires to keep close to speeder, but I don't make speeder to stop, just tail him, to make it more interesting often I choose really low powered vehicle for myself.
     
    • Like Like x 2
  16. Danny Werewolf

    Danny Werewolf
    Expand Collapse

    Joined:
    Mar 31, 2017
    Messages:
    2,189
    Just one more reason I should build a pc to run more than 4 cars...
     
  17. Cop

    Cop
    Expand Collapse

    Joined:
    Jul 15, 2018
    Messages:
    64
    A good thought, yet you have to respawn the fleeing car manually and it does turn around if you are in front of it

    Yes, but it's tricky I notice make the app clear it's not part of the normal traffic. When I first tried, it got traffic activated, despite having set the Al to flee beforehand and traffic to normal.

    By the way, two questions if you don't mind:
    1. Could it be possible to chase and bust other drivers if you drive a cop car with the app in the future?
    2. What exactly makes the app trigger that the police loses you? I had a chase where they lost after I turned a corner just around 50 in front of the police, still visible.
     
  18. fufsgfen

    fufsgfen
    Expand Collapse

    Joined:
    Jan 10, 2017
    Messages:
    6,779
    I set one of the spawned to flee, I can spawn it manually too, but works also when spawned automatically, then after you choose flee to that one car, then pause, go check your license plate, choose it get into your car, hit activate to traffic (yes, after you have set car to flee) now it works properly.

    Flee does not disappear, even traffic tool activates traffic spawning to fleeing car.

    I chased over 4 hours non stop one day, didn't need to setup anything after initial setup.

    Of course no one ever believes me, but here is a proof, fleeing car gets spawned and it turns around, but yeah you need to set flee before you hit activate, when you hit activate you don't need to set traffic mode in traffic app, that way mode is what is set before hand I believe:


    Well driving was horrible as I did try to show it quickly while playing on gamepad.
     
  19. Shotgun Chuck

    Shotgun Chuck
    Expand Collapse

    Joined:
    Mar 6, 2015
    Messages:
    1,103
    This is probably a dumb question, but I'm too lazy to read through this thread and I can't find anything about it on the repo page: is multi-lane support for highways working yet? I'm updating my Giant Thread O' Racing Roads and have referred to multi-lane traffic as an upcoming feature of your mod; is it still upcoming or is it actually live now?

    (And yes, I have the mod downloaded, but I really don't feel like trying to see if my fan curve tweak is enough to handle it right now).
     
  20. Cop

    Cop
    Expand Collapse

    Joined:
    Jul 15, 2018
    Messages:
    64
    I see. When i tried it First, it was Traffic, dispite having the car set to flee beforehand
     
  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