I copy some unit file and rename it. I edit the name and class name in script.lua , and edit the Categories and FactionName in bp file. Add the icon file.
But when I enable this mod and enter the game and open the factory build UI,I found the custom unit is missing . I learn the structure of blackops mod and add custom unit folder with lua file. But the mod still didn't work. I go to study the TotalMayhem mod files and add the hook lua files(gamecommon.lua,unitview.lua and uiutil.lua), then fail agin...
Pleaser help me!