The name of the module you use as the meta of the module definition is 'level' or 'LevelModule' if
_force_searchis set to true in the module definition.
<level id name_id briefing_id briefing_dialog ai_group_type intro_event outro_event music cube ghost_bonus max_bags team_ai_off>
<file file type/>
<asset name exclude/>
<merge_data ... >
idstring id of the level [REQUIRED]. This is used as the key for when it is added to the tweak_data
name_idThe localization id of the title of the level. Defaults to heist_ID_name
briefing_idThe localization id of the briefing of the level, this is used as the description when you are in the pre-heist lobby
briefing_dialogThe sound id of the VO of the briefing_id
ai_group_typeThe type of enemies, such as 'default', 'america' or 'russia'
intro_eventString ID or table of ids of intro dialog events
outro_eventString ID or table of ids of outro dialog events
team_ai_offbool that determines if team ai should be disabled on the heist
directoryThe directory relative to the mod path which contains the level files to be included
Table of packages that should be loaded when playing the level. Packages are the bundle files you see in your assets folder, these contain packages of assets for certain purposes (like levels). When including a new package to be loaded you would do
<value_node value="package/name"/>. This 'value_node' is how you create a table of values in custom_xml.
nameThe name if of the asset that you are referencing
excludebool that determines if your level should be excluded from this asset or included. i.e if exclude is missing or false your level will use this asset, otherwise your level will be included in the 'excluded_stages'
NewAssetThe key/id of the asset you want to created
...parameters/sub tables that are included in your asset definition.NOTE: This may be moved to it's own module if necessary.
fileThe path of the file that should be included for the level. Relative to the mod path and (if specified) the directory in the include definition
typeThe type of script data that the file's data is in. Such as custom_xml, generic_xml, binary etc
...Any data which is not in the main level node definition, but you wish to be included in the tweak data definition
This registers the Hooks which will add the level to the game. This will be automatically called if the module is being used under the MapFramework. Otherwise it must be manually called, best would be
lib/tweak_data/enveffecttweakdataas it is the last tweak_data class to be defined before they are all instantiated.