Source Filmmaker

Source Filmmaker

60 ratings
"Wetworker" Spy Raincoat/Jacket Rig Script
   
Award
Favorite
Favorited
Unfavorite
Universe: Team Fortress
Script
Tags: SFM
File Size
Posted
55.005 KB
15 Apr, 2015 @ 5:59pm
1 Change Note ( view )

Subscribe to download
"Wetworker" Spy Raincoat/Jacket Rig Script

In 1 collection by Astute
"Observer" Spy Set SFM Assets
12 items
Description
A rigging script to help manage the hwm_pose coat that comes with the "Wetworker" Spy Raincoat/Jacket submission.



It is highly recommended you grab this script if you plan on posing the hwm_pose coat that comes with the other submission. It's nightmarishly difficult otherwise.

This script is used by:
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=425909951



Notes


-The script was created to cut down on the amount of overwhelming controls the coat exposes when it is created. There is 135 bones in the coat, which is a lot to look at when you begin posing. The script regroups all of the controls into much more manageable groups, letting you work on the front, back, or arms exclusively.

-There is no IK rigging in this script. SFM is fairly rigid about what is allowable for IK rigging(no chains, only joints).

-After rigging the hwm_pose coat, you can rebind all of the Spy's bones to the rig bones that are created. This makes posing with the Spy a bit easier. DO NOT BIND TO THE HANDS, It will only wreck the cuffs. See the main submission page for more details.

-With the rig in place, you can freeze groups of bones, and then fold the entire coat around them. This is handy for placing the coat flat on surfaces or around objects that it would "bend" around.



Includes:
sfm\animset\rig_m_spy_raincoat_pose.py


Links


12 Comments
Unfortunate 16 Jul @ 12:26pm 
I like this
Astute  [author] 4 Jun, 2021 @ 6:26pm 
However, the _pose version of the coat was intended to be used as more of a prop for the Spy to drop or place the coat somewhere. It could also be used for transition shots when the Spy needs to don or remove the coat. I wouldn't advise using it unless you absolutely need it.

Binding it to the Spy is finicky, and would be nightmarish to animate compared to the other coat types.
Astute  [author] 4 Jun, 2021 @ 6:24pm 
I loaded up the coat and tested out the script. It's been 6 years since I made this, so I was initially confused as well. After examining the script... and also reading my own description... I realized that this script has no IK.

The script was intended to make the coat not insane to look at in the viewer. It's more of a quality of life script, and therefore does not work like normal biped rig scripts. As far as I can tell, everything appears to be working as intended.
Astute  [author] 4 Jun, 2021 @ 2:05pm 
oh, that sounds like the SFM naming error with rigs. For some reason, SFM cannot create a duplicate rig if the name already exists, but it doesn't really tell you this is the case. If you get a failed rig on a model, add a new one and delete the old, then apply the rig script to that.

I'll take a look at this later and make sure everything is working on my end, though.
Sututiv 4 Jun, 2021 @ 1:59pm 
i used the pose version ofc

(Little update on it: Sometimes it does apply but then sometimes it refuses to lock on the spy model)
Astute  [author] 4 Jun, 2021 @ 10:12am 
Which version of the coat are you using? It only works on the _pose version. The other coats should not require this script.
Sututiv 4 Jun, 2021 @ 9:31am 
The rig won't apply when i try to apply it to the model
FireX 21 Jun, 2020 @ 10:44am 
ok thank you
Astute  [author] 21 Jun, 2020 @ 9:52am 
It took me a moment to relearn how the coat works.

This rig script only applies to the hwm_spy_raincoat_pose.mdl rig. I admit the naming of the models is not great. I ran into a conflict early on that forced me to change the names.

You should not need a rig script unless you're using the _pose version. If you want to animate the coat on the Spy, use the m_ or hwm_ versions instead. _pose is only useful if you want to place the coat on a surface or hook, or you want to animate something those coats can't pull off.
FireX 21 Jun, 2020 @ 7:52am 
I have a problem with this rig.It doesn't load on the model.