Barrier Fix 1.0.0


Description:
We all know about how them barrier arms aren't really all that responsive (if at all). This mod makes it so the toll booth arm and barrier arm open when the player is near (in a vehicle).

Surprised this hasn't been done before (I've scoured but did not see any results). Very simple script, look for nearby barrier arms, if player is in car and nearby then open, otherwise close.

Not overly tested, please provide feedback. Don't mind the fps, I have a pop config I need to work on and tweak. Also only tested on game v 1868.0.

NOTE: forgot to mention, the toll booths in the airport don't have moving scripts or parts for some odd reason. I'll look into what kind of object they are later and see if they can be removed/replaced via scripts.

If not, then I guess any ymap editor could replace those arms and as long as you set it to the same ones like in the movie lot, they'll work the same.

Requirements
SHV, SHVDN

Installation
Just drop the dll into your scripts folder.

Bugs
* The toll booth arm at the movie lot is positioned weirdly (R* not me) so the detection can be ran on both when exiting the lot.

* Didn't test the military facility before I release but the rear barriers towards the north-west do not open. This is because its a different gate type. The gates on the other side should work normally but they have a second set of gates so lore wise it shouldn't matter.

* Doesn't run for AI drivers, so they'll run into (went for a chase last night and the cops wound up pushing them open and they shut)

* The code is written to detect player distance in the vehicle. Just tested and with a normal semi trailer its closes just after you pass through. However, if you halt, it will unrealistically (maybe realistically - dunno never driven a semi through a toll) come down on the trailer.

Authors:
dimedius


Share this mod with Friends:

DOWNLOAD (2 Kb, Modsbase.com)