Jump to content


Photo

.cre file


  • Please log in to reply
4 replies to this topic

#1 icelandismine

icelandismine

    Support your 2nd Amendment rights!

  • Member
  • 280 posts

Posted 29 June 2004 - 08:20 PM

I thought I had it all done.... (cries) I sent the file to my friend, who installed it.
Everything works great, banters, dialog...except the creature name. It uses the string reference that was created in DLTCEP. He has BP installed, so he has that string, but it obviously isn't right. I am only using the standard copy command in my TP2 file. How do I get it to right a new entry for my chaarcters name? I made him 100% from DLTCEP.
"What's wrong with being a trigger-happy, nationalistic, meat-eatin' neo-con who likes to shoot things, shoot 'em dead?"
-Me

"It is foolish and wrong to mourn the men who died. Rather we should thank God that such men lived."
- General George S. Patton

#2 hlidskialf

hlidskialf

    Incarnation of the Eternal Ale Warrior

  • Modder
  • 2510 posts

Posted 29 June 2004 - 11:21 PM

Depends on the install. YOu either need to have it exported in .tbg and have your friend import it so he gets the strref reference, or if you're using weidu to install it's a simple assigning of the text to the cre name during the copy procedure. (Many examples abound in every mod and the weidu readme and example files.)

Edit: Sorry I just reread your post (I'm sleepy) and noticed you're using a .tp2 for installation. Thus the latter is your means of getting it in there. Example:

COPY ~PlanarSphereMod/cre/PSQ09.cre~ ~override/PSQ09.cre~
SAY NAME1 ~Test Dummy~
SAY NAME2 ~Test Dummy~

Make sense?

The great wolf Fenrir gapes ever at the dwelling of the gods.


#3 BobTokyo

BobTokyo
  • Member
  • 1235 posts

Posted 29 June 2004 - 11:42 PM

I had the exact same problem with my Sapient Staff mod Hlid. I don't suppose that you would be willing to give a lengthier version of that explanation?

Maybe?

We need a begging emotocon.

#4 SConrad

SConrad

    I swear to drunk I'm not God

  • Administrator
  • 11148 posts

Posted 30 June 2004 - 03:49 AM

You must assign the name of the creature in the TP2-file. Here's an example from my NPC:
COPY ~KHA\Creatures\KHA.cre~ ~override\KHA.cre~
  SAY NAME1 @6 
  SAY NAME2 @6 
  SAY INITIAL_MEETING @7 
  SAY MORALE @8 
  SAY HAPPY @9 
  SAY UNHAPPY_ANNOYED @10 
  SAY UNHAPPY_SERIOUS @11 
  SAY UNHAPPY_BREAKING @12 
  SAY LEADER @13  
  SAY TIRED @14  
  SAY BORED @15 
  SAY BATTLE_CRY1 @16  
  SAY BATTLE_CRY2 @17  
  SAY BATTLE_CRY3 @18  
  SAY BATTLE_CRY4 @19  
  SAY BATTLE_CRY5 @20  
  SAY DAMAGE @21 
  SAY DYING @22  
  SAY HURT @23  
  SAY AREA_FOREST @24 
  SAY AREA_CITY @25
  SAY AREA_DUNGEON @26
  SAY AREA_DAY @27 
  SAY AREA_NIGHT @28
  SAY SELECT_COMMON1 @29
  SAY SELECT_COMMON2 @30
  SAY SELECT_COMMON3 @31 
  SAY SELECT_COMMON4 @32 
  SAY SELECT_COMMON5 @33 
  SAY SELECT_COMMON6 @34 
  SAY SELECT_ACTION1 @35 
  SAY SELECT_ACTION2 @36 
  SAY SELECT_ACTION3 @37
  SAY SELECT_ACTION4 @38 
  SAY SELECT_ACTION5 @39 
  SAY SELECT_ACTION6 @40 
  SAY SELECT_ACTION7 @41 
  SAY SELECT_RARE1 @42 
  SAY SELECT_RARE2 @43 
  SAY CRITICAL_HIT @44 
  SAY CRITICAL_MISS @45 
  SAY TARGET_IMMUNE @46 
  SAY INVENTORY_FULL @47 
  SAY PICKED_POCKET @48 
  SAY HIDDEN_IN_SHADOWS @49 
  SAY SPELL_DISRUPTED @50 
  SAY SET_A_TRAP @51 
  SAY BIO @52
Only, I use a tra-file. The lines you wish to add should be after the SAY *** part. For example:

SAY NAME1 ~My name~ 
  SAY NAME2 ~My name~
  ...
  SAY SELECT_COMMON1 ~Yes, what do you want from me?~
  etc.
You cannot assign the name in DLTCEP, if you want others to be able to install it. You need WeiDU to write the names to the dialog.tlk, which you do by using the above code in your tp2.

DLTCEP also updates your dialog.tlk, but only your specific dialog.tlk. Others won't be affected, unless you use WeiDU.

Edited by SConrad, 30 June 2004 - 03:50 AM.

Posted Image Khadion NPC mod - Team leader, head designer
Posted Image Hubelpot NPC mod - Team leader, coder
Posted Image NPC Damage - Coder
Posted Image PC Soundsets - Coder, voice actor
Posted Image Brythe NPC mod - Designer
Posted Image DragonLance TC - Glory of Istar - Designer
Posted Image The NPC Interaction Expansion Project - Writer for Cernd, Sarevok
Posted Image The Jerry Zinger Show - Producer

Iron Modder 5 - Winner


#5 BobTokyo

BobTokyo
  • Member
  • 1235 posts

Posted 30 June 2004 - 04:16 AM

Thanks. :)

I'm off to try to salvage my poor Sapient Staff . . .