Description
unit_continuous_aim uses a hardcoded list of units that can use such a feature, because of this, even creating a copy of a sol invictus 1:1 would cause the top 2 lasers of it to flicker and stop firing and then resume, causing a massive loss of dps, or not firing at all.
Why?
this limits new mods to not use continuous beams at all, because they will all fail, there's no proper work-around.
What area of the game does this feature request pertain?
Codebase or APIs
Other (optional)
it could be added on a unit's custom parameter with a number for the weapon, or straight up on the weapon custom parameter. (it could keep the hardcoded list, yet adding it on custom parameters would work, that way there's no need to rewrite it if that would be an issue)
|
['legeheatraymech_old'] = 1, |
Description
unit_continuous_aim uses a hardcoded list of units that can use such a feature, because of this, even creating a copy of a sol invictus 1:1 would cause the top 2 lasers of it to flicker and stop firing and then resume, causing a massive loss of dps, or not firing at all.
Why?
this limits new mods to not use continuous beams at all, because they will all fail, there's no proper work-around.
What area of the game does this feature request pertain?
Codebase or APIs
Other (optional)
it could be added on a unit's custom parameter with a number for the weapon, or straight up on the weapon custom parameter. (it could keep the hardcoded list, yet adding it on custom parameters would work, that way there's no need to rewrite it if that would be an issue)
Beyond-All-Reason/luarules/gadgets/unit_continuous_aim.lua
Line 139 in 095f0fc