Mafia Scene - Mafia I & II Game Fan Site
		Modders Corner => Mafia Editing => Mod Help => Topic started by: AP_459 on July 19, 2012, 06:51:17 AM
		
			
			
				Hi There! I Was wondering if I Could add NPC's and Cars in the city.
 
Thanks!
			
			
			
				You mean your streets are empty or you want to add more ?
 
If it is empty because you are in a fr mode, look out in menu E
traffic 40 or 50's, this will add the traffic to your map.
 
Now if you want more cars or pedestrian, the following self explanatory lua command exist:
 
game.traffic :P opulate(xxx
)   --> Pedestrian     
game.traffic:SetNumCars(xxx
)    
game.traffic:SetNumStaticCars(xxx
)
xxx
 = 0...100
 
or for specific entities:
game.entitywrapper:GetEntityByName("ENTITY_NAME"):Activate()
			
			
			
				It is possible also in the file "tables.sds" or "ingame.sds".
see the different modification made ??by dandwell
 here (Russian forum) v1.0 to v1.8
http://www.mafiapub.com/forum/index.php?showtopic=3742 (http://www.mafiapub.com/forum/index.php?showtopic=3742)
 
Only v1.0 on MS
http] (//forum/13-mafia-ii-mods/1892-dandwell-mods-v1-0)