Source Filmmaker

Source Filmmaker

Not enough ratings
How to re-add particle attachment points to models
By Thespikedballofdoom
instead of relying on your imprecise posing guesswork
   
Award
Favorite
Favorited
Unfavorite
If you come from a gmod animation background like me youre probably frustrated that the advanced particle addon in gmod can do what sfm can't, which is attach particles to models using their proper particle control points. valve added no option to use these which implies every muzzle flash in every short they've ever made is either recorded or hand-posed, which is gross

First get crowbar[github.com]

now open it and decompile the thing. find your model and select a folder to export the decompile to

now find the qc file (these are where the coordinates for the particle points are) and look for the one named muzzle. Actually instead just look for $attachment lets add all of them for use


copy these lines and put them at the $definebones section and change $attachment to $definebone. Remove "rotate" and add zeroes until there are 12 integers in the line (if there aren't it wont compile)

save the file

Now compile it in crowbar (select sfm as the game)

if you did it wrong it will tell you which line you ♥♥♥♥♥♥ up on in the output text, usually not enough zeroes

if it says "unknown attachment point <attachment point clearly defined in the file> then rename the new bones you created to something different.
you can now get back to dying in this terrible program
6 Comments
Dexter Morgan 1 Apr, 2022 @ 10:40am 
nah this too complicated
Skydriver 14 Mar, 2022 @ 6:43am 
I can help u Donald ^_^
Thespikedballofdoom  [author] 7 Mar, 2022 @ 11:47pm 
the sniper rifles muzzle comes by default in sfm, its in tf/particles/muzzleflash.pcf
Donaldstar #8 7 Mar, 2022 @ 11:44pm 
sniper
Thespikedballofdoom  [author] 27 Feb, 2022 @ 8:11am 
what gun?
Donaldstar #8 26 Feb, 2022 @ 10:28pm 
I'm probably not able to help u out but maybe u can help me. I really really new to SFM (like started last week new) I was wondering if you can send me the file for the muzzle flash for the gun. And maybe show me where to put it in files?