Author Topic: Help creating NPC for BG1  (Read 3310 times)

0 Members and 1 Guest are viewing this topic.

Offline Eridan

  • Newbie
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
    • Email
Help creating NPC for BG1
« on: July 11, 2012, 06:47:59 AM »
Hello everyone, i am new in this of modding and i've tried to make a NPC for BG1. Sadly then i realized that all the tutorials available i've found work for BGII. The problem i have is that when the party with the new NPC moves to another area or when i save the game it crashes.
This is my .tp2:

BACKUP ~Kaithlyn\Backup~
AUTHOR ~Eridan~
BEGIN ~Kaithlyn~

COPY ~Kaithlyn\Kaithlyn.cre~ ~override\Kaithlyn.cre~
SAY NAME1 ~Kaithlyn~
SAY NAME2 ~Kaithlyn~

COMPILE ~Kaithlyn\AR4000Ka.baf~

EXTEND_TOP ~AR4000.bcs~ ~Kaithlyn\AR4000ka.baf~

COPY_EXISTING ~baldur.gam~ ~override~
//ADD_GAM_NPC "Kaithlyn" "ar4000" #600 #2600

COMPILE ~Kaithlyn\Kaithlyn.d~

COMPILE ~Kaithlyn\Kaithlynp.d~

COMPILE ~Kaithlyn\Kaithlynj.d~

COMPILE ~Kaithlyn\Bkaithlyn.d~

APPEND ~pdialog.2da~
~Kaithlyn Kaithlynp Kaithlynj~
UNLESS ~Kaithlyn~

APPEND ~interdia.2da~
~Kaithlyn Bkaithlyn~
UNLESS ~Kaithlyn~

What else should i add to make it work properly?
Thanks.

Offline Solaufein

  • Lord of the Realms
  • Administrator
  • Level 5
  • *****
  • Posts: 5135
  • Karma: +127/-19
  • Gender: Male
  • Man against the Machine
    • ICQ Messenger - 251194643
    • Yahoo Instant Messenger - gscott7833
    • View Profile
    • http://teambg.net
Re: Help creating NPC for BG1
« Reply #1 on: July 11, 2012, 06:48:28 AM »
Hello everyone, i am new in this of modding and i've tried to make a NPC for BG1. Sadly then i realized that all the tutorials available i've found work for BGII. The problem i have is that when the party with the new NPC moves to another area or when i save the game it crashes.
This is my .tp2:

BACKUP ~Kaithlyn\Backup~
AUTHOR ~Eridan~
BEGIN ~Kaithlyn~

COPY ~Kaithlyn\Kaithlyn.cre~ ~override\Kaithlyn.cre~
SAY NAME1 ~Kaithlyn~
SAY NAME2 ~Kaithlyn~

COMPILE ~Kaithlyn\AR4000Ka.baf~

EXTEND_TOP ~AR4000.bcs~ ~Kaithlyn\AR4000ka.baf~

COPY_EXISTING ~baldur.gam~ ~override~
//ADD_GAM_NPC "Kaithlyn" "ar4000" #600 #2600

COMPILE ~Kaithlyn\Kaithlyn.d~

COMPILE ~Kaithlyn\Kaithlynp.d~

COMPILE ~Kaithlyn\Kaithlynj.d~

COMPILE ~Kaithlyn\Bkaithlyn.d~

APPEND ~pdialog.2da~
~Kaithlyn Kaithlynp Kaithlynj~
UNLESS ~Kaithlyn~

APPEND ~interdia.2da~
~Kaithlyn Bkaithlyn~
UNLESS ~Kaithlyn~

What else should i add to make it work properly?
Thanks.

You commented out the most important part of the installation when it comes to BG1 and adding NPCs. Remove the // from ADD_GAM_NPC "Kaithlyn" "ar4000" #600 #2600
My mods:
Dark Horizons
The Undying
Nikita
IWD2 store

Co-contributor:
Dark Side of the Sword Coast BG1 Weidu
Aurils Bane
Encounters
Saerileth
Baldur's Gate - Enhanced Edition beta tester
Baldur's Gate 2 - Enhanced Edition beta tester
Icewind Dale - Enhanced Edition beta tester

Offline Eridan

  • Newbie
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
    • Email
Re: Help creating NPC for BG1
« Reply #2 on: July 11, 2012, 06:48:29 AM »
I've fixed the problem, it is that the ADD_GAM_NPC function doesn't work properly. Even more, if you don't add the "//" it says syntax error with no reason. So i had to add some lines replacing the ADD_GAM_NPC.

Thanks anyway