Serenity42
Chieftain
- Joined
- Jul 16, 2008
- Messages
- 58
When it comes to modding Civ, I have a serious disability: I do not understand XML. I've read books, gone through online tutorials, and yet remain an idiot -- frustrating, because I can code C in my sleep. I therefore beg all of you XML-smart people to take pity and guide me out of the woods on two small edits.
1. I'm trying to add Marines as an upgrade option to Infantry. Thanks to Peter450, I know this involves the UnitInfos file, and that I must add a "UnitClassUpgrades" entry, but I cannot find where each unit entry begins and ends, let alone finding the actual entry for Infantry.
2. I'd also like to enable the construction of cottages/villages/towns on Tundra terrain. I know this involves the Civ4ImprovementInfos file thanks to The J, but I cannot even find the proper entry for Tundra, and the flags that apparently set what can and cannot be built make no sense to me.
I realize that all of this probably sounds incredibly pathetic, and I agree. I used to be able to mod Alpha Centauri like it was clay, and I have a degree in programming, yet I seem totally unable to untangle XML. If someone can help me out, I'd be extremely grateful.
1. I'm trying to add Marines as an upgrade option to Infantry. Thanks to Peter450, I know this involves the UnitInfos file, and that I must add a "UnitClassUpgrades" entry, but I cannot find where each unit entry begins and ends, let alone finding the actual entry for Infantry.
2. I'd also like to enable the construction of cottages/villages/towns on Tundra terrain. I know this involves the Civ4ImprovementInfos file thanks to The J, but I cannot even find the proper entry for Tundra, and the flags that apparently set what can and cannot be built make no sense to me.
I realize that all of this probably sounds incredibly pathetic, and I agree. I used to be able to mod Alpha Centauri like it was clay, and I have a degree in programming, yet I seem totally unable to untangle XML. If someone can help me out, I'd be extremely grateful.
Thank you so much for explaining it! It all actually makes sense now! I was looking at the whole thing absolutely sideways. I tried out the edits last night and, admittedly, with a couple false starts, I managed to get them to work. Sure, it's not as easy as the text file system that Alpha Centauri used, but it's at least workable now!
THAT, at least I can handle without coaching!