Jump to content

Home

Editing text reference in the inventory


juleswindu

Recommended Posts

Originally posted by Hoa_Binh

 

And to edit them, look for the TLK editor in the NWN Vault homepage. Should work for the TLK files in KotOR too. [/b]

 

 

If that doesn't work, then there's no way to do it for KotOR yet that I would know of.

 

 

There's something else to keep in mind however. There was a similar limitation for many mods in NWN, and even there in a multiplayer game, most modders avoided actually changing this file.

 

Reason being... This is a LARGE file. And besides not wanting to take the time to download it (the thing is over 5 meg for KotOR, and I think it was considerably larger for NWN), a lot of people don't want to change it at all.

 

Like say I decide to make a custom item. So I add like 3 entries to the file. Ok fine.. now Jawa or someone makes a couple items. Well their items and my item happen to both use the same reference numbers. Hmm...

 

With a large file like this, you can see where it quickly gets messy, and why people wouldn't want to DL 5+ megs just so the spiffy new saber you made has unique text strings.

 

Now I'm not saying don't bother.. just pointing out that whenever modding in ways you think you'll ever want to actually release.. TRY very hard to never actually have to change dialog.tlk to do it. It's a good habbit to get into. ;)

 

-Kitty

Link to comment
Share on other sites

one more question. this works. but i am getting white squares in the black background of the gui. i am assuming there are coming after hard line breaks(you know hitting enter). anyone know how to get rid of them?

 

[EDIT] i got rid of them, but only by opening the gff for the emporium and copying out the marks used to make hard returns. does anyone know if this is a common keyboard character or where it is found, etc? i would hate to have to open another .gff everytime i want to change an item' s description.

Link to comment
Share on other sites

Originally posted by eidospsogos

[EDIT] i got rid of them, but only by opening the gff for the emporium and copying out the marks used to make hard returns. does anyone know if this is a common keyboard character or where it is found, etc? i would hate to have to open another .gff everytime i want to change an item' s description.

 

KotOR outputs text line breaks as newline (0x0A), à la UNIX. GFF Editor converts any text pasted as DOS format (carriage return 0x0C and then newline 0x0A). I've had to do the same kind of fiddling you did to get GFF Editor to take only newlines.

 

Andargor

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...