Jump to content


Mekelan

Member Since 08 Mar 2009
Offline Last Active Oct 22 2010 12:11 AM

Topics I've Started

Non-humanoid NPCs

10 March 2009 - 09:35 AM

Hi again, I have a question :)

Is there anything particular to be aware of if I plan to make a non-humanoid (specifically, a dog) NPC? I did try searching for non-humanoid, animal NPC and such with no success.

I'm not claiming this is a particularly original idea, but as I didn't find any non-humanoid NPCs around, it led me to think that maybe there's a reason for that... I'll class the dog as a Monk most likely, since the "unarmed" theme fits best with a creature that obviously is not going to use weapons.

BGTutu and NPCs - trouble with area codes

08 March 2009 - 01:40 PM

Hi everyone, I've been lurking around here reading tutorials and (in a very small way) started modding my installation of BGTutu.

I followed one of the NPC creation tutorials, and have got everything working (yay!) but I run into a problem when I try and "customize" the NPC a bit.

What I would like to do is add the NPC I've created to the Candlekeep area, outside the Inn (right next to the "spawn point" for the PC really).

However, when I get the area code (using ctrl-x) it reports FW2600, which appears to be a different format to the ones used for BG 2 (makes sense).

I can't really get the NPC to spawn. I've tried downloading a few of the BGTutu NPC mods, and poking around the code, but I haven't been able to figure it out.

I have tried searching, but there are many possible headings something like this could be under, and I haven't found it yet.

The NPC I'm creating is called Molly.

In my Setup-MF#MOL1.tp2 file, I have this:
EXTEND_TOP ~AR0602.BCS~ ~MF#MOL1/MF#CKeep.baf~

and inside MF#CKeep.baf I have this:
IF

Global("MOLLYExists","AR0602",0)

THEN

RESPONSE #100

SetGlobal("MOLLYExists","AR0602",1)

CreateCreature("MOLLY",[3076.2738],3)

END

As you can see, I've changed it to spawn inside Irenicus' prison, which works just fine (on a BG2 install). I did that to see if there was something fundamentally wrong with the code, but it appears to be the difference between BG1 and BG2 playing up.

I hope someone can help with this!

Thanks in advance,

Mekelan