Zum Inhalt wechseln


The General LA MOD traffic thread


  • Please log in to reply
144 replies to this topic

#141 FaaastCash

FaaastCash

    Firefighter

  • Members
  • 11 Beiträge:
  • Gender:Male
  • Location:San Juan Capistrano, CA

Geschrieben 15 Februar 2013 - 06:21

Though I am facing a similar problem of late loading issue, I love this game.

#142 Officer Will Troll

Officer Will Troll

    Firefighter

  • Members
  • 17 Beiträge:
  • Gender:Male
  • Location:New York
  • Interests:Girls, Guns, Gaming.

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.


WzkWuy6.jpg


#143 Darryl

Darryl

    Lieutenant

  • Members
  • 39 Beiträge:
  • Gender:Male
  • Location:The Netherlands
  • Interests:Computering, Modding, Making jokes, Doing things with Friends.

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.


Modeler_Signature_2.png


#144 Drift_91

Drift_91

    Firefighter

  • Members
  • 5 Beiträge:

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 The Loot

The Loot

    Battalion Chief

  • Members
  • 725 Beiträge:
  • Gender:Male

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.