Team Coloured Models.

Basically I need some one to explain how to work on ADDING colored variants to the TF2 weapons. I know this is possible as I've made a submission using Fade's edited/hacked Disguise kits. Which originally only use one Disguise kit texture. However this one uses two, so obviously THERE IS A WAY TO DO IT. Every other thread I've seen out there says "No it's impossible."

I've asked two of my friends that model, neither of them could get a method which works. Renaming vmt and vtf files with the _red and _blu/_blue extensions doesn't work, as off the bat the model's coding in the qc file won't be looking for those file types. I've decompiled and edited a qc file for example the Spy's revolver, to use red hands, blu hands, and v_revolver_red, v_revolver_blu but the closest I get when I recompile is a model, which can choose between Skin 1, and Skin 2 but it has the missing texture if I remove v_revolver, and always has Red sleeves.

The only thing I can think of, is opening the model in a modeling program itself and figuring out if you have to apply the texture in there. However I would be lost, as I don't actually remodel yet.

Next step is probably emailing some one from Valve, since if people really do know how to make team colored edits, they're doing a pretty good job keeping it secret.

Thanks to any one that helps. I'd probably do something for you when I buy ripe.

Oh noes! You're not a Member!

Want access to cool stuff? As a member you can:

  • Post. Give the submitter your thoughts on this Thread.
  • Say Thanks. Show your appreciation by sending the submitter points.
  • Stamp Posts. Let other posters know what you think of their posts.
  • Rate. Give this Thread a rating out of 10.
  • Flag. Alert moderators and warn members of a problem with this Thread.
  • Vote. Vote the submitter for the Monthly Awards.
  • Subscribe. Get notified when this submitter submits again.

Interested? Register or Login

  • You must be a member

