Skip to content

[Bug]: Beam weapon's firing distance inexplicably falls short a fraction of a tile #4496

@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 + Odyssey + CE

Description
Beam weapons effective range is ~0.5 tiles less than their shooting range. This causes beam weapons to never hit targets that stand at the very edge of the shooting radius.

Expected behavior
Beam projectiles should be able to hit every tile that is within their stated range.

To reproduce
Equip a Pawn A with the Beam Repeater (the graser doesn't have a CE projectile and doesn't work for this). Order Pawn B to stand 40 tiles away at the very edge of Pawn As gun range. Order Pawn A to shoot Pawn B. Pawn B will never get hit unless it steps forward one more tile.

Screenshots & log dumps
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