How to hex hats

A Tutorial for Team Fortress 2

learn to make a downloaded hat replace any hat

Ever downloaded a hat or misc item that didn't replace what you wanted it to? With this tutorial and the power of hexing this will no longer be a problem! ........................................................................................................................................................... Required software links: - GCFscape - XVI32 lets say i want to this hat to replace the Grenadier's Softcap; now this hat was made long before the Grenadier's Softcap was in the game so it can only replace older soldier hats, so we'll need to hex it. First step is easy, in this example we'll first install the gibus replacement by dragging the model and material folders into our tf folder. Then go into your model folder and navigate to where your hat is. in this case root/models/player/items/soldier, here we'll now find the "soldier\_domination" -files. Now you want to replace all the "soldier\_domination" to "grenadier\_softcap", make sure that you don't remove any "dx90"-lines or such just the "soldier\_domination" (the easiest way to know what filename a certain hat uses is to use the model viewer in source SDK (can be downloaded via steam)or GCFScape) Now you need to download a little program called XVI32. you can also use notepad/notepad++ but its safer to use XVI32 as having the wrong number of spaces/characters will "fuck up" the .mdl file; after installing XVI32 open it up and drag your "grenadier\_softcap.mdl" file into it. You'll see a bunch of code, near the beginning of the code that starts with "IDST" you'll see that it still says "soldier\_domination.mdl" this is the line that needs to be edited. Replace that with "grenadier\_softcap.mdl" just like before. In this case the previous name was one character longer then the new one (so you'll end up with "grenadier\_softcap.mdll") when this happens you need to go over to the other field and replace that last "6C" with "00" (underlined with red). MAKE SURE YOU DON'T REMOVE ANY LINES, KEEP YOUR FINGER OF THE BACKSPACE AND DELETE BUTTONS! now just save and you're done, if it doesn't work check for any misspelling thats usually the reason. if it still doesn't work redo it from the start. (if anything is unclear or anything like that PM me)
Sign up to access this!
1-10 of 14
1
Pages
  • 1
  • 2
Go to page:
  • i followed these instructions exactly several times and nothing works. There is no misspelling, however I did try to replace a pyro specific cosmetic with an allclass. Does this mean I have to change the "allclass" to "pyro" in the mdl? And does the name of the replacement file have to be exactly the same length of the original? Please help.
    Bananite
    URL to post:
  • frank..... avatar
    frank..... Joined 5y ago
    Offline
    125 points Ranked 27369th
    5y
    can you hex a skin that has only the materials? (this is a weird question and i know the answer is no)
    ʕ•ᴥ• ʔ I dun liek u..
    URL to post:
  • OkamiTakahashi avatar
    OkamiTakahashi Joined 8y ago
    Offline
    1,113 points Ranked 4783rd
    11 medals 1 rare
    • 6 years a member Medal icon
    • One month a member Medal icon
    • 6 months a member Medal icon
    • 1 year a member Medal icon
    • 2 years a member Medal icon
    • 4 years a member Medal icon
    7y
    What about hexing player models so they can be ported as separate addons for Gmod?
    TF2 player
    URL to post:
  • corruptPaladin avatar
    corruptPaladin Joined 7y ago
    Offline
    455 points Ranked 10746th
    7y
    Would this work with hexing custom particles?
    [cf] Corrupted Paladin
    URL to post:
  • Dackstrus avatar
    Dackstrus Joined 9y ago
    Offline
    7y
    How to turn a mod from Targe to Screen? The backpack's model updates, but the ingame model is completly gone. http://www.gamebanana.com/skins/82957
    Bananite
    URL to post:
  • blaholtzen avatar
    blaholtzen Joined 9y ago
    Offline
    157 points Ranked 23647th
    8y
    @StormriderShift I looked too, apparently the holy mackerel lies without its own folder in the c_weapons folder @Streetsurf94 the problem is that the revolver uses W and v models, while l'etranger uses a C model, you could try to hex it for both of the W and V but i'm not sure if that'd work... however valve is going to turn all weapons into C models soon, then it should be doable
    Im a Bagerpig avatar
    Mantra
    Im a Bagerpig
    URL to post:
  • StormriderShift avatar
    StormriderShift Joined 9y ago
    Offline
    2,517 points Ranked 2071st
    8y
    I tried using this to swap a sandman skin to replace the holy mackerel but when I was looking through GCFScape I couldn't find the folder the the model for the mackerel so I just made one in c_items called c_holymackerel. It unfortunately didn't work so would you suggest anything to help? the skin was team coloured as well so that probably didn't help much.
    Bananite
    URL to post:
  • hey cool tool, thx. but i have one problem. i tried to make a l'etrange model work for the revolver, and all that happened was the skin was placed on the revolver model. this is the l'etrange model i want, http://www.fpsbanana.com/skins/104242 does it not work because the l'etrange is a c_item and the revolver is a v_weapon?
    Bananite
    URL to post:
  • chubbs avatar
    chubbs Joined 9y ago
    Offline
    204 points Ranked 19814th
    8y
    I fucking love you mate. You deserve a medal.

    9.7

    URL to post:
  • blaholtzen avatar
    blaholtzen Joined 9y ago
    Offline
    157 points Ranked 23647th
    8y
    yes, in fact i think all the weapons you listed can be swapped with each other, demo, soldier, scout and pyro can all hold each others meele weapons (with some clipping in some cases though) for other weapons i think it works as long as they use the same animation
    Im a Bagerpig avatar
    Mantra
    Im a Bagerpig
    URL to post:

Embed

Share banner
Image URL
HTML embed code
BB embed code
Markdown embed code

Credits

Key Authors
blaholtzen
tutorial

Submitter

blaholtzen avatar
blaholtzen Joined 9y ago
Offline
157 points Ranked 23647th

blaholtzen
Creator
Sign up to access this!
Sign up to access this!
Sign up to access this!

Game

Sign up to access this!

Category

Details

Difficulty Level
Intermediate

Attributes

Share

  • Share on Reddit
  • Share on Twitter
  • Share on Facebook
  • Share on Google+
  • 19.8k Views
  • 14 Posts
  • 8ySubmitted
  • 5yModified

Scores

88 bScore
9.8 Rating

2 voters

Sign up to access this!

More Installation Tutorials

bcp.crwdcntrl.net tracking pixel