beyond-all-reason / beyond-all-reason/RecoilEngine

HeightMod, HeightBoostFactor and CylinderTargetting should work with BeamLaser and LaserCannon weapon types

Open
#777 6 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
C++
Stars
679
Forks
290
Avg merge
3d 2h
Merged PRs (30d)
40

Description

LaserCannons and BeamLasers are inherently useful as anti-air weapons due to their ability to hit fast moving targets (given high projectile velocity on the laserCannons). Unfortunately, cylinderTargetting and heightMod don't work to change their range (the weapon will try to fire beyond the spherical range but the beam stops short of hitting it or will deal no damage). This is a problem on maps with tall hills or deep canyons which increase the altitude difference between ground units and aircraft.

related issue : https://github.com/beyond-all-reason/spring/issues/729

Contributor guide

Open the contributing guide

Research direction

Start with related issue #729 and the weapon-range handling for BeamLaser and LaserCannon; trace how cylinderTargetting and heightMod are applied versus spherical range. Reproduce the problem on maps with tall hills or deep canyons, then verify both weapon types can hit intended targets and deal damage within the adjusted range.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
game-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.