I want to change the cost of technologies, and do it in such a way that it is compatible with TBM and as many other mods as possible.
In the past I've just manually edited CIV5Technologies.xml, but with patching that is getting too cumbersome, so I'm building my first Civ5 mod.
I want to do something like
To simply multiply the tech cost of each era by a different constant. I figure this is a good way of keeping the mod simple so future tech tree updates by other moders do not require any more work here. (unlike setting the cost tech by tech)
Obviously <Set Cost*="1.5"/> doesn't work, so how can I do the cost *= 1.5 bit in XML?
Moderator Action: Moved to the main forum.
In the past I've just manually edited CIV5Technologies.xml, but with patching that is getting too cumbersome, so I'm building my first Civ5 mod.
I want to do something like
Code:
<Technologies>
<Update>
<Set Cost*="1.5"/>
<Where Era="ERA_CLASSICAL"/>
</Update>
</Technologies>
To simply multiply the tech cost of each era by a different constant. I figure this is a good way of keeping the mod simple so future tech tree updates by other moders do not require any more work here. (unlike setting the cost tech by tech)
Obviously <Set Cost*="1.5"/> doesn't work, so how can I do the cost *= 1.5 bit in XML?
Moderator Action: Moved to the main forum.