Divinity: Original Sin 2

Divinity: Original Sin 2

1,328 ratings
LeaderLib - Definitive Edition
2
8
2
   
Award
Favorite
Favorited
Unfavorite
Type: Add-on
Game Mode: Story, GM, Arena
File Size
Posted
Updated
9.689 MB
Aug 31, 2018 @ 3:34pm
Apr 19 @ 8:34pm
288 Change Notes ( view )

Subscribe to download
LeaderLib - Definitive Edition

In 1 collection by LaughingLeader
LaughingLeader's Mods - Definitive Edition
23 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 (3)
80
May 9 @ 9:07pm
PINNED: Bug Reports
LaughingLeader
6
Feb 19, 2021 @ 10:24am
PINNED: Support: Mod Doesn't Appear in the Mod List
LaughingLeader
0
Oct 28, 2019 @ 8:54am
Game crashes to desktop
clueless gamer
< >
285 Comments
kmcsjr May 9 @ 5:15pm 
ahhhh - my bad - i've only looked at where you allow it for all weapons and spells for you and opponents
K4T4STR0PH3 May 9 @ 9:39am 
@kmcsjr LeaderLib is supposed to add a backstab talent. It's listed in the settings. "Enable Backstab Talent [] "
kmcsjr May 8 @ 10:46am 
backstab isnt really a talent. its an arc behind an opponent where your attack will show as backstab
K4T4STR0PH3 May 1 @ 11:57pm 
Yeah none of the backstab options are working for me even just Leaderlib installed. I'd love to see that fixed.
K4T4STR0PH3 Apr 27 @ 8:17am 
Am I missing something or does the backstab talent just not show up? I enabled it in game settings but nothing is happening. If I disable the talent it works fine.
dan.kolyasnikov Apr 21 @ 2:33pm 
@LaughingLeader Can you please tell me if this mod is compatible with the "Let There Be Tooltips!"? I found an option in it that also includes missing tooltips.
TumblerPiston Mar 17 @ 7:37pm 
I noticed the update with the exceptions for Source Replenish and others where pushed, but when I apply Source Replenish it still persists as it did before. Unsure if it's on my end.
TumblerPiston Mar 5 @ 11:49am 
Thanks a bunch LL. Looking forward to it.
CRPoV Mar 4 @ 3:13pm 
Thank you muchly
LaughingLeader  [author] Mar 4 @ 11:34am 
@TumblerPiston Sure, this can be done. SOURCE_REPLENISH is a CONSUME type actually, so it's probably being picked up as beneficial due to the potion it applies. There's a few other statuses I may want to manually ignore alongside that one.

@In The Mud The Skip Tutorial settings are visible/editable inside LeaderLib_GameSettings.json, in the Documents\Larian Studios\Divinity Original Sin 2 Definitive Edition\Osiris Data folder. Going to Fort Joy for instance starts you at level 2 with 200 gold.

@CRPoV Should be fine to enable mid-game.