Take the 2-minute tour ×
Arqade is a question and answer site for passionate videogamers on all platforms. It's 100% free, no registration required.

I want to create some simple mods for CIV V. I have already created one that tweaks some values through XML and SQL.

What I would like is to make some calculations on each round and apply some modifiers to different values, for instance apply a modifier to a city's production output according to how much it deviated from the mean production output of all cities (and some other factors) etc... This effect should also have impact in all other calculations the game makes (turns to complete a building, turns to complete research etc).

How can I achieve this? I suppose I need to hook on some Lua events (eg EndOfTurn etc) make my calculations and apply the modifiers.

Any ideas? Is there a complete CIV V modding Lua API somewhere in the web?

share|improve this question

closed as off topic by bwarner, Mark Trapp, Jupotter, John the Green, Frank Sep 12 '12 at 19:45

Questions on Arqade are expected to relate to gaming within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

4  
You might have better luck asking about mod development on gamedev, rather than here, where we specialize in playing games, not making them. –  Frank Sep 12 '12 at 19:04
    
Check out the Civ5 Modding Forum at CivFanatics. –  David Harkness Sep 15 '12 at 23:53
    
Thanks mate :) That was helpful –  Saysmaster Sep 16 '12 at 2:16