Source Filmmaker

Source Filmmaker

Doc's Improved Cloaking script!
102 Comments
how do i cloak cosmetics or weapons?
Shrunk May 2 @ 5:54am 
I'm usuing the effect on Invisible Woman model and some reason I keep getting this type of effect https://files.catbox.moe/3boqkn.png It's mostly with hair on
Clockwork Brain Mar 13 @ 8:42am 
Can you please add presets for the colors used in-game? That would be 255 126 102 for RED and 102 126 255 for BLU, respectively. It's annoying to have to add a spy model, add override materials, and look at the mask and the second spy_head_red materials, write down the color values in a notepad, and enter them as custom colors. Yes, you can save those custom colors for future use, but then you forget you have them and do it all over again only to realize you already had the colors saved.
晨晨 Oct 28, 2024 @ 12:09am 
nice!!!
benitz0806 Sep 3, 2024 @ 7:24am 
i did the instruction but its still not working, is this about the model's compatibility?
zob Dec 9, 2023 @ 10:59am 
i just finished to watch a lot of tutorials on youtube to understand how the cloak works on sfm, and after spending 30 minutes on it i just found your rig, simple and easy to use. Thanks!:steamthumbsup:
Anyar May 10, 2023 @ 5:07pm 
This always works for me at first, then models with the cloak rig applied start breaking after some time. I don't know when or why, but for example a model which I've animated to uncloak will just stay cloaked in that shot, even though the keyframes are untouched. This has happened on two separate projects by now.
John SFM Feb 19, 2023 @ 3:40pm 
JRG Jan 2, 2023 @ 7:52am 
HOW TO USE THIS SCRIPT:

1. Right click on your model in Animation Set Editor and click "Rig"

2. Select "Load Rig Script"

3. Navigate in this menu to "game\workshop\scripts\sfm\animset\"

4. To create the in-game cloaking effect, select "setup_cloaking_eta_pyside.py"

5. Once you select that script, you will be prompted with a select color option, as well as a box saying "Cloak". This determines what color the cloak is, and if you doing this for a TF2 spy, I strongly recommend Team Spirit corresponding to the spy's true colors (badpun.exe)

6. For the box below the color selection saying "Cloak", You should use "One Bar Cloak". This means that instead of having to set each part of your model's textures to an individual cloak bar, you simply slide a bar around to cloak it.

7. Hit done and now your model has a new slider called "Cloak". You can work it with the timeline or graph editor like any other slider or model bone, to make a model cloak or uncloak over time.
a duck with a smoking thingy Nov 21, 2022 @ 2:12pm 
why the hell is this not cagigoriesed under tf2
Seargent J. Delicious Nov 19, 2022 @ 11:03pm 
alright, to clear up some stuff what you want to do is you do NOT want to select "Cloak" which is the standard option. instead, use regular one bar and not ALPHA one bar. (as of right now)
Thenachowithcheese Sep 29, 2022 @ 11:04am 
I would appreciate very, very much if someone would post and/or link any kind of tutorial/guide on how to use this AT ALL.

