DLC Definition
Last updated
Last updated
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:
Class: CDLCDefinition
Type: <string>
Unique identifier of the DLC. Used for internal labeling and references to a specific DLC.
Use the dlc_xxxxx_yyyy format.
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.
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.
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.
Type: <array[LanguagePack]>
Type: <boolean>
Determines whether the DLC will be enabled by default.
Change hint type The value false is often used for DLCs that bring alternative NPC appearances into the game, so the player must manually enable this DLC in the settings.
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.
True is often used for DLCs that bring alternative NPC appearances into the game, so the player can enable or disable these images in the settings.
Type: <boolean>
Indicates whether DLC is required to load game saves that were saved with this DLC.
Change hint type This is useful for optional DLCs that do not affect gameplay, but are mostly cosmetic, so if false, you can load a save that was saved with that DLC, but the DLC itself may not be installed.