• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.
I'm working on tweaking a file for the 1914 scenario, but I think this might be a question for the larger modding community.

The 1914 mod is looking at creating province images for non-urban terrain. This can theoretically be achieved by creating a province image file and placing it in the correct gfx folder, editing the province.csv file from "urban" to "clear", editing the colorscales.csv file so that urban terrain appears "clear", and then editing the unit terrain modifiers to mimic clear terrain.

The image edit works fine, I'm having problems with the unit terrain modifiers. I've made the following edits to these three lines in the db/units/modifiers.csv file:

Code:
MODIFIER;INF;CAV;MOT;MECH;L ARM;ARM;PARA;MAR;MTN;GARR;HQ;MIL;ESC F;MR F;INT F;STR B;TAC B;NAV B;CAS;TRA P;FL B;FL R;BB;CL;CA;BC;DD;CV;SUB;TRA;X
ATT_URBAN;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;X
DEF_URBAN;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;X
MOV_URBAN;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;X

The movement and urban attack penalties have been successfully removed:

1914-Urban_Defend.jpg


The problem is that the defender of the urban province still gets a 33 percent increase in their def_urban abilities. I thought my edits would suffice. Am I forgetting to edit something else?
 
Well, I've partially answered my own question. When I set the DEF_URBAN for infantry to -30, it works perfectly. Why do I have to set it to -30 when the original value was 33?

Do I put something like this?

Code:
DEF_URBAN;-30;-30;-30;-30;-30;-30;-30;-30;-30;-30;-30;-30;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;X

or something else entirely? Any assistance would be appreciated.
 

unmerged(12544)

General
Dec 9, 2002
1.936
0
Visit site
I would recommend Excel to edit this file.

My experience is, that all land unit types get an invisible urban_defense bonus of +30 and you have to keep that in mind, when changing the values. Another one is for armor and light_armor -50 urban_attack.
So for those you have to do a short test combat, if you want to make sure, that you get, what you wanted.