Author Topic: Robes and riding problems  (Read 1639 times)

Legacy_Vendel

  • Newbie
  • *
  • Posts: 18
  • Karma: +0/-0
Robes and riding problems
« on: September 13, 2010, 10:31:27 am »


               I am tinkering with some hakpaks (Feanor's armor) and using 1.69 horses.
When mounting a horse, wearing an armor that has a robe, 2 things can happen:
1) All works fine, with NWN robes and CEP robes
2) Using other hak pak robes, the robe goes underneath the horse, and "runs" as I move. The body parts covered by the robe are invisible on the mounted model,making for a very strange look.

What causes this behaviour? WHat has CEP (and Bioware) done to make their robes behave nicely with riding?

(Also, is there any way to enable shields being shown when riding normally?)
               
               

               
            

Legacy_Shadooow

  • Hero Member
  • *****
  • Posts: 7698
  • Karma: +0/-0
Robes and riding problems
« Reply #1 on: September 13, 2010, 10:57:17 am »


               These robes missing models for use with riding phenotype... You need modeller to fix it.
               
               

               
            

Legacy_Eradrain

  • Sr. Member
  • ****
  • Posts: 365
  • Karma: +0/-0
Robes and riding problems
« Reply #2 on: September 13, 2010, 11:02:58 am »


               The way clothes work in NWN is that they actually replace your character's body model when you equip them.



Obviously, models need to be animated in a 3d modeling program like 3D Studio Max.  The robes that don't conform to the riding phenotype haven't had an animation made.
               
               

               
            

Legacy_Vendel

  • Newbie
  • *
  • Posts: 18
  • Karma: +0/-0
Robes and riding problems
« Reply #3 on: September 13, 2010, 02:41:19 pm »


               So, it's a modelling issue? Not something I can fix with 2das, or by editing the MDL files with Notepad?
               
               

               


                     Modificata da Vendel, 13 settembre 2010 - 01:41 .
                     
                  


            

Legacy_Invisig0th

  • Sr. Member
  • ****
  • Posts: 279
  • Karma: +0/-0
Robes and riding problems
« Reply #4 on: September 13, 2010, 02:50:51 pm »


               

Vendel wrote...
So, it's a modelling issue? Not something I can fix with 2das, or by editing the MDL files with Notepad?


Yes, that is correct. The riding phenotypes may look like they simply "reuse" the standard robes, but under the hood those robe models have actually been duplicated and substantially adjusted to look right. For clothing created before the new horses were released by Bioware, you simply won't have models that look right, and making them look right is a substantial task.
               
               

               
            

Legacy_Calvinthesneak

  • Hero Member
  • *****
  • Posts: 1159
  • Karma: +0/-0
Robes and riding problems
« Reply #5 on: September 13, 2010, 04:05:11 pm »


               

Invisig0th wrote...

Vendel wrote...
So, it's a modelling issue? Not something I can fix with 2das, or by editing the MDL files with Notepad?


Yes, that is correct. The riding phenotypes may look like they simply "reuse" the standard robes, but under the hood those robe models have actually been duplicated and substantially adjusted to look right. For clothing created before the new horses were released by Bioware, you simply won't have models that look right, and making them look right is a substantial task.



To work perfectly, yes they'd need new animations.  To work close enough it's not that bad at all, you simply need to apply the right supermodel to the robe so it will sit in the right place.

Riding uses supermodel 3.

So your standard robe will have some code like this:

# Exported from NWmax 0.8 b60 at 7/19/2005 9:02:00 PM
# mdl file
#
#NWmax MODEL ASCII
# model: pfh0_robe108
#local file: Unknown
filedependancy Unknown
newmodel pfh0_robe108
setsupermodel pfh0_robe108 a_fa_skirt  <---------- supermodel here
classification Character
setanimationscale 1.0
#NWmax GEOM  ASCII
beginmodelgeom pfh0_robe108
node dummy pfh0_robe108
  parent NULL
endnode
node trimesh rootdummy
  parent pfh0_robe108
  position 0.000249158 -0.0325529 1.19227
  orientation 1.0 0.0 0.0 0.0
  wirecolor 0.541176 0.541176 0.541176
  tilefade 0
.........
.........
donemodel pfh0_robe108

What you need to do is replaced the animation set (Supermodel) with the bioware default one (pfh0).

Then do a search and replace through the entire ASCII text and replace all instances of pfh0 with pfh3.
               
               

               


                     Modificata da Calvinthesneak, 13 settembre 2010 - 03:12 .
                     
                  


            

