Auto Open Gates v1.0.0.0

DESCRIPTION

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”/> 

CREDITS

Levis modding

COMMENTS

Commented on 2025-06-15 18:42:47

Will the barrier also open automatically?

0
Reply to comment
Commented on 2025-06-17 16:05:09

@karen100s is a scammer plz report him to Google Safe Browsing it is free and ez thank you

0
Reply to comment
Write a comment