Author Topic: CC Request convert head to helm  (Read 670 times)

Legacy_Carcerian

  • Hero Member
  • *****
  • Posts: 1655
  • Karma: +0/-0
CC Request convert head to helm
« Reply #15 on: June 21, 2014, 01:28:37 pm »


               


Except Carcerian, that custom base item helmets are not possible without an engine hack which Sinfar probably won't make public as usually...




 


Incorrect, only standard hotu-1.69 scripting is needed to make them work.


 


(FYI: I actually made the first proto-type pictured above independently for Mav several months before i ever signed up for Sinfar's builder team)


 


In fact, I'm fairly certain they also pre-date the new SinfarX.dll/client loader technology by at least a year or more...


 


(Dll allows mdl scaling and tilting, and supports new body parts like torso2 etc, but heads2 are just helmets, the same as CEPs tiger/wolf helms)



               
               

               
            

Legacy_Shadooow

  • Hero Member
  • *****
  • Posts: 7698
  • Karma: +0/-0
CC Request convert head to helm
« Reply #16 on: June 21, 2014, 01:50:07 pm »


               

I would like to be wrong. So can you tell me how? I was not able to get a texture on custom helm neither in toolset or game with an exception of tga texture.



               
               

               
            

Legacy_Carcerian

  • Hero Member
  • *****
  • Posts: 1655
  • Karma: +0/-0
CC Request convert head to helm
« Reply #17 on: June 21, 2014, 01:54:04 pm »


               


I would like to be wrong. So can you tell me how? I was not able to get a texture on custom helm neither in toolset or game with an exception of tga texture.




 


Dunno there.... *shrugs*


 


They just use normal PLT's like all standard helmets do...


 


(While normally i try to be diplomatic, if in this case it truly makes you happy to hear so, then yes, I can honestly tell you that you are wrong '<img'>)



               
               

               
            

Legacy_Shadooow

  • Hero Member
  • *****
  • Posts: 7698
  • Karma: +0/-0
CC Request convert head to helm
« Reply #18 on: June 24, 2014, 01:47:50 pm »


               


Dunno there.... *shrugs*


 


They just use normal PLT's like all standard helmets do...


 


(While normally i try to be diplomatic, if in this case it truly makes you happy to hear so, then yes, I can honestly tell you that you are wrong '<img'>)




Can you post the scripting required then? I think I know what functions are you talking about but I hate reinventing a wheel so...



               
               

               


                     Modifié par Shadooow, 24 juin 2014 - 12:50 .
                     
                  


            

Legacy_Carcerian

  • Hero Member
  • *****
  • Posts: 1655
  • Karma: +0/-0
CC Request convert head to helm
« Reply #19 on: June 25, 2014, 06:34:11 am »


               

You just need to use:



object CopyItemAndModify(object oItem, int nType, int nIndex, int nNewValue, int bCopyVars=FALSE)
// Creates a new copy of an item, while making a single change to the appearance of the item.
// Helmet models and simple items ignore iIndex.
// iType                            iIndex                      iNewValue
// ITEM_APPR_TYPE_SIMPLE_MODEL      [Ignored]                   Model #
// ITEM_APPR_TYPE_WEAPON_COLOR      ITEM_APPR_WEAPON_COLOR_*    1-4
// ITEM_APPR_TYPE_WEAPON_MODEL      ITEM_APPR_WEAPON_MODEL_*    Model #
// ITEM_APPR_TYPE_ARMOR_MODEL       ITEM_APPR_ARMOR_MODEL_*     Model #
// ITEM_APPR_TYPE_ARMOR_COLOR       ITEM_APPR_ARMOR_COLOR_*     0-175

or work it into your craft tailor, the head2 gets changed like any other helmet...


               
               

               
            

Legacy_Estelindis

  • Hero Member
  • *****
  • Posts: 935
  • Karma: +0/-0
CC Request convert head to helm
« Reply #20 on: June 25, 2014, 09:55:37 am »


               


BTW, most popular NWN heads have already been converted by Mavrixio into fully PLT'd helmets, as part of the "Heads2" project...


 


The original Head-to-Helm Thread: http://forum.bioware...lmets-no-heads/


 


The Sinfar PW's Helmet Heads: http://sinfar.net/ha...far_head2_23.7z




 


I never would have expected my githyanki head to be considered popular.  Always thought it was a bit of a niche thing.  '<img'>  I originally made it for a henchperson in my eternally-in-development-hell module before a theme came up in the CCC that seemed appropriate for it.  '<img'>


               
               

               
            

Legacy_Jedijax

  • Hero Member
  • *****
  • Posts: 692
  • Karma: +0/-0
CC Request convert head to helm
« Reply #21 on: June 26, 2014, 06:39:00 am »


               

I have gone through the sinfar haks in order to get a better understanding of this system, and I must say it is brilliant! I am amazed at the ingenuity, which can also be seen applied to the _xchest models. Unfortunately, as I understand it, for this to work properly the system requires scripting, not something your usual player knows much about, and the head2's can't be seen in the toolset, which seriously hampers the creation of customized NPCs. I think this is marvelous in a PW setting, but not so much when it comes to single-player module design and modification by an end-user.


 


Still, kudos to you, Carcerian! It's amazing!