n003lb
Warlord
Well, I had a look at the "CIV4FormationInfos.xml" file and, whoa, what a garbeled up looking mess. I just spent the last 4 hours going through and cleaning it up with notepad, spacing it out so it's clearer to read. Makes it a lot easier to find a specific unit or bit of information in my opinion. I haven't had a chance to truly playtest it yet, so I don't know if it will cause any problems or not.
I know the game gives no errors at startup or when starting a new game. After I first did this, I had about a dozen errors to fix, all of which appeared when I tried to start a new game. Mostly, the errors were spots where I put whitespace between brackets, which XML apparently doesn't like. After I fixed those, it seems to work just fine.
I am providing it here as an aid to anyone else that feels completly overwhelmed by the clutter of this file originally. I am not an XML programmer, so I don't really know what anything in this file does. I just spaced it so that it is clearer and each formation is seperated out.
I have changed none of the original code, just cleaned it up to make it easier to read. I don't hold any rights to it, but I wouldn't think there would be any problems with me uploading it.
As with anything you download, use it at your own risk. I am not responsible for any damage done to your computer or your game as a result of using this file.
DON'T MODIFY YOUR ORIGINAL GAME FILES!
Put this file in the "My Documents\My Games\Sid Meier's Civilization 4\CustomAssets\xml\units" folder for now (use the Shortcut provided in the Civ IV main folder), until you know it will not adversly affect your game. Make sure to clear your cache after installing this file. Otherwise, Civ will not load it and you won't know if it is causing a problem or not. If you do wish to replace your original file with this one, BACKUP THE OLD FILE FIRST!
Anyway, I hope someone finds it useful. If anyone has serious problems with it, there ain't much I can do to help. If a lot of people have trouble, please post here and let me know. It may be a fluke that it works on my system. If that's the case, I'll take it offline so as not to cause problems for anyone else.
BTW To Moderators: I don't really know where to put this. If it is not in the right place, please move it. Thanks.
[EDIT July 5, 2006] Download removed because of superceding files below. They are better than what I did.
I know the game gives no errors at startup or when starting a new game. After I first did this, I had about a dozen errors to fix, all of which appeared when I tried to start a new game. Mostly, the errors were spots where I put whitespace between brackets, which XML apparently doesn't like. After I fixed those, it seems to work just fine.
I am providing it here as an aid to anyone else that feels completly overwhelmed by the clutter of this file originally. I am not an XML programmer, so I don't really know what anything in this file does. I just spaced it so that it is clearer and each formation is seperated out.
I have changed none of the original code, just cleaned it up to make it easier to read. I don't hold any rights to it, but I wouldn't think there would be any problems with me uploading it.
As with anything you download, use it at your own risk. I am not responsible for any damage done to your computer or your game as a result of using this file.
DON'T MODIFY YOUR ORIGINAL GAME FILES!
Put this file in the "My Documents\My Games\Sid Meier's Civilization 4\CustomAssets\xml\units" folder for now (use the Shortcut provided in the Civ IV main folder), until you know it will not adversly affect your game. Make sure to clear your cache after installing this file. Otherwise, Civ will not load it and you won't know if it is causing a problem or not. If you do wish to replace your original file with this one, BACKUP THE OLD FILE FIRST!
Anyway, I hope someone finds it useful. If anyone has serious problems with it, there ain't much I can do to help. If a lot of people have trouble, please post here and let me know. It may be a fluke that it works on my system. If that's the case, I'll take it offline so as not to cause problems for anyone else.
BTW To Moderators: I don't really know where to put this. If it is not in the right place, please move it. Thanks.
[EDIT July 5, 2006] Download removed because of superceding files below. They are better than what I did.