So you want to fight a battle on an airless moon or planet? This is a deadly environment: each time a 'Mech or vehicle takes a hit, there is a chance of devastating decompression in the location hit. Infantry take extra casualties. This means you really want to get as many hits against the enemy as you can, and keep the hits against your own forces to a minimum.
How to do this?
-Use indirect fire.
The ideal way to fight in a vacuum is to get in some hits without being hit at all. The only reliable way to do this in BattleTech is to use indirect fire. So if the terrain is at all favorable to such a strategy, you want to position your LRMs and artillery outside the enemy's line of sight, with spotters placed where they are hard or impossible to hit (ideally at very long range from enemy forces). Get in as many salvoes of indirect fire as you can before the enemy manages to get in LOS.
-Fight defensively if possible.
The above procedure is much easier to use when you're defending instead of attacking. So the defender has huge advantages on a map with some sight-blocking elevation. The ideal position is LRMs behind a hill or in craters, with spotting units positioned on an even higher hill behind the LRMs. Don't be afraid to lie down with your 'Mechs behind level 1 hills and fire LRMs from prone position if that keeps you out of the enemy's sight.
Gun emplacements are also extremely strong in vacuum. Buildings don't get breached. Again, strong advantages to the defender if the map is right.
-Move fast if you do attack.
You want to minimize hits against your own units when you take the offensive as well. This means charging at maximum speed to get the best defensive modifiers.
-Attack with cluster weapons.
LB-Xs and SRMs are ideal; the more hits, the more chances for decompression.
-Bring standard engines.
Any side torso breach is a mission kill on all Inner Sphere XL 'Mechs, and very serious trouble on Clan XL and IS LFE designs. The best defense in vacuum isn't armor (although armor helps), it's a standard engine.
-Bring numbers.
An assault 'Mech isn't that much harder to bring down in vacuum than a light. But two 'Mechs are twice as hard to bring down as one 'Mech. Vacuum is the only setting where I'd feel safer fielding two light 'Mechs than one assault.