AmongUsOverlay is a fully customizable Among Us Dynamic Overlay for OBS.
Dynamically update the overlay for the OBS according to the Among Us status, i.e.:
- Automatically hide your Lobby Code only when you are in the Lobby.
- Display players and update its icons according to the liveness for each players
- Automatically display appropreate maps and switch the map version depends on the phase in the game (Tasks, Discussion, etc.)
- Show the match summary at the end of the game.
- Build your own overlay using simple HTML + CSS with predefined classes and IDs.
This repository includes some ready-to-use demos, but they can be easily customized and easily create your own overlay using HTML and CSS. If you have experience with JavaScript, now you can customize everything.
For example, if you want to display images only when you in the Lobby, all you need to write is the following one line of HTML!
<img class="per_state only_lobby" src="<path/to/image>">
The Browser source in OBS can overlay any web page.
This means that if we have a web page that automatically updates based on the state of the Among Us, we can overlay that as well.
AmongUsOverlay is an exactly tool that makes it easy to achieve hosting that web page.
Technically, it receives information about in-game state via WebSocket from a tool (called AmongUsCapture) that captures the game state and hosts the web page locally by Caddy, which is updated dynamically by JavaScript.
See the example implementations and how they work:
▶️ Hide Lobby Code Automatically▶️ Display Players' Liveness Dynamically▶️ Automated Map Switcher▶️ Display Match Summary and Timelines when the Game is Over
Install and launch AmongUsCapture. You got [WAITING FOR AMONG US]
screen.
Next, click the gear icon on the upper-left corner and open [Settings]
> [General]
screen, then enable [API Server]
.
Download the latest version of AmongUsOverlay via Release page, then extract it and launch AmongUsOverlay.bat
. Note that Caddy (a lightweight HTTP server) will be downloaded automatically on the first startup.
For testing purpose, access the URL http://localhost:42080/example-debug/
in your browser and make sure you get a screen like the following.
Now, launch Among Us and enter the FREEPLAY.
If everything works good, the page in your browser updated automatically like the following.
Launch the OBS then add multiple Browser source with following URLs and size to see how preconfigured demos work. Nothing shows up until you start the game, which is expected.
Demos | URL | Recommended Size |
---|---|---|
📁 Hide Lobby Code Automatically | http://localhost:42080/example-auto-lobbycode-censor/ |
W 480 H 240 |
📁 Display Players' Liveness | http://localhost:42080/example-auto-player-status/ |
W 150 * <# of Players> H 240 |
📁 Map Switcher | http://localhost:42080/example-auto-map-switcher/ |
W 1920 H 1080 |
📁 Result Screen | http://localhost:42080/example-auto-result-screen/ |
W 1280 H 720 |
Now enter the Lobby and play the game! Your overlay will be updated dynamically.
After the initial setup and test in the previous steps, if you quit OBS and start it again, the overlay display may not be automatically updated properly.
Once this happened, you should open the Properties
for every Browser souce on OBS and click Refresh cache of current page
.
This is because the Browser source of OBS does not necessarily load the page dynamically, but may just display the internally cached images.
Note that only the data received after clicking Refresh cache of current page
will be used for the overlay display in OBS. For reliable tracking, it is recommended that you do this before launching Among Us (or at least before entering the lobby).
- AmongUsCapture and AmongUsOverlay must both be running at all times.
- The recommended startup order is the following. If you start them in any other order, the game status may not be tracked properly.
- AmongUsCapture
- AmongUsOverlay
- OBS
- Including adding Browser sources
- Or to reuse exising Browser sources you've created before, invoke
Refresh cache of current page
as described above
- Among Us
- If the player status in the overlay goes wrong, re-enter the Lobby or use the PC on Lobby to change the player's color once and change it back.
See README.md
for each directory.
- 📁 example-auto-lobbycode-censor
- 📁 example-auto-player-status
- 📁 example-auto-map-switcher
- 📁 example-auto-result-screen
AmongUsOverlay has lots of useful features to build your own overlay.
See README.md
in 📁 template directory.
- Change the port that HTTP server listening
- Change
:42080
inAmongUsOverlay.bat
.
- Change
- Use AmongUsCapture running on a different PC
- Change
const ENDPOINT = "ws://localhost:42069/api"
incommon/js/const.js
.
- Change
The following projects, products, and pages have been of great help to AmongUsOverlay.
I greatly appreciate for these professionals and expertise.
- Among Us by InnerSloth
- Thanks for the awesome game
- They have all the rights to the images and trademarks
- AmongUsCapture
- Thanks for awesome memory reader and wonderful APIs, and some graphics of the players
- Among Us Wiki
- Thanks for great information about this game, and some graphics of the maps
- Caddy
- Thanks for the great web server