The General LA MOD traffic thread
#141
Geschrieben 15 Februar 2013 - 06:21
#142
Geschrieben 13 Februar 2014 - 08:26
A year old bump...hoping some of you folks are still around...
Anyway, so I used to play 911 on my Win7 desktop but that was old and bad, so I have it on my laptop now which is a powerful Win8 PC. This is relevant because with the new PC, if I try to start the game up normally, it will open the window for a split second and then close immediately and not start up. The counter to this is I've had to start as administrator. I have a theory this is why when I edited my freeplayparams.xml file it didn't work. But the problem is that I've edited the same way with files to change speeds of cars, and that works, so now I'm starting to wonder if its a different problem.
I wanted to turn off all civilian traffic in the entire map, while increasing ped traffic. I set 0.0 for each vehicletraffic variable in the timezones but when I saved, imported the new .xml and loaded it up again, I still have a bunch of cars roaming. I'm going to bed, so I'm hoping you guys will be able to help me, I'll be doing some more testing tomorrow but I'd really like to stop all civilian traffic within my endless freeplay. I'd prefer to avoid having to delete spawn points for vehicles if possible.
#143
Geschrieben 14 Februar 2014 - 10:52
Have you tried to make a negative number (ex. -1.0) or something like that? I'll try to experiment with it a little so I can help you out. I'll keep you in touch.
#144
Geschrieben 17 Februar 2015 - 10:16
Sorry for the bump, but it is a pinned topic. Anyway, I was wondering if anyone could tell me how to edit the traffic vehicles to be towable without being damaged or stolen. I recall on my long read through this thread, I saw someone mention that as an alternative to shooting, extinguishing and towing. I already know how to edit dispatchable police vehicles for the most part. Just don't know how to identify what's used for the traffic. Thanks.
#145
Geschrieben 18 Februar 2015 - 10:57
I was trying to mess around with tow trucks and never seemed to get my changes working. It appears that the LA mod didn't touch the script in question, "loadup", since it only exists in the base game's scripts.
Go ahead and copy it over onto the LA command script folder, then take a look at the "CheckTarget" section. The lines under "if (Target->GetType() == ACTOR_VEHICLE)" control if a targeted vehicle can be chosen. I'm not entirely sure, but it could be the "if (!v.IsParking()) return false;" that stops you from picking up active traffic vehicles.
Hoppah's Limited Water Supply Script Redone! (Released 2014/7/29)
Looking for some minor modding assistance; any help is appreciated.
Handful of Bugs I've Encountered with Personal LA Mod Edit
Looking for Freeplay Event Tutorial
Treat Person Script: Heal script overhaul and replacement complete. Autoheal script in progress.