Is there any way of installing this if you're not running windows.
I've tried running your installer through wine on Linux but it wont accept my tf2 folder.
Is there any set of files i can copy into /tf/custom/ or something to install it manually?
I've tried running your installer through wine on Linux but it wont accept my tf2 folder.
Is there any set of files i can copy into /tf/custom/ or something to install it manually?
Uks2Is there any way of installing this if you're not running windows.
I've tried running your installer through wine on Linux but it wont accept my tf2 folder.
Is there any set of files i can copy into /tf/custom/ or something to install it manually?
You need to download a custom VPK file that he made and put it in your customs folder
I've tried running your installer through wine on Linux but it wont accept my tf2 folder.
Is there any set of files i can copy into /tf/custom/ or something to install it manually?[/quote]
You need to download a custom VPK file that he made and put it in your customs folder
should anyone want to customize these viewmodels themselves, it's possible.
go to yttrium's github where he has the files' source. under the source folder, there are a bunch of .qc files and a bunch of anims folders. save all of these.
the .smd files are the actual animations, and you'll be editing them with your text editor of choice. the .qc files are like a .vmt file, but for animations. the ones yttrium supplies work perfectly.
should you want to get back any animations that yttrium hid, open up tf2_misc_dir.vpk in your tf folder and go to models/weapons/c_models. these are the stock animations in .mdl form. you'll have to decompile them with crowbar to get at the .smd files.
now that you've got all that out of the way, you can start hiding animations. crack open an .smd file with notepad++. before doing anything else, go to settings/preferences and then tab settings. set the size to 2 and check the replace with spaces box. this is to preserve the original formatting. take note of the number of bones in the animation under the nodes section at the top and the number of frames in the animation near the bottom. run this shitty python script, replacing the numbers next to bonecount and ticks with the number of bones and the number of frames respectively. paste the output over all the animation's frames and indent like the original file. you just replaced that animation with a new one that moves the viewmodel offscreen. repeat this process for every .smd animation you want to hide. this is what your .smd file should resemble, varying with the number of frames and bones.
once you're happy with what you've done, you need to compile your .smd files into a .mdl file. luckily, the tools to do so are bundled with tf2. go to steamapps/common/Team Fortress 2/bin and scroll down until you see studiomdl. it's an .exe file that takes .qc files as input. split-screen your c_models folder and the bin folder and drag the .qc files for every class you modified onto studiomdl.exe. it'll send all your .mdl files over to your tf folder, under models. grab those, make folders to match the path models/weapons/c_models as necessary, and drag your new models folder onto vpk.exe in your bin folder. it'll create a .vpk folder with your new animations in it. put that in your custom and, if you followed this guide correctly, it'll work like a charm.
go [url=https://github.com/Yttrium-tYcLief/CompetitiveViewmodels/]to yttrium's github[/url] where he has the files' source. under the source folder, there are a bunch of .qc files and a bunch of anims folders. save all of these.
the .smd files are the actual animations, and you'll be editing them with your text editor of choice. the .qc files are like a .vmt file, but for animations. the ones yttrium supplies work perfectly.
should you want to get back any animations that yttrium hid, open up tf2_misc_dir.vpk in your tf folder and go to models/weapons/c_models. these are the stock animations in .mdl form. you'll have to decompile them with crowbar to get at the .smd files.
now that you've got all that out of the way, you can start hiding animations. crack open an .smd file with notepad++. before doing anything else, go to settings/preferences and then tab settings. set the size to 2 and check the replace with spaces box. this is to preserve the original formatting. take note of the number of bones in the animation under the nodes section at the top and the number of frames in the animation near the bottom. run [url=http://pastebin.com/sM0TZDQS/]this shitty python script,[/url] replacing the numbers next to bonecount and ticks with the number of bones and the number of frames respectively. paste the output over all the animation's frames and indent like the original file. you just replaced that animation with a new one that moves the viewmodel offscreen. repeat this process for every .smd animation you want to hide. [url=http://pastebin.com/PzcJ81sd/]this is what your .smd file should resemble, varying with the number of frames and bones.[/url]
once you're happy with what you've done, you need to compile your .smd files into a .mdl file. luckily, the tools to do so are bundled with tf2. go to steamapps/common/Team Fortress 2/bin and scroll down until you see studiomdl. it's an .exe file that takes .qc files as input. split-screen your c_models folder and the bin folder and drag the .qc files for every class you modified onto studiomdl.exe. it'll send all your .mdl files over to your tf folder, under models. grab those, make folders to match the path models/weapons/c_models as necessary, and drag your new models folder onto vpk.exe in your bin folder. it'll create a .vpk folder with your new animations in it. put that in your custom and, if you followed this guide correctly, it'll work like a charm.
then lol there's a reason this doesn't work on Linux. Even if you were to try running it with WINE I think its DLLs are too deeply rooted in Win32 to load properly.
Again, just tell me what you want disabled and I'll make VPKs for you. It takes like, a single minute of my time.
Again, just tell me what you want disabled and I'll make VPKs for you. It takes like, a single minute of my time.
do you think you could eventually center viewmodels with this as well? i'm not to familiar with smd files, otherwise i'd do it myself. This is as close as I could get using $origin in soldier_animations.qc, but i dont believe you can do this for each animation like you can with an smd edit:
as good as this looks, it applies for every soldier animation, and breaks reload and equip animations.
[spoiler][img]http://images.akamai.steamusercontent.com/ugc/262716559709255007/AA1780BCFE9EF30F8404CF492D94EF567F0B0D6C/[/img][/spoiler]
as good as this looks, it applies for every soldier animation, and breaks reload and equip animations.
Paladin_IMSdo you think you could eventually center viewmodels with this as well? i'm not to familiar with smd files, otherwise i'd do it myself. This is as close as I could get using $origin in soldier_animations.qc, but i dont believe you can do this for each animation like you can with an smd edit:
Show Content
as good as this looks, it applies for every soldier animation, and breaks reload and equip animations.
Yeah, what's going to have to happen is I'm gunna have to create alternate SMDs just for centering, and make that a separate option. It'll definitely happen but not for awhile. I'll probably use SFM if I can find a proper pipeline for that.
[spoiler][img]http://images.akamai.steamusercontent.com/ugc/262716559709255007/AA1780BCFE9EF30F8404CF492D94EF567F0B0D6C/[/img][/spoiler]
as good as this looks, it applies for every soldier animation, and breaks reload and equip animations.[/quote]
Yeah, what's going to have to happen is I'm gunna have to create alternate SMDs just for centering, and make that a separate option. It'll definitely happen but not for awhile. I'll probably use SFM if I can find a proper pipeline for that.
yttriumthen lol there's a reason this doesn't work on Linux. Even if you were to try running it with WINE I think its DLLs are too deeply rooted in Win32 to load properly.
Again, just tell me what you want disabled and I'll make VPKs for you. It takes like, a single minute of my time.
Thanks for offering but I think it do it through a virtual machine or something, that way I know I can change it if need be.
Again, just tell me what you want disabled and I'll make VPKs for you. It takes like, a single minute of my time.[/quote]
Thanks for offering but I think it do it through a virtual machine or something, that way I know I can change it if need be.
yttriumYeah, what's going to have to happen is I'm gunna have to create alternate SMDs just for centering, and make that a separate option. It'll definitely happen but not for awhile. I'll probably use SFM if I can find a proper pipeline for that.
alright, cool. i'm just going to try and fuck around with them in blender and see if I can figure out how to do it that way
Yeah, what's going to have to happen is I'm gunna have to create alternate SMDs just for centering, and make that a separate option. It'll definitely happen but not for awhile. I'll probably use SFM if I can find a proper pipeline for that.[/quote]
alright, cool. i'm just going to try and fuck around with them in blender and see if I can figure out how to do it that way
Uks2yttriumthen lol there's a reason this doesn't work on Linux. Even if you were to try running it with WINE I think its DLLs are too deeply rooted in Win32 to load properly.
Again, just tell me what you want disabled and I'll make VPKs for you. It takes like, a single minute of my time.
Thanks for offering but I think it do it through a virtual machine or something, that way I know I can change it if need be.
Okay, then I'll make this easy for you. When looking for the "Team Fortress 2" folder it expects to find vpk.exe and studiomdl.exe under the Team Fortress 2/bin folder. It doesn't care about anything else. Now, those executables do need their corresponding dlls - so here's a zip of a Win32 bin folder. Much lighter than downloading a full TF2 install. Then just copy its output from tf/custom/compviewmodels.vpk.
Again, just tell me what you want disabled and I'll make VPKs for you. It takes like, a single minute of my time.[/quote]
Thanks for offering but I think it do it through a virtual machine or something, that way I know I can change it if need be.[/quote]
Okay, then I'll make this easy for you. When looking for the "Team Fortress 2" folder it expects to find vpk.exe and studiomdl.exe under the Team Fortress 2/bin folder. It doesn't care about anything else. Now, those executables do need their corresponding dlls - so [url=http://puu.sh/q7Npl/bb8145227c.zip]here's a zip of a Win32 bin[/url] folder. Much lighter than downloading a full TF2 install. Then just copy its output from tf/custom/compviewmodels.vpk.
Any idea what type of pure serveme.tf uses?
Most lobbies / team leaders use it for servers, so if the mod doesn't work on those it'd be a bit depressing
Most lobbies / team leaders use it for servers, so if the mod doesn't work on those it'd be a bit depressing
Depends on the league config that the person who makes the reservation picks.
UGC uses sv_pure 2 but they don't seem to include an sv_pure whitelist, which means it might be blocked unless the server is configured to allow it. ETF2L also seems to use sv_pure 2 without providing their own whitelist.
I'm going to see about contacting both of these leagues to check if they can adopt Valve's whitelist for future seasons, so that this mod works.
I do know that the mod at least works on Pugchamp. I haven't tested it elsewhere yet.
UGC uses sv_pure 2 but they don't seem to include an sv_pure whitelist, which means it might be blocked unless the server is configured to allow it. ETF2L also seems to use sv_pure 2 without providing their own whitelist.
I'm going to see about contacting both of these leagues to check if they can adopt Valve's whitelist for future seasons, so that this mod works.
I do know that the mod at least works on Pugchamp. I haven't tested it elsewhere yet.
Can anyone with Windows run CompVMInstaller.exe and then just share the resulting compviewmodels.vpk with Linux/Mac users?
Yup, the output is platform agnostic.
The Windows user will need a full install of TF2 though because CompVMInstaller relies on the bundled SDK tools.
The Windows user will need a full install of TF2 though because CompVMInstaller relies on the bundled SDK tools.
can I get a vpk that just hides all the arms/hands for every class and leaves the weapon models the way they are
especially the stupid disembodied hand on the original
especially the stupid disembodied hand on the original
Not yet, sorry. Right now I can disable things that are lower on the bone chain but not higher. For example, arms attach to the origin and then eventually down the chain the weapons attach to the arms. I can't remove something from the middle without also removing everything that attaches to it. It can be done in theory but I haven't yet solved a way to do it programmatically. So eventually yes but not yet.
yttriumI'm going to see about contacting both of these leagues to check if they can adopt Valve's whitelist for future seasons, so that this mod works.
Thanks for this, I'm tired of all these mods which only work on certain sv_pure 2 servers and not other sv_pure 2 servers, the idea of one universal white list for these things is amazing.
I'm going to see about contacting both of these leagues to check if they can adopt Valve's whitelist for future seasons, so that this mod works.
[/quote]
Thanks for this, I'm tired of all these mods which only work on certain sv_pure 2 servers and not other sv_pure 2 servers, the idea of one universal white list for these things is amazing.
yttriumDoes it happen if you remove the graphics config (and run autoconfig)?
It seems that if I launch the game and connect to a server with sv_pure 1 or less they load, even on sv_pure 2 servers later. However, connecting to sv_pure 2 servers first causes a bunch of errors, they don't load and they won't load later either when connecting to sv_pure 1 or less. Then I'll have to restart the game.
It seems that if I launch the game and connect to a server with sv_pure 1 or less they load, even on sv_pure 2 servers later. However, connecting to sv_pure 2 servers first causes a bunch of errors, they don't load and they won't load later either when connecting to sv_pure 1 or less. Then I'll have to restart the game.
I now see how it works very clever http://imgur.com/a/YMIRw
I run into some problems, see, I downloaded the installer, installed the viewmodels and everything work perfectly. (Mind you I'm on Windows 10). The next day I boot up tf2 and the viewmodels are back to normal for some reason. I tried reinstalling it again and the next day they broke again. Is it just me? Is there a way to fix it?
Please help, I really like this mod.
edit: After restarting tf2 4 times, it works. huh.
Please help, I really like this mod.
edit: After restarting tf2 4 times, it works. huh.
TatoI run into some problems, see, I downloaded the installer, installed the viewmodels and everything work perfectly. (Mind you I'm on Windows 10). The next day I boot up tf2 and the viewmodels are back to normal for some reason. I tried reinstalling it again and the next day they broke again. Is it just me? Is there a way to fix it?
Please help, I really like this mod.
edit: After restarting tf2 4 times, it works. huh.
Maybe you're having the same issue as me. Are you getting a bunch of model errors in console when it doesn't work? Try connecting to servers with sv_pure 1 and then try sv_pure 2. It's important that every single time you connect to a server you restart the game.
Please help, I really like this mod.
edit: After restarting tf2 4 times, it works. huh.[/quote]
Maybe you're having the same issue as me. Are you getting a bunch of model errors in console when it doesn't work? Try connecting to servers with sv_pure 1 and then try sv_pure 2. It's important that every single time you connect to a server you restart the game.
I'm going to look into these issues... sometime...
[img]http://i.imgur.com/yBkX7Bq.jpg[/img]
Can you guys send me a couple of IPs of servers where the viewmodels don't work?
tnmTF2Pickup EU DM#2
That server works fine for me across multiple reconnects and restarts.
Can you share your entire console with me when this bug starts happening? And can you upload your entire custom folder for me?
That server works fine for me across multiple reconnects and restarts.
Can you share your entire console with me when this bug starts happening? And can you upload your entire custom folder for me?
Same thing is happening to me
I haven't done a lot of testing but I think loading a listenserver when you start TF2 should make it work
I think all the times it didn't work after starting TF2 was when I didn't warm up offline first
Not 100% on this yet though. I can test it later
I haven't done a lot of testing but I think loading a listenserver when you start TF2 should make it work
I think all the times it didn't work after starting TF2 was when I didn't warm up offline first
Not 100% on this yet though. I can test it later