Log in to reply

Increased traffic variety

  • Hi all, trying to find a more reliable way to increase traffic variety in game. I had modified the settings.xml file to push the variety past the normal limits, which seemed to work for a while, but now it seems like I'm getting the same same cars over and over. I have some 1000+ vehicles in game, probably 6-800 of which are included in a custom popgroups.ymt. I was running a custom popcycle but have since reverted to WoV popcycles hoping that would resolve the issue. Is there an upper limit to the amount of vehicles the game can choose from before it gives up trying to create more variety?

  • @ItsJustCurtis I've read somewhere that this is happening since GTA IV.

    I've had the same problem, it looks like after some point the game just can't handle the spawn variety, and kinda bug.

    I found a fix, partial in my case because i've never took the time to do it entirely, so I don't know if it works completly.

    I realised that the repeating spawning cars are always the ones with huge 'maxNum' values (in 'vehicles.meta') : 999, 50, 100...
    Just for the sake of information, that line represents the maximum amout of cars that can be spawned in a cycle.

    So i've edited this value for some of them to what I consider a reasonable amout, which is about 3 to 6.

    • Meaning that once carA with 'maxNum value="4" will be spawned x4 times around the player, the game will cycle through another one, preventing an infinite cycle of the same car.

    The thing is, if you want this as a permanent fix, you need to do this with all the cars from your 'popgroups.ymt'.

    The only parameter that you need to take care of, is that some cars probably needs higher values for scenarios/missions, and I have no idea about that.

    Anyways, hope it could help.

  • @epoqx I'll have to look into that, I wasn't aware that was a thing. I'll see what format the vehicles.meta file is. If I can automate that in the same way I have the popcycles and pogroups then I'm onto a winner

  • @epoqx That definitely seems to be working, though my total amount of traffic vehicles on the road has drastically reduced. I need to do a bit more digging to work out how best to approach it. Do you know if I can have one big vehicles.meta that can over-ride all the others?

  • @ItsJustCurtis I guess your are talking mostly to regroup the add on vehicles in the same 'vehicles.meta' ?

    I've never tried it but it could be a good idea.

    The way I see it, is copying each addons 'vehicles.meta' into the main one. But seems like a lot of these files are hard limited by memory or something like this. When they are overloaded, strange bugs seem to happen.

    Edit : Need to take into account that, I think, addons files (dlcpacks)have priority over the main files.

    I wouldnt take the risk my self to do all that work for nothing !

  • @epoqx Yeah I tried doing that and have broken my game irreparably :sob: Even my backup copy of the game isn't working now, having to do a fresh install and reload all the mods one by one. I think I may have to give up on this line of inquiry

  • @ItsJustCurtis What happened, and when ?

  • Was changing around the vehicles.meta which stopped multiple duplicates spawning, but also reduced traffic drastically. Used a higher traffic multiplier gameconfig which didn't make all that much difference. deleted my mods folder with all the modded vehicles.meta files in and replaced it with a working mods folder from my backup drive before I started messing with the vehicles.meta. Reinstalled VWE to set traffic to a normal level in popgroups and popcycle, and the game would crash on startup. Removed the game folder and replaced the whole thing with my modded backup, still crashed on startup. Removed it again and replaced it with my clean copy of the game, checked file integrity in steam. Game launched but crashed within a few seconds of exiting the safehouse. Have now unistalled via steam, deleted the mydocuments folder and in the process of doing a fresh install

  • @ItsJustCurtis said in Increased traffic variety:

    Reinstalled VWE

    Looks like this was the thing that messed it up. I don't see why it could've crash without it.
    Sorry to hear that !

    I don't know how much of a difference in traffic editing the vehicles.meta did, but sometimes we are so into our things that we see huge difference in little details when they are none.. I just hope it was really the case for you !

    Now you are telling me that this fixed the problem of spawning variation, need to figure out why it reduced traffic now.

Log in to reply

Looks like your connection to GTA5-Mods.com Forums was lost, please wait while we try to reconnect.