View Issue Details

IDProjectCategoryView StatusLast Update
0006384Spring engineGeneralpublic2020-05-04 16:04
Reporterraaar Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
Status newResolutionopen 
Product Version104.0 +git 
Summary0006384: 104.0.1-1464-g4f428c8 | lasercannons get less range than what the weapondef says
Descriptionon metal factions v1.33, some lasercannons get less range than what the weapondef says.

start a game, spawn aven_magnum on a flat map and check the weapon ranges. It has a cannon and a lasercannon, both with 600 range.

Even after controlling for firing point height, heightmod and heightboostfactor, the distance gap persisted.

the lasercannon has 1533 projectile speed. Changing it to 100 elmos/s drastically reduced the range gap!

trying to override the gap on weapondefs_post by giving the weapon bonus range only seems to work in increments of about 50, which is close to the distance traveled every frame. Maybe this is relevant somehow.

-----------
desired behavior : like every other weapon, it should respect the range it's set to. If the issue is due to rendering constrains just offset the rendering along the direction.
Steps To Reproducestart a game, spawn aven_magnum on a flat map and check the weapon ranges and attack ground.

TagsNo tags attached.
Checked infolog.txt for ErrorsIrrelevant

Activities

raaar

2020-05-03 21:34

reporter   ~0020393

I forgot to set the title for this one and created another issue (https://springrts.com/mantis/view.php?id=6385),

please delete this one

sprung

2020-05-04 16:04

reporter   ~0020396

https://github.com/spring/spring/blob/develop/rts/Sim/Weapons/LaserCannon.cpp#L30

Issue History

Date Modified Username Field Change
2020-05-03 21:30 raaar New Issue
2020-05-03 21:31 raaar Issue cloned: 0006385
2020-05-03 21:34 raaar Note Added: 0020393
2020-05-03 22:35 hokomoko Summary 104.0.1-1464-g4f428c8 | lasercannons => 104.0.1-1464-g4f428c8 | lasercannons get less range than what the weapondef says
2020-05-03 22:35 hokomoko Checked infolog.txt for Errors Irrelevant => Irrelevant
2020-05-04 16:04 sprung Note Added: 0020396