All of the units shown in the build menu provide a DPS and Burst damage values based upon the units BP weapon values. Which don't get me wrong is really great. That being said, I've encountered a problem with this system when using a large number of dummy weapons. Soon as i mouse over an Engineer build icon for the unit i get the following..
WARNING: Error running HandleEvent script in CScriptObject at 1ddb6180: ...ever\gamedata\lua.nx2\lua\ui\game\unitviewdetail.lua(616): attempt to perform arithmetic on local `MuzzleCount' (a nil value)
stack traceback:
...ever\gamedata\lua.nx2\lua\ui\game\unitviewdetail.lua(616): in function `WrapAndPlaceText'
...ever\gamedata\lua.nx2\lua\ui\game\unitviewdetail.lua(792): in function `Show'
...orever\gamedata\lua.nx2\lua\ui\game\construction.lua(1165): in function `OnRolloverEvent'
...mdata\faforever\gamedata\lua.nx2\lua\maui\button.lua(96): in function <...mdata\faforever\gamedata\lua.nx2\lua\maui\button.lua:77>
The unit in question is the 4DFAF Death Tentacle. It uses 12 dummy weapons to simulate the movements of a tentacle. With the 13th weapon being the main muzzle for the entire assembly.
Note will post a video with files shortly.
Edit (files) XSB2306.zip
Edit (video should be viewable soon'ish) https://youtu.be/P_Fb5vpBY74
Resin