Divinity: Original Sin 2

Divinity: Original Sin 2

2,064 ratings
LeaderLib - Definitive Edition
3
3
9
2
   
Award
Favorite
Favorited
Unfavorite
Type: Add-on
Game Mode: Story, GM, Arena
File Size
Posted
Updated
13.250 MB
31 Aug, 2018 @ 3:34pm
3 Aug @ 8:54pm
356 Change Notes ( view )

Subscribe to download
LeaderLib - Definitive Edition

In 1 collection by LaughingLeader
LaughingLeader's Mods - Definitive Edition
26 items
Description
LeaderLib is a library mod used to provide common functionality to other mods.



PSA - Mod Updates
When a mod is updated, it may be automatically deactivated in the mod menu. Be sure to reactivate it before loading your save and continuing to play! You'll see a warning like this if a mod is no longer active:
[i.imgur.com]

Features:
  • A centralized mod menu, providing a way to access dialog menus from other mods.
  • A robust treasure and trader system, allowing dynamic spawning with complex requirements and customization.
  • A system for mods to register to, that enables other mods to see which mods are registered and active, allowing easier cross-mod interaction.
  • A plethora of helpers and systems for mod makers.

Support
If you're feeling generous, an easy way to show support is by tipping me a coffee:

[ko-fi.com]

I love modding this game, and I love interacting with the community. Every bit helps to keep me doing what I'm doing. Thanks!

Extender Features
Norbyte's Divinity Script Extender[github.com] is required for additional features to work (UI stuff, the tons of Lua scripting LeaderLib has), but is not mandatory.



If the extender[github.com] is present, LeaderLib will utilize its new scripting capabilities to optimize its scripting (math stuff, sorting stuff).

Many quality-of-life features will also be available, such as hiding statuses by right clicking them in the UI, a button to skip the tutorial in character creation, and mass chain/unchaining with CTRL + Space, just to name a few.

Mod Settings Menu
If the extender is present, LeaderLib will enable a global settings system, allowing LeaderLib and various mods save settings globally, so they work between profiles and saves. These can be adjusted from a new entry in the options menu - the Mod Settings menu.

This UI completely replaces the need for the in-game dialog menu, though some older mods may still utilize it.

Global settings for mods means things like:
  1. Skipping the setup menus for Toggle Sprint and Full Loot, and having them automatically load your preferences.
  2. Avoid dealing with mod books for all the above mods by enabling LeaderLib's "Disable Auto-Adding Mod Books" option. Since this is now saved globally, it will carry across all your saves.
  3. Host settings for all the mods will be loaded, if they're saved (saving happens automatically after the various updates, but LeaderLib has a new command for it as well).
  4. Values like Toggle Sprint's various speed settings, and Summoning Tweak's max summon cap will be saved.

[i.imgur.com]

Additionally LeaderLib has quality-of-life settings in the regular Gameplay menu, such as overriding Max AP, changing backstab settings (backstab with spells/two-handed weapons/non-daggers), changing skill tiers, and more.

Dialog Redirection
Tired of dialog starting with the closest party member, instead of your avatar? LeaderLib has a fix for that!

Located in LeaderLib Settings -> Dialog Redirection, the host can enable "Dialog Redirection", which will redirect event-driven dialog to your avatar character, if an event tries to start dialog with an owned party member.
Gawin and Elodi finally respect your party's hierarchy!

[i.imgur.com]
Enable Dialog Redirection via the LeaderLib Mod Menu -> LeaderLib Settings -> Dialog Redirection Settings.

