If I group my siege tanks together they cover less area and once melee units get to them they all become helpless together; but on the other hand if I spread them around they're easier to surround and their friendly fire is really devestating.
When should I group my siege tanks together, and when should I spread them out? Also, and similarly, should I siege the tanks right next to my buildings / bunkers or should I keep the spacing?
Best Answer
Short Answer
Spread your siege tanks out.
Long Answer
Clumping is, in essence, situational.
When Clumping is Bad
In most cases, it is not safe to clump your units together with each other or with your buildings. There are two main reasons for not clumping your units.
Splash attacks & AOE attacks damage more of your units at once if they are clumped.
Consider some examples:
Addressing your specific example:
You have two outcomes:
In the end, you're better off with the second outcome.
Enemy units have a higher effective DPS against your units if they are clumped because they spend more time attacking and less time walking between units.
Without going into a numbers game, this should still intuitively make sense. If you have three siege tanks all lined up together and they get rushed by zerglings, they can essentially turn and attack the next take as each one dies. If you are spread out along a ridge, the zerglings have to rub between the tanks. That results in less time where you are attacked and more time where the opponent is attacked.
When Clumping is Good
Clumping should be treated as the exception, not the rule. At the moment, I can think of one instance where clumping would be an advantage, and it doesn't actually apply in the case of siege tanks:
If you find yourself in a situation where your ranged army is going up against a pure melee army with no splash or AoE attacks, clumping can work to your advantage.
Since siege tanks have a minimum range, the benefit to clumping is essentially nullified. I describe why above when addressing the specific example given in the original question.