Author Topic: How to add catagories to the custom pallette  (Read 502 times)

Legacy_DM_Vecna

  • Hero Member
  • *****
  • Posts: 501
  • Karma: +0/-0
How to add catagories to the custom pallette
« on: September 29, 2010, 06:20:39 pm »


                How can you add catagories to the Custom Creature Pallette? Is there a downloadable tool for this?

Thanks!
               
               

               
            

Legacy_Lightfoot8

  • Hero Member
  • *****
  • Posts: 4797
  • Karma: +0/-0
How to add catagories to the custom pallette
« Reply #1 on: September 29, 2010, 07:00:19 pm »


               Catagories are added by editing the skeleton palette file.  the information for the palette is downloadable from Bioware here ==>  Documentation: ITP Format

You can use biowares GFF editor to edit the file.

Example Tool: Download GFF Editor (Win32 Only)



Note: if you edit the skeleton palette file from the Cep. you may want to double check where they have put palette ID's at. The last time i looked at one for there Palettes they had ID numbers on all branch nodes. ID numbers should only be placed on the leaf nodes. They also made the NEXT_USEABLE_ID field useless you can not count on the number stored in the field.
It has been a long time since i have looked at the files from the CEP hopefully they have correct the problem. still there ID's are not sequential. So it may take you a little work to find the ID's that are not being used.

Good luck.  

Good luck. 
               
               

               
            

Legacy_DM_Vecna

  • Hero Member
  • *****
  • Posts: 501
  • Karma: +0/-0
How to add catagories to the custom pallette
« Reply #2 on: September 29, 2010, 08:54:14 pm »


               Thanks, I think I figured it out.
               
               

               
            

Legacy_DM_Vecna

  • Hero Member
  • *****
  • Posts: 501
  • Karma: +0/-0
How to add catagories to the custom pallette
« Reply #3 on: September 30, 2010, 01:57:26 am »


               WEll, this is a bit harder than it seems. I have gotten my new catagories to show up but the actual titles do not seem to be showing, just empty nodes. It gets the name from the tlk file yes? Is there any trick to this that I am missing?
               
               

               
            

Legacy_Shadooow

  • Hero Member
  • *****
  • Posts: 7698
  • Karma: +0/-0
How to add catagories to the custom pallette
« Reply #4 on: September 30, 2010, 02:44:16 am »


               you must make here new entry in gff STRING called DELETE_ME with name yo want, if this entry is missing the toolset will try to get text from tlk on corresponding line you can set up in that other field.



Well cant tell you exactly now, but look into CEP Palettes they doing it there (at least CEP1 did!)
               
               

               
            

Legacy_Lightfoot8

  • Hero Member
  • *****
  • Posts: 4797
  • Karma: +0/-0
How to add catagories to the custom pallette
« Reply #5 on: September 30, 2010, 02:45:01 am »


               Yes.  Sorry I forgot to mention that.



It seems as if the local string option was never added to the clients.



In short you will have to use talk table entries for the category  names.
               
               

               
            

Legacy_DM_Vecna

  • Hero Member
  • *****
  • Posts: 501
  • Karma: +0/-0
How to add catagories to the custom pallette
« Reply #6 on: September 30, 2010, 03:21:14 am »


               Can you explain more what you mean by ",ake entry in gff STRING" ? I have made entries in Creaturepal.itp, as follows



name                    type               Value

----------------------------------------------------------

Entry 163              entry                1

-DELETE_ME        string            Awakening

-STRREF              UINT32          189048           (matches the tlk line)

-LIST                    LIST               (15)

- - Entry 166          ENTRY            0

- - - STRREF         UINT32          189036

- - - DELETE_ME   STRING         Tobaro

- - - ID                   uINT8             211



etc.



Thanks to anyone who can give me the nudge I need here.
               
               

               
            

Legacy_Shadooow

  • Hero Member
  • *****
  • Posts: 7698
  • Karma: +0/-0
How to add catagories to the custom pallette
« Reply #7 on: September 30, 2010, 03:25:59 am »


               I just checked it, in order to get local (not reffere to tlk) string, you must not use (or delete) STRREF entry.



And the DELETE_ME is CExoString in gff editor
               
               

               
            

Legacy_Lightfoot8

  • Hero Member
  • *****
  • Posts: 4797
  • Karma: +0/-0
How to add catagories to the custom pallette
« Reply #8 on: September 30, 2010, 04:06:21 am »


               

DM_Vecna wrote...

- - - STRREF UINT32 189036

Thanks to anyone who can give me the nudge I need here.



That StrRef  would be into the standard dialog.tlk file. It is undefined in a unmodified version of the talk table.  So unless you have modified the standerd table you are useing the wrong number. 


To Get the  189036th entry from the custom talk table you would have to add  16777216 to it.   so your StrRef would be 16966252 for the custom talk table.

I hope Shadows system works for you for the local strings.  I could never get them to work.  I may have to try playing around with it again later. 
               
               

               
            

Legacy_DM_Vecna

  • Hero Member
  • *****
  • Posts: 501
  • Karma: +0/-0
How to add catagories to the custom pallette
« Reply #9 on: September 30, 2010, 04:47:55 am »


               Thank you so much you two. You both help me quite a bit here on the forums.



For anyone else that has this problem:

Using the Leto 1.69 - advanced tools/editor

STRREF           STREF     yourcatagory (place this in through the text editor window

DELETE_ME     STRING   your_internal_name

ID                     UINT        (your next number in sequence)



This seemed to do the trick                

               
               

               
            

Legacy_DM_Vecna

  • Hero Member
  • *****
  • Posts: 501
  • Karma: +0/-0
How to add catagories to the custom pallette
« Reply #10 on: September 30, 2010, 05:01:32 am »


               *Edited* It is working as above, a typo threw me off for a second.
               
               

               


                     Modifié par DM_Vecna, 30 septembre 2010 - 04:46 .