Auto Open Gates V1.0.0.5

Auto Open Gates

This mod extends the base AnimatedObject functionality so that doors and gates open automatically when a player or vehicle enters a trigger area.

It does so by reading custom XML settings defined inside the `<controls …/>` tag of an animatedObject entry.

The following custom XML keys are supported:

1.  “autoopen=false” (default: true)   

Enables or disables the auto‑open behavior globally. If not set, is true by default. When set to false, both vehicle and player auto‑open are disabled regardless of the other settings.

2.” autoopenVehicles=false” (default: true) 

When true or not set, vehicles entering the trigger will cause the door/gate to open.

3.  “autoopenPlayer=false” (default: true) 

When true or not set, the player (on foot) entering the trigger will cause the door/gate to open.

**Usage Examples: In your mods XML file**

• Enable auto‑open for both vehicles and player: don&#8217;t need to set, enabled by default.

• Disable auto‑open for both vehicles and player:

<controls triggerNode=”doorTrigger posAction=“;ACTIVATE_HANDTOOL posText=action_openGate negText=action_closeGate autoopen=”false/>

• Disable auto‑open for player:

<controls triggerNode=doorTrigger posAction=ACTIVATE_HANDTOOL posText=action_openGate negText=action_closeGate autoopenPlayer=false/>

• Disable auto‑open for vehicles:

<controls triggerNode=doorTrigger posAction=ACTIVATE_HANDTOOL posText=action_openGate negText=action_closeGate autoopenVehicles=false”/>

Changelog: +

Credits:

Levis modding

4.4/5 - (17 votes)

Download mod

File File size
zip FS25_Lev_AutoOpenGates 100 KB

You may also like...

Subscribe
Notify of
guest
4 Comments
Newest
Oldest Most Voted
TakeoutTulip874

is there a way to set the trigger distance, for example in a shorter shed with larger equipment (ie Ropa Tiger harvester) the door won’t close because the machine is too close, but the machine does fit in the shed

Halffbaked

Would be a good mod if the doors stayed open for a bit. Currently it only works if you don’t have any attachments. However, if you try to go through a door with a trailer for example the door will shut on the trailer, and good luck getting it unstuck.

Last edited 8 months ago by Halffbaked
7TreeAlex

how to turn off opening doors with the person? i just want it to open gates with trucks

el big

muy bien funcina

4
0
Would love your thoughts, please comment.x
()
x