Legacy_Calvinthesneak

  • Hero Member
  • *****
  • Posts: 1159
  • Karma: +0/-0
Robes and riding problems
« Reply #6 on: September 13, 2010, 04:07:59 pm »


               Your completed robe should look something like this afterwards:


# Exported from NWmax 0.8 b60 at 7/19/2005 9:02:00 PM
# mdl file
#
#NWmax MODEL ASCII
# model: pfh3_robe108
#local file: Unknown
filedependancy Unknown
newmodel pfh3_robe108
setsupermodel pfh3_robe108 pfh3
classification Character
setanimationscale 1.0
#NWmax GEOM ASCII
beginmodelgeom pfh3_robe108
node dummy pfh3_robe108
parent NULL
endnode
node trimesh rootdummy
parent pfh3_robe108
position 0.000249158 -0.0325529 1.19227
orientation 1.0 0.0 0.0 0.0
wirecolor 0.541176 0.541176 0.541176
tilefade 0
scale 1.0
render 0
Shadow 1
beaming 0
inheritcolor 0
rotatetexture 0
alpha 1.0
transparencyhint 0
selfillumcolor 0.0 0.0 0.0
ambient 0.0 0.0 0.0
Diffuse 0.0 0.0 1.0
Specular 0.0 0.0 0.0
shininess 8
center 0.0 5.06639e-006 0.0
bitmap rootdummy
verts 8
.........
.......
donemodel pfh3_robe108

               
               

               


                     Modificata da Calvinthesneak, 13 settembre 2010 - 03:08 .
                     
                  


            

Legacy_Calvinthesneak

  • Hero Member
  • *****
  • Posts: 1159
  • Karma: +0/-0
Robes and riding problems
« Reply #7 on: September 13, 2010, 04:11:23 pm »


               Now, if you have a large number of models to do, I suggest a program like useful file utilities, that can handle both file names and all internal references.  It is linked in the custom content tool stickes on this forum.
               
               

               
            

Legacy_Vendel

  • Newbie
  • *
  • Posts: 18
  • Karma: +0/-0
Robes and riding problems
« Reply #8 on: September 13, 2010, 04:14:08 pm »


               I have actually tried the above.

Set supermodel to pmh3 and done a Search and Replace. This did not help, though.
               
               

               
            

Legacy_Calvinthesneak

  • Hero Member
  • *****
  • Posts: 1159
  • Karma: +0/-0
Robes and riding problems
« Reply #9 on: September 13, 2010, 04:17:11 pm »


               You have to put the new MDL file into your hak remember, or at the very least in your override directory.  The file in my example case would be pfh3_robe108
               
               

               
            

Legacy_Khuzadrepa

  • Sr. Member
  • ****
  • Posts: 347
  • Karma: +0/-0
Robes and riding problems
« Reply #10 on: September 14, 2010, 06:31:06 am »


               So we really could make older custom robes compatible with horses?
               
               

               


                     Modificata da Khuzadrepa, 14 settembre 2010 - 05:31 .
                     
                  


            

Legacy_Calvinthesneak

  • Hero Member
  • *****
  • Posts: 1159
  • Karma: +0/-0
Robes and riding problems
« Reply #11 on: September 14, 2010, 09:02:02 am »


               Quite.



Here's the work I did, it's robes and cloaks both, for horses and ACP fighting styels.  It's obviously designed around use for the PW I work on, but feel free to look at it and/or try it.



http://74.52.167.77/...&root=ddmoonsea
               
               

               
            

Legacy_Khuzadrepa

  • Sr. Member
  • ****
  • Posts: 347
  • Karma: +0/-0
Robes and riding problems
« Reply #12 on: September 14, 2010, 02:50:05 pm »


               Thanks Cts, this will be very helpful!
               
               

               
            

Legacy_Faerinaal

  • Newbie
  • *
  • Posts: 21
  • Karma: +0/-0
Robes and riding problems
« Reply #13 on: July 30, 2016, 12:54:20 am »


               

Little bit of thread necromancy...


 


Does anyone have a fix for the additional robes and ride-able mounts?


 


It seems that a large number of the available robe models in CEP 2.6.1 produce this problem, but the standard robes seem to work just fine.  Seems the link and URL given above are long dead so hopefully someone has this... I shall cross my fingers!



               
               

               
            

Legacy_henesua

  • Hero Member
  • *****
  • Posts: 6519
  • Karma: +0/-0
Robes and riding problems
« Reply #14 on: July 30, 2016, 01:25:10 am »


               

Use Project Q for this sort of thing. Its far far better for dealing with phenotype and animation issues.