# Gavin NPC Mod for BGEE, EET, BGT, or Tutu

A Gibberlings Three Mod
Author: berelinde
On the web: Home page, discussion forum, image gallery, and Discord

Version 15
Languages: English, French, German, and Russian
Platforms: Windows, macOS, Linux
GitHub: Gibberlings3/Gavin_BG

## Overview

This mod adds Gavin, a neutral good Dawnbringer of Lathander, to Baldur's Gate Enhanced Edition or the Baldur's Gate conversion projects Tutu, Baldur's Gate Trilogy, and Enhanced Edition Trilogy.

Gavin was born in Ulgoth's Beard, one of the younger children of a sailmaker and a midwife. He had an unremarkable childhood, until, at the age of 12, he discovered he had a talent for healing. His father was a follower of Tyr, but his mother worshipped Lathander. They were quite surprised to find that their rambunctious son had a calling to the priesthood, but they enthusiastically supported his decision, nevertheless, accompanying him to Beregost to begin his novitiate. His service to his god and his temple was devout, but otherwise unimpressive, and he was ordained a Dawnbringer at the age of 19. Since then, he has spent most of his time performing varied services for the temple, but Gavin's advancement within the ranks has been slow. Gavin is 28 when you meet.

## Compatibility

This mod is designed to work with Baldur's Gate Enhanced Edition or the conversion projects EET, BGT, or Tutu. This mod should be installed onto Tutu after you have run the conversion program, in your Baldur's Gate Tutu directory, or in your BG2 directory for BGT. Please note that for EasyTutu users, this directory is usually named BaldursGateTutu.

