XML/Techtree

The techtree XML is placed in the root folder of a techtree, and stores all the attack and armor types, as well as the damage multipliers that result from them. The techtree XML is the same among all forks of Glest.

description
Unused, but meant to be a short name for the techtree. Unlikely to ever be used in the future.

attack-types
A list of attack type names. These are the names you can give attack skills in the Unit XML, and will be used to create damage multipliers.

armor-types
A list of armor type names. These are the names you can give each unit's armor (each unit must have a type) and will be used to create damage multipliers.

damage-multipliers
A list of multipliers for the different damage types. If the attack and armor type match, the damage will be multiplied by that amount. For example, if one attack type is "arrow", it might not be very effective against units who have the armor type "stone". Thus, we might give it a multiplier of 0.5, which halves our damage. However, if this arrow is very effective against leather armor, we might increase the damage it can do against leather by giving it a multiplier of 1.25, doing 25% (one quarter) more damage.

You can have as many damage multipliers, attack types, and armor types as you want. However, attack and armor types referenced in the damage multipliers tag, as well as in the unit XML must exist here. A more complex techtree might have as many as 10 different attack and armor types, with multipliers for each one, such as that of the Military mod.

loading-screen
A GAE only option which specifies a path to a loading screen. As of 0.4, it can only support a single image, but will later support shuffling through random images. If a faction or scenario loading screen image is chosen, they will take priority over this one.

MG does not need this tag, as it always looks for a loading screen which must be called loading_screen.*.