DLC Definition
The DLC Definition file, a file with a .reddlc extension, is a key element when creating DLC for a game project. It contains settings and instructions that define the resources and paths to them in your DLC. It also controls the process of loading and mounting these resources
One of the key components of a DLC Definition file is mounters. Mounters are tools that tell the game engine which files and resources should be loaded from your DLC
Each mounter is associated with a specific type of resource or action. For example, a mounter can point to textures, character models, sound effects, or scripts that should be loaded and used in your DLC.
All available mounters are described here:
DLC MountersDLC Definition
Class: CDLCDefinition
id
Type: <string>
Unique identifier of the DLC. Used for internal labeling and references to a specific DLC.
localizedNameKey
Type: <string>
Specifies the string ID for the DLC title in the menu. This key associates with localized strings to ensure that the DLC title is displayed correctly in different languages.
localizedDescriptionKey
Type: <string>
Specifies the string identifier for the DLC description in the menu. This key associates with localized strings to ensure that the DLC title is displayed correctly in different languages.
mounters
Type: <array[Mounter]>
An array of objects that tell the game engine which files and resources should be loaded from your DLC. Each element of the array represents a different DLC component, such as textures, models, sound files, or scripts. These objects ensure that new resources are properly integrated into the gameplay.
languagePacks
Type: <array[LanguagePack]>
initiallyEnabled
Type: <boolean>
Determines whether the DLC will be enabled by default.
visibleInDLCMenu
Type: <boolean>
Specifies whether the DLC will be displayed in the DLC list for the player to enable/disable it in the game menu under Settings -> Gameplay.
requiredByGameSave
Type: <boolean>
Indicates whether DLC is required to load game saves that were saved with this DLC.
Last updated