tpan496/Horde

Custom Attachments for the Shop Not Working

Closed this issue · 1 comments

Playing with only Horde Gamemode main mod, its required mods, and their subsequent requirements enabled.

Adding a new attachment to the shop, ex: The MP7's 40-round magazine attachment, correctly shows the attachment under the proper category and the price, but in the larger box to the right, there is no name, description, or buy button, only a gray button that says 'Label'.

Two LUA errors are shown in the console. The second one only appeared after ensuring that only the base addons were enabled.

[Horde : Wave Survival Gamemode] gamemodes/horde/gamemode/gui/cl_description.lua:464: attempt to index local 'attbl' (a nil value)
     1. unknown - gamemodes/horde/gamemode/gui/cl_description.lua:464

[Horde : Wave Survival Gamemode] gamemodes/horde/gamemode/gui/cl_description.lua:708: attempt to call method 'Clip1' (a nil value)
     1. unknown - gamemodes/horde/gamemode/gui/cl_description.lua:708

Per creator's advice: for ArcCW attachments, do not include the prefix (ex: acwatt).