OBS Map Cover Script for Rust
A Lua script for OBS Studio that instantly hides your map in Rust when pressing designated hotkeys. This script provides better response time and a bug-fix for flickering, ensuring your map is hidden immediately when needed.
Features
Requirements
Installation
Setup
Usage
License
A Lua script for OBS Studio that instantly hides your map in Rust when pressing designated hotkeys. This script provides better response time and a bug-fix for flickering, ensuring your map is hidden immediately when needed.
Features
- Instantly shows/hides a cover image when holding G or Shift+G
- Includes a slight delay on release to prevent the map from flashing
- Persists hotkey settings between OBS sessions
- Simple setup process
Requirements
- OBS Studio (version 27.0.0 or newer is required)
- A cover image source set up in OBS
Installation
- Download the `rust-obs-map-hide.lua` script.
- In OBS Studio, go to Tools -> Scripts.
- Click the + button and select the downloaded script.
- Configure the script settings (see Setup below).
Setup
- In OBS, create an image source that will cover your map (e.g., a solid color image). Position it over your map area and make sure it's hidden by default.
- In the Scripts window, enter the exact name of your image source. Make sure it matches perfectly (it's case-sensitive).
- Go to Settings -> Hotkeys.
- Find "Show Map Cover (Hold G)" and set it to `G`.
- Find "Show Map Cover (Hold Shift+G)" and set it to `Shift+G`.
- Click Apply.
Usage
- Hold `G` or `Shift+G` to show the cover image.
- Release the key to hide it.
License
- This script is released under the MIT License.
- You are free to use, modify, and distribute this script as needed.