Jabie
Wanted in Monte Carlo...
I got to thinking. The FfH scenario in BtS has hunters in it that can lay traps. Can similar code be used to create minefields and minesweepers?
Minefields ought to be relatively easy to add. A Worker unit could build it as a terrain improvement - possibly using the barbed wire terrain from the Espana 1936 mod. The Munitions resource ought to required to build this improvement, in the same way that the railroad requires Coal.
Once built, the minefield could use the depot unit generation code to generate a Mine Unit with 0 movement, Hidden Nationality, 10 Str and random promotions such as "Anti-Personnel" +100% combat vs land units or "Anti-tank" + 150% vs tank units. Ideally these units should have 0 maintenance cost, possibly accomplished by reverting them to Barbarian control.
Because minefields are a terrain improvement, they can also be added to the map script at the start of the game, making exploration a little more dangerous.
Minefields ought to be relatively easy to add. A Worker unit could build it as a terrain improvement - possibly using the barbed wire terrain from the Espana 1936 mod. The Munitions resource ought to required to build this improvement, in the same way that the railroad requires Coal.
Once built, the minefield could use the depot unit generation code to generate a Mine Unit with 0 movement, Hidden Nationality, 10 Str and random promotions such as "Anti-Personnel" +100% combat vs land units or "Anti-tank" + 150% vs tank units. Ideally these units should have 0 maintenance cost, possibly accomplished by reverting them to Barbarian control.
Because minefields are a terrain improvement, they can also be added to the map script at the start of the game, making exploration a little more dangerous.