Jump to content
Airikir

Police cars don´t stop at red light

Recommended Posts

I believe @itchboycame up with a method to try.

Use this line in the patrol script commands:

v.SetTerrain(TERRAIN_TRAFFIC);

I have it before this line

PathList p1l("patrolpath01");

And then in the DummyPatrol command, add this line to revert when cancelling the command.
 

v.SetTerrain(TERRAIN_CAR);

Never tested it myself, just added it to the files (haven't launched this game in years).

Link to comment
Share on other sites

Hello. I'm the guy who made the stoplight fix for patrol and sadly, the fix doesnt work for the fire station script.

The code I made only works because of a loophole in the Em4 path logic. The return to base command cannot be exploited with that loophole. Vehicles are unfortunately hardcoded to ignore lights if they aren't on a path like in the patrol script.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...