Results 1 to 7 of 7

Thread: Cloning Models

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Default Cloning Models

    So, has anyone firgured out a quick way to change the texture that a model uses because this alone would allow retexures to be much more in depth because we can clone the model and give it several different textures.
    http://www.twcenter.net/forums/showthread.php?t=260572

    Game Scripter @ Reverie World Studios

  2. #2
    S-te-Fan's Avatar Primicerius
    Join Date
    Jun 2008
    Location
    Diessen, The Netherlands, Near the belgium border.
    Posts
    3,905

    Default Re: Cloning Models

    Isn't that done already in the UV map? At least for some units...

    And if you want to clone the model to make difference in textures then I can tell you that that's not possible withouth a model converter.

  3. #3
    Decanus
    Join Date
    Nov 2005
    Location
    Moscow, Russia
    Posts
    526

    Default Re: Cloning Models

    Quote Originally Posted by harshman_chris View Post
    So, has anyone firgured out a quick way to change the texture that a model uses because this alone would allow retexures to be much more in depth because we can clone the model and give it several different textures.
    It's been discovered a long time ago.

    For example, you want french line infantry to have wild geese model and your own texture on it. What do you do:

    1. Retexture the wild geese_diffuse, normal or gloss_map
    2. Rename wild geese texture files to your custom name - french_line_diffuse for example. Do the same with gloss_map and normal files.
    3. Add 4 lines to warscape_lod_animated tables. For example - " -678634826 | unitmodels/wild_geese_lod1.variant_weighted_mesh| french_line" the first number is random, the second is path to the meshes you want to use, the third is the "Model REF" in your unit_land_stat table.
    4. Add 1 line to warscape_animated tables - french_line | unitmodels/textures/french_line | animation
    5. Add "French_line" to the "Model" string in unit_land_stat table.

    That's all

  4. #4

    Default Re: Cloning Models

    Thanks, honestly is there a tutorial on that buryed somewere deep? Its not in the create your custom units that I saw.
    Whats the 3rd value of the four, most are 0, but some are nothing.

    The reason why I asked was I thought the textures were referenced in the model file.
    Last edited by harshman_chris; May 07, 2009 at 11:57 PM.
    http://www.twcenter.net/forums/showthread.php?t=260572

    Game Scripter @ Reverie World Studios

  5. #5
    Decanus
    Join Date
    Nov 2005
    Location
    Moscow, Russia
    Posts
    526

    Default Re: Cloning Models

    Quote Originally Posted by harshman_chris View Post
    Thanks, honestly is there a tutorial on that buryed somewere deep? Its not in the create your custom units that I saw.
    Whats the 3rd value of the four, most are 0, but some are nothing.
    lod1 is 5
    lod2 is 10
    lod3 is 15
    lod4 is 0

    hope it helps.

    @ HellFell, if you do it like you've told you give the unit another model...
    you can use one mesh with different textures. Give it a try if you don't believe.

  6. #6

    Default Re: Cloning Models

    Is it just me or the faces reccouring to much i liked mtw2 they had tons of diffrent faces these just look to similiar ..... maybe someone or a patch may change that.. gl
    "only the mind of a warrior can be destroyed when its physically destroyed" Hunterman52

  7. #7
    S-te-Fan's Avatar Primicerius
    Join Date
    Jun 2008
    Location
    Diessen, The Netherlands, Near the belgium border.
    Posts
    3,905

    Default Re: Cloning Models

    @ HellFell, if you do it like you've told you give the unit another model...

Posting Permissions

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