I am trying to replace as many cars in the game as possible by their real counterparts. What happens after replacing 20/30 cars is that only two/three car models spawn:
- The car that you drive spawns
- Cars that were parked will now spawn.
I thought that I would look into vehicles.meta . There are the following lines in the code for every vehicle:
<identicalModelSpawnDistance value="20" />
<maxNumOfSameColor value="10" />
<defaultBodyHealth value="1000.000000" />
<pretendOccupantsScale value="1.000000" />
<visibleSpawnDistScale value="1.000000" />
<trackerPathWidth value="2.000000" />
<weaponForceMult value="1.000000" />
<frequency value="100" />
<swankness>SWANKNESS_3</swankness>
<maxNum value="999" />
I put in bold what I think is important for the car spawn. Even when I change the frequency value and maxNum value to 0, identicalModelSpawnDistance to 1000, and maxNumofSameColor to 0, the game somehow overrides the vehicles.meta and still spawns the cars that I told it not to spawn.
I understand that the game doesn't like replacing vehicles with models that weigh 5-15 Mb, but I would rather have the game crash on me when I swap too many cars, than seeing the same 3 models all over again. Does anyone have any idea how to add more variety to the traffic even with modded cars? Thanks.