Jump to content


Photo

How to restore a familiar?


  • Please log in to reply
8 replies to this topic

#1 Ail

Ail
  • Member
  • 104 posts

Posted 07 November 2007 - 05:05 AM

Hi all,

recently, I have transitioned from BG1 to BG2 in a BGT game. Since I'm a mage, I had a familiar in my inventory in BG1, and when I escaped from my cage in BG2, I found in the container behind the painting my familiar, so I put it in my inventory. The problem, is that when I release the familiar it disappears from the inventory but does not appear on scene, as another NPC, so I eventually lost it.

So, I tried to cast Summon Familiar to make the game 'restart' this familiar thing. The problem is that it knows that a familiar already exists, so how can I make the game forget this? I found two variables, IHAVEFAMILIAR set at 2, and FAMPSD set at 1 that might be connected to it, but setting them at 0 or 1 did not allow me to re summon a familiar. Does anyone know how I can do it?

Thanks.

Alex

#2 Jolyth

Jolyth

    Feather Boa Wielding Dominatrix

  • Member
  • 2016 posts

Posted 07 November 2007 - 05:54 AM

I have never used a familiar, but have you tried cheating one in by using the CLUA console?

Life should NOT be a journey to the grave with the intention of arriving safely in an attractive and well preserved body, but rather to skid in sideways, Champagne in one hand, strawberries in the other, body thoroughly used up, totally worn out and screaming WOOHOO! What a Ride!

Some people are like slinkies. They are not really good for anything, but they still bring a smile to your face when you push them down a flight of stairs!!

Dyslexia of Borg: Your ass will be laminated

Solaufein Flirt Pack

3doctors1.gif


#3 Ail

Ail
  • Member
  • 104 posts

Posted 07 November 2007 - 06:15 AM

I have never used a familiar, but have you tried cheating one in by using the CLUA console?

Well, yes, that's what I was trying to do, but I don't know how to do it. I just tried to clear what I thought were the relevant variables and resummon it. I don't know anything else that might work.

Alex

#4 Jolyth

Jolyth

    Feather Boa Wielding Dominatrix

  • Member
  • 2016 posts

Posted 07 November 2007 - 06:53 AM

I am on my work computer so I do not have the code for the familiar, but press CTRL-SPACE and a console will pop up. Type CLUAConsole:CreateCreature("####"), where the #### is the code for the familiar. What kind did you have?

Hmm..now that I think about it, you may have to use CreateItem since it is usually an item in your pack right?

EDIT: Okay, yeah, use CreateItem. The following is a list of codes, depending upon what you had.

Cat: FAMCAT, FAMCAT25
Dust Mephit: FAMDUST, FAMDUS25
Fairy Dragon: FAMFAIR, FAMFAI25
Ferret: FAMFER, FAMFER25
Imp: FAMIMP, FAMIMP25
Pseudo Dragon: FAMPSD, FAMPSD25
Quasit: FAMQUAS, FAMQUA25
Rabbit: FAMRAB, FAMRAB25

The first code is the SoA code and the second it the ToB code

Edited by Jolyth, 07 November 2007 - 06:56 AM.

Life should NOT be a journey to the grave with the intention of arriving safely in an attractive and well preserved body, but rather to skid in sideways, Champagne in one hand, strawberries in the other, body thoroughly used up, totally worn out and screaming WOOHOO! What a Ride!

Some people are like slinkies. They are not really good for anything, but they still bring a smile to your face when you push them down a flight of stairs!!

Dyslexia of Borg: Your ass will be laminated

Solaufein Flirt Pack

3doctors1.gif


#5 Ail

Ail
  • Member
  • 104 posts

Posted 07 November 2007 - 08:45 AM

I am on my work computer so I do not have the code for the familiar, but press CTRL-SPACE and a console will pop up. Type CLUAConsole:CreateCreature("####"), where the #### is the code for the familiar. What kind did you have?

Hmm..now that I think about it, you may have to use CreateItem since it is usually an item in your pack right?

EDIT: Okay, yeah, use CreateItem. The following is a list of codes, depending upon what you had.

Cat: FAMCAT, FAMCAT25
Dust Mephit: FAMDUST, FAMDUS25
Fairy Dragon: FAMFAIR, FAMFAI25
Ferret: FAMFER, FAMFER25
Imp: FAMIMP, FAMIMP25
Pseudo Dragon: FAMPSD, FAMPSD25
Quasit: FAMQUAS, FAMQUA25
Rabbit: FAMRAB, FAMRAB25

The first code is the SoA code and the second it the ToB code


Well, I've tried it, but when I try to release the familiar, it simply disappears from the inventory, but does not appear as a controllable NPC. So, in effect, I lose the familiar. What I guess is that in the transition from BG1 the game treated the familiar simply as an item and forgot that it is something more than an item. There must be some more code or variable relating to this, no?

Thanks for the help.

Alex

Edited by Ail, 07 November 2007 - 08:50 AM.


#6 Jolyth

Jolyth

    Feather Boa Wielding Dominatrix

  • Member
  • 2016 posts

Posted 07 November 2007 - 11:06 AM

Well, that is the extent of my familiar knowledge. I am sorry I could not do more. How far are you into BG2? Could you possibly resend your PC to the new game and see if it works this time?

Life should NOT be a journey to the grave with the intention of arriving safely in an attractive and well preserved body, but rather to skid in sideways, Champagne in one hand, strawberries in the other, body thoroughly used up, totally worn out and screaming WOOHOO! What a Ride!

Some people are like slinkies. They are not really good for anything, but they still bring a smile to your face when you push them down a flight of stairs!!

Dyslexia of Borg: Your ass will be laminated

Solaufein Flirt Pack

3doctors1.gif


#7 Chevalier

Chevalier

    Knight of the Realms

  • Modder
  • 2405 posts

Posted 07 November 2007 - 02:45 PM

Ail,

Do you have a save from before the start of BG2? Try releasing the familiar and not in inventory when you transition to BG2. Not sure if it will work, just an idea.

I Ride for the King!


a.k.a. Chev


#8 Rabain

Rabain

    God

  • Member
  • 653 posts

Posted 07 November 2007 - 06:59 PM

When you release the Familiar from your backpack it sets a global. In the game script (baldur.bcs) this global is checked and a Familiar is spawned based on the relevant global (different for each type of Familiar).

If your global is FAMPSD (Psuedodragon Familiar), set it to 0 before releasing the Familiar. Then when you release it, it should spawn close to you. If not, check that the global has been set to 1.

Alternatively you could just try using MoveGlobalObject("fampsd",Player1) in the CLUA console.
A knight without armour in a savage land...

#9 Ail

Ail
  • Member
  • 104 posts

Posted 08 November 2007 - 06:01 AM

When you release the Familiar from your backpack it sets a global. In the game script (baldur.bcs) this global is checked and a Familiar is spawned based on the relevant global (different for each type of Familiar).

If your global is FAMPSD (Psuedodragon Familiar), set it to 0 before releasing the Familiar. Then when you release it, it should spawn close to you. If not, check that the global has been set to 1.

Alternatively you could just try using MoveGlobalObject("fampsd",Player1) in the CLUA console.



Well, I solved the problem, but it was quite something else, actually. Your post made me realize I had a wrong baldur.bcs that I copied over when I was trying to solve the transition from BG1 to BG2. I restored the other one and now the familiar works fine. Thanks all :-)

Alex