Author Topic: setting something straight - Some Help with Heads  (Read 321 times)

Legacy_Wall3T

  • Hero Member
  • *****
  • Posts: 748
  • Karma: +0/-0
setting something straight - Some Help with Heads
« on: August 24, 2014, 12:26:53 am »


               

Hey everybody;


 


i found a headset i really enjoyed looking at, from the American revolution hak, which all work fine. However i get this with the female heads


 


whatswrong20_zps0895ee49.jpg


 


Does anyone know what causes this? i imagine its because its from an older neverwinter patch. Or does anyone know how to fix them? like do i need to realign them in nwnmax or something?



               
               

               
            

Legacy_MerricksDad

  • Hero Member
  • *****
  • Posts: 2105
  • Karma: +0/-0
setting something straight - Some Help with Heads
« Reply #1 on: August 24, 2014, 01:43:31 am »


               

in your head geometry (in gmax), attach your head stuff to a dummy located at 0,0,0.


 


Now move that dummy to [-0.114455,-2.421898,-3.864850]. You can do this with the maxscript listener by simply selecting your new dummy, then type this in the listener window and hit enter.



selection[1].position = [-0.114455,-2.421898,-3.864850]

That is the approximate offset between OC and HoTU for female heads. I don't know the exact number, but this is very very close.


 


Now parent your head parts back to the aurora base and delete the temporary dummy.


 


Export and your head should look fine.


 


If you have to perform this process on multiple heads, use this quick code in the listener window to affect all selected aurorabases.



for obj in selection do (
   if ((classof obj)==aurorabase) then (
      for child in obj.children do (
         child.position += [-0.114455,-2.421898,-3.864850]
      )
   )
)

You could also save that as a maxscript file and just run it when you needed it, like if you find more lower version heads you want to convert.


 


Edit:


 


Sorry, I forgot the listener window only takes single line commands, so try this one-liner:



for obj in selection do (if ((classof obj)==aurorabase) then (   for child in obj.children do (child.position += [-0.114455,-2.421898,-3.864850])))

               
               

               
            

Legacy_Wall3T

  • Hero Member
  • *****
  • Posts: 748
  • Karma: +0/-0
setting something straight - Some Help with Heads
« Reply #2 on: August 24, 2014, 11:38:27 pm »


               

cool, ill give that a try. thanks for the help. i should have some time to do that this week