With the newest version and the beautiful new map, I had an idea for the AI which might have already been suggested before, but I still would like to mention it. The new map is beautiful... but it's lacking something... life. And that's no ones fault, since you can't implement a full ai traffic system with the physics currently as is... But what if you don't implement a "full" traffic ai system? For example (and I might be horribly wrong here), as far as I know, the ai makes turning decisions based on predefined points on the map... right? If you make a circle with X meter radius around the player, and gather every "decision point" within that circle, best case, "decision points" which aren't in direct view. Then, you could spawn a car at those decision point with the random AI on, and make it despawn the second the car leaves your circle and is out of view. This isn't perfect, because that would mean that after crashing into it and leaving it behind, it would be gone, but it would bring the city to life in my opinion. It would be nice if you could set the number of cars spawning in, depending on your system. Is this possible (spawning time wise)? What do you guys think? And has this been suggested before? And more technically: can you spawn vehicles using LUA? (I never programmed LUA before but I sure would like to give it a try with this idea in mind).
What would still absolutely murder the frames is the spawning/despawning itself. The game takes long enough to redraw, now imagine it happening every few seconds.
That depends on the system... the ryzen 7 systems wouldn't have much trouble staying above 30 fps with 8 "normal" cars (T-series of course not). That said, you could make the radius smaller giving the feeling that with less cars there still are people driving around. (For example 4 would be nice). --- Post updated --- Hmm, yeah, true, I hope that could be improved, then this idea would possibly work right :?