1. Stuck, Having problems with creating your mod? Let us help you: Mod Support

WIP Traffic Tool 1.2

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

  1. umustbeloggedintododat

    umustbeloggedintododat
    Expand Collapse

    Joined:
    Feb 16, 2019
    Messages:
    105
    Yes, all mods for next update.

    Wait what you said you will do it for the neextt update
    ff.png
    --- Post updated ---
    Hey, what happened? What happened to the group options? Great... now i have boring default vehicles.
     
  2. fufsgfen

    fufsgfen
    Expand Collapse

    Joined:
    Jan 10, 2017
    Messages:
    6,696
    Have you read this?
    https://www.beamng.com/threads/traffic-tool.60967/page-22#post-1021140

    Also you can choose and spawn whatever vehicles you want manually from vehicle menu, then just activate traffic.
     
  3. Gamergull

    Gamergull
    Expand Collapse
    Staff Member

    Joined:
    Jun 3, 2018
    Messages:
    246
    Ah, dammit. I thought that wouldn't happen.

    It's still there, I changed (*) to Select to make the buttons look more consistent.

    Eventually, I'd like to have a feature to easily save and load vehicle groups. Multi-vehicle spawning is so useful, and it can be improved in several ways.
     
    • Like Like x 1
  4. umustbeloggedintododat

    umustbeloggedintododat
    Expand Collapse

    Joined:
    Feb 16, 2019
    Messages:
    105
    flip i didn't
    --- Post updated ---
    also beamng says not responding when i spawn vehicles
     
  5. VeyronEB

    VeyronEB
    Expand Collapse

    Joined:
    Aug 5, 2012
    Messages:
    1,580
    I'm not sure what is causing it, but it seems like every time there is a moonhawk spawned with the traffic tool it will stop on the road as soon as it spawns and reverse as if something is infront of it, does this happen to anyone else? I'm running the game in safe mode with just this mod enabled. With the moonhawks removed it runs fine.



    They also seem to get stuck in gear weirdly

     
    • Agree Agree x 1
  6. Gamergull

    Gamergull
    Expand Collapse
    Staff Member

    Joined:
    Jun 3, 2018
    Messages:
    246
    Interesting, so it won't spawn any vehicles and freezes the game? Keep in mind that if you spawn in a lot of vehicles at the same time, it can lock up the game window, making it think it stopped working while it's still processing.

    Hmm, I got this issue to happen. Very weird; this didn't happen in 0.15 (every base model car worked perfectly). What makes this weirder is that my script loads the default config (moonhawk/v8a.pc) and it won't drive (even if you switch to it), but if you spawn v8a.pc manually in the vehicles menu, it works just fine. Gonna dig deeper with this. For now, if you want, you can edit out "moonhawk" at the top of the dynamicTraffic.lua file.
     
    • Like Like x 1
    • Informative Informative x 1
  7. Gamergull

    Gamergull
    Expand Collapse
    Staff Member

    Joined:
    Jun 3, 2018
    Messages:
    246
    I saw this error:

    Code:
    875.47780|E|libbeamng.lua.V.jbeam.fillSlots|slot "moonhawk_differential_R" left empty as part "moonhawk_differential_R_A" was not found
    It looks like a slight mishap in the .jbeam file. What I don't understand is, why does the Moonhawk drive normally when you spawn it in with the vehicles menu? I'm not an expert with anything related to vehicle files and contents.
     
    • Informative Informative x 2
  8. Aboroath

    Aboroath
    Expand Collapse

    Joined:
    Aug 25, 2013
    Messages:
    3,791
    Happens here too. Really makes a mess of things..lol. Additionally I have a couple of non-responsive buttons in the app (AI behavior,AI awareness)
    but I want to really clear my game up before making noise about it.
    EDIT: Moonhawk jbeam issue still there as is missing color mode and AI mode buttons in the app.
    Anyone have the missing buttons as well or is it likely my issue?
     
    #448 Aboroath, May 9, 2019
    Last edited: May 9, 2019
  9. cgjunk

    cgjunk
    Expand Collapse

    Joined:
    Mar 1, 2015
    Messages:
    86
    Does anyone else have trouble with .16 using the vehicle configuration dropdowns when other cars are spawned? The menu tends to disappear every time I make a selection, and the whole car changes to a completely different configuration if I try to select a new part. My vehicle sometimes disappears as well. I’m not completely sure yet if it’s related to this mod, or general bugginess, but I dont think its happened with the AI app off.
     
  10. Aboroath

    Aboroath
    Expand Collapse

    Joined:
    Aug 25, 2013
    Messages:
    3,791
    So it looks like the Moonhawk issue is resolved with the latest update...yay!
     
  11. Gamergull

    Gamergull
    Expand Collapse
    Staff Member

    Joined:
    Jun 3, 2018
    Messages:
    246
    Yeah, it seems to happen whenever any car gets respawned. Hmm, I don't have a fix. For now, try setting the AI mode to "Disabled" before using the part config menu.

    Now there's less traffic jams :) . Oh yeah, and for the app dropdown menus, make sure that the mod is updated; I had to fix a few things for 0.16.
     
    • Informative Informative x 1
  12. fufsgfen

    fufsgfen
    Expand Collapse

    Joined:
    Jan 10, 2017
    Messages:
    6,696
    You can also hit J key to pause game after opening parts menu, it did glitch out at times, but most of the time that helps to switch parts to car while AI cars are active on map.

    If pressing J key around point in time where respawn is imminent, that kinda glitched it out, I think, my memory is shot but have faint traces of such memories :p
     
  13. PolishPetrolhead

    PolishPetrolhead
    Expand Collapse

    Joined:
    Nov 29, 2015
    Messages:
    402
    May I ask why you lowered the maximum respawn rate from 4 to 3? I was quite enjoying the ridiculous congestion without murdering my pc with more than 4 cars at once. :(
     
  14. Gamergull

    Gamergull
    Expand Collapse
    Staff Member

    Joined:
    Jun 3, 2018
    Messages:
    246
    Heh, I wasn't expecting a comment like this. I was thinking that rate 4 was too absurd; cars would despawn 50 m behind you and spawn in around 100 m in front of you (depending on other variables). I think I got too serious with that decision, sorry. If you want, you can override the respawn rate by pasting this into the command console (~):

    Code:
    freeroam_dynamicTraffic.setRespawnRate(4)
    Also, you can edit and save the cap in the .html file within the mod files (the max="3" bit).

    I'm not really intending to do updates to this mod; I'm getting more focused on internal work.
     
  15. fufsgfen

    fufsgfen
    Expand Collapse

    Joined:
    Jan 10, 2017
    Messages:
    6,696
    Hey @Gamergull I was thinking, what if player could switch vehicle when AI vehicle is withing certain range, would not necessarily work with police cars, but with other cars it would allow kinda get new wheels and continue the run by pressing one key or button?
     
  16. Gamergull

    Gamergull
    Expand Collapse
    Staff Member

    Joined:
    Jun 3, 2018
    Messages:
    246
    As in, take over an AI vehicle as a player vehicle? I was actually testing that a while back, and I got it to work, but for some reason the other cars wouldn't respawn anymore. I like that idea, though; I'll have to try again. I'm a bit smarter now :p . For now though, this mod is staying this way.
     
    • Like Like x 2
  17. unyxium

    unyxium
    Expand Collapse

    Joined:
    Mar 30, 2019
    Messages:
    11
    I found one issue with the mod - if a node from an AI car is attached to your own vehicle/one that isn't controlled by the Traffic Tool, the moment the AI car respawns somewhere else, the node is detached BUT the game goes unstable and pauses and resets vehicles.
     
  18. Spicymeymeys420

    Spicymeymeys420
    Expand Collapse

    Joined:
    Aug 2, 2018
    Messages:
    74
    I have a question, how do you use the custom car preset for the traffic?

    upload_2019-5-24_15-6-40.png
     
  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