Traffic Spawner (modded traffic fix) 0.2
12,004
229
12,004
229
TRAFFIC SPAWNER v0.2 BY ALPHAZOLAM
Description:
Are you sick of seeing lines of the same cars over and over at every stoplight? Do you want to see more variety in your GTA V traffic?
This mod looks for off-screen duplicate cars in the nearby traffic, and if it finds any, it transforms the duplicates into random vehicles from either of two vehicle lists in the trafficspawner.ini file. The purpose of this mod is primarily to negate the effects of the infamous "taxi glitch" (as it was known in GTA IV), where - after you have modded the game's vehicle models a fair bit - only a select few vehicles will naturally spawn in traffic. In GTA IV, these vehicles were 90% taxis and 10% cop cars (all Crown Victoria and Impala models). In GTA V, the vehicles are a little more varied than that (and taxis themselves are not actually a problem), but with too many modded vehicles you may find only the same car you are driving plus two or three others spawning on the roads, and nothing else. With version 0.2, the mod is now capable of spawning new traffic on normally empty roads, with a new option in the INI file.
Only nearby and off-screen cars/motorcycles/quadbikes of which there are two or more of (and which have not been damaged) are transformed. What vehicle they transform into is entirely random . Cars that are transformed into police vehicles will get cops as their drivers. Sometimes, distant parked cars can be transformed (and in such cases they will gain a driver); but most of the time, the vehicle must be moving. Cars are marked with the license plate "K41482D2" if they have been transformed, just to make sure they aren't transformed more than once. Cars that are transformed into planes maintain their direction and have their velocity multiplied by 50, and the altitude that they appear at can be changed in the INI file.
Installation:
Put the TrafficSpawner.ASI and TrafficSpawner.INI files in your GTAV folder, then load up the game with ScriptHookV installed, and then toggle the mod in-game by pressing the hotkey NUMPAD-3 (default) asdefined in the INI file. [0x63] means numpad-3. For a list of key-codes, see this website: http://www.kbdedit.com/manual/low_level_vk_list.html .
v0.2 Changelog:
-Cleaned up peds spawning outside of their vehicles
-Added actual ability to spawn new vehicles (on any road), rather than only replace duplicates
-Added option to randomly spawn police vehicles packed full of cops
-Added new performance-tweaking options, such as "wait time between spawns" (in milliseconds)
-Fixed parachutes
-Added some stability fixes
Options in TrafficSpawner.ini:
[0] means off, [1] means on...
*Hotkey = [0x63] //for the list of possible key-codes, look here: http://www.kbdedit.com/manual/low_level_vk_list.html
*Automatic ped spawner = [1] //this option forces peds to routinely spawn in the distance, in "scenarios" (like eating at an outdoor cafe), and next to other off-screen peds
*Peds spawn in cars = [1] //this option forces new peds to spawn randomly in any of the available seats in nearby vehicles.
*Peds use parachutes = [1] //basically ported over from my melee riot mod, I felt this feature fits better with this mod. Peds who fall from a great height will pull a parachute and glide to safety. Great fun with a gravity gun mod (such as my own).
*Minimum distance at which cars can transform = [5] //this option determines how far away a duplicate vehicle must be to transform into one from the list
*Minimum safe airplane height = [55] //this option determines the minimum height at which airplane vehicles in the list will spawn at. Set to 0 if you want to see them (try) and take off in the middle of the road.
*Aircraft missiles = [0] // set this to 1 if you want spawned Lazers, Hydras, Buzzards, Savages and the like to shoot missiles at passing traffic as they fly past.
*Odds of spawning = 1/[15] //This determines the likelihood of a particular duplicate car to transform. Setting the odds too low can cause the mod to crash (not the game, just the mod - alt+tab the game and close the error message and you can continue playing w/o the mod).
ADVANCED OPTIONS:
*Vehicle task rate = every [33] tics //CAREFUL with this - the lower this number is, the more frequently all vehicle-related activities are done by the mod (such as transforming vehicles)
*Ped task rate = every [50] tics //same as above, but with the peds and the ped-spawning options.
*Debug Messages = [0] //turn this on if you want to see what the mod is doing and if it is even successful
VEHICLES LIST:
*Use small vehicles list: (50 vehicles max, 5 per line) = [0]: //a small list of 50 vehicles, currently filled up with fighter jets and attack choppers for testing. Here is a more normal list:
sandking2, schafter2, scorcher, scrap, lectro,
kuruma, kuruma2, trash2, slamvan2, marshall,
sentinel, cheetah, coach, cogcabrio, comet2,
coquette, cruiser, daemon, oracle2, packer,
patriot, pbus, pcj, penumbra, peyote,
phantom, phoenix, bmx, bobcatxl, bodhi2,
boxville2, btype, turismor, alpha, massacro,
zentorno, huntley, thrust, rhapsody, warrener,
stockade3, stretch, sultan, brawler, superd,
granger, gresley, entityxf, hotknife, infernus;
*Use full vehicles list: (275 vehicles max, 5 per line) = [1]: //the big, main list with 275 cars of all kinds.
INI check = [1234] //This is just here to inform you if there is a problem with your INI file - DO NOT MODIFY THE [1234] VALUE
Thanks for downloading, and I hope it helps! And please check out my Melee Riot mod if you have the time!
https://www.gta5-mods.com/scripts/melee-riot-ambient-peds-riot
-alphazolam
Description:
Are you sick of seeing lines of the same cars over and over at every stoplight? Do you want to see more variety in your GTA V traffic?
This mod looks for off-screen duplicate cars in the nearby traffic, and if it finds any, it transforms the duplicates into random vehicles from either of two vehicle lists in the trafficspawner.ini file. The purpose of this mod is primarily to negate the effects of the infamous "taxi glitch" (as it was known in GTA IV), where - after you have modded the game's vehicle models a fair bit - only a select few vehicles will naturally spawn in traffic. In GTA IV, these vehicles were 90% taxis and 10% cop cars (all Crown Victoria and Impala models). In GTA V, the vehicles are a little more varied than that (and taxis themselves are not actually a problem), but with too many modded vehicles you may find only the same car you are driving plus two or three others spawning on the roads, and nothing else. With version 0.2, the mod is now capable of spawning new traffic on normally empty roads, with a new option in the INI file.
Only nearby and off-screen cars/motorcycles/quadbikes of which there are two or more of (and which have not been damaged) are transformed. What vehicle they transform into is entirely random . Cars that are transformed into police vehicles will get cops as their drivers. Sometimes, distant parked cars can be transformed (and in such cases they will gain a driver); but most of the time, the vehicle must be moving. Cars are marked with the license plate "K41482D2" if they have been transformed, just to make sure they aren't transformed more than once. Cars that are transformed into planes maintain their direction and have their velocity multiplied by 50, and the altitude that they appear at can be changed in the INI file.
Installation:
Put the TrafficSpawner.ASI and TrafficSpawner.INI files in your GTAV folder, then load up the game with ScriptHookV installed, and then toggle the mod in-game by pressing the hotkey NUMPAD-3 (default) asdefined in the INI file. [0x63] means numpad-3. For a list of key-codes, see this website: http://www.kbdedit.com/manual/low_level_vk_list.html .
v0.2 Changelog:
-Cleaned up peds spawning outside of their vehicles
-Added actual ability to spawn new vehicles (on any road), rather than only replace duplicates
-Added option to randomly spawn police vehicles packed full of cops
-Added new performance-tweaking options, such as "wait time between spawns" (in milliseconds)
-Fixed parachutes
-Added some stability fixes
Options in TrafficSpawner.ini:
[0] means off, [1] means on...
*Hotkey = [0x63] //for the list of possible key-codes, look here: http://www.kbdedit.com/manual/low_level_vk_list.html
*Automatic ped spawner = [1] //this option forces peds to routinely spawn in the distance, in "scenarios" (like eating at an outdoor cafe), and next to other off-screen peds
*Peds spawn in cars = [1] //this option forces new peds to spawn randomly in any of the available seats in nearby vehicles.
*Peds use parachutes = [1] //basically ported over from my melee riot mod, I felt this feature fits better with this mod. Peds who fall from a great height will pull a parachute and glide to safety. Great fun with a gravity gun mod (such as my own).
*Minimum distance at which cars can transform = [5] //this option determines how far away a duplicate vehicle must be to transform into one from the list
*Minimum safe airplane height = [55] //this option determines the minimum height at which airplane vehicles in the list will spawn at. Set to 0 if you want to see them (try) and take off in the middle of the road.
*Aircraft missiles = [0] // set this to 1 if you want spawned Lazers, Hydras, Buzzards, Savages and the like to shoot missiles at passing traffic as they fly past.
*Odds of spawning = 1/[15] //This determines the likelihood of a particular duplicate car to transform. Setting the odds too low can cause the mod to crash (not the game, just the mod - alt+tab the game and close the error message and you can continue playing w/o the mod).
ADVANCED OPTIONS:
*Vehicle task rate = every [33] tics //CAREFUL with this - the lower this number is, the more frequently all vehicle-related activities are done by the mod (such as transforming vehicles)
*Ped task rate = every [50] tics //same as above, but with the peds and the ped-spawning options.
*Debug Messages = [0] //turn this on if you want to see what the mod is doing and if it is even successful
VEHICLES LIST:
*Use small vehicles list: (50 vehicles max, 5 per line) = [0]: //a small list of 50 vehicles, currently filled up with fighter jets and attack choppers for testing. Here is a more normal list:
sandking2, schafter2, scorcher, scrap, lectro,
kuruma, kuruma2, trash2, slamvan2, marshall,
sentinel, cheetah, coach, cogcabrio, comet2,
coquette, cruiser, daemon, oracle2, packer,
patriot, pbus, pcj, penumbra, peyote,
phantom, phoenix, bmx, bobcatxl, bodhi2,
boxville2, btype, turismor, alpha, massacro,
zentorno, huntley, thrust, rhapsody, warrener,
stockade3, stretch, sultan, brawler, superd,
granger, gresley, entityxf, hotknife, infernus;
*Use full vehicles list: (275 vehicles max, 5 per line) = [1]: //the big, main list with 275 cars of all kinds.
INI check = [1234] //This is just here to inform you if there is a problem with your INI file - DO NOT MODIFY THE [1234] VALUE
Thanks for downloading, and I hope it helps! And please check out my Melee Riot mod if you have the time!
https://www.gta5-mods.com/scripts/melee-riot-ambient-peds-riot
-alphazolam
First Uploaded: August 29, 2015
Last Updated: September 15, 2015
Last Downloaded: 13 hours ago
116 Comments
TRAFFIC SPAWNER v0.2 BY ALPHAZOLAM
Description:
Are you sick of seeing lines of the same cars over and over at every stoplight? Do you want to see more variety in your GTA V traffic?
This mod looks for off-screen duplicate cars in the nearby traffic, and if it finds any, it transforms the duplicates into random vehicles from either of two vehicle lists in the trafficspawner.ini file. The purpose of this mod is primarily to negate the effects of the infamous "taxi glitch" (as it was known in GTA IV), where - after you have modded the game's vehicle models a fair bit - only a select few vehicles will naturally spawn in traffic. In GTA IV, these vehicles were 90% taxis and 10% cop cars (all Crown Victoria and Impala models). In GTA V, the vehicles are a little more varied than that (and taxis themselves are not actually a problem), but with too many modded vehicles you may find only the same car you are driving plus two or three others spawning on the roads, and nothing else. With version 0.2, the mod is now capable of spawning new traffic on normally empty roads, with a new option in the INI file.
Only nearby and off-screen cars/motorcycles/quadbikes of which there are two or more of (and which have not been damaged) are transformed. What vehicle they transform into is entirely random . Cars that are transformed into police vehicles will get cops as their drivers. Sometimes, distant parked cars can be transformed (and in such cases they will gain a driver); but most of the time, the vehicle must be moving. Cars are marked with the license plate "K41482D2" if they have been transformed, just to make sure they aren't transformed more than once. Cars that are transformed into planes maintain their direction and have their velocity multiplied by 50, and the altitude that they appear at can be changed in the INI file.
Installation:
Put the TrafficSpawner.ASI and TrafficSpawner.INI files in your GTAV folder, then load up the game with ScriptHookV installed, and then toggle the mod in-game by pressing the hotkey NUMPAD-3 (default) asdefined in the INI file. [0x63] means numpad-3. For a list of key-codes, see this website: http://www.kbdedit.com/manual/low_level_vk_list.html .
v0.2 Changelog:
-Cleaned up peds spawning outside of their vehicles
-Added actual ability to spawn new vehicles (on any road), rather than only replace duplicates
-Added option to randomly spawn police vehicles packed full of cops
-Added new performance-tweaking options, such as "wait time between spawns" (in milliseconds)
-Fixed parachutes
-Added some stability fixes
Options in TrafficSpawner.ini:
[0] means off, [1] means on...
*Hotkey = [0x63] //for the list of possible key-codes, look here: http://www.kbdedit.com/manual/low_level_vk_list.html
*Automatic ped spawner = [1] //this option forces peds to routinely spawn in the distance, in "scenarios" (like eating at an outdoor cafe), and next to other off-screen peds
*Peds spawn in cars = [1] //this option forces new peds to spawn randomly in any of the available seats in nearby vehicles.
*Peds use parachutes = [1] //basically ported over from my melee riot mod, I felt this feature fits better with this mod. Peds who fall from a great height will pull a parachute and glide to safety. Great fun with a gravity gun mod (such as my own).
*Minimum distance at which cars can transform = [5] //this option determines how far away a duplicate vehicle must be to transform into one from the list
*Minimum safe airplane height = [55] //this option determines the minimum height at which airplane vehicles in the list will spawn at. Set to 0 if you want to see them (try) and take off in the middle of the road.
*Aircraft missiles = [0] // set this to 1 if you want spawned Lazers, Hydras, Buzzards, Savages and the like to shoot missiles at passing traffic as they fly past.
*Odds of spawning = 1/[15] //This determines the likelihood of a particular duplicate car to transform. Setting the odds too low can cause the mod to crash (not the game, just the mod - alt+tab the game and close the error message and you can continue playing w/o the mod).
ADVANCED OPTIONS:
*Vehicle task rate = every [33] tics //CAREFUL with this - the lower this number is, the more frequently all vehicle-related activities are done by the mod (such as transforming vehicles)
*Ped task rate = every [50] tics //same as above, but with the peds and the ped-spawning options.
*Debug Messages = [0] //turn this on if you want to see what the mod is doing and if it is even successful
VEHICLES LIST:
*Use small vehicles list: (50 vehicles max, 5 per line) = [0]: //a small list of 50 vehicles, currently filled up with fighter jets and attack choppers for testing. Here is a more normal list:
sandking2, schafter2, scorcher, scrap, lectro,
kuruma, kuruma2, trash2, slamvan2, marshall,
sentinel, cheetah, coach, cogcabrio, comet2,
coquette, cruiser, daemon, oracle2, packer,
patriot, pbus, pcj, penumbra, peyote,
phantom, phoenix, bmx, bobcatxl, bodhi2,
boxville2, btype, turismor, alpha, massacro,
zentorno, huntley, thrust, rhapsody, warrener,
stockade3, stretch, sultan, brawler, superd,
granger, gresley, entityxf, hotknife, infernus;
*Use full vehicles list: (275 vehicles max, 5 per line) = [1]: //the big, main list with 275 cars of all kinds.
INI check = [1234] //This is just here to inform you if there is a problem with your INI file - DO NOT MODIFY THE [1234] VALUE
Thanks for downloading, and I hope it helps! And please check out my Melee Riot mod if you have the time!
https://www.gta5-mods.com/scripts/melee-riot-ambient-peds-riot
-alphazolam
Description:
Are you sick of seeing lines of the same cars over and over at every stoplight? Do you want to see more variety in your GTA V traffic?
This mod looks for off-screen duplicate cars in the nearby traffic, and if it finds any, it transforms the duplicates into random vehicles from either of two vehicle lists in the trafficspawner.ini file. The purpose of this mod is primarily to negate the effects of the infamous "taxi glitch" (as it was known in GTA IV), where - after you have modded the game's vehicle models a fair bit - only a select few vehicles will naturally spawn in traffic. In GTA IV, these vehicles were 90% taxis and 10% cop cars (all Crown Victoria and Impala models). In GTA V, the vehicles are a little more varied than that (and taxis themselves are not actually a problem), but with too many modded vehicles you may find only the same car you are driving plus two or three others spawning on the roads, and nothing else. With version 0.2, the mod is now capable of spawning new traffic on normally empty roads, with a new option in the INI file.
Only nearby and off-screen cars/motorcycles/quadbikes of which there are two or more of (and which have not been damaged) are transformed. What vehicle they transform into is entirely random . Cars that are transformed into police vehicles will get cops as their drivers. Sometimes, distant parked cars can be transformed (and in such cases they will gain a driver); but most of the time, the vehicle must be moving. Cars are marked with the license plate "K41482D2" if they have been transformed, just to make sure they aren't transformed more than once. Cars that are transformed into planes maintain their direction and have their velocity multiplied by 50, and the altitude that they appear at can be changed in the INI file.
Installation:
Put the TrafficSpawner.ASI and TrafficSpawner.INI files in your GTAV folder, then load up the game with ScriptHookV installed, and then toggle the mod in-game by pressing the hotkey NUMPAD-3 (default) asdefined in the INI file. [0x63] means numpad-3. For a list of key-codes, see this website: http://www.kbdedit.com/manual/low_level_vk_list.html .
v0.2 Changelog:
-Cleaned up peds spawning outside of their vehicles
-Added actual ability to spawn new vehicles (on any road), rather than only replace duplicates
-Added option to randomly spawn police vehicles packed full of cops
-Added new performance-tweaking options, such as "wait time between spawns" (in milliseconds)
-Fixed parachutes
-Added some stability fixes
Options in TrafficSpawner.ini:
[0] means off, [1] means on...
*Hotkey = [0x63] //for the list of possible key-codes, look here: http://www.kbdedit.com/manual/low_level_vk_list.html
*Automatic ped spawner = [1] //this option forces peds to routinely spawn in the distance, in "scenarios" (like eating at an outdoor cafe), and next to other off-screen peds
*Peds spawn in cars = [1] //this option forces new peds to spawn randomly in any of the available seats in nearby vehicles.
*Peds use parachutes = [1] //basically ported over from my melee riot mod, I felt this feature fits better with this mod. Peds who fall from a great height will pull a parachute and glide to safety. Great fun with a gravity gun mod (such as my own).
*Minimum distance at which cars can transform = [5] //this option determines how far away a duplicate vehicle must be to transform into one from the list
*Minimum safe airplane height = [55] //this option determines the minimum height at which airplane vehicles in the list will spawn at. Set to 0 if you want to see them (try) and take off in the middle of the road.
*Aircraft missiles = [0] // set this to 1 if you want spawned Lazers, Hydras, Buzzards, Savages and the like to shoot missiles at passing traffic as they fly past.
*Odds of spawning = 1/[15] //This determines the likelihood of a particular duplicate car to transform. Setting the odds too low can cause the mod to crash (not the game, just the mod - alt+tab the game and close the error message and you can continue playing w/o the mod).
ADVANCED OPTIONS:
*Vehicle task rate = every [33] tics //CAREFUL with this - the lower this number is, the more frequently all vehicle-related activities are done by the mod (such as transforming vehicles)
*Ped task rate = every [50] tics //same as above, but with the peds and the ped-spawning options.
*Debug Messages = [0] //turn this on if you want to see what the mod is doing and if it is even successful
VEHICLES LIST:
*Use small vehicles list: (50 vehicles max, 5 per line) = [0]: //a small list of 50 vehicles, currently filled up with fighter jets and attack choppers for testing. Here is a more normal list:
sandking2, schafter2, scorcher, scrap, lectro,
kuruma, kuruma2, trash2, slamvan2, marshall,
sentinel, cheetah, coach, cogcabrio, comet2,
coquette, cruiser, daemon, oracle2, packer,
patriot, pbus, pcj, penumbra, peyote,
phantom, phoenix, bmx, bobcatxl, bodhi2,
boxville2, btype, turismor, alpha, massacro,
zentorno, huntley, thrust, rhapsody, warrener,
stockade3, stretch, sultan, brawler, superd,
granger, gresley, entityxf, hotknife, infernus;
*Use full vehicles list: (275 vehicles max, 5 per line) = [1]: //the big, main list with 275 cars of all kinds.
INI check = [1234] //This is just here to inform you if there is a problem with your INI file - DO NOT MODIFY THE [1234] VALUE
Thanks for downloading, and I hope it helps! And please check out my Melee Riot mod if you have the time!
https://www.gta5-mods.com/scripts/melee-riot-ambient-peds-riot
-alphazolam
First Uploaded: August 29, 2015
Last Updated: September 15, 2015
Last Downloaded: 13 hours ago
Hi! The mod is doing what it's supposed to but I can't play for more than 10 minutes without crashing. I use a realistic car pack, a trainer and this mod only.
@Lolmaro it has a memory leak, check it with process hacker.. 90% of the mods here have memory leaks. memory leaks cause crashing..
@KingsixII exactly. mod idea is great but more than 5-10 min playing takes memory out and texture download slow and so on. If game not crash than texture holes all around.
@onezolver try this one https://www.gta5-mods.com/scripts/lively-world , it actually works and doesn't crash the shit out of your game. you can even set the debug in this to watch it on screen and make sure it's working. this is how mods should be done.
@KingsixII thanks man, appreciate it.
@alphazolam Can you please update this with the dlc vehicles?
I added the new cars into the list and changed their total amount. When I activate it ingame, a flippering text (Your INI file is poorly configured) appears. What does that mean?
I added the new cars into the list and changed their total amount. When I activate it ingame, a flippering text (Your INI file is poorly configured) appears. What does that mean?
@alphazolam I'm getting a crash. can you please update? This mod is much needed!!
@alphazolam sometimes the mod spawn vehicles that not included in the ,ini file??
It seems to me it causes crashes in lspdfr. And actually i don't like how ini file is done. Bad configuration. But for casual gamig process this mod is good.
@alphazolam how to add addon cars or will they added automaticly?
and can cars spawn tuned?
does anyone have a link to an older version of this mod?
seems to help a lot in fixing variety after replacing cars thanks!
Of all the mods tested to have variety and assortment of vehicles in the game, this is the best for me, few problems, fairly customizable, but above all visible results.
Too bad you can't start automatically (you don't always remember to press number3)
Are there any possible alternatives to start this mod automatically? I thank.
@alphazolam This mod is great for more variety, however, I use a 1970s traffic era mod but now with this mod I see also modern cars. How can I remove those?
mod seems ok but need just regular cars and vanilla cars already in traffic. far too many strange dlc cars and tanks dump trucks etc.
@alphazolam Is it even possible to add more cars? I added more and changed this: (315 vehicles max, 5 per line) = [1]:
Ingame it says "Your INI file is poorly configured". What is poorly configured exactly?
honestly a pretty good mod, but for some reason gives an error when doing missions and crashes my game
This is the best script but why can't anybody update this? It is causing crashes. Maybe the author is dead lol? :D