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

- 2 Likes
- 2 Comments
- 220 Downloads
-
1 Downloads in
-
3 weeks ago

COMMENTS
Will the barrier also open automatically?
@karen100s is a scammer plz report him to Google Safe Browsing it is free and ez thank you
Write a comment