How to modify a game asset’s properties
Con’t from “How to duplicate (replace) a game asset”
If you wanted to mod the properties of fish, you would need a copy of this file:
C:\Program Files (x86)\Steam\steamapps\common\Ancient Cities\Ancient\Data\Ancient\Entity\Local\Resource\Fish\index.art
Here you can modify the calories that are in each fish or adjust the decay:
Entity/Resource:
{
Name:“Entity”
State:“Enabled”
Weight:“1”
Decay:“0.05”
Type:“‘~/Entity/Local/Resource/Type/List/Food/List/Seafood/Entity’”
Constitution:“1”
FoodCalorie:“1500”
FoodType:“Animal”
This file will let you modify the generation of fish:
C:\Program Files (x86)\Steam\steamapps\common\Ancient Cities\Ancient\Data\Ancient\Entity\Local\Resource\Fish\Flock\Flock.art
As you can see below, one entry is for fish in the river and one is for fish in the sea. Here you can modify the Density and CountLimit, which will affect the generation of fish.
Entity/Flock:
{
Name:“River”
State:“Enabled”
CountLimit:“512”
LocationMedium:“WaterSurface”
LocationDeep:“0.25,1.5”
LocationSlope:“0”
StorageElevation:“0”
StorageResource:“…/…/Entity”
StorageCount:“18”
HistoryRangeYear:“-10000,2000”
Density:“7500”
HeightRange:“0,0,12000,13000”
ProductionDuration:“6”
Entity/Flock:
{
Name:“Sea”
State:“Enabled”
CountLimit:“512”
LocationMedium:“WaterSurface”
LocationDeep:“0.5,1.6”
LocationSlope:“0”
LocationSea:“true”
StorageElevation:“0”
StorageResource:“…/…/Entity”
StorageCount:“36”
HistoryRangeYear:“-10000,2000”
Density:“2000”
HeightRange:“8000,8000,10000,10000”
ProductionDuration:“12”
Here is an explanation of the CountLimit and Density parameters used in a similar context:
Here is another explanation of CountLimit:
Many different resources can be modified in this fashion, they can be found here in the resources folder:
C:\Program Files (x86)\Steam\steamapps\common\Ancient Cities\Ancient\Data\Ancient\Entity\Local\Resource
Some food properties for mushrooms and berries can be found in here:
C:\Program Files (x86)\Steam\steamapps\common\Ancient Cities\Ancient\Data\Ancient\Entity\Local\Vegetal