Improvement Question

Hi all ^_^

 

I would like to create an unique improvement, which output is defined by an already existing output of the building town.

In my example, the Monument of peace shall deliver gildar in the amount of the towns prestige. \o/

 

Im just not sure about the calculations. How do I link to the building towns prestige? :S

3,077 views 1 replies
Reply #1 Top

I havent' gotten going full tilt .xml modding yet, but seeing as the game has Buildings that do this already, search the Dir's related to those buildings, find the related .XML (if available) and use it/those as a reference guide to your new Unique building.

A few tweaks to an existing .xml file and/or copy/paste from the old to your new units .xml file should do the trick.

I will have a look tonight to see if the files can be found. (if someone else doesn't post it up before that)