So, I create a .lua file and place it in the .\ui\addons\mainmenu folder along with a .xml file that looks like:
Code: Select all
<?xml version="1.0" encoding="utf-8"?>
<diff xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<add sel="/addon[@name='mainmenu']/dependency" pos="before">
<file name="mainmenu_mt_mymenu.lua" />
</add>
</diff>
However, when I add the lua file into a .cat file called subst_01.cat and the xml file into ext_01.cat (how mods are packaged for the workshop) everything works just fine.
Is there a way I can work on the mod without having to keep adding the updated files to a catalog?
Cheers
Wysi
