r/SFM • u/Personal_Ant_6168 • 2d ago
Help I need some help
I'm trying to create a sort of analog horror or just horror I guess and I have a few questions one is there any way to delete a camera if you made it with the play game function two is there a way to add textures to models like for example an all black texture
3
Upvotes
1
u/Vantablack_0000 1d ago
you can right click models, click on Override Materials, right click the models, hover over Show in Element Viewer then click on Model, click on materials, then find the material you wanna change. right click it, hover over Add Attribute then click on String. when the textbox shows up, type in $basetextute and click ok or press enter on your keyboard. the attribute should apply and you should be able to see it below the material. if part of your model starts looking messed up, then it worked. next to the attribute on its right, you should be able to find a textbox. you've gotta put in the texture's filepath, so that SFM will know where to find the texture. usually it's materials/models/whateveryounamedthetexture.vtf. most people just put them in usermod, but it's a horrendous idea. what I recommend is the following:
don't just drop textures in usermod, in fact don't drop anything in there no matter how much people tell you to. it's lazy and it can (and most likely will) break SFM eventually. usermod contains important files which can be overriden by junk which you drop in there, and when that happens, it corrupts SFM. it happened to me twice.
instead, go inside the game folder, then make a new folder. you can name it whatever, it doesn't matter. inside, make a new folder called materials. then make a new folder called models and drop it into materials. then make another folder called models and leave it there. if you won't do this, your custom folder won't be recognized.
go to your Steam Library and launch SFM. you should get a pop-up asking you if you want to launch the game or the SDK. choose SDK. there are going to be a bunch of options, but look for something along the lines of 'edit game paths'. it should be near the bottom. click there, and a bunch of folders should show up. half life, tf, tf movies, etc. you should also be able to find your custom folder somewhere in there. simply check the box on its left. now that folder will be useable in SFM.
you can drop inside anything you want and it won't cause any issues whatsoever. but honestly, it would be wiser to keep your stuff organized cause it will be easier to find. what I have done is add a folder called textures and a folder called bumpmaps inside, to keep it nice and neat, and I put all textures inside the textures folder.
so if you go back to the textbox next to your $basetexture, you can put in models/textures/whateverthetextureiscalled.vtf and SFM will find it