Replies

  • 90SK avatar
    Availability
    Offline
    Points Level
    Drudge Points Level icon
    Drudge
    1,543 points
    Exemplary Feedback Level
    Helper Exemplary Feedback Level icon
    Helper
    7 EF's
    Account Age Level
    Elder Age Level icon
    Elder
    7 years old
    Clearance Level
    Treehouse VIP Clearance Level icon
    Treehouse VIP
    • Report icon
    6 years ago:

    I've done my own poking in regards to this issue, and I can't find anything. I though maybe hex editing the model would work... I actually haven't tried that yet, I kind of just assumed that it wouldn't work since I don't know how well the valve MDLs read in the hex editor I use. But if you have time to spare on it, maybe give it a look. Here's the link to the hex editor I use.

    Someone more savvy with TF2 models could probably clear this up. Valve can do it, I don't see why we couldn't as well given the right kind of knowledge.

    Human Male
  • Blacktm avatar
    Availability
    Offline
    Points Level
    Beggar Points Level icon
    Beggar
    85 points
    Exemplary Feedback Level
    Tutor Exemplary Feedback Level icon
    Tutor
    71 EF's
    Account Age Level
    Elder Age Level icon
    Elder
    7 years old
    Clearance Level
    Treehouse VIP Clearance Level icon
    Treehouse VIP
    • Report icon
    6 years ago:

    Thanks but your link 404's. I'll give this thread a few days then I'll try emailing the Valve guys themselves.

    Banned
  • Conro101 avatar
    Availability
    Offline
    Points Level
    Beggar Points Level icon
    Beggar
    154 points
    Account Age Level
    Elder Age Level icon
    Elder
    6 years old
    Clearance Level
    Member Clearance Level icon
    Member
    • Report icon
    6 years ago:

    Yeah, 90sk, please update your link.

    Recipeient of the Best Robot E avatar
    User Title
    Recipeient of the Best Robot E
  • aerial avatar
    Availability
    Offline
    Points Level
    Beggar Points Level icon
    Beggar
    1 points
    Exemplary Feedback Level
    Helper Exemplary Feedback Level icon
    Helper
    1 EF's
    Account Age Level
    Elder Age Level icon
    Elder
    9 years old
    Clearance Level
    Member Clearance Level icon
    Member
    • Report icon
    6 years ago:

    Fixed link

    BenBrooks.co.uk avatar
    User Title
    BenBrooks.co.uk
  • modderfreak avatar
    Availability
    Offline
    Points Level
    Merchant Points Level icon
    Merchant
    232,169 points
    Exemplary Feedback Level
    Helper Exemplary Feedback Level icon
    Helper
    17 EF's
    Account Age Level
    Elder Age Level icon
    Elder
    9 years old
    Clearance Level
    Member Clearance Level icon
    Member
    • Report icon
    6 years ago:
    Posted by 90SK Someone more savvy with TF2 models could probably clear this up.

    Someone called?

    You need to use the $texturegroup modifier, explained here.

    TF2-specific, you need to pay attention to the names of the textures - the model should use the red texture as default and the blue one as option. An example:

    $texturegroup skinfamilies { { "blade.vmt" , "glow.vmt" } { "blade_blue.vmt" , "glow_blue.vmt" } } }
    $texturegroup skinfamilies { { "blade.vmt" , "glow.vmt" } - red textures { "blade_blue.vmt" , "glow_blue.vmt" } - blue textures } }

    You can also align the code different, like this:

    $texturegroup skinfamilies { { "blade.vmt" "glow.vmt" } { "blade_blue.vmt" "glow_blue.vmt" } } }
    Respect is everything. avatar
    User Title
    Respect is everything.
  • aerial avatar
    Availability
    Offline
    Points Level
    Beggar Points Level icon
    Beggar
    1 points
    Exemplary Feedback Level
    Helper Exemplary Feedback Level icon
    Helper
    1 EF's
    Account Age Level
    Elder Age Level icon
    Elder
    9 years old
    Clearance Level
    Member Clearance Level icon
    Member
    • Report icon
    6 years ago:

    Awesome, Thanks a lot ModderFreak!

    BenBrooks.co.uk avatar
    User Title
    BenBrooks.co.uk
  • 90SK avatar
    Availability
    Offline
    Points Level
    Drudge Points Level icon
    Drudge
    1,543 points
    Exemplary Feedback Level
    Helper Exemplary Feedback Level icon
    Helper
    7 EF's
    Account Age Level
    Elder Age Level icon
    Elder
    7 years old
    Clearance Level
    Treehouse VIP Clearance Level icon
    Treehouse VIP
    • Report icon
    6 years ago:
    Posted by Conro101 Yeah, 90sk, please update your link.

    odd, it worked when I tried it last. ah well.

    but yeah, thanks a bunch modderfreak! I'll definitely have to try that out.

    Human Male
  • Blacktm avatar
    Availability
    Offline
    Points Level
    Beggar Points Level icon
    Beggar
    85 points
    Exemplary Feedback Level
    Tutor Exemplary Feedback Level icon
    Tutor
    71 EF's
    Account Age Level
    Elder Age Level icon
    Elder
    7 years old
    Clearance Level
    Treehouse VIP Clearance Level icon
    Treehouse VIP
    • Report icon
    6 years ago:

    Cheers man now I can finally do all those skin ideas I've had.

    Banned
  • BooGiTyBoY avatar
    Availability
    Offline
    Points Level
    Drudge Points Level icon
    Drudge
    1,924 points
    Account Age Level
    Elder Age Level icon
    Elder
    7 years old
    Clearance Level
    Member Clearance Level icon
    Member
    • Report icon
    6 years ago:
    Posted by modderfreak
    Posted by 90SK Someone more savvy with TF2 models could probably clear this up.
    Someone called? You need to use the $texturegroup modifier, explained here. TF2-specific, you need to pay attention to the names of the textures - the model should use the red texture as default and the blue one as option. An example:
    $texturegroup skinfamilies { { "blade.vmt" , "glow.vmt" } { "blade_blue.vmt" , "glow_blue.vmt" } } }
    $texturegroup skinfamilies { { "blade.vmt" , "glow.vmt" } - red textures { "blade_blue.vmt" , "glow_blue.vmt" } - blue textures } }
    You can also align the code different, like this:
    $texturegroup skinfamilies { { "blade.vmt" "glow.vmt" } { "blade_blue.vmt" "glow_blue.vmt" } } }

    Okay can someone show me this in an actual weapons vmt file? I can skin, I cant code for beans, haha. Im trying to do a first-person flamethrower with a red/blue v_ texture. I try to enter those lines replacing the file names and it keeps giving me an error on line whatever when I try to save it... so of course I'm doing something wrong with the brackets or something.

    Can I get a little noob-friendly help here?

    ThE ImPaCT-DaMpeNeD BooGeRaToR avatar
    User Title
    ThE ImPaCT-DaMpeNeD BooGeRaToR
  • RedRogueXIII avatar
    Availability
    Offline
    Points Level
    Drudge Points Level icon
    Drudge
    2,848 points
    Exemplary Feedback Level
    Guide Exemplary Feedback Level icon
    Guide
    26 EF's
    Account Age Level
    Elder Age Level icon
    Elder
    9 years old
    Clearance Level
    Treehouse VIP Clearance Level icon
    Treehouse VIP
    • Report icon
    6 years ago:
    Posted by BooGiTyBoY Okay can someone show me this in an actual weapons vmt file? I can skin, I cant code for beans, haha. Im trying to do a first-person flamethrower with a red/blue v_ texture. I try to enter those lines replacing the file names and it keeps giving me an error on line whatever when I try to save it... so of course I'm doing something wrong with the brackets or something. Can I get a little noob-friendly help here?

    Those commands are written in the .qc file of an uncompiled model, they won't work being put in a .vmt.

    Make all the things.
  • You must be a member

Submitter

Blacktm avatar
Availability
Offline
Points Level
Beggar Points Level icon
Beggar
85 points
Exemplary Feedback Level
Tutor Exemplary Feedback Level icon
Tutor
71 EF's
Account Age Level
Elder Age Level icon
Elder
7 years old
Clearance Level
Treehouse VIP Clearance Level icon
Treehouse VIP

Blacktm avatar
Blacktm

Stats

Post Count
20
ViewCount
6,243
Date Added
6 years ago
Date Modified
6 years ago

Share

Code to use:

More embeddable images

Bookmark and Share