Narrative
Module Definition
The module is inherited from ModuleBase. So base parameters can be found there.
Module name
The name of the module you use as the meta of the module definition is 'narrative' or 'NarrativeModule' if _force_search
is set to true in the module definition.
XML Structure
<narrative id name_id brief_id contact jc briefing_event debrief_event>
<narrative id name_id brief_id contact jc briefing_event debrief_event>
id
The narrative tweak key, which must be unique. [REQUIRED]name_id
The localization id of the name of the narrative. Defaults to heist_ID_namebrief_id
The localization id of the briefing of the narrative. Defaults to heist_ID_brief
<merge_data ...> ...
<merge_data ...> ...
...
Any additional data you wish to be included in the narrative tweak definition table.
Example
See MapFramework
Functions
NarrativeModule:RegisterHooks()
This is used to register the hooks that are used for inserting the tweak definitions. Usually this will be called by the MapFramework if this is running under that, otherwise you need to call it yourself.
Last updated