The mod is designed to work with or without the BG1 NPC Project. It has been tested with TutuFix v 17 (sans Walking Speeds Fix, although Gavin will check for it), Ashes of Embers, Tweaks Anthology, Divine Remix, Sword Coast Stratagems (give that boy a magic weapon, he's going to be in for a rough ride), Jastey's Baldur's Gate Mini Quests and Encounters Mod, Sirene's Call, Finch, Indira, Mur'Neth, and many other mods. There are no known incompatibilities with any mod.

Please note that as Gavin is not a Bioware NPC, he will be unaffected by mods that target Bioware NPCs. He will be unaffected by the leveling practices of Sword Coast Stratagems, although he has his own leveling script. Tutu NPC Kitpack will have no effect on him whatsoever. Neither BG1 NPC Project nor SCS will send him to wait at an inn, however this feature has already been included as part of his kick-out dialogue. Gavin's starting proficiencies are consistent with those allowed by his stats using Ashes of Embers.

The Romance Guide is available in PDF in the mod's root folder as RomanceGuide.pdf (or online here). For modders: an index of variables used in Gavin is also available in the mod's root folder as gavinvariables.html.

## Bug Reporting and Known Issues

If you should encounter any bugs, please report them to the authors at the Gavin forum. In addition, Gavin is available on GitHub, so fixes and changes can be submitted by the community.

## Installation

First time installing a mod? Check out G3's comprehensive tutorial: A New Player's Guide to Installing and Playing Mods.

Special Note for Siege of Dragonspear from Steam/GOG
Good Old Games (GOG) and Steam both package the additional content for Siege of Dragonspear in a method that WeiDU, the tool used to install this mod, cannot access. You must run a program called DLC Merger on your SoD installation before you can install this or any other WeiDU-based mod.

Enhanced Editions Note
The Enhanced Editions are actively supported games. Please note that every patch update will wipe your current mod setup! If in the middle of a modded game you might want to delay the patch update (if possible) as even after reinstalling the mods, you might not be able to continue with your old savegames. Alternatively, copy the whole game's folder into a new one that can be modded and will stay untouched by game patches. It is important that you install the mod to the language version you are playing the game in. Otherwise, the dialogues of the mod will not show but give error messages.

Windows
The Gavin NPC mod for Windows is distributed as a self-extracting archive and includes a WeiDU installer. To install, simply double-click the archive and follow the instructions on screen.

Alternatively, the files can be extracted into your game directory using 7zip or WinRAR. When properly extracted, your game directory will contain setup-gavin.exe and the folder gavin. To install, double-click setup-gavin.exe and follow the instructions on screen.

You can run setup-gavin.exe in your game folder to reinstall, uninstall or otherwise change components.

macOS
The Gavin NPC mod for macOS is distributed as a compressed tarball and includes a WeiDU installer.

First, extract the files from the tarball into your game directory. When properly extracted, your game directory will contain setup-gavin, setup-gavin.command, and the folder gavin. To install, double-click setup-gavin.command and follow the instructions on screen.

You can run setup-gavin.command in your game folder to reinstall, uninstall or otherwise change components.

Linux
The Gavin NPC mod for Linux is distributed as a compressed tarball and does not include a WeiDU installer. Linux users will need to do a one-time install of WeiDU (and a few other adjustments) as described in this great writeup.

To install, run 'WeInstall gavin in your game folder.

Note for Complete Uninstallation
In addition to the methods above for removing individual components, you can completely uninstall the mod using setup-gavin --uninstall at the command line to remove all components without wading through prompts.

## Contents

The mod has five components.

Gavin

This component adds the new NPC Gavin to the game. Gavin can be found outside the Song of the Morning Temple, near Beregost. Gavin is a NG cleric of Lathander, and has the following statistics:

- STR: 16
- DEX: 12
- CON: 16
- INT: 12
- WIS: 17
- CHR: 12

His biography is as follows:

Gavin was born in Ulgoth's Beard, one of the younger children of a sailmaker and a midwife. He had an unremarkable childhood, until, at the age of twelve, he discovered he had a talent for healing. His father was a follower of Tyr, but his mother worshipped Lathander. They were quite surprised to find that thier rambunctious son had a calling to the priesthood, but they enthusiastically supported his decision, nevertheless, accompanying him to Beregost to begin his novitiate. His service to his god and his temple was devout, but otherwise unimpressive, and he was ordained a Dawnbringer at the age of nineteen. Since then, he has spent most of his time performing varied services for the temple, but Gavin's advancement within the ranks has been slow. Gavin is twenty-eight when you meet.

Gavin will attempt to befriend a protagonist of any race who is not evil or an assassin. Gavin will not withhold his friendship based on reputation, but he will leave if it should fall below 5. There are no statistical requirements for friendship.

Gavin will join a party with an evil or assassin protagonist, and will make interjections and banter with other NPCs, but he will not participate in any of the friendship talks.

Quest spoilers:

If you can't find the key to unlock the house in Beregost, try looking in the Ulcaster ruins, the Valley of Tombs, and the Bandit Camp.

Note: Kelddath will only mention the Bassilus quest with Gavin in the group if the PC didn't hear about it, yet. There is no extra reward for the Bassilus quest with Gavin in the party.

Gavin Romance (Mature Content)

Gavin has no racial preferences, for friendship or romance. A romance guide (PDF, 916k) is available (there's also a copy in the mod folder).

- Gender: Gavin will only romance a female protagonist.
- Alignment: While Gavin will befriend a neutral protagonist, he will only be attracted to a female of good alignment.
- Class restrictions: Gavin will not be attracted to an assassin, bounty hunter, or necromancer of any alignment.
- Stat requirement: Gavin admires a strong leader, so he will only be attracted to a protagonist with a charisma of 12 or better and a wisdom of 10 or better.
- Reputation: A reputation of 11 or higher is required to initiate and sustain the romance, but for it to progress past a certain rather obvious point, a reputation of 15 or better is required and must be maintained. Gavin will warn the PC if her reputation needs work with plenty of time to improve it.
- Offense: Gavin is not particularly easily offended, but he will not tolerate frequent insult to his values, or too many callous or cruel decisions. Gavin appreciates the kind of maturity that cannot be measured in years. Obviously immature PC responses are also likely to offend.

This component will install a romance track for Gavin. The player can select the default time between Gavin's romance banters. Options are 15 minutes, 30 minutes, 45 minutes, 1 hour (default), 1 hour 15 minutes, and 1 hour 30 minutes.

Gavin Flirt Pack

If the player installs Gavin's romance track, they can also install a flirt pack for Gavin. From time to time Gavin will flirt with the PC.

Alternative Portraits

Gavin has six alternative portraits that the player can select.

Gavin Player-Initiated Dialogues

This will add the ability for the player to approach Gavin and begin banters with him, just as they can with other NPCs.

## Contact Information

berelinde created this mod. Visit the Gibberlings Three forums for information on this and any other Gibberlings Three mod.

## Thanks and Acknowledgements

Contributors:

- cmorgan: coding, proofreading, initial alpha set-up, crossplatform conversion, traification, other stuff (the gods may be in the details, but in this case, it's "all of the above", and more)
- CamDawg: packaging, hosting, scripting help, and the "loan" of huge chunks of code
- DavidW: quest AI borrowed from Sword Coast Stratagems, a Gibberlings Three Mod*
- Jastey: coding, Ajantis dialogue co-author
- Domi: Coran dialogue consultant
- Kulyok: Xan dialogue consultant, alpha testing
- Gorilym: item creation and revision
- K’aeloree: portrait artist and general dialogue consultant
- Miloch: portrait and BAM artist, awesome code that locks the quest house and places the key, sorting out rumor addition
- Ascension64: definitive Beregost crash fix - he rocks!
- devSin, Nythrun, pro5: extensive scripting help
- Theacefes: initial PID ideas suggested by Auren Aseph, a Gibberlings Three Mod, and her wonderful NPC tutorial
- The Baldur’s Gate NPC Project Team: the “loan” of extensive coding and scripting

Alpha testers: Kulyok, Ajnos, wolfsong, and a captive audience who wishes to remain anonymous

* Used with permission, but modified by berelinde. DavidW gets all of the praise, berelinde is responsible for all of the bugs.

This mod would never have been written without the advice, encouragement and feedback of cmorgan, Jastey, Domi, CamDawg, Gorilym, Smoketest, DavidW, devSin, Eirik the Scald, Miloch, and The Gibberlings Three Community.

Tools Used in Creation

- WeiDU by Wes Weimer, the bigg, and Wisp
- Near Infinity by Jon Olav Hauglid, FredSRichardson, and argent77
- DLTCEP by Avenger
- IESDP maintained by igi and lynx
- Notepad++, by the Notepad++ team
- WeiDU Notepad++ Highlighters by cmorgan, updated by argent77
- ConTEXT Text Editor by Eden Kirin
- WeiDU ConTEXT Highlighters by Idobek, updated by cmorgan
- Shadowkeeper by Mudmaster
- Audacity by Sourceforge
- OggVorbis by the Xiph Open Source Community
- Crimson Editor by Ingyu Kang
- WeiDU Crimson and ConTEXT Highlighters by Idobek, updated by cmorgan
- Tutu by japheth, et. al
- EasyTutu builds of Tutu by Macready

## Credits and Copyright Information

The default portrait is an edit based on Alan Rickman as Severus Snape, a fictional character in the films of J. K. Rowling's Harry Potter series. The same goes for the "Original alternate" by Kaeloree. The creator of the original photo is sadly unknown to us. Please let us know if you have more information on the matter.

The portrait "Red tunic, by Miloch" is based on Hans Memling's "Portrait of a Man".

The portrait "Dragon Age style portrait by berelinde" was created using the sprite generator of Dragon Age: Origin (BioWare, Edmonton Studio).

If you see any artwork in this mod that might conflict with Copyright rules please let us know as soon as possible, and we will remove the conflicting content immediately.

This mod is not developed, supported, or endorsed by BioWare, Black Isle Studios, Interplay Entertainment Corp., Overhaul, Beamdog or the Wizards of the Coast. All other trademarks and copyrights are property of their respective owners.

This mod may not be sold, published, compiled or redistributed in any form without the consent of its author. Gavin is ©2006 to presemt, berelinde.

## Version History

Version 15 - January 20, 2025

- New Russian translation by Austin & Arcanecoast Team
- Massive modernization effort, including making the mod easier to use with Project Infinity
- EE games will now use the larger portraits originally only available in the BG2 Gavin mod
- Some NPCs added by the mod didn't have basic AI scripting outside of Tutu games
- The player will now be given a top-level choice for Gavin's romance timer instead of a prompt midway through installation
- One of Gavin's banters could end up with 'No Valid Links or Replies' if the PC was a non-standard race
- The player should not be able to ask Gavin to heal a party member if the party member is dead

Version 14 - February 22, 2019

- Made Gavin - Ajantis banter about Lanie a standalone banter in case Jaheira is not in party.
- Bassilus quest: If Gavin received messenger but didn't talk to Kelddath before killing Bassilus, Kelddath will give a closing line if returning to the temple
- all journal entries will be erased upon bgt transition to BGII.
- Mod won't install on Steam/GOG SoD if modmerge didn't run (Linux / OS X).
- removed script name patching of %tutu_var%SLEEPFH.CRE and %tutu_var%SLEEPMH.CRE and changed script patching to "Class" (as Override" is already SHOUT.bcs).
- g3_bgee_cpmvars.tpa corrected (Post dialogue Dynaheir, Jaheira - not important for this mod).
- Update to Weidu v244

Version 13 - March 12, 2018

- (Quest) Edited one of Penny's lines where she states Valeria's house is not locked. The house is always locked.
- BG:EE (without SoD): fixed installation error.
- Added crossmod for Critter Parts Mod (BG:EE): Gavin reacts to spider bodies from this mod, too.

Version 12 - June 11, 2017

- Disabled the possibility to ask Gavin's parents about Gavin as if never met him if Gavin was already in party during an earlier visit.
- Fixed wrong variable check for ~B!EVIE~ that prevented talking to her after the first time with Gavin in the group.
- Removed invalidly assigned dialogue strings from mod cres.
- Quest: Quest can be solved without attacking the thugs first and without Gavin in the party.
- Quest: Kelddath will give quest reward also without Gavin in the party.
- Quest: Quest cres now react if one is attacked / killed without dialogue.
- Quest: Valeria's staff +3 is undroppable+unstealable. She will drop a +1 staff when defeated.
- BGT: Fixed wrong patching of BGII CALAHA.dlg to the correct BG1 one (BGCALAHA.dlg).
- BGT: fixed one instance of wrong Imoen scipt name (!StateCheck in dialogue about PC-Gavin romance).
- BG:EE: changed bug where "thugs" followed the PC around town (changed class script of thugs 1-3 to "WTASIGHT")
- BG:EE: corrected item description images back to BAM.
- BG:EE(SoD): Gavin has "Good bye" DisplayStringHead after defeating Korlasz, too.
- BG:EE(SoD): Enabled BG1 PIDs.
- BG:EE(SoD): Gavin will leave after Korlasz's dungeon.
- (internal) Removed setup.tra from the "reload" list of HANDLE_CHARSETS.
- Direct EET version added.
- Typo corrections.
- (OSX) added sox for audio conversion.

Version 11 - May 24, 2017

- Removed default portrait from the "Alternate Portrait" component (is already installed by the main component).
- Removed portraits with unclear Copyright status and expanded the Credits and Copyright Information section in the readme.

Version 10 - March 23, 2017

- Corrected kit.ids patching using *[ %TAB%]
- Tagged ids patches for non-EE games only
- Integrated compatibility fix for BG Graphics Overhaul from BWP Fixpack
- Deleted unused b!stats.tph from mod folder
- Added cover-all-other-races to BGavLT14 (b!gavinlovetalks.d) in case the BG:EE subrace mod (or similar) is installed. This assumes equal lifespans for PC and Gavin.
- Fixed "endless curing by engagement ring" exploit
- Set flag 22 for b!Gavin.cre (I hope)
- (BG:EE) fixed missing spawn of Gavin's parents
- Optimized tra handling to prevent doubled "setup.tra"s
- Fix unlocking of Door1007 in AR1000 (Ulgoth's Beard)
- Moved icons into folder "install"

Version 9 - March 22, 2017

- Included the kickout fix
- Added French translation by Galathée
- Added German part-translation, by jastey
- BG:EE compatibility added
- Reported doubled reply options in love talks and pid
- Added area type check to Gavin-Dynaheir banter so it only triggers in an outdoor area
- Gavin will no longer keep Joseph's Greenstone ring if talking to the widow
- Fixed "No Valid Replies or Links" bug in Gavin's flirt
- Removed former SCS related code and script blocks and replaced them with standard game scripts. (SCS changes will apply to the quest characters if installed after Gavin)
- Included the alternate portrait options from BGII that were missing for BG1: ~Blue cloak, by kiwidoc~, ~Looking up, by kiwidoc~, ~Dragon Age style portrait by berelinde~
- BGT/BG:EE: rings now show the description and inventory and ground icons for all games
- BGT/BG:EE: fixed a sound reference in gavin.tra (all languages)
- Fixed OUTER_SPRINTs lib: Imoen now gets the right script assigned
- Gavin's quests: Added area checks so Gavin won't complain about going to teh temple if the party is in the area
- Gavin's quests: Kelddath will always address Gavin if the messenger called him to the temple, regardless of the player's reply
- Typo corrections
- Update to Weidu v238

Version 8 - Macy 31, 2015

- Added a locksmith to Feldepost's Inn who can make the quest key if the player fails to find the key elsewhere.

Version 7

- Updated to WeiDU v216

Version 6

- Added rumors that suggest key placement (thanks Miloch!)
- Fixed Gavin's starting hit points (thanks, Leomar!)

Version 5

- Added Miloch's super-awesome code to lock Beregost House 22
- Added Ascension64's definitive Beregost crash fix

Version 4

- Fixed tp2 error that was incorrectly assigning Beregost non-joinable NPCs' scripts (thanks Ascension64!)
- Fixed numerous typos (thanks AkashaCatBat, Daulmakan, and lac!)
- Fixed Lollorian's typos
- Updated to WeiDU v215

Version 3.1

- Bugfix for BGT: Shandalar's dialogue file was incorrectly labeled

Version 3.0

- Extended friendship path, additional ToSC interjections, restored charmed dialogues (thanks A64!), restored spider interjection, added three additional portrait sets, fixed a misplaced TRA reference, updated installer, linux version

Version 2.0

- Bugfixes, updated installer, enabled PC who has ended the relationship to skip the initial friendship talks.

Version 1.3 (Beta)

- Bugfixes, optimized scripts, corrected typos, added additional conflict materials, added Jolun to the Elfsong, added to Gavin's parents' dialogue, added Gavin's sketchbook, extended Durlyle interactions, enabled the PC to maintain her relationship with Gavin while still courting BG romanceable males (all romances uncommitted). Cross-platform installation included, as well as traification.

Version 1.2 (Beta)

- Bugfixes

Version 1.1 (Beta)

- Bugfixes, recoded all timers and scripted dialogues, corrected typos, added additional conflict materials

Version 1 (Beta)

- Corrected romance timers, refined Bhaal talk

Version 0.9 (Alpha)

- Corrected timers, added a few more flirts, refined a bit of dialogue

Version 0.8 (Alpha)

- Corrected CRE (again), added chapter talks, state-related banters, and frequent-flirter flirts

Version 0.7 (Alpha)

- Bugfixed courtesy of Kulyok's alpha testing. Corrected scripts, LT coding, added flirts, corrected CRE, repaired timers (again).

Version 0.6 (Alpha)

- Corrected numerous scripts and CREs, added items, finished LTs, corrected tp2

Version 0.5 (Alpha)

- Added Gavin's family, sound, state-related banters, 2 LT, repaired timers

Version 0.4 (Alpha)

- Added quests, additional Ajantis content, Gavin's engagement ring

Version 0.3 (Alpha)

- Updated CRE (again), added more banters, interjections, PID, and lovetalks, changed default portrait, added flirts, finally figured out what I was doing wrong with Gavin's ring, added non-Gavin NPC sounds

Version 0.2 (Alpha)

- Updated CRE, added banters, interjections, friendship talks, PID, the beginnings of the romance, Gavin's ring, portrait

Version 0.1 (Alpha)

- Initial alpha