Author Topic: CEP Item Appearance Numbers  (Read 307 times)

Legacy_BelowTheBelt

  • Hero Member
  • *****
  • Posts: 699
  • Karma: +0/-0
CEP Item Appearance Numbers
« on: June 28, 2011, 02:00:44 am »


               Hey all,

I currently use CEP 2.3 and am soon to upgrade to 2.4.  I have a random item creator as part of my treasure system and would like to expand it to add the different appearances offered in CEP as part of item creation.  Essentially, my question is where in the haks do I find those appearances and the associated appearance numbers?

I'm trying to find all appearances related to:
Cloaks
Robes
Shields
Armor
Weapons (top, middle, bottom)
Amulets
Gauntlets
Helm
Belt
Rings

So, I was digging in NWNExplorer and found the following:

  • CEP2_core0.hak, under Images/Icon/Inventory:  shields

  • CEP2_core3.hak, under Models/Pheno:  armor/body parts, robe

  • CEP2_core4.hak, under Textures, PLT: cloaks, helms

  • CEP2_core5.hak, under Images/Icon/Inventory:  shield, belt, boots, bracer, cloak, glove, amulets, ring, weapon parts

  • CEP2_top_v23, under GameData:  Baseitems.2da, cloakmodel, cepshieldmodel, parts_belt/bicep/chest/foot/etc...
My guess is that I don't need to reference or build a list using all of these, but I don't know which ones are the correct set or if there are others. 

Can someone let me know where I can pull appearance for these?

Thanks!
               
               

               
            

Legacy_Xardex

  • Sr. Member
  • ****
  • Posts: 414
  • Karma: +0/-0
CEP Item Appearance Numbers
« Reply #1 on: June 28, 2011, 10:25:15 am »


               Just modify the items in the toolset, all the parts are numbered there, and these are the numbers the scripts will recognize them as. Write down the appearance/part numbers you want and make your script randomly pick one of them. You can do this for every item and every part.
               
               

               


                     Modifié par Xardex, 28 juin 2011 - 09:26 .
                     
                  


            

Legacy_BelowTheBelt

  • Hero Member
  • *****
  • Posts: 699
  • Karma: +0/-0
CEP Item Appearance Numbers
« Reply #2 on: June 28, 2011, 08:04:52 pm »


               Thanks.

I knew I could do that, but I'm looking for something quicker than manually pulling all the items in the toolset and then writing down all the available appearance numbers - especially for the vast number of item types I'm lookin to include.  There's gotta be a quicker way, which is why I thought to look directly in the haks.  

Thanks!
               
               

               
            

Legacy_Khuzadrepa

  • Sr. Member
  • ****
  • Posts: 347
  • Karma: +0/-0
CEP Item Appearance Numbers
« Reply #3 on: June 28, 2011, 08:32:22 pm »


               Let the baseitems.2da be your guide. '<img'>

Under the 'Itemclass' category, it lists the base model name for most items. For example, on the 'torch' line 15, you'll see the 'Itemclass' listed as 'it_torch'. All torch models then have to be named 'it_torch_' plus some number.

I think the only exceptions on your list are armor, cloaks, robes, and weapons. For weapons, you'll have the exact same structure, except between the 'Itemclass' name and the number you'll have a 'b', 'm', or 't' (for bottom, middle, top) respectively. So a longsword middle would be 'WSwLs_m_' plus whatever number.

For cloaks, robes, and armor parts, they use a system like this:
'pma0_cloak_001'
You have to break down the beginning group as follows:
The 'm' stands for male, so there is also 'f' for female. The 'a' signifies the race of the wearer, which in this case is halfling (human/half-elf already got 'h'.) The rest are self-explanatory: 'd', 'e', 'g', and 'o'.  Then the zero refers to the phenotype, which is zero for normal, and 2 for large (amongst newer ones added by horses and custom content.)
So on a robe, instead of where it says 'cloak' it will say 'robe', and for armor parts it will be the name of the part, like 'bicep'.

I typed this quickly as I had to go out the door, but I think it's right.  I hope that all makes sense and that it helps!
Cheers,
Khuzadrepa
               
               

               


                     Modifié par Khuzadrepa, 29 juin 2011 - 04:55 .
                     
                  


            

Legacy_Xardex

  • Sr. Member
  • ****
  • Posts: 414
  • Karma: +0/-0
CEP Item Appearance Numbers
« Reply #4 on: June 28, 2011, 09:09:43 pm »


               Its either the complex or the simple way. Anyhow, I did it by going through all of them, it didn't take a day and I actually found it interesting, seeing all the fancy CEP stuff. Also, if you care about how your items will look like this is the way you have to do it. (You know, CEP does include lightsabers...)
               
               

               


                     Modifié par Xardex, 28 juin 2011 - 08:09 .