Ludeon Forums

RimWorld => General Discussion => Topic started by: todofwar on December 01, 2013, 06:51:41 PM

Title: Best Cover
Post by: 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?
Title: Re: Best Cover
Post by: nnescio on December 01, 2013, 07:33:55 PM
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.

Title: Re: Best Cover
Post by: Semmy on December 01, 2013, 08:23:38 PM
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.