{"id":374757,"date":"2020-09-13T17:27:00","date_gmt":"2020-09-13T10:27:00","guid":{"rendered":"https:\/\/taimods.com\/2020\/09\/barrier-fix-1-0-1.html"},"modified":"2026-03-09T12:55:10","modified_gmt":"2026-03-09T05:55:10","slug":"barrier-fix-1-0-1","status":"publish","type":"post","link":"https:\/\/taimods.com\/en\/2020\/09\/barrier-fix-1-0-1.html","title":{"rendered":"MOD GTA5 &#8211; Barrier Fix 1.0.1"},"content":{"rendered":"<p><center><img decoding=\"async\" src=\"https:\/\/taimods.com\/wp-content\/uploads\/Barrier-Fix-1.0.1-3.jpg\"\/><\/center><br \/>\n<center><\/center><br \/>\n<center><br \/>\n<\/center><\/p>\n<h5>Barrier Fix 1.0.1<\/h5>\n<hr\/>\n<p>We all know about how them barrier arms aren\u2019t 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).<\/p>\n<p>Surprised this hasn\u2019t been done before (I\u2019ve 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.<\/p>\n<p>Not overly tested, please provide feedback. Don\u2019t mind the fps, I have a pop config I need to work on and tweak. Also only tested on game v 1868.0.<\/p>\n<p><strong>NOTE:<\/strong> forgot to mention, the toll booths in the airport don\u2019t have moving scripts or parts for some odd reason. I\u2019ll look into what kind of object they are later and see if they can be removed\/replaced via scripts.<\/p>\n<p>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\u2019ll work the same.<\/p>\n<p>Side note, the scope of this mod will not be to make it so immersive you need to check in with the guy in the booth. I\u2019ve posted the forum post with the code and will continue to update it with the latest code. If you want to rummage through it to solve certain ideas to make the above mentioned mod then suit yourself.<\/p>\n<p><strong>Requirements<\/strong><br \/>\nSHV, SHVDN (3.0.4)<\/p>\n<p><strong>Installation<\/strong><br \/>\nJust drop the dll into your scripts folder.<\/p>\n<p><strong>Bugs<\/strong><br \/>\n* 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.<\/p>\n<p>* Didn\u2019t 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\u2019t matter.<\/p>\n<p>* 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 \u2013 dunno never driven a semi through a toll) come down on the trailer.<\/p>\n<p>Though since the new update, there is a range set in place that now I can add a wait to the close portion to give it ample time for the semi trailer to pass through.<\/p>\n<p><strong>Releases<\/strong><br \/>\nv 1.0.0 \u2013 initial release, realized it only detects player. only affects the toll booth arms and barrier arms like the one you see around the movie lot. Army base unaffected and the static ones at the airport parking is also excluded.<\/p>\n<p>v 1.0.1 \u2013 included pedestrian detection (up to 75f units in game, meters?). Added speed detection for peds so if being chased, theres still a good chance the peds won\u2019t break the barrier. Player range remains unchanged. <\/p>\n<p><center>    <a href=\"\/getlink?url=68747470733a2f2f646c2d66696c652e636f6d2f7178333477643437367062792f3032303532652d6261727269657246697865725f763130312e377a2e68746d6c\" \r\n       target=\"_blank\"\r\n       style=\"            display: inline-flex;            align-items: center;            gap: 10px;            padding: 12px 24px;            border-radius: 6px;            background: var(--nqt-color-primary, #ff6a00);            color: #fff;            text-decoration: none;            font-weight: 600;            font-size: 16px;            border: 2px solid var(--nqt-color-primary, #ff6a00);            transition: all 0.3s ease;            box-shadow: 0 4px 6px rgba(0,0,0,0.1);       \"\r\n       onmouseover=\"this.style.background='#333'; this.style.borderColor='#333'; this.style.transform='translateY(-2px)';\"\r\n       onmouseout=\"this.style.background='var(--nqt-color-primary, #ff6a00)'; this.style.borderColor='var(--nqt-color-primary, #ff6a00)'; this.style.transform='translateY(0)';\"\r\n    >\r\n        <i class=\"fa-solid fa-download\"><\/i>\r\n        <span>DOWNLOAD MODS<\/span>\r\n    <\/a>\r\n    <\/center><\/p>","protected":false},"excerpt":{"rendered":"<p>Barrier Fix 1.0.1 We all know about how them barrier arms aren\u2019t 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\u2019t been done before (I\u2019ve scoured but did not see any results). Very [&hellip;]<\/p>\n","protected":false},"author":4347,"featured_media":412902,"comment_status":"open","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[234],"tags":[],"class_list":["post-374757","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-gta5-scripts"],"blocksy_meta":[],"acf":[],"_links":{"self":[{"href":"https:\/\/taimods.com\/en\/wp-json\/wp\/v2\/posts\/374757","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/taimods.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/taimods.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/taimods.com\/en\/wp-json\/wp\/v2\/users\/4347"}],"replies":[{"embeddable":true,"href":"https:\/\/taimods.com\/en\/wp-json\/wp\/v2\/comments?post=374757"}],"version-history":[{"count":1,"href":"https:\/\/taimods.com\/en\/wp-json\/wp\/v2\/posts\/374757\/revisions"}],"predecessor-version":[{"id":417405,"href":"https:\/\/taimods.com\/en\/wp-json\/wp\/v2\/posts\/374757\/revisions\/417405"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/taimods.com\/en\/wp-json\/wp\/v2\/media\/412902"}],"wp:attachment":[{"href":"https:\/\/taimods.com\/en\/wp-json\/wp\/v2\/media?parent=374757"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/taimods.com\/en\/wp-json\/wp\/v2\/categories?post=374757"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/taimods.com\/en\/wp-json\/wp\/v2\/tags?post=374757"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}