How do I change wall strength?

Zeusmoltar9

Chieftain
Joined
Oct 22, 2016
Messages
52
I've tried my best to locate wall strength within the game files.

I have found this so far in the buildings.xml

<Row BuildingType="BUILDING_WALLS" Name="LOC_BUILDING_WALLS_NAME" Description="LOC_BUILDING_WALLS_DESCRIPTION" PrereqTech="TECH_MASONRY" PrereqDistrict="DISTRICT_CITY_CENTER" Cost="80" AdvisorType="ADVISOR_GENERIC" Maintenance="1" OuterDefenseHitPoints="20" OuterDefenseStrength="1"/>

But after changing the hit point to 20 and outer defense strength I still see enemy walls over 100 in late game and overall garrison strength at cities at 200/200.

I usually don't have a problem changing buildings and thier effects, I just can't seem to find the later walls are found, there is no mention of medieval walls or anything.
 
It's Civil Engineering who gives defense in late game, I use this in SQL to change it from 200 to 100:

Code:
UPDATE ModifierArguments SET Value = 100 WHERE ModifierID = 'CIVIL_ENGINEERING_URBAN_DEFENSES';        -- default = 200
 
It's Civil Engineering who gives defense in late game, I use this in SQL to change it from 200 to 100:

Code:
UPDATE ModifierArguments SET Value = 100 WHERE ModifierID = 'CIVIL_ENGINEERING_URBAN_DEFENSES';        -- default = 200

ah thanks so much!! I didn't think the civic would define the overall value, was so concentrated on the tech and buildings i forgot.
 
I found it while looking at a way to disable the ranged attacks for cities, I didn't understood why they could still fire in late game after I had removed walls... Finally find out they are hardcoded to the outerdefense value, the moment you give some to a city, it gets the ranged attack ability.

They must have been in a terrible rush in late development...
 
Back
Top Bottom