Jump to content
Age of History 3
Łukasz Jakowski

Age of History 3 - How to add Resource

Recommended Posts

game/_FAQ/Resources.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/resources/

And open as text file in notepad: Resources.json

### EXAMPLE RESOURCE

		{
			Name: Rice,
			ID: 1,
			ImageID: 1,
			GroupID: 0,
			
			Color: [225, 205, 156],
			
			ArmyMaintenance: -5,
			
			Price: 0.42,
			AVAILABLE_SINCE_AGE_ID: 0,
		},
		
### EXAMPLE RESOURCE

### Available bonuses:

MonthlyIncome: X,

IncomeProduction: X,
ProductionEfficiency: X,

TaxEfficiency: X,
ProvinceMaintenance: X,
GrowthRate: X,

MonthlyLegacy: X,

MaxManpower: X,
ManpowerRecoverySpeed: X,

ArmyMaintenance: X,

RecruitmentTime: X,

RecruitArmyCost: X,
RecruitArmyFirstLineCost: X,
RecruitArmySecondLineCost: X,

ResearchPoints: X,
TechnologyCost: X,

ConstructionCost: X,
AdministrationBuildingsCost: X,
MilitaryBuildingsCost: X,
EconomyBuildingsCost: X,

ConstructionTime: X,

InvestInEconomyCost: X,
IncreaseManpowerCost: X,

GeneralAttack: X,
GeneralDefense: X,

UnitsAttack: X,
UnitsDefense: X,

MaxMorale: X,
ArmyMovementSpeed: X,

SiegeEffectiveness: X,

ImproveRelationsModifier: X,
IncomeFromVassals: X,
LoanInterest: X,

AggressiveExpansion: X,

RevolutionaryRisk: X,

CoreCost: X,

BattleWidth: X,
RegimentsLimit: X,



AVAILABLE_SINCE_AGE_ID: 0,
0 means it is available always.
Ages file with IDs you can find: game/Ages.json

## Group
GroupID: 0,

0 = Food
1 = Commodities
2 = Luxury Commodities
3 = Luxury
## Group

Adding new images: Example: 47.png (It must be the next number of the last image)
Add new image in folders:

game/resources/resourcesImages/H/
game/resources/resourcesImages/XH/
game/resources/resourcesImages/XXH/

Don't forget to increase the total number of images in the file:
game/resources/resourcesImages/numOfImages.txt

 

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