
Cleaned up ModDesc v1.0
Script collection that allows you to outsource certain parts of the modDesc to your own XML files and also add your own shop categories, for example.
This prefab contains scripts that can be useful for both maps and larger mod projects.
It contains 4 scripts that outsource certain parts of the modDesc to their own XML file. This keeps the modDesc and the outsourced elements clear.
The following scripts are included:
BrandLoader.lua
Loads brands created by the modder from a separate XML file.
StoreCategoryLoader.lua
Allows you to add new types (separated rows) and new categories to the shop.
StoreItemLoader.lua
In case you want 2 storeItems.xml files for a map or if you want the storeItems.xml to be outsourced as a separate file for a larger mod project.
TypeLoader.lua
Outsources the vehicleTypes, placeableTypes and the associated specializations or placeableSpecializations to their own XML files.
The scripts are entered in the modDesc.xml in the ExtraSourceFiles. The external XML files are then specified as the file name in the entry to be outsourced in the modDesc.xml.
Examples can be found in the “examples” folder.
Author: BayernGamers