OrionVeteran
Deity
Mine Warfare 2.0
Download: http://forums.civfanatics.com/downloads.php?do=file&id=14620
Version History:
2.0 Released on 24 Dec 2011
1. Converted 6 units down to just 2. Mine fields and nuclear mines are now special promotions.
2. For your convenience, the zip file includes BUG4, Better BTS AI and Mine Warfare version 2.
3. Huge Python changes to improve performance and conditions. However...
4. Testing of this stand alone mod has proven my theory to be true. Although Mine Warfare ver 2 is a much improved version over version 1, the game performance becomes really slow in the late game. This is due to checking the movement of every unit to see if there is a mine on the plot. The more units you have, the slower the game becomes. It is really slow on a huge map. Therefore, after careful consideration, I have come to the conclusion that Mine Warfare must migrate to SDK. I will require help to make this happen, as I have limited SDK skills. Still, I will release the mod for others to consider.
1.0 Released on 7 April 2010
1.1 Forcasted Release Date 1 Oct 2010
Ideas being looked at for inclusion:
1. Interim fix file (Already available). What it does: Added line of code to insure a mine is armed before it is allowed to blow up.
2. Add the Mine Hunter unit for both land and sea.
3. Make Mine Hunter available with the Mine Warfare Tech
4. Mine Hunters can remove individual mines only (not Mine Fields or Nuclear Mines)
5. Mine Hunters will upgrade to Mine Sweepers, which can take out any mine type.
6. Make Mine Sweepers available with Industrialism
7. Fix the hover message for land mines
8. Need code change to focus on a mine explosion, when a mine detonates.
-----------------------------------------------------------------------------------
Mod Summary:
This mod introduces Mine Warfare to Civ4. Remember how much fun mines were in Civ3. Well, this mod is better. 6 different mines and 2 mine Sweepers make their debut in the Mine Warfare mod. Here are the attributes:
New Tech: Mine Warfare: Allows the construction of mines. Mine Warfare is a link from Gunpowder.
New Wonder: The Advanced Mine Technology Center: This new National Wonder becomes available with the discovery of Physics and the advance technology, learned in this facility, is now an additional prerequisite for constructing the most powerful mine in the game: The Nuclear Mine. It also enhances production by lowering the cost of both Mines and Mine Fields by 50%. The wonder also increases the effective power of Mines and Mine Fields against armored units to allow the Anti-Tank capability. The Wonder has a movie file that demonstrates the awesome destructive power of a mine with the sinking of a ship.
Sea Units:
1. Naval Mines: All Naval Mines are invisible to all units and have a hidden nationality. Naval mines are produced in coastal cities and will remain harmless until they are armed. Once they are armed, they no longer can move and the can be lethal. All Naval mines can be removed by a Naval Mine Sweeper. There will be 3 types of naval mines:
a. Naval Mine: Available with Mine Warfare tech and can be built in any coastal city that has a harbor. This mine has 5 movement points and is harmless until armed. Once armed it becomes immobile. After the Naval Mine is armed, it will attack and totally destroy or damage only one ship on a plot. The Naval Mine is used up, when it explodes. The color is black.
b. Naval Mine Field: This Mine is available with the tech Industrialism and requires a harbor and a factory to produce. This mine has 5 movement points and is harmless until armed. Once armed it becomes immobile. After the Naval Mine Field is armed, it will attack all ships on a plot. It has a high percentage randum chance of destroying any and perhaps all ships that move into it's plot and will remain persistant, requiring a Mine Sweeper to remove it. Any wooden ship that hits this mine has a 100% chance of getting sunk. Because of the destructive capability of this mine, the cost is twice that of a Battleship. The color is red.
c. Nuclear Naval Mine: This Mine is available with the tech Fussion and requires a harbor, a factory and the Advanced Mine Technology Center National Wonder to produce. This mine has 5 movement points and is harmless until armed. Once armed it becomes immobile. After the Nuclear Naval Mine is armed, it will remain dormant until a nuclear explosion is triggered manually by the owner of the mine. This makes the nuclear mine unique from the other two mines, which automatically explode. The nuclear detonation will destroy every ship on the plot. The Nuclear Naval Mine is used up, when it is detonated. The color is green.
2. Naval Mine Sweeper: This ship is available with the Mine Warfare tech. It is the only unit that can detect and remove enemy naval mines. Detection of a mine will sound off the alert. This activates the mine removal button. Removing a mine uses up one movement point for the ship.
Land Units:
1. Land Mines: All Land Mines are invisible to all units and have a hidden nationality. Land mines can be produced in any city and will remain harmless until they are armed. Once they are armed, they no longer can move and they can be lethal. All land mines can be removed by a Land Mine Sweeper. Want to stop enemy spies? Land Mines placed at the border will destroy these menacing infultraitors. There will be 3 types of land mines:
a. Land Mine: Available with Mine Warfare tech. This mine has 6 movement points and is harmless until armed. Once armed it becomes immobile. After the Land Mine is armed it will attack and totally destroy or damage only one unit on a plot. The Land Mine is used up, when it explodes. The color is black.
b. Land Mine Field: This Mine is available with the Industrialism tech and requires a factory to produce. This mine has 6 movement points and is harmless until armed. Once armed it becomes immobile. After the Land Mine Field is armed, it will attack all units on a plot. It has a high percentage randum chance of destroying any and perhaps all units that move into it's plot and will remain persistant, requiring a Land Mine Sweeper to remove it. Any pre gunpowder units that that hit this mine have a 100% chance of getting blown up. Because of the destructive capability of this mine, the cost is twice that of a Battleship, but not quite twice the cost of a tactical nuke. The color is red.
c. Nuclear Land Mine: This Mine is available with the tech Fussion and reqires a factory and the Advanced Mine Technology Center National Wonder to produce. This mine has 6 movement points and is harmless until armed. Once armed it becomes immobile. After the Nuclear Mine is armed, it will remain dormant until a nuclear explosion is triggered manually by the owner of the mine. This makes the Nuclear Land Mine unique from the other two mines, which automatically explode. The nuclear detonation will destroy every unit on the plot. The Nuclear Land Mine is used up, when it is detonated. The color is green.
2. Land Mine Sweeper: This unit is available with the Mine Warfare tech. It is the only unit that can detect and remove enemy land mines. Detection of a mine will sound off the alert. This activates the mine removal button. Removing a land mine uses up one movement point for the unit.
Note: The chance of being blown up by a mine field is as follows:
ANCIENT ships or units -- 100% chance
CLASSICAL ships or units -- 100% chance
MEDIEVAL ships or units -- 100% chance
RENAISSANCE Ships or units -- 75% chance
INDUSTRIAL Ships or units -- 50% chance
MODERN Ships or units -- 25% chance
FUTURE Ships or units -- 5% chance
Release date: 7 April 2010
Special Thanks to EmperorFool, God-Emporer, Afforess and The J for help resolving tough python and XML issues.
Orion Veteran
Download: http://forums.civfanatics.com/downloads.php?do=file&id=14620
Version History:
2.0 Released on 24 Dec 2011
1. Converted 6 units down to just 2. Mine fields and nuclear mines are now special promotions.
2. For your convenience, the zip file includes BUG4, Better BTS AI and Mine Warfare version 2.
3. Huge Python changes to improve performance and conditions. However...
4. Testing of this stand alone mod has proven my theory to be true. Although Mine Warfare ver 2 is a much improved version over version 1, the game performance becomes really slow in the late game. This is due to checking the movement of every unit to see if there is a mine on the plot. The more units you have, the slower the game becomes. It is really slow on a huge map. Therefore, after careful consideration, I have come to the conclusion that Mine Warfare must migrate to SDK. I will require help to make this happen, as I have limited SDK skills. Still, I will release the mod for others to consider.
1.0 Released on 7 April 2010
1.1 Forcasted Release Date 1 Oct 2010
Ideas being looked at for inclusion:
Spoiler :
1. Interim fix file (Already available). What it does: Added line of code to insure a mine is armed before it is allowed to blow up.
2. Add the Mine Hunter unit for both land and sea.
3. Make Mine Hunter available with the Mine Warfare Tech
4. Mine Hunters can remove individual mines only (not Mine Fields or Nuclear Mines)
5. Mine Hunters will upgrade to Mine Sweepers, which can take out any mine type.
6. Make Mine Sweepers available with Industrialism
7. Fix the hover message for land mines
8. Need code change to focus on a mine explosion, when a mine detonates.
-----------------------------------------------------------------------------------
Mod Summary:
This mod introduces Mine Warfare to Civ4. Remember how much fun mines were in Civ3. Well, this mod is better. 6 different mines and 2 mine Sweepers make their debut in the Mine Warfare mod. Here are the attributes:
New Tech: Mine Warfare: Allows the construction of mines. Mine Warfare is a link from Gunpowder.
New Wonder: The Advanced Mine Technology Center: This new National Wonder becomes available with the discovery of Physics and the advance technology, learned in this facility, is now an additional prerequisite for constructing the most powerful mine in the game: The Nuclear Mine. It also enhances production by lowering the cost of both Mines and Mine Fields by 50%. The wonder also increases the effective power of Mines and Mine Fields against armored units to allow the Anti-Tank capability. The Wonder has a movie file that demonstrates the awesome destructive power of a mine with the sinking of a ship.
Sea Units:
1. Naval Mines: All Naval Mines are invisible to all units and have a hidden nationality. Naval mines are produced in coastal cities and will remain harmless until they are armed. Once they are armed, they no longer can move and the can be lethal. All Naval mines can be removed by a Naval Mine Sweeper. There will be 3 types of naval mines:
a. Naval Mine: Available with Mine Warfare tech and can be built in any coastal city that has a harbor. This mine has 5 movement points and is harmless until armed. Once armed it becomes immobile. After the Naval Mine is armed, it will attack and totally destroy or damage only one ship on a plot. The Naval Mine is used up, when it explodes. The color is black.
b. Naval Mine Field: This Mine is available with the tech Industrialism and requires a harbor and a factory to produce. This mine has 5 movement points and is harmless until armed. Once armed it becomes immobile. After the Naval Mine Field is armed, it will attack all ships on a plot. It has a high percentage randum chance of destroying any and perhaps all ships that move into it's plot and will remain persistant, requiring a Mine Sweeper to remove it. Any wooden ship that hits this mine has a 100% chance of getting sunk. Because of the destructive capability of this mine, the cost is twice that of a Battleship. The color is red.
c. Nuclear Naval Mine: This Mine is available with the tech Fussion and requires a harbor, a factory and the Advanced Mine Technology Center National Wonder to produce. This mine has 5 movement points and is harmless until armed. Once armed it becomes immobile. After the Nuclear Naval Mine is armed, it will remain dormant until a nuclear explosion is triggered manually by the owner of the mine. This makes the nuclear mine unique from the other two mines, which automatically explode. The nuclear detonation will destroy every ship on the plot. The Nuclear Naval Mine is used up, when it is detonated. The color is green.
2. Naval Mine Sweeper: This ship is available with the Mine Warfare tech. It is the only unit that can detect and remove enemy naval mines. Detection of a mine will sound off the alert. This activates the mine removal button. Removing a mine uses up one movement point for the ship.
Land Units:
1. Land Mines: All Land Mines are invisible to all units and have a hidden nationality. Land mines can be produced in any city and will remain harmless until they are armed. Once they are armed, they no longer can move and they can be lethal. All land mines can be removed by a Land Mine Sweeper. Want to stop enemy spies? Land Mines placed at the border will destroy these menacing infultraitors. There will be 3 types of land mines:
a. Land Mine: Available with Mine Warfare tech. This mine has 6 movement points and is harmless until armed. Once armed it becomes immobile. After the Land Mine is armed it will attack and totally destroy or damage only one unit on a plot. The Land Mine is used up, when it explodes. The color is black.
b. Land Mine Field: This Mine is available with the Industrialism tech and requires a factory to produce. This mine has 6 movement points and is harmless until armed. Once armed it becomes immobile. After the Land Mine Field is armed, it will attack all units on a plot. It has a high percentage randum chance of destroying any and perhaps all units that move into it's plot and will remain persistant, requiring a Land Mine Sweeper to remove it. Any pre gunpowder units that that hit this mine have a 100% chance of getting blown up. Because of the destructive capability of this mine, the cost is twice that of a Battleship, but not quite twice the cost of a tactical nuke. The color is red.
c. Nuclear Land Mine: This Mine is available with the tech Fussion and reqires a factory and the Advanced Mine Technology Center National Wonder to produce. This mine has 6 movement points and is harmless until armed. Once armed it becomes immobile. After the Nuclear Mine is armed, it will remain dormant until a nuclear explosion is triggered manually by the owner of the mine. This makes the Nuclear Land Mine unique from the other two mines, which automatically explode. The nuclear detonation will destroy every unit on the plot. The Nuclear Land Mine is used up, when it is detonated. The color is green.
2. Land Mine Sweeper: This unit is available with the Mine Warfare tech. It is the only unit that can detect and remove enemy land mines. Detection of a mine will sound off the alert. This activates the mine removal button. Removing a land mine uses up one movement point for the unit.
Note: The chance of being blown up by a mine field is as follows:
ANCIENT ships or units -- 100% chance
CLASSICAL ships or units -- 100% chance
MEDIEVAL ships or units -- 100% chance
RENAISSANCE Ships or units -- 75% chance
INDUSTRIAL Ships or units -- 50% chance
MODERN Ships or units -- 25% chance
FUTURE Ships or units -- 5% chance
Release date: 7 April 2010
Special Thanks to EmperorFool, God-Emporer, Afforess and The J for help resolving tough python and XML issues.
Orion Veteran

Attachments
-
MineWarfare.JPG34.9 KB · Views: 922
-
Adv Tech Center.JPG120.5 KB · Views: 833
-
Deployed Naval Mines.JPG76.1 KB · Views: 1,234
-
Land Mine Field.JPG143.3 KB · Views: 884
-
Land Mine Sweeper.JPG138.5 KB · Views: 774
-
Land Mine.JPG137.8 KB · Views: 726
-
Naval Mine Field.JPG138.8 KB · Views: 655
-
Naval Mine Sweeper.JPG134.5 KB · Views: 696
-
Naval Mine.JPG134.9 KB · Views: 696
-
Nuclear Naval Mine.JPG138.9 KB · Views: 695