so many identical cars in the traffic!
-
hey guys
I found the traffic in my game is so ridiculous.. I have so many identical cars been spawned in the traffic..
n i maxed out all the setting already.. i guess it might because i mixed some vehicle and pedestrian file..could some one tell me how to solve this problem pls..
My point is put more pedestrians and versatile vehicles..n i maxed out all the setting already.. i guess it might because i mixed some vehicle and pedestrian file..
-
@zyankenta
You can manually change the pedvariety- and carvariety- multiplier in settings.xml
default max is 1.0 , mine is set at 2.0 , but i use mods that changes variety in general too.
You say you mixed some vehicle and pedestrian files? Which ones?Couple of mods that change variety,
These increase variety in general
https://nl.gta5-mods.com/misc/world-of-variety
https://nl.gta5-mods.com/scripts/lively-worldAnd these traffic only.
https://nl.gta5-mods.com/misc/versatile-traffic
https://nl.gta5-mods.com/scripts/dlc-vehicles-spawn-on-traffic
https://nl.gta5-mods.com/misc/southern-san-andreas-exotic-popgroups-ymt-803cba20-ebff-4a21-82a7-b0d70ab9a39aI hope this helps.
-
@Sebastony tks man!!!!much obliged!!!!! i ll try it!!!
-
@zyankenta do you have any replaced vehicles and edited meta files ? in vehicles.meta of each vehicle are data as the 'identical model distance', 'frequencz value' etc. which affect your variety. If you have for example set too much models at one vehicle, once it spawn, you would start see the same car all around.
So if you edited vehicles.meta, you can configure it there. If you have basic datas, just try to install some mods as was there mention for example World of Variety etc.
-
@ArmaniAdnr sry for late replying i just saw your msg anyway tks man! i ll try!!
-
@Sebastony hey man after i changed pedvariety n car variety from 1 to 2, my game will close without any notice randomly, so i m wondering do you have same issue like dat?? N I dont think its because my PC performance tho
-
setting the values below over 1.4 in settings.xml will do that, yes, has been reported in the past frequently
I have used higher values on occasion though but never over 2.2 myself<CityDensity value="1.400000" /> <PedVarietyMultiplier value="1.200000" /> <VehicleVarietyMultiplier value="1.400000" />
@eshenk ?
-
@ReNNie I don't notice things like this, because I am always "on the run" kinda player. You can adjust VehicleVarietyMultiplier value in your settings.xml file to whatever value you want, even 10 if you want, BUT there will always be the same type of vehicles per region i.e., poor vehicles in poor neighborhoods, and rich vehicles in rich neighborhoods etc. PopGroups is where you can make edits to bring in more variety if you absolutely must....but it will not be realistic.
-
@zyankenta
I would go down the same route as @ArmaniAdnr suggested & force the game to be unable to spawn a large amount of the same vehicle.Note: This method may take a bit of work as you will need to edit the value/s below for each vehicle individually. Notepad++'s 'Replace' & 'Find in Files' functionality may be useful here to allow you to change lot's of vehicles at the same time.
Also, you will be forcing the game to load a lot more separate & different vehicles which may have an effect on video ram usage etc. Depending on your ultimate goal (& your hardware to some degree) you may have to compensate for this at some point.Here are the values you can edit inside 'vehicles.meta' that affect spawn rates, spawn distances & how many of the same vehicle/vehicle colour are allowed to spawn at any one time.
<identicalModelSpawnDistance value="100" /> <maxNumOfSameColor value="1" /> <frequency value="30" /> <maxNum value="1" />
How you edit them all depends on exactly what you want.
Examples:
If you want only one vehicle of any one type to spawn at any one time just use this:<maxNum value="1" />
If you want a maximum of two of the same vehicle to appear at any one time but always be different colours use this:
<maxNumOfSameColor value="1" /> <maxNum value="2" />
If you want a maximum of two of the same vehicle to appear at any one time but always different colours & always spawn quite far apart use this:
<identicalModelSpawnDistance value="100" /> <maxNumOfSameColor value="0" /> <maxNum value="2" />
In the above example
<identicalModelSpawnDistance value="100" />
would be edited to suit your need. Increase the value to increase the minimum distance between the vehicles when the second one spawns. If you choose to have more than one vehicle possibly spawn at the same time & you notice duplicates, increase the 'identicalModelSpawnDistance' for that vehicle so they spawn further apart.
If you still notice them, increase further or try:<maxNum value="1" />
As mentioned earlier you may run into resource issues (video ram etc) if you take the one car only approach & have high traffic density. A carefully edited 'identicalModelSpawnDistance' value could alleviate this issue to some degree, if you can find the right balance. Ideally, the game loads 2 of the same vehicle (thus using less vram) but you very rarely notice the second one.
Lastly, the
<frequency value="30" />
is how frequently any one vehicle spawns in comparison to all other vehicles. It is affected by many other variables that only God & Unicorns know implicitly, so ideally it would be edited by hand. If a vehicle spawns too often (ignoring duplicates) you lower it slightly. I mention it here because if you have a few vehicles that are set way higher than the average they will appear a lot of the time & may account for some of the problems you're having. This is most likely the value you will edit last once you have set your max spawn/colour number etc
Note: The frequency value for police vehicles is usually high ('99', '100+' etc). This doesn't affect their spawn rate on the streets (no wanted level) but affects how they spawn in comparison to each other when you do have a wanted level & if you have multiple vehicles in the same 'VehicleSets' in your 'dispatch.meta' . I would treat them as a separate group of vehicles & leave their values untouched.
Any mass value change, like using Notepad++'s replace functionality, will undoubtedly also change dispatch vehicle values as well which would need to be reverted individually by hand/copy & paste so watch out for thatMake backup's of everything you edit before you edit it & you are safe to experiment & test results
Tip: If you have the space, backup the entire '.rpf' archive, not just the files it contains. It's a lot easier to revert changes with a simple .rar/.zip extraction of a '.rpf' archive than it is to remember every file you may have edited in the last 24hrs & it also covers you if one of your '.rpf's gets corrupt etc.
-
^ Excellent post sir!
For most lore friendly add-ons I have set up to roam via popgroups like most of Fenton's and Bob322's stuff I usually set the maxNum and frequency value to the same number, depending on the unique character it's 2/3 to 10 for pounder2 eg
-
@ReNNie
Cheers
-
Now I'll have to revise my service addon pack for frequency value I guess
I figured it was something related to spawn cycle but still struggling to comprehend how exactly spawn frequency and probability tie in amongst the settings.xml, gameconfig.xml, popcycle.dat and popgroups.ymt. The fact that popcycle.dat total numbers per zone can't go over 100 does not help...
I want to increase the frequency and probability of seeing the VW trucks like roadkiller roam the freeway without having too many instances at any given time. Guess that's a nice puzzle for coming fall.
-
@ReNNie
Not sure this is what you are looking for exactly but there is a 'FREEWAY' 'CAmbientModelSet' in 'vehiclemodelsets.meta' that may have some functionality that may be of use to you. Perhaps. It looks like this:<Item type="CAmbientModelSet"> <Name>FREEWAY</Name> <Models> <Item> <Name>BURRITO</Name> <Variations type="NULL" /> <Probability value="1.000000" /> </Item> <Item> <Name>burrito3</Name> <Variations type="NULL" /> <Probability value="1.000000" /> </Item> <Item> <Name>PONY</Name> <Variations type="NULL" /> <Probability value="1.000000" /> </Item> <Item> <Name>speedo</Name> <Variations type="NULL" /> <Probability value="1.000000" /> </Item> <Item> <Name>BOBCATXL</Name> <Variations type="NULL" /> <Probability value="1.000000" /> </Item> <Item> <Name>BISON</Name> <Variations type="NULL" /> <Probability value="1.000000" /> </Item> <Item> <Name>Bison3</Name> <Variations type="NULL" /> <Probability value="1.000000" /> </Item> <Item> <Name>SADLER</Name> <Variations type="NULL" /> <Probability value="1.000000" /> </Item> </Models> </Item>
Not sure exactly where they spawn on/around the freeway etc but they look very much like service/utility vehicles for the most part so swapping them out for your service pack vehicles might just get you close to the probability you are looking for without too much hassle. I'm presuming they spawn quite regularly but not too many or we would have noticed duplicates (having eight different, effectively random vehicles to choose from per spawn point undoubtedly helps remove chance of duplicates & may solve any 'too many instances at any given time' issue straight out of the box
).
Not sure about the:<Probability value="1.000000" />
Haven't tested that value (& I've only ever seen it = 1.000000 so may just be an ON/OFF (1/0), although that would seem like a pointless waste of space R*
if that were the case). Could be the probability of spawn frequency within that ''CAmbientModelSet'. Might be worth testing at some point if you go down this route
Just thought I'd share anyway as 'vehiclemodelsets.meta' can sometimes offer an alternate approach to certain specific spawn requirements. All the best
-
No i don't have this issue, but trust me i had my share of random crashes..
But up until now , no crashes anymore.....(but as i progress that might change offcourse)
I too read somewhere, that this change in the xml, can cause crashes, but that will depend on system specs too offcourse.
-
@Sebastony tks man thank you for all your patient!!
-
@ReNNie tks man i ll try tht!!
-
@a63nt-5m1th tks man tks for all tht i ll try it!!
-
@ReNNie tks man i ll try it !!
-
@a63nt-5m1th thank you sir! thank you for your post! it really helps!
-
-
@a63nt-5m1th @zyankenta Hello together. I have been looking for a solution to spawn trains with more than 100 wagons for some time now. I've already tried the above suggestions from you, unfortunately the game crashes again and again. The Gameconfig.xml I have already several times compared with other modders to increase spawn limits in the game. This has also unfortunately not worked. Can you perhaps help me or do you have any plan what could be the cause that the trains may not be longer than 100 wagons? Thanks for your help;D
-
bump. this issue plagues my game. All ive replaced was all the police cars one taxi and a ups van and i noticed the variety isnt so good. lots of biffs lots of dump trucks with garbage etc. no matter what i edit doesnt seem to help can someone provide a file with good edits?
-
@yellowboy06
Find the biffs & dump truck etc 'vehicles.meta' data & change their same lines to this:<identicalModelSpawnDistance value="500" /> <maxNumOfSameColor value="1" /> <frequency value="30" /> <maxNum value="1" />
-
@ReNNie Where Is the location of settings.xml
-
@WGotch07 Oh okay, thanks for replying