Additionally, the highest party member with persuasion can be the target instead. User checks can be disabled as well, for multiplayer mode (ex. allows player 2's dialog to be redirected to player 1).

[gfycat.com]

Friendly Fire
This option requires mods to implement it, but this enables skills to also hit non-enemy characters (neutrals, allies, party members) if set.

Mods that implement friendly fire:
  • Lichdom
  • Mimicry
  • The Skull Knight (Coming Soon™)
  • Weapon Expansion (Coming Soon™)

Auto-Balance Party Experience
Designed with competitive questing in mind, this option will automatically level up all players to a player's level upon leveling up, regardless of whether they're in a party or not.

LeaderLib Trader
LeaderLib adds a special trader that persists through every act in the main campaign. He serves as a common resource for other mods to add items to, and provides players with the "Mod Menu" book.

Trader Locations

Tutorial/Prisoner Ship
[i.imgur.com]
Around the common area on the prison ship, near The Red Prince.

Fort Joy
[i.imgur.com]
At Fort Joy, he's on the dock near Han and the first waypoint statue, close to where you first wash up on shore.

Lady Vengeance
[i.imgur.com]
After Fort Joy, you can find him on Lady Vengeance, down one level from the deck, back near the tables.

Mods that use the Mod Menu:
All my mods that have a settings menu all use the LeaderLib Mod Menu. That list can be found here:
LaughingLeader's Mods - Definitive Edition

The Mod Menu in Action:
[i.imgur.com]

Links

Credits:
Popular Discussions View All (4)
99
15 Aug @ 5:44am
PINNED: Bug Reports
LaughingLeader
6
19 Feb, 2021 @ 10:24am
PINNED: Support: Mod Doesn't Appear in the Mod List
LaughingLeader
0
2 Sep, 2023 @ 7:20am
Future plans:
45fg45
402 Comments
lotherius 17 Nov @ 1:09pm 
Is this compatible with Epip?
爱笑的大魔王 18 Apr @ 2:48am 
Hello? Could you please fix the issue where the Five-Star Diner talent may become partially ineffective due to other mods?
For example, BonusUniques[DE] causes the Five-Star Diner talent to be ineffective. The author of BonusUniques[DE] stated that any mod that adds items to both GM Mode and Story Mode simultaneously will cause this issue.
So, could you please fix this issue? If fixing it is too difficult, would it be possible to solve this problem by creating a new talent with the same effect as Five-Star Diner?
Claws 3 Mar @ 4:13pm 
Bug: When using controller UI, the fade read book in inventory feature doesn't work. book icons also have a the top left of their icon faded when trying to sell them.
LaughingLeader  [author] 3 Jan @ 3:17pm 
Also make sure your script extender is updated - v38 is from several years ago. Get the latets DXGI.dll from the repository, and make sure you don't have a ScriptExtenderUpdaterConfig.json in your bin folder that's making it updating to an old version. Your game being old can also cause the updater to get an older version, since SE versions are built against specific game versions.
LaughingLeader  [author] 3 Jan @ 3:14pm 
@Scrambled Eggs You only get a "working story error" with LeaderLib if your game is outdated, since LeaderLib uses newer scripting functions they added in the gift bag updates. The game version should be v3.6.117.3735 (you can see this in the main menu).
Scrambled Eggs 3 Jan @ 9:55am 
This appears to be the mod that gives me the "unable to make working story" error and adds the four NPCs to my party when paired with "Evolved Party Size". I'm new to this game so maybe its due to an update?

Edit: When I tried to delete this mod. It reverted it back to v.38 of the script extender. Now it seems to not give the error when starting up. Will need to investigate more if it is now working properly.

Note: Sorry if this isnt completely clear. I am tired.
Dre G Writer 17 Dec, 2023 @ 11:27pm 
Hmm, for some reason, delay tooltips doesnt do anything, as well as the Hide all statuses. Everything else I tried works. Oh well.
MizukoPlays 8 Dec, 2023 @ 10:09pm 
is it okay to disable the mod mid save ?
JJOtterBear 12 Nov, 2023 @ 9:02am 
mod appears in the mod list. i have the script extender. its at the top of the load order. but there is no mod settings menu, no traders. mod appears to not work at all.
cdubs 1 Aug, 2023 @ 9:36pm 
Just lost over an hour of gameplay by putting too much trust into automatic quick saves.

lol