Unit Weapon Menu Missing

Everything about mods can be found here.

Moderator: Morax

Unit Weapon Menu Missing

Postby TheFearFullSeraphim » 30 Mar 2017, 05:11

So I'm trying to debug a issue with building units in a factory's menu where the weapon stats and what not don't even appear only the icon,health, and basic stuff appears so I wonder is this cause the unit uses a custom weapons.lua file similar to Black ops unleashed has Blackopsweapons.lua or is there error in the units.lua or units.bp files, Cause knowing the DPS, Range, Damage and all that is helpful.

EDIT: Link to both lua and bp files of the unit.

Spoiler: show


Spoiler: show
TheFearFullSeraphim
Crusader
 
Posts: 49
Joined: 04 Apr 2014, 00:50
Has liked: 0 time
Been liked: 1 time
FAF User Name: CountMarcel

Re: Unit Weapon Menu Missing

Postby TheFearFullSeraphim » 02 Apr 2017, 02:06

Anything?
TheFearFullSeraphim
Crusader
 
Posts: 49
Joined: 04 Apr 2014, 00:50
Has liked: 0 time
Been liked: 1 time
FAF User Name: CountMarcel

Re: Unit Weapon Menu Missing

Postby Uveso » 14 Apr 2017, 21:47

Please add a dummy "Abilities" array inside the "Display" array of the blueprint:
Code: Select all
Display = {
        Abilities = {
            '<LOC ability_tank>Tank',
        },
},

or

add a unitdescription inside:
Code: Select all
unitdescription.lua
User avatar
Uveso
Supreme Commander
 
Posts: 1788
Joined: 11 Dec 2015, 20:56
Location: Germany
Has liked: 70 times
Been liked: 291 times
FAF User Name: Uveso


Return to Mods & Tools

Who is online

Users browsing this forum: No registered users and 1 guest