Quantcast
Channel: Civilization Fanatics' Forums
Viewing all articles
Browse latest Browse all 12856

[DLL] So... Would this work

$
0
0
Ok, I found in CvBeliefClasses.cp this code

Code:

m_piYieldChangeTradeRoute(NULL)
For My Mod I wanted to add this very same table to Technologies, so I can with .xml have the same effect of this belief upon researching a Technology.

My .xml code

Code:

<Technology_YieldChangeTradeRoute>
                <Row>
                        <TechType>TECH_ALPHABET</TechType>
                        <YieldType>YIELD_SCIENCE</YieldType>
                        <Yield>2</Yield>
                </Row>
        </Technology_YieldChangeTradeRoute>

So If I just copy

Code:

m_piYieldChangeTradeRoute(NULL)
to CvTechClasses.cpp

Would it work?

Viewing all articles
Browse latest Browse all 12856

Trending Articles