Also, script compiling can now be done easily with -mod:
ut3 make -mod=D:\MyMod [-modsrc]
If you specify -mod when compiling, it will save the .u files to:
D:\MyMod\Unpublished\Script\ModPkg1.u
D:\MyMod\Unpublished\Script\ModPkg2.u
If you add the optional -modsrc option, it will look for mod script code here _instead of_ in UTGame\Src:
D:\MyMod\Src\ModPkg1\Classes\*.uc
D:\MyMod\Src\ModPkg2\Classes\*.uc
I made it optional so people that don't want their script code in their -mod directory can still have the .uc files outside of the directory structure (so you can just zip up the mod dir without your script code included).
So, with the above directory structure, and using this DefaultEditor.ini in MyMod\Config, I can easily compile the script package:
[Configuration]
BasedOn=..\UTGame\Config\DefaultEditor.ini
[ModPackages]
ModPackages=MyModPackage
No need to mess with ModPackagesInPath or ModOutputDir or anything like that.
Bookmarks