View Full Version : Sea Mines


tchristensen
Aug 07, 2010, 10:28 AM
I may have posed this question a long time ago, but here it is again (since now I know so much more about modding then I do now).

My intention is to create a "Sea Mine". Basically it would be a zero movement unit that commits Kamikaze on an attack. You would build the Mines in cities, then deploy them with ships that can carry them.

I would make them "Submarine Invisible".

I guess the only concern I have with this idea is that if the unit has 0 movement, would it be able to attack? If not, how can I make it stationary yet still be able to attack ships?

Better, could you make it so that an enemy moving into the square would instantly trigger the mine and have it go off?

Perferably I would rather do this all in the XML since I don't know enough Python to stick in a gnat's ear.

Thoughts?:crazyeye:

General Tso
Aug 07, 2010, 10:35 AM
You might want to check out this thread.

http://forums.civfanatics.com/showthread.php?t=352527&highlight=mines

Admiral Armada
Aug 07, 2010, 10:45 AM
Have you seen this mod:
http://forums.civfanatics.com/showthread.php?t=355343
?

tchristensen
Aug 07, 2010, 03:44 PM
Nice! Thanks guys!

I eventually used the Mine Mod for the ideas and some of the graphics, but steered away from anything but XML modifications.

In the end, it isn't bad and so far the AI seems to use the mines in limited format. Still tweaking it a bit since the mine, instead of exploding when it finds a target, does battle with it -- though the results are the same.

kiwitt
Aug 08, 2010, 09:50 PM
I have implemented Sea Mines in my mod via XML changes only.

tchristensen
Aug 09, 2010, 05:17 AM
I'll take a look, Kiwitt.

What I have is very playable. The only thing I would possible change is the animation of when the mines "attack" the target.

I also am unsure of the play balance -- I don't want the players just to build naval mines and nothing else, but don't want to force them into a fixed number either.

We test it tonight!

kiwitt
Aug 09, 2010, 12:40 PM
My sea mines are static defenses.

tchristensen
Aug 09, 2010, 01:12 PM
So are they like an improvement, built in the water?

Or are they a unit that can be moved and laid out?

My mines are very slow moving (1 sq per turn) or can be loaded on a sweeper (the mine sweeper can only carry mines) and be transported at a much fast rate.

Does your mines explode?

kiwitt
Aug 09, 2010, 02:21 PM
Yes they explode. However, they can not move and are defensive only.

However, I may be interested in how they are laid by a minelayer.

And yes they are units.

tchristensen
Aug 09, 2010, 08:54 PM
My Mine Sweeper just picks them up and then you pull them off the boat as it sails around. Although I can imagine the sweeper having "Laying Mines" as an Improvement (like a boat building a fishing net).

Will look at that after we test the tail end of my mod.