Victoria 3

Victoria 3

48 ratings
[1.8] Modded DLCs Framework
3
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
246.808 KB
Jul 11, 2024 @ 5:03pm
Nov 30, 2024 @ 6:56pm
2 Change Notes ( view )

Subscribe to download
[1.8] Modded DLCs Framework

In 2 collections by 1230james
The Imperialist's Inventory of Implements
127 items
James's Vic3 Mods
31 items
Description
Modded DLCs Framework

Information for Everyone
MDF is a framework mod, meaning it's supposed to be used by other mods you may be using as a basis for a certain feature. In this case, that feature is displaying fake, mod-added DLCs in the main menu as active DLCs and distinct from real DLCs.

Specifically, MDF edits the DLC frontend GUI file to display real and fake DLCs in two separate groups. Should mod DLCs be available, the two groups will be divided by a vertical divider, and all mod DLCs will always show as active (as opposed to always being inactive, since fake DLCs can't be verified, obviously) and will have a slightly different tooltip to indicate they're mod content.

It should be noted that MDF ITSELF DOES NOT ADD NEW DLCs. MDF also does not force enable or disable any features of real DLCs.

Information for Players
If a mod or multiple mods you are using requires this mod to be installed, please follow instructions on those mods, if provided.

MDF should otherwise be able to be placed anywhere due to it leveraging specific mod-loading behaviors of Vic3 that makes it largely agnostic to playset orders.

Information for Modders
MDF is best integrated into your mod by requiring players to install MDF separately.

For correct usage, your mod requires a DLC metadata definition in the dlc_metadata directory. The file you define it in must load after all vanilla definitions for the modded GUI logic to work correctly. The easiest way to do this is to have the name of your file start with any alphabetic character. If all you are trying to do is create a fake DLC to use in the main menu and in events, then this is all that is required besides adding localizations for your DLC and an icon in
gfx/interface/icons/dlc_icons
and MDF will handle the rest.

MDF provides changes to the following files:
gui/frontend/frontend_dlc.gui
MDF implements its changes in its own file to take advantage of Vic3 loading behavior and enforce its changes over other mods. If your mod makes changes to the same file, you may find that MDF overwrites changes your mod have made. In those cases, you should either integrate MDF's changes manually or create a compatibility patch.

MDF can be placed anywhere in the user's playset for correct functionality. All you have to do is go and add your fake DLC in your mod, and MDF will handle the rest.

Permissions
YES, you may include this mod in any modpacks/collections/whatever.
YES, you may embed this mod into any mods you are creating, as well as making whatever tweaks are necessary for it to work with your mod. Credit and a link back here would be very much appreciated!

Links
Victoria 3 Modding Co-op Discord server[discord.gg]
5 Comments
Lichtkang Dec 8, 2024 @ 1:59am 
Thanks for this, it's exactly what I was looking for!
Dereko | wiki.tf Jul 15, 2024 @ 10:08pm 
great work.
Marco Dandolo Jul 13, 2024 @ 3:36am 
MORGENRÖTE MENTIONED
Taylor Jul 13, 2024 @ 2:27am 
Innovation
末寂 Jul 13, 2024 @ 12:08am 
nice work,you make my idea came true