Jump to content


Photo

NPC name not displaying


  • Please log in to reply
1 reply to this topic

#1 morpheus562

morpheus562
  • Modder
  • 1 posts

Posted 27 February 2010 - 07:02 PM

Hello all. I have been trying for the last couple hours to figure out why my NPC's name will not display. I followed ACE's guide, and I have searched the forums, but I cannot find the answer. I created my character Vonala in the game and exported her. I then used NearInfinity to create her CRE file. I then changed her override, default, death variable, and dialog fields respectively. I created the .d file and the conversations there work as intended. The AR0602.baf gets my character into the game exactly where I want her. And in my .tp2 file I use some of the following lines of code:

COPY ~Vonala/cre/VONALA.cre~ ~override/VONALA.cre~
SAY NAME1 ~Vonala~
SAY NAME2 ~Vonala~

I believe this should add her name to the character, but it doesn't. Her CRE in the override folder even has her name filled in correctly. The below should compile and add all the respective files I have created so far to the game:

// This is compiling Vonala's dialogue
COMPILE ~Vonala/d/M5Vonal.d~
COMPILE ~Vonala/d/M5VonaJ.d~

APPEND ~pdialog.2da~
~M5Vonal M5VonaP M5VonaJ M5VonaD~
UNLESS ~M5Vonal~
UNLESS ~25POST~

APPEND ~interdia.2da~
~M5Vonal M5VonaB~
UNLESS ~M5Vonal~
UNLESS ~25FILE~

APPEND ~pdialog.2da~
~M5Vonal M5VonaP M5VonaJ M5VonaD M5Von25P M5Von25J M5Von25D M5Vona25~
UNLESS ~M5Vonal~
IF ~25POST~

APPEND ~interdia.2da~
~M5Vonal M5VonaB M5VonB25~
UNLESS ~M5Vonal~
IF ~25FILE~

// This is adding our area file to the game
EXTEND_TOP ~AR0602.bcs~ ~Vonala/scripts/AR0602.baf~

However, no matter what I do, nothing seems to work. Any help is greatly appreciated, and thank you in advance.

#2 Miloch

Miloch

    Barbarian

  • Modder
  • 6579 posts

Posted 03 March 2010 - 03:19 PM

I then used NearInfinity to create her CRE file.

This is a big mistake (use DLTCEP to make CREs since NI can corrupt them) but probably not responsible for corrupting something so early in the CRE file. Then again, you want to make sure things like the "exportable" and "PC" flags aren't set - not sure if the tutorial covers that.

You might want to attach your entire tp2, or paste it in spoiler tags. The only other thing I can think of is if you do another COPY with the CRE later on, but I don't think that's the case.

Infinity Engine Contributions
Aurora * BG1 NPC * BG1 Fixpack * Haiass * Infinity Animations * Level 1 NPCs * P5Tweaks
PnP Free Action * Thrown Hammers * Unique Containers * BG:EE * BGII:EE * IWD:EE
================================================================
Player & Modder Resources
BAM Batcher * Creature Lister * Creature Checker * Creature Fixer * Tutu/BGT Area Map & List * Tutu Mod List
================================================================
"Infinity turns out to be the opposite of what people say it is. It is not 'that which has nothing beyond itself' that is infinite, but 'that which always has something beyond itself'." -Aristotle