Jump to content

Xan has disappeared?


Recommended Posts

This is probably a question for Kulyok, since it concerns Xan in BG2. I...appear to have misplaced him. I took him into my party in Chapter 2 to go retrieve his robe in Trademeet, then I swapped him out with either Valygar or Cernd. Now, I'm in Chapter 3 and about to go to Brynnlaw, and I wanted him back in the party, but when I got to the Government District, he...wasn't there. And I don't remember anything unusual happening when I swapped him out, so I don't understand what happened.

 

I tried exiting and reentering the zone, and I saw some spell effect or other appear in the spot where he should have been (possibly because I had upgraded his Moonblade before swapping him out), but he himself was still nowhere to be found. I went back to the Druid Grove and to Valygar's Cabin, just in case I had told him to stay put when I swapped him out, but he wasn't there either.

 

I can go back to a save where he's still there, but that would entail me redoing almost the entirety of the De'Arnise Keep quests, and I'm really not keen on that. Is there a way to spawn him so I can recruit him again, perhaps? Or have I somehow irretrievably borked him out of my game? Thanks in advance.

Link to comment

Isn't he somewhere in Trademeet, by that shop? :)I thought people would want that robe, heheh. Also, if you were playing a bonded romance and you kicked him out, he is to dejected to stay in Athkatla.

 

In any case,

CLUAConsole:CreateCreature("O#Xan09")

should help you, I think.

 

Aaaand your next Xan question may be less doomed if you ask it in Xan's forum here: http://forums.pocketplane.net/index.php/board,84.0.htm - because I check PPG forums regularly, and G3/SHS ones - only when I'm modding something.

Link to comment

Oh, and if you updated his moonblade, AND he is not a fighter/mage, AND he's wearing the improved moonblade, then he probably is invisible. (Never thought someone would do that - kick Xan out after he's over 1.500.000XP and take him back. Heh. Interesting.) Use Dispel Magic on that area in Government district. Or, come to think of it, everywhere else.

Link to comment

Oh, and if you updated his moonblade, AND he is not a fighter/mage, AND he's wearing the improved moonblade, then he probably is invisible. (Never thought someone would do that - kick Xan out after he's over 1.500.000XP and take him back. Heh. Interesting.) Use Dispel Magic on that area in Government district. Or, come to think of it, everywhere else.

 

Yup! That's what had happened. I thought it might be something equipment-related actually, but I tried True Sight, which didn't work. Cast Dispel, and there he is. Thanks!

 

I wouldn't have done this on a regular playthrough, because he would've occupied the mage spot in my party permanently, but I'm trying out Edwin's romance this time around, so the only time Xan sees some action is for his quests. In fact, I'm about to do Brynnlaw > Spellhold > Sahuagin City > Underdark without a cleric just to do his quest upon exiting the Underdark. This is going to be fun. Or very very painful.

Link to comment

Hmm...Well, it happened again: I replaced Xan with Keldorn after exiting the Underdark, before remembering that I hadn't finished the Ricar/Hunrae quest. So I went back to the Government District, tried casting Dispel Magic again...and nothing. I had to create him using the command you provided in order to finish the quest. The one difference this time, however, was that I hadn't equipped his moonblade before removing him from the party: it was in his weapon slot, but I hadn't selected it, thinking it might prevent him from becoming invisible. But instead, it apparently had the effect of making him irreversibly invisible.

Link to comment

EDIT: Found the source of the problem. Xan wasn't getting invisible, rather, his MoveGlobal command wasn't executing properly. I'll fix it - thank you very much for reporting.

 

 

Again, it's probably better to ask these questions in Xan forum, because I'll easily miss them here.

Link to comment

Okay, I think I may have found the problem: when the player chooses "Yes, Xan, go to the Government district"-type of reply, this command works:

 

IF ~~ DO ~SetGlobal("O#XanKickedOut","GLOBAL",1) EscapeArea() MoveGlobal("AR1000","O#Xan",[2745.321])~ EXIT

 

It means that EscapeArea() works BEFORE MoveGlobal and hence, Xan never gets to the Government District.

 

I can't believe it hasn't been reported before(or have I missed it)? Maybe other Xan fans held on to him? :)Anyway, I'll fix it in the next version. I should say it's a common issue - I found and reported several similar issues with BG1 NPC code.

Link to comment

EDIT: Found the source of the problem. Xan wasn't getting invisible, rather, his MoveGlobal command wasn't executing properly. I'll fix it - thank you very much for reporting.

 

Again, it's probably better to ask these questions in Xan forum, because I'll easily miss them here.

 

Ok, I just figured that, since I'd started the thread here, I might as well finish it here. But yes, if I have any more issues, I'll make sure to report them there.

 

Maybe people haven't had time to try out v10 extensively yet and are holding on to Xan when they do, as you say? I don't remember running across this issue with v9. It's strange though: the invisibility was the problem the first time around, so somehow, he did manage to get to the Government District at that point. Does that piece of code you mentioned have to be repeated every Chapter? Because that could explain why it worked in Chapter 3, but not in Chapter 6.

 

Anyways, thanks, and glad I could help!

Link to comment

It's not depending on the chapter and was the same in each version. I don't fully know how exactly EscapeArea() works when MoveGlobal() is placed AFTER it: it may not work at all(it didn't in your test or in my test), or it may work intermitently.

 

In any case, I checked and this code was present in the very first version, so it's the same in v1, v9 or v10. I suppose I should just go and release v11 - maybe add some crossmod for Sellswords, while I'm at it.

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...