Best Cover

Started by todofwar, December 01, 2013, 06:51:41 PM

Previous topic - Next topic

todofwar

What are the values for different covers? Do you get a better result from having your colonist peer out from the corner of a wall, or from sandbags, or from inside a doorway (is that even different from behind a wall corner?) Also, where do people go to find this stuff?

nnescio

Quote from: todofwar on December 01, 2013, 06:51:41 PM
What are the values for different covers? Do you get a better result from having your colonist peer out from the corner of a wall, or from sandbags, or from inside a doorway (is that even different from behind a wall corner?) Also, where do people go to find this stuff?

Sandbags offer a maximum of 60% cover. Debris has a maximum of 40%. Walls, rocks and doors (opened or otherwise) have 100% (which prevents both sides from shooting). Research benches and short/long tables offer 40%. Solar panels offer 50%.

Cover is at its maximum when the shooting is done at a perpendicular angle. It decreases as you move to the side. Cover also decreases when the shooter is at a very close distance from the cover (approx. 3 tiles). The decrease in cover in both circumstances appears to happen in chunks of one fifth of the original cover. (so 60%->48%->36%->etc. for sandbags).

Walls/rocks appear to be an exception to this rule. The most amount of cover I got was, IIRC, 75% from a wall placed diagonally to the target. This may be because targets/shooters are treated as being on adjacent squares when leaning behind walls/rocks.

Pots, hydroponic tables, and equipment racks block pathing like walls, but offer 0% cover. The AI seem to take cover behind them, even when they offer no cover whatsoever. This AI quirk can be exploited against raiders.

I got my numbers from experimenting on a live squirrel in a makeshift shooting range (punch squirrel with a colonist, then run inside semi-enclosed area while other colonists seal the area with additional walls and a door after the animal follows.) The wiki also has values for cover under the "blocks los" heading. Those values were obtained by Rhodes, who decompiled some of the code of the game.


Semmy

You can actuallty see coverstatistics etc by selecting a goon or raider and than hovering over the enemies he sees.

Than you will see a tooltip with cover info and much more.
The only thing necessary for the triumph of evil is for good men to do nothing.
Edmund Burke