API calls are done through AoE4World.com. For build orders, check age4builder.com or aoe4guides.com.
Windows
AoE4_Overlay.exe
.Linux
cd ~/Documents
git clone https://github.com/FluffyMaguro/AoE4_Overlay.git
cd ~/Documents/AoE4_Overlay
pip install -r requirements.txt
python3 src/AoE4_Overlay.py
Find your profile by entering your profile ID, Steam ID or player name.
Set up the hotkey for showing/hiding overlay.
→ Video tutorial for app setup and using buildorders.
→ Note: To update the app delete the app folder and extract the new archive elsewhere.
M
icon).Build order widget (Illustrated format):
Additional civilization stats (currently only for 1v1):
Wintime is the median game length of won games with given civilization (indicates in what game phase the player is the strongest).
Settings:
Game history:
Build order configuration tab:
Built-in randomizer:
To use the custom streaming overlay simply drag the overlay.html
file to OBS or other streaming software. The file is located in src/html
directory in the app folder. Move and rescale as necessary once some game information is shown.
If drag & drop doesn't work, add new source to your scene manually. The source type will be Browser
and point to a local file overlay.html
.
Overlay active:
Or change values to something completely different
Overlay position and font size can be changed in the app.
Build order (BO) font, images size, position and hotkeys can be changed in the app. Other attributes can also be customized in config.json
(to find the file click File/config & logs
in the app). You have to close the app before making changes to the config file. What can be changed:
"bo_show_title": true
: true to show the BO title, false otherwise
"bo_title_color": [230, 159, 0]
: color for the BO title
"bo_overlay_hotkey_show": ""
: hotkey to show/hide the BO
"bo_overlay_hotkey_cycle": ""
: hotkey to cycle between the different BO available
"bo_overlay_hotkey_previous_step": ""
: hotkey to go to the previous step of the BO
"bo_overlay_hotkey_next_step": ""
: hotkey to go to the next step of the BO
"bo_font_size": 12
: font size
"bo_text_color": [255, 255, 255]
: text RGB color
"bo_color_background": [30, 30, 30]
: background RGB color
"bo_font_police": 'Arial'
: police font
"bo_opacity": 0.75
: opacity of the window
"bo_upper_right_position": [1870, 70]
: position for the upper right corner
"bo_image_height": 30
: height of the images
"bo_border_size": 15
: size of the borders
"bo_vertical_spacing": 10
: vertical space between the BO lines
The images used in the build order overlay can also be defined in the same configuration file (path relative to src/img/build_order
).
Team colors can be changed in the config.json
. Colors are stored as a list of RGBA colors for team 1, 2, and so on.
"team_colors": [
[74, 255, 2, 0.35],
[3, 179, 255, 0.35],
[255, 0, 0, 0.35]
]
Civilization stats color can be changed in config.json
.
"civ_stats_color": "#BC8AEA",
Streaming overlay customization can be done via custom.css
and custom.js
in the html
folder in app directory. These files will not be overridden with an app update. Look at main.css
to see what you can change. In custom.js
you can define this function that runs after each update.
function custom_func(data) {
console.log("These are all the player data:", data);
}