mine-laying framework
What is a good framework for laying spider mines?
Steamhammer’s terran is much better with barracks units than with factory units. To catch up, it needs 2 skills. One is the ability to siege tanks non-ridiculously, and the other is the ability to lay spider mines in reasonable places. Right now it can’t lay mines at all.
It would be easy enough to code up a simple behavior like “lay mines along the path between the friendly and enemy main.” But I’m a little more ambitious. For terran and protoss, Steamhammer is primarily a starting point for authors to build their own bots. I want there to be enough structure that authors feel they can plug in their own mine-laying skills without having to figure out the details from scratch. I don’t think it would take much structure.
A brief reminder of some of the many uses of spider mines:
- Provide map vision, so you can (for example) see incoming drops.
- Obstruct paths so the enemy can’t move around as easily.
- Catch fresh units just coming out of the gateway (say).
- Deter cloaked units without needing detection.
- Block expansion locations.
- Directly attack sieged tanks or dragoons by being laid next to the target.
So what is a good framework for laying mines? I’m imagining something like a list of available behaviors and some way of telling when to use each, but I haven’t come up with a satisfying plan.
What would you do?
Comments
McRave on :
McRave on :
Arrak on :
MiroDK on :
Dang on :
jtolmar on :
IMP on :