How to link new improvement to a technology

wli4

Chieftain
Joined
Sep 15, 2023
Messages
8
Does anyone know a way for me to be able to construct a new improvement I created after researching a certain technology?

aka unlocking advanced workshops after robotics
 
Does anyone know a way for me to be able to construct a new improvement I created after researching a certain technology?

aka unlocking advanced workshops after robotics
Requirements for workers to be able to construct an improvement are stored in CIV4BuildInfos.xml. For example:
Spoiler :
Code:
        <BuildInfo>
            <Type>BUILD_CHEMICAL_PLANT</Type>
            <Description>TXT_KEY_BUILD_CHEMICAL_PLANT</Description>
            <Help/>
            <PrereqTech>TECH_CHEMISTRY_PPQ</PrereqTech>
            <iTime>500</iTime>
            <iCost>0</iCost>
            <bKill>0</bKill>
            <ImprovementType>IMPROVEMENT_CHEMICAL_PLANT</ImprovementType>
            <RouteType>NONE</RouteType>
            <EntityEvent>ENTITY_EVENT_BUILD</EntityEvent>
            <FeatureStructs>
                <FeatureStruct>
                    <FeatureType>FEATURE_JUNGLE</FeatureType>
                    <PrereqTech>TECH_placeholder</PrereqTech> <!-- TECH REQUIREMENT -->
                    <iTime>400</iTime>
                    <iProduction>0</iProduction>
                    <bRemove>1</bRemove>
                </FeatureStruct>
                <FeatureStruct>
                    <FeatureType>FEATURE_FOREST</FeatureType>
                    <PrereqTech>TECH_placeholder</PrereqTech>
                    <iTime>300</iTime>
                    <iProduction>30</iProduction>
                    <bRemove>1</bRemove>
                </FeatureStruct>
            </FeatureStructs>
            <HotKey>KB_P</HotKey>
            <bAltDown>0</bAltDown>
            <bShiftDown>1</bShiftDown>
            <bCtrlDown>0</bCtrlDown>
            <iHotKeyPriority>1</iHotKeyPriority>
            <Button>,Art/Interface/Buttons/Builds/BuildPlantation.dds,Art/Interface/Buttons/Actions_Builds_LeaderHeads_Specialists_Atlas.dds,1,9</Button>
        </BuildInfo>

Also in the future use the general questions thread as more people pay attention to that one and you'll get a response faster.
 
Top Bottom