Jump to content
Age of History 3
Łukasz Jakowski

Age of History 3 - Map Overlays

Recommended Posts

game/_FAQ/Map/Overlays_Map.txt

 

#######################################
## Read: mods_steam_workshop.txt !
## 
## To create a new mod for submission to the Steam Workshop, first create a new folder for your mod within the 'mods' directory.
## Then, copy or recreate all the modified files into that folder!
##
## For example, if a file was originally located in game/ExampleFile.json, 
## it should be placed in mods/YourModName/game/ExampleFile.json in your mod's folder.
##
#####

For your mod the path will be:
mods/YOUR_MOD_NAME/map/YOUR_MAP/

#####

The overlays are in the path:
map/THE_MAP/background/overlays/

There are two configuration files: one for land overlays and another for sea overlays.

Overlays.json
# This file is for land overlays.

OverlaysSea.json
# This file is for sea overlays.

If you want to disable overlays, don't know how to create them, or need assistance with anything else, the configuration file should look like this:

####################
####### CODE #######

{
	Overlay: [
		
	],
	
	Age_of_History: Overlay
}

####### CODE #######
####################


The masks for overlays are placed in the following directory:
map/THE_MAP/background/overlays/high/

The low folder is used only when someone selects “Texture quality: low” in the settings:
map/THE_MAP/background/overlays/low/

To simplify, you can place the same mask images in the low folder as in the high folder.

The high/ folder is the primary directory for the overlay masks.

####

The mask for your map should be a single image.
It does not work like the main map background, which can be split into multiple images.

The mask does not need to have the same dimensions as your main map background.
It only needs to maintain the proportions (scaled down if necessary, for example, if the map background is over 5000 pixels width).

You can use either the full dimensions for the mask or a proportionally scaled version.
The game will automatically scale up the mask.

####

In the Overlays.json file, you specify which mask and overlay tile to draw.

####### CODE #######

		{
			Tile: "plains_tile.png",
			Mask: "plains_mask.png",
			Scale: 0.02,
			Alpha: 0.0,
			AlphaScaleZoomOut: 0.025,
			AlphaScale: 0.275,
			ExtraColor: 1.65,
		},

####### CODE #######

Scale: 0.02,
This is the scale at which the tile will be drawn in the game. A scale of 1.0 represents 100%, while 0.02 corresponds to only 2%.
This is designed this way because when you zoom in, the tile will also be zoomed in.

Alpha: 0.0,
# Minimum alpha value for the tile mask.

AlphaScale: 0.275,
# Determines how much the alpha of the tile increases when zoomed in.

ExtraColor: 1.65,
# Controls the blending of colors (tile + mask). This is why the masks are not just white, but are colored as the map.

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.




  • Our picks

    • Age of History 3 - October 23rd, 2024 - Official release date
      Age of History 3 - Official release date

       

      Steam: October 23rd, 2024

      Android: When it's ready

      iOS: When it's ready

      Epic: When it's ready

       
      • 0 replies
    • Campaign: Small Scenarios
      In this topic, share your ideas for Campaign scenarios.

      These scenarios focus on a small part of the map, with the rest designated as wasteland.

       

      For example, a scenario of the Reconquista in 1054, where gameplay takes place only on the Iberian Peninsula.

      What are your ideas for small historical scenarios?

       


       
      • 105 replies
    • Events - Common events for every civilization in the game
      Hi,
      in this topic, I am interested in your ideas for events that can happen for every Civilization in the game.
      I'm also interested in Missions for every Civilization.

      Here is some example, have more than 10k army, have more than 5000 gold, build 10 buildings, recruit an Advisor, increase tax efficiency 20 times, be largest  producer of some resource in the world, unlock 5 Civilization legacies etc.
      • 196 replies
    • First preview of the Alpha version of Age of History 3
      First preview of the Alpha version of Age of History 3, YouTube.
      Release date: When it's ready 😛 Subscribe for more!



       





       
      • 204 replies
    • Land units - Ideas AoH3
      AoH3 will have different types of land units.

      In this topic we will write ideas for new land units. 

       

      So the AoH 3 will have new battle system.


      Representation of the battlefield in the game.


      Land units will be grouped into 3 types. Each unit will have a different recruitment cost, attack, defense, movement speed and upkeep.

      Groups determine the placement of units on the battlefield.


       

      Each unit can be unlocked by researching technology and then upgraded.

       

      Here is the current list of units with upgrades:

      First line:

      Warrior -> Light Footmen -> Heavy Infantry -> Infantry -> Line Infantry -> Modern Infantry

      Hoplites -> Spearmen -> Pikeman -> Elite Pikeman -> Musketeer -> Riflemen -> Mechanized Infantry -> Modern Mechanized Infantry

      First line side:

      Horseman -> Elite Horseman -> Cavalry -> Tank -> Modern Tank

      Second line:

      Archer -> Bowmen -> Crossbowman -> Elite Crossbowman

      Canon -> Field Cannon -> Artillery -> Modern Artillery

      Early Airplane -> Airplane -> Modern Airplane

       

      This is a very early version, so maybe something should be changed?

      Or maybe an idea for a new type of unit with upgrades? I'm waiting for your suggestions.

       
      • 227 replies
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Age of History Games