Since i'm not familiar with scripts and Doc simply didnt give any kind of advice.
VAC/Banned Jun 9, 2022 @ 2:51pm 
For those who are confused, this adds a new slider to the model it's applied to. Simply move the slider to apply the cloak
wrath dragon Jul 29, 2021 @ 11:16pm 
does it world with other models from the workshop
jennyanydots! Dec 15, 2020 @ 2:30pm 
Is there a way to apply the cloaking effect?
Doc_ock_rokc  [author] Sep 2, 2020 @ 5:43pm 
@xabin Not all models have the invis proxy in the texture
Xabin Doyarchu Aug 21, 2020 @ 11:29am 
I'm trying this script on my Sonic models, and they aren't working with the Cloak. What's going on?
c4nnibalparty Mar 22, 2020 @ 1:14pm 
I just started to use this, it worked fine and then out of nowhere, no matter what Spy model I use, only the bones for the model will show, nothing else.
Any idea why this happened?
Brookie Sep 27, 2019 @ 2:17pm 
If cloak doesn't work for you, use alpha. If there is any other problem, comment on my profile and I'll try to help you out :D!
Dash23 Aug 28, 2019 @ 2:56pm 
IT IS FIXEABLE, JUST PRESS F11 TO "PLAY TF2" AND GO BEHIND YOUR MODEL
The happy boi Marketplace.tf Aug 28, 2019 @ 2:49pm 
yeh it does that to me
Dash23 Apr 15, 2019 @ 2:23pm 
PLS HELP, the cloaking make the model turn black
Ikuyo Kita Aug 18, 2018 @ 11:18am 
Hi, how do I use this?
sonickid16 Jul 16, 2018 @ 7:26am 
it dosen't work, when I try to cloak spy, it just turns black.
puddy buddy Feb 7, 2018 @ 8:06pm 
when i subscribe, the script doesnt show up in my folder. how do i make it appear?
Doc_ock_rokc  [author] Jan 26, 2018 @ 5:22pm 
there is a material function in tf2 models you can copy and paste into other materials to cause cloaking. Otherwise your stuck with the Alpha option
snegyrys Jan 24, 2018 @ 9:10am 
As i understand it dosent works wits some other workshop models. Ane ideas how to make it work?
-lew Nov 21, 2017 @ 1:49pm 
is there any tutorial for this? i cannot find one
Lilboog370 Jun 28, 2017 @ 5:13pm 
my model goes black
Fatal_Error Jun 17, 2017 @ 1:12pm 
After applying this script and choosing the color, the model becomes completely invisible. Is this normal? If so, then what to do next?
Doc_ock_rokc  [author] May 9, 2017 @ 5:18pm 
Senpai - Some of the eye textures are not compatable with the script. If you can move the eyes I'd just move them some place out of the shot.
CoffeeCup Apr 12, 2017 @ 7:56am 
I foundthat some models seem to keep the eyes and wehn I went into the material files and tried to manually add an alpha to them, they ended up remaining there. Do you know how to get the eyes to go invisible in such cases?
shazi Feb 9, 2017 @ 9:28am 
Thank you
Doc_ock_rokc  [author] Feb 9, 2017 @ 8:59am 
No0526 There will be a new group in the animation set for the animation set editor. These will contain ehter one or more sliders for cloaking. When you cloak the model will shift into the color selected the brighter the color the more transparent the color.
shazi Feb 8, 2017 @ 8:27pm 
It tells me to choose a color when I load the script, but when I choose a color and click done, nothing happens.
Yukari Penninsula Oct 30, 2016 @ 6:01pm 
This would work with Nightmare model (FNaF), nice work.
Amber Slime Oct 2, 2016 @ 5:59pm 
Umm.... I dunno if amyones posted this, but one time all of my cloaking effects dissapeared when I saved a WIP and came back later, the only one with cloaking was a spy. Has anyone else seen tis hapen, or is there fix?
dCohen Sep 18, 2016 @ 6:42pm 
The model turns black. Any reason for this?
Watcher Jul 21, 2016 @ 2:13pm 
why is the model black when its cloacked
Bubbles Mar 29, 2016 @ 10:40am 
I dont know where to start. how do I spawn it in, how do I apply it to a model. etc
Zyrast Mar 12, 2016 @ 5:06pm 
Desn't do anything! Please help!
1van Jan 16, 2016 @ 12:04pm 
I got very lucky that the only working way to make cloak is so amazing!
Purple Grundle Fondler Dec 15, 2015 @ 7:49am 
@Dock_ock_rokc Sounds great, hope it turns out well! :)
hort Dec 15, 2015 @ 4:38am 
Erm, is there no download link? Or am I just blind.
Doc_ock_rokc  [author] Dec 14, 2015 @ 11:56am 
@Scrumpy I've been trying to work on something between a job and school and family that isn't quite uber but uses cloaking to kinda cheat it.
Doc_ock_rokc  [author] Dec 14, 2015 @ 11:54am 
@Trackster Yeah, I took the color script's fuctionality and added it to the script so you can adjust the cloak color.
Cliffford Nov 30, 2015 @ 3:48am 
um... little problem.. if i load your script, sfm open the rig for changing colors..
Purple Grundle Fondler Nov 27, 2015 @ 10:34am 
If someone else hasn't, can this be done for uber as well?
Tyrand Oct 10, 2015 @ 3:13pm 
I LOVE YOU :steamhappy:
Kirushimu Jul 17, 2015 @ 2:39pm 
Y thank you king kong cum