Jump to content
Age of History 3
Łukasz Jakowski

Age of History 3 - How to add Terrain type

Recommended Posts

game/_FAQ/Terrain_type.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.
##
#####



Go to:
game/terrain/

and Edit TerrainTypes.json file as txt file in notepad.

Example of one Terrain Type:

		{
			Name: "Plains",
			ImageFile: "plains.png",
			Color: [32, 74, 11],
			MovementSpeed: 1.0,
			Defense: 0,
			PopulationGrowth: 1,
			BuildCost: 1.0,
			BasePopulation: 0,
			BaseEconomy: 0,
			BattleOver: 0,
		},


ImageFile folder:

game/terrain/terrainImages/H/
game/terrain/terrainImages/XH/
game/terrain/terrainImages/XXH/

Color: R G B, 0 - 255

MovementSpeed: 1.0,
This is 100%, if you want units to move faster by 10% it should be:
MovementSpeed: 1.1,


BuildCost: 1.0,
Default cost of buildings in province, 100%, you can increase od decrease cost:

+10% will be:
BuildCost: 1.1,

-20% will be:
BuildCost: 0.8,

PopulationGrowth: 1,
Extra Growth Rate in province: +1

Defense: 1,
Defenders will get +1 Defense

BattleOver: 0,
Image ID in Battle view
ui/interface/H/menus/battleOver0.png

 

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.



×
×
  • 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