original data is at Assets/Base/GamePlay/Data/Features.xml
features table has RemoveTech and Removable attributes. floodplain is feature in game
@LeeS your event handler concept worked well. Though UI button direct call was failed in test. (or my mistake?)
your code works well without debug console. thanks.
here's some code related to. I'm not sure builder class actually work.
some people said strategic resources are scarce except horses. and that makes harder balance.
how do you think?
thanks, I'll check it.
but my works was not a mod, just modified existing UI lua files. I assume same result.
one more example at ProductionPanel.lua
cityID = UI.GetHeadSelectedCity():GetID()
I've found number of Create & Destroy functions from tunerMapPanel.lua, though it doesn't work in game at UI class....
but you should aware deity difficulty AI have 100% gold income bonus.
(though poor building management)
<Features> in Features.xml
<Row FeatureType="FEATURE_JUNGLE" Name="LOC_FEATURE_JUNGLE_NAME" RemoveTech="TECH_BRONZE_WORKING" Removable="true"...
Units table itself doesn't have EraType attribute. instead PrereqTech or PrereqCivic atrributes. that values are reference of Technologies and...
SetupParameters.xml and MapSizes.xml at Assets/Configuration/
but only works after pressing default button.. plz tell me if you setup without...
mapsize, difficulty, player numbers, city state numbers, map types or more
I've changed some xml files and only applied after pressing advanced setup "default" button.
so, I traced setup menu lua scripts....
DELETE FROM MajorStartingUnits AiOnly=TRUE
Each Districts have CostProgressionModel and CostProgressionParam1 values
I guess you can change this values..
Mod Component forums will help you.
there are many simple mods changing only one or two xml values - good examples
AI and HUMAN both get units when AiOnly=0
see era.xml line 36. this would help you
<Row Era="ERA_ANCIENT" Unit="UNIT_SETTLER"/>
use SQL like this
UPDATE Terrain_YieldChanges SET YieldChange="1" WHERE TerrainType="TERRAIN_GRASS_HILLS" AND YieldType="YIELD_FOOD"
Separate names with a comma.