Pazyryk
Deity
- Joined
- Jun 13, 2008
- Messages
- 3,584
I messed A LONG time ago with trying to add the pyramids as an improvement or even just adding a wonder. The big difference between Civ4 TIs/Wonders/Buildings and Civ5 is that the Civ5 ones appear to have a skeleton.
You are probably getting the unfinished wonder graphic because you are using the original fxsxml which calls for both gr2s and is handled by the wonder generator. So if you create a new fxsxml using only the inished wonder gr2 you'll get the finished wonder.
It's just one fxsxml and one gr2 that somehow encode both unfinished and finished. There are several texture (dds) files that, for some wonders, have clear finished/unfinished versions. But it isn't as simple as removing dds files. I'm pretty sure it is the decisiontree.ddtxml file that tells the engine how to get the right graphics from a common set. In fact, some of the ddtxml files make this pretty explicit in the comments. However, I can't make heads or tails of the ddtxml file structure, so my changes have all been random and unsuccessful.
There are some other downstream special effects files, for example the flame for the Great Lighthouse. Interestingly, the "lighted" state for the wonder is state=1. For improvements however, state=1 is the incomplete and 2 is the complete version. So I was successful in getting this to light when completed by changing the special effects to state=2.
The graphic resources are all together and seem to have a lot in common (hence my partial success in using wonder art as a TI), but I have no idea what "invokes" the wonder graphics. I don't see it anywhere in DebugDatabase. It's probably off limits to us in the ddl.On another note you can add TIs but does this mean you can add new wonder graphics too? do they look to be handled the same?
I'm not sure what you are referencing here. It is strange that unit xml can be relplaced but not landmark xml, and that landmark DB can be altered by sql but not unit DB. Not sure if that is a "bug" exactly but certainly annoying.Finally, your opening posts makes it sound like you found a bug in the database handling. Is that the case?
I can confirm the growth function on improvements still works. I have created forts that grow into citadels after X number of turns
That's nice to know. (I'm sure we're going to see all of this stuff working and used in the first expansion, whenever that happens.)