Dialogue and Reactivity Tags (DART) Framework****What are Dialogue Reactivity Tags?
Dialogue Reactivity refers to the options that appear in certain conversations depending on your character's class, race, deity, background, and so on. Reactivity is a big part of BG3, making your choice of class meaningful beyond combat or rolling dice; and something that modded content often lacks as while a modmaker could tag their Spellsword class with both the WIZARD and FIGHTER, they still appear in dialogue as belonging to those classes.
**
What is DART?**
DART is a framework mod, meaning it is meant to be used by other mods. It gives modmakers the option to use reactivity tags for their own mods; having them appear to be attributed to their custom class/race/deity/etc. while in dialogue, and supports editing dialogue and controlling how/when these dialogue options appear.
In a nutshell, it lets other mods have custom dialogue options.
**
How does DART work?**
DART works by listening for a player controlled actor entering dialogue. As an example, if they have the WIZARD tag, it checks to see if they have the Wizard class. If not, it looks at what they *do *have until it finds the source of the tag. Once it has, it uses client-side localisation editing to change the name and description of the tag to make it look like it comes from the modded source. When the player leaves dialogue, it changes everything back to how it was.
All changes to localisation handles are done client-side, meaning in multiplayer if one player is in dialogue and has their WIZARD tag altered, another player won't notice any changes unless they are in the same dialogue.
DART does not require any changes to other mods in order to work, and will automatically attribute tags to their sources. With a DART Configuration file, it can do much more than that.
How do I use DART?
As A Player
As a player, just download DART. It will work automatically with any mod that introduces a class, race, deity or background that uses any vanilla tag that adds dialogue options. You can access settings for DART via the Mod Configuration Menu, including whether to automatically alter tags, prioritise modded sources over vanilla ones, subclasses over main classes, show the original source of a tag in its description, or toggle customised dialog modmakers may have included via DART's json files.
**
As A Modmaker**
You do not need to do anything special to make your mod compatible with DART, as it works automatically. All you need is to make sure you have your class, race, deity or background tagged with a tag that grants dialogue reactivity; and DART will do the rest.
However, if you add the config .json to your mod's ScriptExtender folder, you can further control how DART interacts with your mod:
- You can disable DART from working with your mod, even automatically, should you wish.
- You can set the specific localisation handle for the name/description of a reactivity tag granted by a source while in dialogue.
- You can specify certain lines of dialogue to be replaced with your own - for example, if you wish to give your modded class the Warlock tag but don't want references to a Patron, you can define replacement lines and DART will change them when entering dialogue.
- You can assign tags to your sources and have DART grant them upon entering conversation, so that they don't exist outside of dialogue.
- You can use advanced logic to have DART only alter/grant tags when certain conditions are met.
A template for the DART_Config.json file is included in this mod's downloads, as well as an example that describes how to use it.
Documentation
Full documentation is planned, including tutorials on; how to add a DART config file to your mod; how to edit dialog; using whitelist/blacklist logic to control when dialog options appear; and more.
**Mods used in Screenshots:
**Artificer Class, by KiderionLykon
The Duo Class, by Cheek
Faerie Race, by EvilSnail0fDestruktion
来源与文件
文件说明
Automatically attributes reactivity tags on modded sources to to those sources in dialogue; and supports other mods editing reactivity tags and dialogue with config files.
来源列出的依赖与关系
- 作者列出的前置:Mod Configuration Menu (MCM) — Optional - Provides settings for players.
- 作者列出的前置:Norbyte's Script Extender — Required
前往 N 网打开所选文件。安装与下载要求以原作者及平台说明为准。
<!-- aoe-mods-source:nexusmods:baldursgate3:17561 -->