Hello, i was searching whole day on how to open or port SFM models to Gmod but i cant find clear answer or tutorial anywhere, can someone here help me to convert SFM model to Gmod model, if possible detailed step by step tutorial.
Thanks in advance.
Btw, sorry if its in wrong section, im new here
Moderator please move thread to correct section if i put it in wrong section.
In general, though, the only thing SFM models are missing are physics. Technically, you can get away without physics in gmod, via the Joint Tool. You will want to look into building physics models, though. There are tutorials around for it.
Then you’ll want to use Crowbar to decompile the models and recompile them.
Some SFM models, however, take advantage of the higher bone count. I’ve heard rumors that gmod can/will be able to support the 256 bones that SFM can, but until such time, models with 129 (197? I can’t remember what the Orange Box limit was…) or more bones will cause problems, and require consolidation. In such case, you’ll want to look into how to transfer skin-weights in your modeling program of choice.
One way to open them directly without doing anything is to download the SFM model, put it in your addons and then when in Gmod do this:
Open the spawnmenu, right click on the model icon and click “Copy to clipboard.”
Then, go to console and write “prop_dynamic_create pastethecopiedstuffhere” without the quotes and press enter.
So the command would be like this:
But remember when you do the copy to clipboard thingy and paste it in the console, remove the “model/” text that is before the model name, otherwise the model will spawn as an error.
So this is wrong:
This is right:
They will spawn as an static object with the green effect ring around them, and by using the Join Tool or Advanced Bone Tool you can move around the hands, legs, body and what not. Some have faceposing through the faceposer, others do not. And remember to use Easy Bodygroup Tool if you want to change bodygroups, granted that the model has them.
But not every SFM model works in gmod. Some give this error in console:
**Model uses STRIP_IS_QUADLIST_REG - will crash in this engine - so not loading!
I have no idea what it means but if it gives that error they do not appear to spawn at all. And i have no idea how to determine which model works beforehand, you just gotta try it. Maybe something that uses more high res textures wont work.
But if you want to port them properly to Gmod, and make player models, NPCs or just regular ragdolls, i don’t know how, but this method is what i have been using.
In general the SFM compiler isn’t compatible with GMod and you’re going to either crash your game or get that quadlist error every time. Install Source SDK Base 2013 if you don’t already have it installed and use StudioMDL from there.