Change corps and armys required technology

washy

Chieftain
Joined
Feb 9, 2015
Messages
61
UPDATE UnitCommands SET PrereqCivic= 'CIVIC_MILITARY_TRADITION' WHERE CommandType= 'UNITCOMMAND_FORM_CORPS';

This could work for changing te tech required? for some reason it`s not working.

Thank you
 
Not sure if you have realized this or not, but the ability to form Corps and Armies is from a Civic rather than a Tech.
You can change the Civic to whatever you like (i.e. CIVIC_MILITARY_TRAINING).
The Unit Command will still be the same, but changing the Civic will grant you the ability sooner or much later.
Also, quick note, unless you set this as a trait to your Civ/Leader, changing it will affect all players, AI included.
 
I have done this in my mod.
You have to set the civic to null for it to work
Code:
    <UnitCommands>
        <Update>
            <Where CommandType="UNITCOMMAND_FORM_CORPS"/>
            <Set PrereqTech="TECH_INDUSTRIAL_ERA" PrereqCivic=""/>
        </Update>
        <Update>
            <Where CommandType="UNITCOMMAND_FORM_ARMY"/>
            <Set PrereqTech="TECH_MODERN_ERA" PrereqCivic=""/>
        </Update>
    </UnitCommands>
 
My line of code is working, yeah
Sorry I mean civc not tech, but the civic tree do not change in the tree, but when you reach the civic I choose you can make corps
 
Back
Top Bottom