Suggestions about the traffic

Discussion in 'Ideas and Suggestions' started by Dr. Death, Jul 6, 2021.

  1. Dr. Death

    Dr. Death
    Expand Collapse

    Joined:
    May 12, 2016
    Messages:
    2,097
    Hey! I understand that the traffic is still in development and memory pooling is one of the most intensive yet cool features to make the flood AI traffic work, however i'd like to propose a suggestion after seeing police bruckels and sunbursts next to police vans:

    Manually picking AI cars

    The concept being that you can, either per session, or per map, have the player pick a preset of AI cars the game can take for the flood. This can help when making the setting be based around an era, selecting mod-cars only, or to make sure only 1 type of cop car is present when using AI traffic.

    Background traffic

    This is A LOT more experimental and more wishful thinking, however i was wondering why not make cars that dont have to be rendered, instead of completely eliminating, saving what car it is supposed to be, and more or less where it should be going, to render that car again when the player turns into view. For example, if i cross an intersection and i see a white covet turn to the right while i go straight ahead, and the car despawns, and immediatly afterwards i return and go where the white covet went, the game would track what car it was last spotted there and it would spawn a white covet instead of either nothing or a blue bolide.

    Parked cars

    Now i know this one is even more wishful thinking, however i found it strange how even if you had 20 cars in AI traffic around, parking spots would be empty and every car would be driving around, so i thought how there could be a random variable to decide if passing by a road with side parkings, or parking lot, some of the spawned cars should be spawned parked with the engine off, or parking, or leaving the parking space. That being said i suppose this would be even more CPU intensive and because they would act more as random props they would not feel quite as lively as if they were driving around.
     
    • Like Like x 1
  2. P_enta

    P_enta
    Expand Collapse

    Joined:
    Jan 11, 2020
    Messages:
    3,029
    Your background traffic thing already happens and is a feature of every single game engine ever. when things are not in view, they are essentially paused and arent rendered.


    What really needs to happen is an option to completely disable physics on traffic cars. Whenever I spawn traffic, I never crash into them. taking time to calculate all the physics and jbeam stuff is a complete waste of resources. IT would be great to toggle it on and off. and no, the simplified physics option doesn't achieve this.
     
  3. Dr. Death

    Dr. Death
    Expand Collapse

    Joined:
    May 12, 2016
    Messages:
    2,097
    Yes, i suspected simplified physics only affects YOUR car, not the others, however isn't the background traffic the memory pooled AI traffic option? Why is it also so resource intensive if its only supposed to draw a direction, speed, and keep data of the car it was despawned? Does it tries to simulate extra stuff it shouldn't?
     
  4. P_enta

    P_enta
    Expand Collapse

    Joined:
    Jan 11, 2020
    Messages:
    3,029
    what I meant was disabling physics altogether on traffic cars regardless of if you’re looking at them or not. Just simulate body roll and suspension, because when I personally use traffic I never crash into the cars. Simulating everything else is a waste of resources
     
    • Agree Agree x 1
  5. Dr. Death

    Dr. Death
    Expand Collapse

    Joined:
    May 12, 2016
    Messages:
    2,097
    I just realized, i dont think i explained myself properly to you when i said about the background traffic. What i meant with them is that the game will still remember what car it was last seen where and the general route it was having, so that if you do a complete circle you could see the very same car in the same, or slightly ahead, location, i am aware that the car despawns, i was suggesting that to make the game feel more immersive when the car despawns and you go back to the same area to find different cars around.
     
  6. P_enta

    P_enta
    Expand Collapse

    Joined:
    Jan 11, 2020
    Messages:
    3,029
    Oooooooohhhh that makes more sense. It would also be great for cars to already be moving when spawned. So sick of cars spawning right in front of me stopped, while I’m going 75mph on the highway
     
  7. Dr. Death

    Dr. Death
    Expand Collapse

    Joined:
    May 12, 2016
    Messages:
    2,097
    I agree. I've been trying to look around the fact that obviously cars cant be permanently in the game, but people that drive around might still want to see consistency in cars spotted around.
     
  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