Pazyryk
Deity
- Joined
- Jun 13, 2008
- Messages
- 3,584
I've been trying to figure this out in another thread discussion, but I thought I'd put it out here in case anyone knows the answer.
As a python/XML-only modder in civ4, I often faced this serious limitation that I couldn't create novel game variables (I think that's what you call them) and put information in them that would be saved in the gamesave file (and hence, reloaded later with that game). This is a horrible limitation in many ways: 1) My code had to do absurd things every single turn that might have needed doing only once in a game (like search all tiles to find a particular unique feature). 2) Without modding in new Feats (which required dll modding), you couldn't do much of any interesting chained events or quests.
So I'm hoping (and still optimistic) that such a thing is now possible without dll modding. The whole new database structure in Civ5 is quite impressive, and it looks like Lua can access almost everything from the outset without the constant need for dll changes to "expose" them (as in Civ4). However, what I need is access to part of that database that can be altered and is saved /reloaded from the gamesave file (rather than fresh from the XML file or cache). I haven't seen any hint of this yet in any discussions. Does anyone know?
As a python/XML-only modder in civ4, I often faced this serious limitation that I couldn't create novel game variables (I think that's what you call them) and put information in them that would be saved in the gamesave file (and hence, reloaded later with that game). This is a horrible limitation in many ways: 1) My code had to do absurd things every single turn that might have needed doing only once in a game (like search all tiles to find a particular unique feature). 2) Without modding in new Feats (which required dll modding), you couldn't do much of any interesting chained events or quests.
So I'm hoping (and still optimistic) that such a thing is now possible without dll modding. The whole new database structure in Civ5 is quite impressive, and it looks like Lua can access almost everything from the outset without the constant need for dll changes to "expose" them (as in Civ4). However, what I need is access to part of that database that can be altered and is saved /reloaded from the gamesave file (rather than fresh from the XML file or cache). I haven't seen any hint of this yet in any discussions. Does anyone know?