I'm usually not a forum poster, but I throught I'd share this with the rest of you folks. I don't know if anyone has posted anything similar to this, and I'm sorry if this is a duplicate post. I checked previous posts to make sure.
Anyway... the topic: As some of you may know, you can edit your Home Cities supply of cards by going into your savegame directory (C:\Documents and Settings\Cameron\My Documents\My Games\Age of Empires 3 Trial\Savegame) into your sp_CITYNAME_homecity.xml file and adding in lines such as "< It is also true that most (if not all) of the cards in the HCLevel 10+ area are all non-functional. Infact, you can tell if a specific card in your "pack" is non-functional by looking at its pop-up description. If there is NOTHING WRITTEN below the comment "This card may be selected ONE time", or "This card may be selected INFINITE times", then it has nothing written in the HC Card script file. The intention of this post is to help those who are interested to build HC Cards of their own, and fix the broken ones. The HC Card and Tech Tree Database is located in the file found in the default directory "C:\Program Files\Microsoft Games\Age of Empires III Trial\data" (Your directory may be different). The name of the files you want to pay attention to are the "proto.xml" and "techtree.xml". The "proto.xml" is a list of all available units and unit scripts in the game. Unfortunatly, the only merc's in the "proto.xml" are the Hessian Jaegers and Pirate Privateers! Sorry to all those who wanted to see the Merc Army. The "techtree.xml" is a list of all the In-game techs and HC Cards available in the game. HC Cards are usually near the bottom of this large file, and usually contain "HC" as the first two letters in the name (EX: < How to change/fix a HC Card: Simple example of fixing a HC Card... Lets look at the example of the British "Summon Musketeer (16 Musketeers)" HC Card. This card gives a discription of being able to summon 16 Musketeers, yet the game will not spawn anything should you add this card to your deck. Inside the "techtree.xml" you will find the entry for this HC Card as follows: < The DBID is the tech's tag for when you want to add this HC Card to your deck in your savegame file - something to remember for later. Also, you might notice there's nothing in the "Effects" catagory - this is why the card doesn't do anything at all. To "fix" this card, simply reference a working "Summon Musketeer" card and augment the effects output, as such: < < A simple copy & paste from the effect of HCShipMusketeers1, except that the modifier, "amount ='6.00'" was changed to the fixed value of "16.00". Make sure all tags are accounted for, or else the game will exit to desktop - < A more difficult example: What if we wanted to fix the "Summon Privateer" HC Card? This is where the "proto.xml" file may come in handy. First, make sure the unit in question really exists! Find the Privateer unit in "proto.xml" and see if the unit tag is indeed, just a simple "Privateer". Then, find the entry of the HC Card you want to fix, such as in this example the "Summon Privateer Armada (+6 Privateers)" HC Card. < As predicted, nothing in the Effects. Copy and Paste from another unit summon HC Card, and modify the values needed to fix the card, as such: < Note what was changed: amount, and unittype. "unittype" must lead to a valid entry in "proto.xml", to the best of my knowledge. Lastly, a two more difficult examples: Lets try and fix the HC Card "Extensive Fortification" in the Cathedral section of the HC Card Deck. The Description states it increases the build limit of Outposts & Blockhouses, yet as some may have noticed, the HC Card doesn't work! There's nothing below the "This card can only be used ONE time", and for good reason - the Effects entry for the card is empty in the "techtree.xml" file. How to fix this HC Card: Firstly, lets find something similar to this HC Card - there's one HC Card which has a similar effect called "Admirality" (Increases build limit of naval ships). Using the previously written code from that HC Card... < ...we can change it to fit the needs of our broken HC Card, as such: < We don't know the actual build increase limit from the short description of the HC Card In-game, but I made a guess that it'll change the build limit from 7 to 10, hence the "amount ='3.00'" reflects the change of "Base 7" + 3. I guessed at the ProtoUnit tag (from "proto.xml") in this HC Card, but you may need to check that file from time to time. Last Example: Let us now fix the "Cavalry Combat" HC Card in the Military Academy section of the HC card deck. The description states that this HC card will increase Hussar and Dragoon attack and hitpoints, and, of course, the card is broken. The fixed HC Card: <
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<