View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0006384 | Spring engine | General | public | 2020-05-03 21:30 | 2020-05-04 16:04 |
| Reporter | raaar | Assigned To | |||
| Priority | normal | Severity | major | Reproducibility | always |
| Status | new | Resolution | open | ||
| Product Version | 104.0 +git | ||||
| Summary | 0006384: 104.0.1-1464-g4f428c8 | lasercannons get less range than what the weapondef says | ||||
| Description | on 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 Reproduce | start a game, spawn aven_magnum on a flat map and check the weapon ranges and attack ground. | ||||
| Tags | No tags attached. | ||||
| Checked infolog.txt for Errors | Irrelevant | ||||
|
|
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 |
|
|
https://github.com/spring/spring/blob/develop/rts/Sim/Weapons/LaserCannon.cpp#L30 |
| 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 |