Results 1 to 4 of 4

Thread: connecting .dds files to model names

Hybrid View

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

    Default connecting .dds files to model names

    I created my own diffuse.dds for a new uniform and I changed the Model Name of the officer that I want to have this uniform to correspond with the new diffuse.dds, but when I load up a battle the officer is invisible!

    the diffuse name is euro_colonel2_diffuse and in the battle_personalities_table I made my custom officer unit have the Model Name euro_colonel2.

    However, it seems to me that I am missing a step where you somehow direct the Model Name (euro_colonel2, for example) to get its texture from a specific .dds file (euro_colonel2_diffuse, for example).

    What might I be missing?

  2. #2
    ToonTotalWar's Avatar Indefinitely Banned
    Join Date
    Aug 2005
    Location
    Newcastle upon Tyne
    Posts
    1,733

    Default Re: connecting .dds files to model names

    Quote Originally Posted by spikepillow View Post
    I created my own diffuse.dds for a new uniform and I changed the Model Name of the officer that I want to have this uniform to correspond with the new diffuse.dds, but when I load up a battle the officer is invisible!

    the diffuse name is euro_colonel2_diffuse and in the battle_personalities_table I made my custom officer unit have the Model Name euro_colonel2.

    However, it seems to me that I am missing a step where you somehow direct the Model Name (euro_colonel2, for example) to get its texture from a specific .dds file (euro_colonel2_diffuse, for example).

    What might I be missing?
    You need to input the model into the warscape_animated_lod and the warscape_animated tables within your mod, make sure that you use the corresponding texture from the warscape_animated_lod file otherwise the unit will never show in game.
    Also ensure that the unit is in the units_stat_land table under the "Officer" entry

  3. #3

    Default Re: connecting .dds files to model names

    there we go! my custom texture is up and running! thanks man

  4. #4
    ToonTotalWar's Avatar Indefinitely Banned
    Join Date
    Aug 2005
    Location
    Newcastle upon Tyne
    Posts
    1,733

    Default Re: connecting .dds files to model names

    Quote Originally Posted by spikepillow View Post
    there we go! my custom texture is up and running! thanks man
    Great stuff, glad i could help!

Posting Permissions

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