Extract GR2 to Blender with mesh AND skeleton and re-export to GR2

I tried to create a Legion template with Nexus Buddy but the skeleton is messed up when animated.

The skeleton seems correct after the NB2 conversion.

attachment.php


Looks fine in Nexus Asset Viewer

attachment.php


Parts of it get twisted when animated

attachment.php


I created a new unit using your Immortal_Template blender file and was successful. I just can not produce any template files of my own.

I am running win7 if that has anything to do with it.

Thanks
 

Attachments

  • LegionSkeleton.jpg
    LegionSkeleton.jpg
    75.1 KB · Views: 560
  • Legion_unanimated.jpg
    Legion_unanimated.jpg
    74.2 KB · Views: 520
  • Legion_animated_twist.jpg
    Legion_animated_twist.jpg
    63.7 KB · Views: 517
Ekmek. Do you have Telerik controls on your PC?
 
I exported as br2 and converted to gr2. The mesh looks fine

attachment.php


Here is the model in asset viewer with no animations

attachment.php


Here is the same model w/ animations (idle)

attachment.php


Did the process 3x and came up with similar results

Here is the legion template I used

View attachment Legion.zip


:hmm:
 

Attachments

  • Legion_gr2.jpg
    Legion_gr2.jpg
    201.3 KB · Views: 529
  • Legion_nb2.jpg
    Legion_nb2.jpg
    32.9 KB · Views: 512
  • Legion_br2_animated.jpg
    Legion_br2_animated.jpg
    52 KB · Views: 541
It looks like you only have one mesh in your blend file where as I got 2 meshes. Weird as you obviously have the latest version of mod buddy and export scripts. I have attached my blend to compare.
 

Attachments

It looks like you only have one mesh in your blend file where as I got 2 meshes. Weird as you obviously have the latest version of mod buddy and export scripts. I have attached my blend to compare.

Sorry for the confusion. I joined the shovel and legion meshes together to create a single mesh. I redone all the steps and kept the meshes separate, just in case that had something to do with it, and still had the same results.

I used your blend file and everything worked fine.

attachment.php


So, something must be wrong when extracting the original gr2.

Thanks for for the blend file Wolfdog. It brings me closer to solving this issue.

:thanx:
 

Attachments

  • Legion_wolfdog.jpg
    Legion_wolfdog.jpg
    55.8 KB · Views: 485
I have not had any luck w/ solving this issue :(

In the mean time, could someone post some new templates? I would like to rig some meshes to their bones. The templates directly from civ 5 run better than the well appreciated custom templates.

I mostly need the horseman, pikeman, longbowman and composite bowman templates.

Thanks
 
I just did a test where I've imported a nb2 created by NexusBuddy2v6 and then imported into blender 2.49 then deleted some parts then exported the br2 and converted to a gr2. And this was the most successful one so far. I have yet to add parts. I am curious if some of the data gets messed up when you import another object because I remember civ4 nifs would get messed up if you imported a second skeleton. I wil continue testing (see this thread: http://forums.civfanatics.com/showthread.php?t=488092)
 
I am curious if some of the data gets messed up when you import another object because I remember civ4 nifs would get messed up if you imported a second skeleton.

Thanks for your response Ekmek. I was thinking the same thing thats why I joined the shovel with the legion to make a single mesh. I also imported a unit that was a single object (the scout) and had the same outcome as the legion.

I have had some success w/ different units. I was even able to convert the horseman :D

attachment.php



attachment.php



I guess some units work for me and others do not. :confused:

Some of the templates import w/ the bones twisted. Not sure how to rotate them in the correct position.

attachment.php


Bye the way, Kudos Ekmek on your leaderhead breakthroughs :thumbsup:

Thanks
 

Attachments

  • CompBow.jpg
    CompBow.jpg
    30 KB · Views: 457
  • horseman.jpg
    horseman.jpg
    59.7 KB · Views: 469
  • pike_rotbones.jpg
    pike_rotbones.jpg
    36.2 KB · Views: 453
I've noticed that all the bad exports seem to twist in the same areas of the models (shoulders, arms, hands, legs, and feet). They also twist in the same direction.


attachment.php
 

Attachments

  • 4twist.jpg
    4twist.jpg
    103 KB · Views: 480
are you rotated the skeleton back to the original position on export?

Yes, In blender before exporting as a br2. These are the steps I have taken:

Open nexusbuddy2.0 beta 6 and open a gr2.
Go to advanced and export as nb2.
Import nb2 into blender.
Rotate skeleton to fit into mesh (R,9,0,Enter,Tab)
Save as blend file in a working folder then export as br2.
In nexusbuddy open the newly created br2 and save as gr2.
I then edit the fxsxml to fit the name of the gr2 and the texture files.
 
hmmm.

sounds like the same I did for selaissie
- Did you rotate the skeleton in edit mode? (I'm sure you did)
- I syour NB2 in the same folder as your BR2 and blend file. I'm having ahunch when they are in different folder sthat the mapping gets lost (like my error with darius)
 
hmmm.

sounds like the same I did for selaissie
- Did you rotate the skeleton in edit mode? (I'm sure you did)
- I syour NB2 in the same folder as your BR2 and blend file. I'm having ahunch when they are in different folder sthat the mapping gets lost (like my error with darius)


Yes, I rotated the skeleton in edit mode.

No, my nb2 is actually in a different folder every time. That might be the problem. Ill test it and post the outcome.

Thank you Ekmek for helping me through this.
 
Rotate skeleton to fit into mesh (R,9,0,Enter,Tab)

Did you change you pivot point to 3D cursor as well. I am guessing you did as you say all the bones line up with mesh.

Does this only happen when you turn a multi-mesh unit into a single mesh or is it the same for originally single mesh units as well?
 
Back
Top Bottom