Page 1 of 2 12 LastLast
Results 1 to 10 of 17

Thread: Import model from CoD4 using Tom's Xmodel Utils

  1. #1
    Global Mossaderator Mitch's Avatar
    Join Date
    Nov 2012
    Posts
    654
    Thanks
    204
    Thanked 450 Times in 305 Posts

    Import model from CoD4 using Tom's Xmodel Utils

    I have been trying to import a model from cod4 to cod2 using Tom's Xmodel Utils. It almost works, but i got one problem with the bones. I think it has something do to with the tag_weapon_left and right.


    (Click for bigger image)

    Tags
    http://znation.nl/files/spetsnaz_yuri_tags.html

    How can i fix this?

  2. #2
    Brigadier General
    Join Date
    Dec 2012
    Posts
    1,012
    Thanks
    440
    Thanked 171 Times in 132 Posts
    Did u follow serty's tut? Maybe you can post your model here

  3. #3
    Private
    Join Date
    Jul 2012
    Posts
    76
    Thanks
    9
    Thanked 56 Times in 38 Posts
    Yeah, I know that. I tried that exactly months ago and got the same result. In CoD2 bones have different names and there's a different number of bones, as well.
    I spent days trying to make that work and couldn't. So I, too, really hope people here got a solution.

  4. #4
    Global Mossaderator Mitch's Avatar
    Join Date
    Nov 2012
    Posts
    654
    Thanks
    204
    Thanked 450 Times in 305 Posts
    Quote Originally Posted by Peterlankton View Post
    Yeah, I know that. I tried that exactly months ago and got the same result. In CoD2 bones have different names and there's a different number of bones, as well.
    I spent days trying to make that work and couldn't. So I, too, really hope people here got a solution.
    I am replacing torso_stabilizer with j_spine1, back_low with j_spine2, back_mid with j_spine3. But i think the problem is that tag_weapon_left and right aren't binded somehow.

    I didn't follow serty's tutorial. I know how which bones i need to bind etc. But if i do it this way i don't need to paint and add the bones manual from the cod2 template. Because the painting goes always wrong.

    I followed pluxy's tutorial a while ago.


    (Click for bigger image)

    Maya files with images
    http://znation.nl/files/body_complet...tsnaz_yuri.rar
    http://znation.nl/files/body_mp_sas_urban_specops.rar

    with cod4 maya files
    Last edited by Mitch; 2nd July 2013 at 11:45.

  5. #5
    Sergeant serthy's Avatar
    Join Date
    Nov 2012
    Posts
    450
    Thanks
    96
    Thanked 296 Times in 188 Posts
    compare the skeleton!
    iirc cod4 uses 3 spine-bones and cod is built with 4. so it isnt just renaming..

  6. #6
    Private
    Join Date
    Jul 2012
    Posts
    76
    Thanks
    9
    Thanked 56 Times in 38 Posts
    Quote Originally Posted by Mitch View Post
    I am replacing torso_stabilizer with j_spine1, back_low with j_spine2, back_mid with j_spine3. But i think the problem is that tag_weapon_left and right aren't binded somehow.

    I didn't follow serty's tutorial. I know how which bones i need to bind etc. But if i do it this way i don't need to paint and add the bones manual from the cod2 template. Because the painting goes always wrong.

    I followed pluxy's tutorial a while ago.
    I guess, I did that, too. The problem does not necessarily seem to be the tag_weapon_xx, but way more the bone at the right shoulder. That bone gets placed somewhere near the left shoulder in-game. The tag_weapon_right just is not right, because it's a sub-bone(?).

  7. #7
    Global Mossaderator Mitch's Avatar
    Join Date
    Nov 2012
    Posts
    654
    Thanks
    204
    Thanked 450 Times in 305 Posts
    Quote Originally Posted by serthy View Post
    compare the skeleton!
    iirc cod4 uses 3 spine-bones and cod is built with 4. so it isnt just renaming..
    cod4: http://znation.nl/files/body_complet...yuri_tags.html
    currently what i got: http://znation.nl/files/spetsnaz_yuri_tags.html
    cod2: http://znation.nl/files/playerbody_a...dy01_tags.html

    Also see my previous post for the maya files.

    Edit: I think j_spinelower should be j_spine1 and j_spineupper j_spine2. But then j_spine3 is what i don't know and probably is what is the problem.
    Last edited by Mitch; 2nd July 2013 at 11:53. Reason: now same tags html file

  8. #8
    Private
    Join Date
    Jul 2012
    Posts
    76
    Thanks
    9
    Thanked 56 Times in 38 Posts
    If one of the j_spine(s) were the problem, then both arms(left and right) + the head would be wrong positioned, since it's their parent. So, what I'm saying is that only the right arm is wrong positioned and since the rest of the body is working correctly it can only be one of these bones to be not: j_clavicle_ri and/or j_shoulder_ri. Because when you position them manually in the xmodel_export, you might fix that. I tried that as well back then and, well, it worked somehow, but the arm was never perfect.

  9. #9
    Brigadier General
    Join Date
    Oct 2012
    Posts
    994
    Thanks
    20
    Thanked 588 Times in 388 Posts
    You only have 101 bones. There are 123 in COD2, and 125 in COD4. You must have gone wrong somewhere. You cannot ignore COD2's base character rig. You do so at your own peril.

    Follow serthy's tutorial. It is one of the best I have seen for COD2 model rigging.

  10. #10
    Global Mossaderator Mitch's Avatar
    Join Date
    Nov 2012
    Posts
    654
    Thanks
    204
    Thanked 450 Times in 305 Posts
    I am now using the template from cod2 and this works a lot better. I got almost the entire model working i only need to fix the legs.


    (Click for bigger image)

    Fixed =]: http://www.xfire.com/video/6043f7
    Last edited by Mitch; 2nd July 2013 at 20:20.

  11. The Following User Says Thank You to Mitch For This Useful Post:

    Ni3ls (3rd July 2013)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •