File structures of ModularWeapons add-on
Added 2022-11-09 08:01:21 +0000 UTCThe file structure of "ModularWeapons - PDW Addon" is as follows;

About folder
The About folder is like any other mod. Don't forget to add ModularWeapons mod into <modDependencies> in About.xml.

AssetBundle folder
Put the AsserBundle file created in the previous post, here. Hierarchy changes via LoadFolders.xml are not supported! Be careful.

Textures folder
Put a image file with the same name, same hierarchy as AsserBundle here. This folder supports LoadFolders.xml.

Languages folder
Put files for translation here like any other mods. Modular weapon names are defined in ThingDef, parts names are in ModularWeapons.ModularPartDef. The attachment point names of the part is translated by keyed. Keyeds are also required for English!
Defs file
The most important part of the add-on mod. I split into the next post.