beyond-all-reason / beyond-all-reason/RecoilEngine
HeightMod, HeightBoostFactor and CylinderTargetting should work with BeamLaser and LaserCannon weapon types
- 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
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