BG2 NPC Cameo in BG:EE
Coutelier
Member Posts: 1,282
This past week I started learning how to mod Baldur’s Gate: Enhanced Edition, and this is the fruit of my labor so far.
One thing I thought would be ‘cool’ in BG:EE would be if some of the BG2 NPC’s made little cameos, so it’s what I’ve started working on… initially for my own personal pleasure, but I figured I might as well share So far, I’ve just started off with a cameo for Aerie, since she’s the easiest to justify. She mentions in BG2 that the circus went to Nashkel, and there’s a carnival there in BG1, so that’s where you’ll encounter her.
She’s not a joinable NPC, but if you’re nice to her she might help you a little bit. And don’t worry; she won’t say anything her wings. She doesn’t know or trust you well enough at this point.
You might need to follow these instructions to get mods to work with BG:EE.
Otherwise, download BG2CameoV04. Unrar to your game directory (For me its C:\Program Files (x86)\BeamDog\Games\00766\), and then double click the file ‘bgee_install_BG2Cameo_setup.bat’, and follow the instructions. To uninstall, just double click it again.
One thing I thought would be ‘cool’ in BG:EE would be if some of the BG2 NPC’s made little cameos, so it’s what I’ve started working on… initially for my own personal pleasure, but I figured I might as well share So far, I’ve just started off with a cameo for Aerie, since she’s the easiest to justify. She mentions in BG2 that the circus went to Nashkel, and there’s a carnival there in BG1, so that’s where you’ll encounter her.
She’s not a joinable NPC, but if you’re nice to her she might help you a little bit. And don’t worry; she won’t say anything her wings. She doesn’t know or trust you well enough at this point.
You might need to follow these instructions to get mods to work with BG:EE.
Otherwise, download BG2CameoV04. Unrar to your game directory (For me its C:\Program Files (x86)\BeamDog\Games\00766\), and then double click the file ‘bgee_install_BG2Cameo_setup.bat’, and follow the instructions. To uninstall, just double click it again.
Post edited by Coutelier on
7
Comments
Looks like a fun NPC-related mod to have; have you considered asking for hosting at Misc Mods section at SHS or G3? Or getting a separate forum, if your mod is going to be big enough(various banters, other cameos and so on)?
- you're fully replacing BENTHA.dlg, an already existing game file. I understand that you would like to modify it for Bentha to mention Aerie? You can also do it via I_C_T or EXTEND_BOTTOM+CHAIN(read Weidu Readme at Weidu.org for a tutorial) - it leaves the original dialogue file alone, but adds an extra state with your own dialogue. This way all other mods that interact with Bentha's dialogue are able to do so. In other words, adding to the dialogue is preferable to the rewriting. Code example:
EXTEND_BOTTOM BENTHA 0
++ ~An elven girl asked us to help.~ EXTERN BENTHA mybentha
END
CHAIN BENTHA MYBENTHA
~You must mean Aerie. I fear she would have tried to fight Zordral herself... I had to be somewhat tough on her to convince her to get herself away to safety. I hope she understands. She's a good girl, but weighed down by a great sadness. She won't discuss it with myself, or Quayle out of respect for all the kindness he's already shown her. But she grows more and more restless by the day... sometime soon, he'll have to let go of her and let her find her own way...~
= ~Oh, listen to me ramble. Please, take this as thanks.~
DO ~SetGlobal("BENTHALIVES","GLOBAL",1) GiveItem("POTN09",LastTalkedToBy)
EscapeArea()~ EXIT
END
(This is a matter of preference, but many modders use shorthand now when coding .d - it saves a lot of time. For example, you don't need to write ~~ THEN BEGIN or THEN REPLY)(dialogue tutorials at PPG or G3 may help). But, again, it's a matter of preference).
- You're using a modding prefix JC, which is registered(I think) to another person: http://www.blackwyrmlair.net/prefixes/ I would recommend you to register another prefix here to avoid incompatibility: http://forums.blackwyrmlair.net/index.php?showtopic=113
I suppose I might not really need to include her portrait either, since all the BG2 portraits are in BG:EE; I just extracted it to create her original character file. She also has a pretty much full soundset, which I suppose isn't necessary (unless you cheat her into the party).
I'm thinking about other cameos. I suppose you could encounter Keldorn and/or Anomen wandering the wilderness somewhere. Maybe even Mazzy as well... or maybe she could be visiting someone in Gullykin. I can't think of much reason Nalia or Jan would have to leave Amn though.
For BG2, it can just be handled the way other reoccurring NPC's are handled; the vague 'don't I know you?/Aren't you dead?' type responses, and some equally vague acknowledgement and explanation. The only problem is, I doubt Aerie would ever be nasty about Khalid to Jaheira if she'd actually met him, which why I've not considered any banters with them. We'll have to assume they're outside whenever you talk to her... otherwise she'll have to find some other vulnerability of Jae's, which is tough.
For some reason I didn't think of it at the time, but the game checks everything in the dialogue file in order, so all I had to do was move the Dead("ZORDRAL") banter to the end of the file. So I no longer need the 'BENTHALIVES' global when you talk to her. So it's a just a case of adding the extra reply to Bentha... (also have to fix Aerie's shop; if you've got a good reputation, she'll currently sell things for less than she buys them).
I'm still a bit too pleased with myself that I got any of it to work at all, but now... so very tired... going to bed...
Dialogue code can be compiled anywhere. Don't make the mistake of thinking that one d file=one dialogue. d code is just like tp2 code--it's a set of instructions to modify dialogues. The code Kulyok posted simply needs to be dropped into a d file and compiled.
I agree with Kulyok. I think this is a really intriguing idea.
Hmm, it may be the capitalization error. Try replacing
CHAIN BENTHA MYBENTHA with
CHAIN BENTHA mybentha
Other than that, if you dump this code to a completely new txt file, call it, say, mybentha.d, and add this line to your .tp2 file:
compile mybentha.d
and not compile the other benta's dialogue file then it is supposed to work.
I've tried a few variants as well, different file names, like formatting it the same way as the other dialogues I know work (with THEN REPLY and THEN DO etc), but so far all the same result.
EXTEND_BOTTOM BENTHA 0
++ ~An elven girl asked us to help.~ EXTERN BENTHA mybentha
END
CHAIN BENTHA mybentha
~You must mean Aerie. I fear she would have tried to fight Zordral herself... I had to be somewhat tough on her to convince her to get herself away to safety. I hope she understands. She's a good girl, but weighed down by a great sadness. She won't discuss it with myself, or Quayle out of respect for all the kindness he's already shown her. But she grows more and more restless by the day... sometime soon, he'll have to let go of her and let her find her own way...~
== BENTHA ~Oh, listen to me ramble. Please, take this as thanks.~
DO ~SetGlobal("BENTHALIVES","GLOBAL",1) GiveItem("POTN09",LastTalkedToBy) EscapeArea()~
EXIT
If this doesn't work, I'll be... I'll be... well, I think we'll all scream together.
http://forums.pocketplane.net/index.php/topic,25198.0.html (basically, you can write every PC-NPC dialogue this way)
http://forums.pocketplane.net/index.php/topic,25814.0.html (NPC-NPC dialogue, though Weidu Readme explains CHAINS better)
Also, as I mentioned it shouldn't be necessary at all to include Aerie's portrait in the download as all the BG2 portraits are in BG:EE (even though they're hidden in character creation). So, I haven't. I also removed her spell disruption sound so she doesn't keep saying it over and over.
Set her buying and selling prices back to normal; she'll still identify items and heal you for free (although I removed raise dead from her list of services).
This one simply adds a little bit more dialogue and reply options to Aerie. The next step, some time in the week when I have a bit more time, will be to try and add interjections and get her to have conversations with other NPC's in the party when you talk to her.
In this update, when you talk to Aerie for the second time in her tent, you can now offer to do an errand for her to make her start to trust you more, enough that she might tell you her backstory (and maybe give you something else as well).
I’ve also successfully added an interjection from Imoen when you first run into Aerie, and another chat between Im and Aer inside the tent. So now, all I really want to do with Aerie is add more chats with other NPC’s. Quayle, obviously. I’ve had some ideas of what to write for him, and Branwen, Dorn, Minsc and Dynaheir… but it’s always open to ideas and suggestions.
After that, I’ll be pretty much done with Aerie, so I’ll start thinking about other possible cameos as well. I’ve had a couple of ideas for encountering Mazzy and her still alive old adventuring party. But again, suggestions are welcome.
You now get a small amount of XP for completing Aerie’s ‘quest’.
In her tent, Aerie now has chats with Imoen, Neera, Rasaad, Minsc, Dorn, Branwen, Dynaheir, and of course, Quayle.
As I said before, there’s not a whole lot more I really planned to do with Aerie. Tidy up a bit, more replies for the PC, and more chats with other NPC’s if I think of them (as mentioned before, other ideas and suggestions are welcome too).
So now, I’ll start thinking more about others. I said I’d had some ideas about Mazzy and her party, and I think it would only be fair to add Anomen somewhere (since he is a romance, and now, thanks to this, the only one who has no presence at all in BG1).
http://forums.gibberlings3.net/index.php?showtopic=25528
Jastey's putting together a BG1 version of Romantic Encounters. It includes innocent talks, flirting, as well as some more adult content and dirty talk, both with new characters and already existing ones.
Since Aerie's a love interest from BG1, her cameo may fit into BG1 RE project nicely, if you're interested. We've got an active workroom and quite a few contributions by five authors already.
I should get back to it though. Got to properly plan out Mazzy, then see if I can actually make my plans work.
The Darkest Day mod added some BG1 NPCs as characters, and did a decent job. I don't necessarily want them to be joinable, but some cameos would be cool. I thought what they added was really appropriate and well done in terms of where the npcs were found/what they were doing.
This is what TDD added
1. Xzar and Monty: Big loss. Such cool characters. You can take an alternate path in the Harpers quest with that mod Very appropriate cameo
2. Kivan was in Imnesvale, which is obviously perfect for him
3. Shar-Teel was in the jail at the Government District... also extremely appropriate!
4. Yeslick: in the Temple District of course
5. Kagain was in the Gate District... this is the one I disagree with. I'd prefer if he opened up a new shop in Waukeen's Promenade. If you ask him to join he should say things like "Are you some kind of moron? Why would I wanna walk around the countryside lookin fer trouble? Theres no money in it" And he would give you no discount... ever
What I'd like to see
1. Branwen either in the Temple District as one other mod did or hunting for Umar in the hills
2. A different ending for Ajantis, who also had a mod. That one was a bit overly-complicated though. I'd prefer a more elegant solution to preventing his death (Keldorn uses True Sight). I'd also him actually as some sort of trainer in the Order of the Radiant Heart (he WAS Keldorn's squire after all) Maybe he is an old rival/friend/hated enemy of Anomen when they were both training as knights. Maybe if Anomen goes chaotic he will hunt him down and challenge him to a duel?
3. Xan: the impossible to please critic in the Five Flagons Inn. "your performance is... so hollow" during a dramatic scene "you're all doomed"
4. Alora should be her awesome cheerful self, pickpocketing witless merchants in Trademeet and getting the law off her tale by cheering them up with her bubbly self
5. Eldoth and Skie
I like the idea of former prissy noblegirl Skie now living as a random bar made at the Copper Coronet. She would act like she doesn't recognize you at first for two reasons:
a. she's embarassed that she is no longer so high status after running off to have a fling with her bad boy Colin Farrel with magic missiles and
b. she's on the run from Eldoth after stealing his loot after a heist. They had a big fight, he was his usual dastardly self, and she took off. But later she hears that eldoth is in Amn looking for her, and hires you to take him out.
Meanwhile Eldoth finds you and asks you for help tracking her down and perhaps killing her for betraying you. When they both meet however (whichever route you take) they both decide that this was a ll a silly misunderstanding and they fall in "love again" while charname facepalms himself and Minsc comments on how Boo thinks they make such a cute couple.