Team Fortress 2

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.

Share

Embed HTML:
Embed BB Code:
Embed Markdown:

More embeddable images

Bookmark and Share

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

Replies

  • You must be a member
  • 90SK avatar
    90SK avatar Offline
    2,407 points Ranked 1565th
    Member Joined 8 years ago
    • Report icon

    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
    Blacktm avatar Offline
    Member Joined 8 years ago
    • Report icon

    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
    Conro101 Offline
    186 points Ranked 14429th
    6 medals 3 rare
    • One month a member (bonus 1 point on daily login) Medal
    • 6 months a member  (bonus 1 point on daily login) Medal
    • 1 year a member (bonus 1 point on daily login) Medal
    • 2 years a member (bonus 2 points on daily login) Medal
    • 4 years a member (bonus 4 points on daily login) Medal
    • 6 years a member (bonus 6 points on daily login) Medal
    Member Joined 7 years ago
    • Report icon

    Yeah, 90sk, please update your link.

    Recipeient of the Best Robot E avatar
    User Title
    Recipeient of the Best Robot E
  • aerial avatar
    aerial Offline
    7 medals 3 rare
    • 1 post awarded Exemplary Feedback (bonus 1 point for posting) Medal
    • One month a member (bonus 1 point on daily login) Medal
    • 6 months a member  (bonus 1 point on daily login) Medal
    • 1 year a member (bonus 1 point on daily login) Medal
    • 2 years a member (bonus 2 points on daily login) Medal
    • 4 years a member (bonus 4 points on daily login) Medal
    • 6 years a member (bonus 6 points on daily login) Medal
    Member Joined 9 years ago
    • Report icon
  • modderfreak avatar
    modderfreak Offline
    232,219 points Ranked 13th
    Member Joined 10 years ago
    • Report icon
    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
    aerial Offline
    7 medals 3 rare
    • 1 post awarded Exemplary Feedback (bonus 1 point for posting) Medal
    • One month a member (bonus 1 point on daily login) Medal
    • 6 months a member  (bonus 1 point on daily login) Medal
    • 1 year a member (bonus 1 point on daily login) Medal
    • 2 years a member (bonus 2 points on daily login) Medal
    • 4 years a member (bonus 4 points on daily login) Medal
    • 6 years a member (bonus 6 points on daily login) Medal
    Member Joined 9 years ago
    • Report icon

    Awesome, Thanks a lot ModderFreak!

    BenBrooks.co.uk avatar
    User Title
    BenBrooks.co.uk
  • 90SK avatar
    90SK avatar Offline
    2,407 points Ranked 1565th
    Member Joined 8 years ago
    • Report icon
    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
    Blacktm avatar Offline
    Member Joined 8 years ago
    • Report icon

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

    Banned
  • BooGiTyBoY avatar
    BooGiTyBoY Offline
    1,924 points Ranked 1986th
    7 medals 3 rare
    • Reached 1,000 Points Medal
    • One month a member (bonus 1 point on daily login) Medal
    • 6 months a member  (bonus 1 point on daily login) Medal
    • 1 year a member (bonus 1 point on daily login) Medal
    • 2 years a member (bonus 2 points on daily login) Medal
    • 4 years a member (bonus 4 points on daily login) Medal
    • 6 years a member (bonus 6 points on daily login) Medal
    Member Joined 7 years ago
    • Report icon
    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
    RedRogueXIII Offline
    4,294 points Ranked 880th
    Member Joined 9 years ago
    • Report icon
    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.

Submitter

Blacktm avatar
Blacktm avatar Offline
Member Joined 8 years ago

Blacktm avatar
Blacktm

Category

Stats

Post Count
20
ViewCount
6,705
Date Added
7 years ago
Date Modified
7 years ago

More by Blacktm