Skip to content

[Bug]: Pawns don't lean out of non-wall cover that they can't shoot over. #4497

@Vulpertinger

Description

@Vulpertinger

Rimworld version:1.6.4633
Combat Extended version: 16.7.1.0
Combat Extended source (Steam, GitHub, etc.): Steam
Your operating system: Windows 10
Your mod list: Harmony + Core + CE

Description
If a cover object is too high to shoot over (1.49m or higher), pawns will stand idly and not lean out to shoot incoming enemies. They will only start shooting if the angle of approach is greater than 45°. All the while enemies are still able to shoot back at the pawn behind the cover element as the pawn still exposes the top of its body for enemies to shoot at. Despite having "no line of sight", pawns can still target enemies with psychic abilities.

Expected behavior
Pawns should either lean out to shoot or fully crouch behind cover they can't shoot over.

Somewhat related, but the game lists shooting height at 1.50m and turrets are 1.49m in height. This seems deliberate, but despite this pawns can't shoot over turrets. Did something perhaps go wrong here?

To reproduce
Place a armed pawn behind a turret or emplacement. Place a row of enemies on the other side. The pawn won't be able to shoot at enemies directly ahead because it won't lean out.

Screenshots & log dumps

Image Image Image Image

Complete the following checklist
I hereby verify that I have done the following:

  • Confirmed that my game version and load order are correct.
  • Confirmed that I am running the appropriate and most updated version of Combat Extended and required compatibility patches.
  • Confirmed I am not running any mods with known incompatibilities with Combat Extended.
  • Disabled Combat Extended and attempted to reproduce the behavior without success.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions