Mod Title: Smart Gates and Safety Buffers (SGSB)

Smart Gates, Parking and Safety Buffers (SGSB) — v4.1.1-81526(Midnight Train)

"The House That Code Built"


A Note from the Developer

 This project is dedicated to the glory of God. Every mile driven and every line of code written is an expression of gratitude for the journey. May this mod bring a little more order, peace, and grace to the virtual highways we all travel. This is our first mod ever, so please extend us some grace!


Full Release Log

https://github.com/insanity35/Smart-Gates-Tolls-and-Safety-Buffers


**NOTICE NEEDS TO BE ABOVE SOUNDFIXES!!!


**Prefab Gates (Hardcoded)*I Cannot change values unless someone can teach me ats map editor. I cannot mess with prefab gates or "dumb gates"*

 Army Gate Next To OHare Airpot, Union Pacific, Albuqureque, DOW in Illonis

**Note Tolls are apart of tollgate.sii and gate_trigger.sii. When i edit these gated tolls will not operate. They fail to open. So as of now Toll booths are stock. Tolls gates in Group 1 are guard gates. Example of this is coke a cola in Albuquerque and General Mills in Roswell.*


The Problem: "Gate Lag"

After years of long-haul trucking in American Truck Simulator, we know that immersion is everything. Nothing kills the flow of a delivery faster than "gate lag"—that frustrating moment when you are at the yard threshold, waiting for a barrier to crawl open while your multi-ton rig is already stalled out.

The Solution: Smart Gates & Safety Buffers


The Solution: Smart Gates & Safety Buffers


SGSB is the definitive logic overhaul for gate operations. We have stripped away the inconsistent, immersion-breaking triggers of the base game and replaced them with a standardized, high-performance logic set. 

Whether you are hauling heavy cargo into a Phoenix warehouse or navigating a tight depot in the Midwest, your gates will now respond with the reliable precision a professional driver expects. Built by a driver, for drivers.


Native Dynamic Parking System (New in v4.1)


Version 4.1 introduces a built-in, native dynamic parking framework engineered completely from scratch for SGSB. Designed to eliminate legacy mod conflicts, this standalone system utilizes custom-isolated namespaces to manage rest area slot snapping, high-precision company loading bay alignment, and weigh station queue spacing. It integrates seamlessly with your map configurations and ATS parking settings, delivering enhanced realism and fluid staging entirely on its own engine logic. 


Quick Reference

  SGSB v4.1(Midnight Train)

  https://github.com/insanity35/Smart-Gates-Tolls-and-Safety-Buffers


Official Release Information

Current Version: v4.1.1-81426(Stable)

Official Launch Date (v1.0): Tuesday, July 14, 2026

ATS Compatibility: v1.60.* branch (Until SCS breaks the core gate code)

Development Environment: Ubuntu 26.04 LTS via Linux

Architecture: Pure definition-only (.sii) layout


Version History & Changelog Evolution


  v4.1.1-81526

  llinois DLC Hookup File (animated_gate.dlc_il.sii):

Updated the unit name for the Chicago underground gate variant to ag_il_chund to comply with ATS engine naming formatting rules and clear parsing errors.  

  Preserved all core Illinois DLC definitions including Chicago, Springfield, and construction fence gate hookups.  

  Parked Vehicle Physics File (parked_vehicle.sgsb.sii):Removed the unsupported attribute forced_flare_parking: true from all night-time vehicle profiles to resolve engine startup errors regarding invalid attributes on parked_vehicle units.  

  Retained the complete range of commercial, passenger, vintage, truck, emergency, and AI fallback configuration sections. Master Universal Gate Hookup File (animated_gate_3.sii):Kept the vanilla-accurate unit name format anim_gate01.2m intact. Standardized sound references (sound_path: "/sound/world/gate_iron.soundref") across the directional rotary and industrial gate groups.  


v4.1.0-81426

  New Feature: Native Dynamically Parked Vehicle SystemIntegrated a complete, custom-coded parked vehicle suite directly into SGSB to permanently replace outdated and conflicting third-party workshop dependencies.Namespace Isolation (sgsb.)

  Fully prefixed every unit definition (e.g., sgsb.suv.always.parked.physics, sgsb.truck_trlr.always.parked.physics) to prevent base-game and cross-mod naming collisions, entirely eliminating "duplicate unit definition" errors in the game log.  

  Expanded Vehicle Staging & LayoutsAdded robust configuration nodes for bobtails, full truck-and-trailer combinations, box vans, SUVs, pickups, city service vehicles, and police/emergency units.Advanced Environmental LogicEmbedded native timing parameters (probability_day, probability_night) and precise alignment tags (rear_align) to handle automated day/night cycles and dock-backing behavior at truck stops and warehouses.Editor Workflow 

  OptimizationOrganized all custom parking locators to group cleanly under the sgsb search filter within the ATS Map Editor for fast and efficient level design.


Recommended Load Order

To ensure the custom safety buffer parameters take priority over world geometry data, organize your mod manager as follows:


-Top-

  Background Maps

  SGSB(Only for sound files I attached to gates)

  SoundFixes 

  Global Traffic & AI Density Mods

  Map Expansion Mods (ProMods, Reforma, etc.)

-Bottom-


Support, Feedback & Conflict Notices

Conflict Notice: This is a standalone global logic override. It will conflict with other mods that attempt to modify the same global gate animation or trigger definitions (animated_gate blocks).


Depot Reporting Protocol

If you encounter a specific yard, toll plaza, or logistics depot anywhere on the map that still feels "off" or doesn't trigger correctly, please drop the City and Company Name in the comments section. Feedback will be logged and prioritized for our upcoming maintenance hotfixes.

Credits & Technical Acknowledgments


Development Group: Smoke Show Studios & Smoke Show Creations

Lead Developer & Tester: meanshadows35

Co-Developer: mrh368

Technical Consultant: Overdrive


A massive shout-out to our three-person team for pulling this together, and special thanks to the entire trucking community for the incredible passion and feedback that keeps our virtual roads moving forward. We pray this turns into an excellent long-term resource for the community!


Developed natively on Ubuntu 26.04 LTS

Mod testing powered by thezk sk-zk Extractor tool (https://github.com/sk-/Extractor)

Built using the official SCS Uploader tool running under Proton

Thank you to SCS Software for the robust modding ecosystem


Glory To God — Soli Deo Gloria


Trucky Mods: SGSB (Smart Gates and Safety Buffers)

Steam Workshop: SGSB (Smart Gates and Safety Buffers)

GitHub: SGSB https://github.com/insanity35/Smart-Gates-Tolls-and-Safety-Buffers

Current Version
v4.1.1-81526(reuploaded)
Compatibility
1.60
Last Updated
2026-08-15
Downloads
589
License
All Rights Reserved
Initial Release
2026-07-14
Meanshadows35 - All rights reserved. Any reupload or redistribution of this file without the author's prior written consent is forbidden.
This American Truck Simulator add-on was created by Meanshadows35 and shared in Other for American Truck Simulator.