Crossbowman
Warlord
In civ 4, the units are already made. When I find new techs, I can make new ones. But it would be really good to have a modular unit creation. This would be usefull for modern or futuristic mods. What do you think of that?
I think you are wrong! I've been working on something similar for quite a while now, and there are several ways to get it to work just using .xml. While at the moment there are some flaws with these methods, I think these can be fixed with a bit of python coding.Fabius said:Whew, that does sound like something that will be impossible. I am no programmer, but it seems that would require some serious reworking of the core code to enable that. I think you're stuck with the way it is I'm afraid. Would be neat if I was wrong.
If you take a peek at the promotions XML file, you'll see that it's already possable. For example, the ambush promotion requires the tech steel.Weasel Op said:It gave me an even more revolutionary idea: promotions with tech prereqs! I don't know what it would take, but it would probably be possible with XML and Python.
Hmmm, I'm a bit baffled by this idea. Isn't this how the upgrade system works at the moment? You would just be able to upgrade anywhere, instead of just in your own terriatory? It seems to me that this method has all the flaws of the way I'm suggesting, with none of the good bits - though I may just be missing the point of it.Weasel Op said:If it works, you don't have to mess with upgrades, and only need a few different units in the game! Once you discover iron working, you just give yout axeman the Iron Weapons promotion, and you have a swordsman. It might take SDK work to make promotions require gold instead of XP.