Ads keep us online. Without them, we wouldn't exist. We don't have
paywalls or sell mods - we never will. But every month we have large bills
and running ads is our only way to cover them. Please consider unblocking us. Thank you from GameBanana <3
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:
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)
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.
I looked too, apparently the holy mackerel lies without its own folder in the c_weapons folder
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
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.
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?
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