Other team color doesnt show up

character texture stays red instead of turning blue

By SalemFox 12 months ago

So i made my first mod (its a character mod) and it works just great, the problem is that i cant get it to change textures for the opposite team. so does anyone know how to like do that, im using 3ds max for this? or could anyone link me to a tutorial telling me how to do this.

9 posts 505 views
  • You must be a member

Replies

  • Corvalho's Levels
    • P3: Peasant
      Points: 10,469
    • E1: Helper
      EF: 7
    • C2: Treehouse Member
    • A4: Graduate
      Account Age: 2 years
    Username
    Corvalho
    Posted 12 months ago

    idk any tutorial you could follow, but that's basically it:

    -You make a base texture for each team

    -Add to your .qc file:

    $cdmaterials "models\player\some-folder\"
    $cdmaterials ""
    $texturegroup skinfamilies
    {
        {"models\player\some-folder\redtexture.vmt"
    }
        {"models\player\some-folder\blutexture.vmt"
    }
     }
    

    reminding that the texture applied to the model should be the red one, and it gotta have the same name as the one on the first skin family quote, in the case above: "redtexture.vmt"

    after that, just write a .vmt to each team and you are done.

    User Title
  • Devieus's Levels
    • P4: Worker
      Points: 25,492
    • E2: Guide
      EF: 26
    • C2: Treehouse Member
    • A4: Graduate
      Account Age: 3 years
    Username
    Devieus
    Posted 12 months ago

    Posted by Corvalho

    idk any tutorial you could follow, but that's basically it:

    -You make a base texture for each team

    -Add to your .qc file:

    $cdmaterials "models\player\some-folder\"
    $cdmaterials ""
    $texturegroup skinfamilies
    {
      {"models\player\some-folder\redtexture.vmt"
    }
      {"models\player\some-folder\blutexture.vmt"
    }
     }
    

    reminding that the texture applied to the model should be the red one, and it gotta have the same name as the one on the first skin family quote, in the case above: "redtexture.vmt"

    after that, just write a .vmt to each team and you are done.

    If you put it like that, it'll create some horrible and ugly issues.

     $cdmaterials "models\player\some-folder\"
     $cdmaterials ""
     $texturegroup skinfamilies
     {
        { "models\player\some-folder\redtexture" }
        { "models\player\some-folder\blutexture" }
    }
    

    The spaces there are extremely important and putting '.vmt' was never required.

    User Title
    Sentinel of the TV remote
  • Corvalho's Levels
    • P3: Peasant
      Points: 10,469
    • E1: Helper
      EF: 7
    • C2: Treehouse Member
    • A4: Graduate
      Account Age: 2 years
    Username
    Corvalho
    Posted 12 months ago

    Posted by Devieus

    stuff

    yeah, can be also simply written like this:

    $cdmaterials "models\player\some-folder\"
    $cdmaterials ""
    $texturegroup skinfamilies
    {
        { "redtexture" }
        { "blutexture" }
    } 
    User Title
  • Devieus's Levels
    • P4: Worker
      Points: 25,492
    • E2: Guide
      EF: 26
    • C2: Treehouse Member
    • A4: Graduate
      Account Age: 3 years
    Username
    Devieus
    Posted 12 months ago

    Either way will work, so basically you don't need fancy programs like 3ds max or photoshop to enable team coloring, just your favorite plain text editor.

    User Title
    Sentinel of the TV remote
  • SalemFox's Levels
    • P1: Beggar
      Points: 64
    • C1: Member
    • A2: Tenderfoot
      Account Age: 12 months
    Posted 12 months ago

    but the thing is thats what i did

    $cdmaterials "models\player\vector\"
    $cdmaterials ""
    $texturegroup skinfamilies
    {
        {"redtexture.vmt"
    }
        {"bluetextures.vmt"
    }

    i put just that and i have all the textures in the right folder, but it just stays using the red one. thats why i was asking if i had to like apply the textures inside of 3ds max so it knows to use both textures

    • Dumb x 1
    Bananite
  • Devieus's Levels
    • P4: Worker
      Points: 25,492
    • E2: Guide
      EF: 26
    • C2: Treehouse Member
    • A4: Graduate
      Account Age: 3 years
    Username
    Devieus
    Posted 12 months ago

    Go read my first reply again, seriously, you fell right into it.

    User Title
    Sentinel of the TV remote
  • SalemFox's Levels
    • P1: Beggar
      Points: 64
    • C1: Member
    • A2: Tenderfoot
      Account Age: 12 months
    Posted 12 months ago

    Posted by Devieus

    Go read my first reply again, seriously, you fell right into it.

    okay id hate to say this but ive tried exactly what you did, and it still did not change colors for the different team. on another note (if it may help) my model is set up so that like, a specific team color is applied to a specific spot (like say a wristband), and its not like a reskin of a character its like a full character replacement, and i only know how to apply one texture at one spot at a time. so i have reason to believe its my model

    Bananite
  • Devieus's Levels
    • P4: Worker
      Points: 25,492
    • E2: Guide
      EF: 26
    • C2: Treehouse Member
    • A4: Graduate
      Account Age: 3 years
    Username
    Devieus
    Posted 12 months ago

    Posted by SalemFox

    on another note (if it may help) my model is set up so that like, a specific team color is applied to a specific spot (like say a wristband), and its not like a reskin of a character its like a full character replacement.

    That's the problem right there then, in order for skin families to work, all textures must be replaced.

    User Title
    Sentinel of the TV remote
  • Nekture's Levels
    • P3: Peasant
      Points: 19,298
    • E1: Helper
      EF: 14
    • C3: Moderator
    • A5: Veteran
      Account Age: 6 years
    Username
    Nekture
    Posted 12 months ago

    Posted by Devieus

    Posted by SalemFox

    on another note (if it may help) my model is set up so that like, a specific team color is applied to a specific spot (like say a wristband), and its not like a reskin of a character its like a full character replacement.

    That's the problem right there then, in order for skin families to work, all textures must be replaced.

    Not exactly, but it complexifies things if you use multiple textures on the same model. The first line needs to include all texture names, the second all texture names for the other team in the same order. If some textures are shared, just pick up the first name. Also, don't forget there are also skinfamilies for ubers.

    This guide explains it better than I do.

    Remember this order of skin families for characters:

    • Red Team
    • Blu Team
    • Ubered Red Team
    • Ubered Blu Team
  • You must be a member