Team Coloured Models.

Need some help.

By
Username
Blacktm
5 years ago

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.

20 posts 5,617 views
  • You must be a member

Replies

  • 90SK's Levels
    • P2: Drudge
      Points: 1,395
    • E1: Helper
      EF: 7
    • A6: Elder
      Account Age: 7 years
    Username
    90SK
    Posted 5 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's Levels
    • P1: Beggar
      Points: 85
    • E3: Tutor
      EF: 71
    • A6: Elder
      Account Age: 7 years
    Username
    Blacktm
    Posted 5 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's Levels
    • P1: Beggar
      Points: 154
    • A5: Veteran
      Account Age: 6 years
    Posted 5 years ago

    Yeah, 90sk, please update your link.

    User Title
    Recipeient of the Best Robot E
  • aerial's Levels
    • P1: Beggar
      Points: 1
    • E1: Helper
      EF: 1
    • A6: Elder
      Account Age: 8 years
    Posted 5 years ago

    Fixed link

    User Title
    BenBrooks.co.uk
  • modderfreak's Levels
    • P6: Merchant
      Points: 232,109
    • E1: Helper
      EF: 17
    • A6: Elder
      Account Age: 9 years
    Posted 5 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" } } }
    User Title
    Respect is everything.
  • aerial's Levels
    • P1: Beggar
      Points: 1
    • E1: Helper
      EF: 1
    • A6: Elder
      Account Age: 8 years
    Posted 5 years ago

    Awesome, Thanks a lot ModderFreak!

    User Title
    BenBrooks.co.uk
  • 90SK's Levels
    • P2: Drudge
      Points: 1,395
    • E1: Helper
      EF: 7
    • A6: Elder
      Account Age: 7 years
    Username
    90SK
    Posted 5 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's Levels
    • P1: Beggar
      Points: 85
    • E3: Tutor
      EF: 71
    • A6: Elder
      Account Age: 7 years
    Username
    Blacktm
    Posted 5 years ago

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

    Banned
  • BooGiTyBoY's Levels
    • P2: Drudge
      Points: 1,924
    • A6: Elder
      Account Age: 6 years
    Posted 5 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?

    User Title
    ThE ImPaCT-DaMpeNeD BooGeRaToR
  • RedRogueXIII's Levels
    • P2: Drudge
      Points: 3,803
    • E2: Guide
      EF: 25
    • A6: Elder
      Account Age: 8 years
    Posted 5 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