aerojockey
Chieftain
- Joined
- Sep 2, 2014
- Messages
- 3
Hi. I have the XML part of the modding down pat now, but there are a few things I expect that Lua (at least) would be needed for. Would like pointers on where to start. (In terms of API, what hooks should I use. I already know how to program in Lua.)
1. First time a city builds a certain civilization-specific building, it triggers a Golden age. The building is not a Wonder, it's a regular building that any city in the civilization can build, and obviously I don't want a golden age every time a city builds it, just the first time.
2. I would like for there to be no movement penalty for units (domestic or foregin) to cross rivers inside the civilization's territory, and for this to be completely transparent (so that the AI can take advantage of it and the motion command takes it into account when drawing). Having browsed through some messages I would guess this is quite difficult, in which case I probably won't bother.
1. First time a city builds a certain civilization-specific building, it triggers a Golden age. The building is not a Wonder, it's a regular building that any city in the civilization can build, and obviously I don't want a golden age every time a city builds it, just the first time.
2. I would like for there to be no movement penalty for units (domestic or foregin) to cross rivers inside the civilization's territory, and for this to be completely transparent (so that the AI can take advantage of it and the motion command takes it into account when drawing). Having browsed through some messages I would guess this is quite difficult, in which case I probably won't bother.