I have modded at least two other games, not a CIV one before though. Generally I can pick it up by reading various posts, doco, example mod source, etc... For this game, I have found next to nothing. The best source I have seen is the "LUA Objects" spreadsheet. And that barely helps at all. It doesn't give function parameters or their return values for example. And the "Fire Tuner". Forget it.
Let me start basic and see if anyone can help me. How can I execute some code when a city has started producing something? I know LUA very well. In other game modding, these event handlers are called "hooks". What hook can I use to do this? Where are any of the hooks documented???
Any help in anything beyond simple stuff like adding XML entries to create your own "whatever" would be very helpful.
Thanks
Let me start basic and see if anyone can help me. How can I execute some code when a city has started producing something? I know LUA very well. In other game modding, these event handlers are called "hooks". What hook can I use to do this? Where are any of the hooks documented???
Any help in anything beyond simple stuff like adding XML entries to create your own "whatever" would be very helpful.
Thanks