Shadowlord
Rare Poster!
- Joined
- Apr 22, 2002
- Messages
- 138
Basically the premise of this mod is to reflect the fact that weapons, armor, etc, made from bronze are stronger than ones made from iron. It gives a +10% combat bonus (as per Combat I) to units built with bronze, +15% to units built with Iron + Metal Casting, and +20% to units built with Steel.
People with other mods, feel free to merge this into it.
Here's the contents of the readme:
Metal Bonuses, release 2
November 14, 2005
by SL (http://sl.ecwhost.com)
Changes since release 1:
1. Now uses the inheritance model, should be easier to merge with other mods.
2. Gives a +15% combat bonus if you have metal casting, if you have iron and the unit requires it.
To install:
There are multiple ways, and each has advantages and disadvantages:
1. Unzip this somewhere and then copy the files from the "Metal Bonuses" folder into CustomAssets. If any of the files already exist (from another mod, probably), then you'll have to merge them together (I suggest using WinMerge). This method WILL BREAK ALL YOUR EXISTING SAVED GAMES. The reason is that Civ IV quits to desktop if the XML contains more (or different?) promotions than existed when you saved the game (Or something like that).
2. Or, unzip into the Mods folder, so that there is a Mods\Metal Bonuses\ folder. This won't break existing saved games, but you won't be able to use this with them either. You'll also have to load the mod every time you play, and you can only have one mod loaded at a time...
3. Or, unzip this somewhere and then merge the files' contents into the files in another mod's folder (Using WinMerge). This will let you combine this mod with another one; For example, you could merge this with dearmad's Slower Tech + Balances mod, which is how I have this set up locally, or you could merge it into Dracleath's Medieval Weapons Mod, or you could merge it into jaynus' Civ4 Realism Mod... Etc. And if you really like it, you can pester the author of whichever mod you chose to get them to add it to their mod.
A warning again: You can NOT switch your existing saved games so that they use this mod. If you managed to do so (or installed this mod in CustomAssets), Civ IV would refuse to load the saved games. Again, this is because Civ IV exits if there are more (or different?) promotions in the XML than were in it when you saved that saved game.
Also: There's a third new promotion (for metal casting) in release 2, so you use it with saved games that you started with release 1.
-------------------
The purpose of this mod is to make units made with bronze stronger than ones made with iron, and to make units made with steel stronger still. The reason is simply that bronze is stronger (for military purposes) than iron, and steel is stronger still. The strength boost with bronze is 10%, and with steel it is 20% (those are not cumulative, a unit which would be given both will only get steel). These are fairly conservative values IMHO, since a small difference over the course of a war could have a large difference total.
The bonuses are handled as unbuyable promotions:
Bronze gives a +10% combat bonus (the same as Combat I does, although it is a separate bonus).
The Metal Casting tech plus Iron gives a +15% bonus.
The Steel tech plus Iron gives a +20% combat bonus.
Only the best bonus available will be applied, and a bonus cannot be applied to a unit which doesn't have that resource as a prerequisite (copper for bronze, iron for metal casting or steel).
These are the rules for when the promotions are given to units. When a unit is built:
If the unit has the iron resource as a prerequisite, and the city has access to iron, and the player has the steel tech, we give the unit the Steel promotion.
If the above was true except that we don't have the steel tech, if we have the metal casting tech then we give the unit the Metal Casting promotion.
If we didn't give it either of those promotions, and the unit has the copper resource as a prerequisite, and the city has access to copper, and the player has the bronze working tech, we give the unit the Bronze promotion.
Note that 'as a prerequisite' in this case means the unit has the resource in question as one of its possible resource requirements, although only one of those resources has to actually be available for the unit to be buildable.
What's in the mod:
1. Three new promotions (which you can't buy normally) in CIV4PromotionInfos.xml, plus their text in CIV4GameTextInfos_Objects.xml. The promotions currently use the icon for the 'Combat I' promotion, since I don't know how to make .dds files and don't know how I would make new promotion pictures which look like the old ones. Also, if some people who speak french, german, italian, and spanish could check the text shown for the Bronze upgrade, that would be nice. I just borrowed the word for bronze from the 'Bronze Working' text, but I don't know if that's how it should still be spelled when it's by itself.
2. CvEventInterface which points at CvCustomEventManager, plus CvCustomEventManager, plus MetalBonuses.py. The actual script is in onUnitBuilt in CvCustomEventManager.
Units can not be given more than one of the preceding promotions (Bronze, Metal Casting, or Steel): If they would be given more than one, only the best one will be given.
------------------
Here's another idea for the future: A new medieval Global Wonder could be added named "Damascus Steel," which would give the Steel upgrade to the units built in that city, even if you don't have the Steel tech yet.
People with other mods, feel free to merge this into it.
Here's the contents of the readme:
Metal Bonuses, release 2
November 14, 2005
by SL (http://sl.ecwhost.com)
Changes since release 1:
1. Now uses the inheritance model, should be easier to merge with other mods.
2. Gives a +15% combat bonus if you have metal casting, if you have iron and the unit requires it.
To install:
There are multiple ways, and each has advantages and disadvantages:
1. Unzip this somewhere and then copy the files from the "Metal Bonuses" folder into CustomAssets. If any of the files already exist (from another mod, probably), then you'll have to merge them together (I suggest using WinMerge). This method WILL BREAK ALL YOUR EXISTING SAVED GAMES. The reason is that Civ IV quits to desktop if the XML contains more (or different?) promotions than existed when you saved the game (Or something like that).
2. Or, unzip into the Mods folder, so that there is a Mods\Metal Bonuses\ folder. This won't break existing saved games, but you won't be able to use this with them either. You'll also have to load the mod every time you play, and you can only have one mod loaded at a time...
3. Or, unzip this somewhere and then merge the files' contents into the files in another mod's folder (Using WinMerge). This will let you combine this mod with another one; For example, you could merge this with dearmad's Slower Tech + Balances mod, which is how I have this set up locally, or you could merge it into Dracleath's Medieval Weapons Mod, or you could merge it into jaynus' Civ4 Realism Mod... Etc. And if you really like it, you can pester the author of whichever mod you chose to get them to add it to their mod.

A warning again: You can NOT switch your existing saved games so that they use this mod. If you managed to do so (or installed this mod in CustomAssets), Civ IV would refuse to load the saved games. Again, this is because Civ IV exits if there are more (or different?) promotions in the XML than were in it when you saved that saved game.
Also: There's a third new promotion (for metal casting) in release 2, so you use it with saved games that you started with release 1.
-------------------
The purpose of this mod is to make units made with bronze stronger than ones made with iron, and to make units made with steel stronger still. The reason is simply that bronze is stronger (for military purposes) than iron, and steel is stronger still. The strength boost with bronze is 10%, and with steel it is 20% (those are not cumulative, a unit which would be given both will only get steel). These are fairly conservative values IMHO, since a small difference over the course of a war could have a large difference total.
The bonuses are handled as unbuyable promotions:
Bronze gives a +10% combat bonus (the same as Combat I does, although it is a separate bonus).
The Metal Casting tech plus Iron gives a +15% bonus.
The Steel tech plus Iron gives a +20% combat bonus.
Only the best bonus available will be applied, and a bonus cannot be applied to a unit which doesn't have that resource as a prerequisite (copper for bronze, iron for metal casting or steel).
These are the rules for when the promotions are given to units. When a unit is built:
If the unit has the iron resource as a prerequisite, and the city has access to iron, and the player has the steel tech, we give the unit the Steel promotion.
If the above was true except that we don't have the steel tech, if we have the metal casting tech then we give the unit the Metal Casting promotion.
If we didn't give it either of those promotions, and the unit has the copper resource as a prerequisite, and the city has access to copper, and the player has the bronze working tech, we give the unit the Bronze promotion.
Note that 'as a prerequisite' in this case means the unit has the resource in question as one of its possible resource requirements, although only one of those resources has to actually be available for the unit to be buildable.
What's in the mod:
1. Three new promotions (which you can't buy normally) in CIV4PromotionInfos.xml, plus their text in CIV4GameTextInfos_Objects.xml. The promotions currently use the icon for the 'Combat I' promotion, since I don't know how to make .dds files and don't know how I would make new promotion pictures which look like the old ones. Also, if some people who speak french, german, italian, and spanish could check the text shown for the Bronze upgrade, that would be nice. I just borrowed the word for bronze from the 'Bronze Working' text, but I don't know if that's how it should still be spelled when it's by itself.
2. CvEventInterface which points at CvCustomEventManager, plus CvCustomEventManager, plus MetalBonuses.py. The actual script is in onUnitBuilt in CvCustomEventManager.
Units can not be given more than one of the preceding promotions (Bronze, Metal Casting, or Steel): If they would be given more than one, only the best one will be given.
------------------
Here's another idea for the future: A new medieval Global Wonder could be added named "Damascus Steel," which would give the Steel upgrade to the units built in that city, even if you don't have the Steel tech yet.