Author Topic: adding an appearance type  (Read 361 times)

Legacy_Calous Caine

  • Newbie
  • *
  • Posts: 14
  • Karma: +0/-0
adding an appearance type
« on: October 07, 2011, 05:16:51 pm »


               Hello all, since i am having issues with this and can't really find much i figured I would post here.
There is an appearance type in the pallet, the [cep23] treant 2 (ccp)*, which I would like to add into my toolsets scripting library  per say so that I can use it in my scripts to add to the subrace engine as a selection to set a players appearance with out using letto.
Can some one please tell me how i might add this appearance to the list of selectable appearances?
               
               

               
            

Legacy_Xardex

  • Sr. Member
  • ****
  • Posts: 414
  • Karma: +0/-0
adding an appearance type
« Reply #1 on: October 07, 2011, 06:04:38 pm »


               If you are talking about adding a new "APPEARANCE_TYPE_..." to the regular list, I dont think its possible. You can create an include script where you define them as constant ints, but you'll need to find the appearance's line number in the 2da.

Find the cep's version of "appearance.2da", found in the cep 'top' haks. You can use NWN Explorer to browse the .hak and extract the .2da. (you can find it at nwvault) (Can't search text files with nwnexplorer, thats why you need to extract it and open it with nopepad/whatever)

Search for your appearance type. The line you find it in has a number before it. You can use the line number with the SetAppearance function or create constant ints like APPEARANCE_TYPE_TREANT = #;

It might sound difficult but once you get the tools and figure out how to use them, which isnt hard, it takes about 30 seconds to find that number.
               
               

               


                     Modifié par Xardex, 07 octobre 2011 - 05:07 .
                     
                  


            

Legacy_Rolo Kipp

  • Hero Member
  • *****
  • Posts: 4349
  • Karma: +0/-0
adding an appearance type
« Reply #2 on: October 07, 2011, 06:16:19 pm »


               <grins...>

It *is* a pretty nice model :-) Just be warned that the anims are pretty limited. I *really* hope your players don't get knocked down a lot :-/

For that reason, and the copyright issues (it was apparently ripped from WoW) I can't use it myself.  Such a pity :-(

<...outrageously>