FluffyMaguro / AoE4_Overlay

GNU General Public License v3.0
138 stars 22 forks source link

AoE4 Overlay

Screenshot

What does the app do?

API calls are done through AoE4World.com. For build orders, check age4builder.com or aoe4guides.com.

Notes

How to use

Windows

Linux

Video tutorial for app setup and using buildorders.

Note: To update the app delete the app folder and extract the new archive elsewhere.

Build orders

Authors

Screenshots

Build order widget (Illustrated format):

Screenshot

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).

Screenshot

Settings:

Screenshot

Game history:

Screenshot

Build order configuration tab:

Screenshot

Built-in randomizer:

Screenshot

Streaming

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.

Screenshot

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:

Screenshot

Screenshot

Or change values to something completely different

Screenshot

Customization

  1. Overlay position and font size can be changed in the app.

  2. 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).

  3. 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]
      ]
  4. Civilization stats color can be changed in config.json.

    "civ_stats_color": "#BC8AEA",
  5. 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);
    }

Releases & Changelog

All here