Source Filmmaker

Source Filmmaker

Doc's Improved Cloaking script!
101 Comments
Shrunk 2 May @ 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 13 Mar @ 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.
晨晨 28 Oct, 2024 @ 12:09am 
nice!!!
benitz0806 3 Sep, 2024 @ 7:24am 
i did the instruction but its still not working, is this about the model's compatibility?
ultiMateus Cunhamanmanw 9 Dec, 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 10 May, 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.
JRG 2 Jan, 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 21 Nov, 2022 @ 2:12pm 
why the hell is this not cagigoriesed under tf2
Levont Broflovoski 19 Nov, 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 29 Sep, 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 9 Jun, 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 29 Jul, 2021 @ 11:16pm 
does it world with other models from the workshop
maxine 15 Dec, 2020 @ 2:30pm 
Is there a way to apply the cloaking effect?
Doc_ock_rokc  [author] 2 Sep, 2020 @ 5:43pm 
@xabin Not all models have the invis proxy in the texture
Xabin Doyarchu 21 Aug, 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 22 Mar, 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 27 Sep, 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 28 Aug, 2019 @ 2:56pm 
IT IS FIXEABLE, JUST PRESS F11 TO "PLAY TF2" AND GO BEHIND YOUR MODEL
The happy boi Marketplace.tf 28 Aug, 2019 @ 2:49pm 
yeh it does that to me
Dash23 15 Apr, 2019 @ 2:23pm 
PLS HELP, the cloaking make the model turn black
Ikuyo Kita 18 Aug, 2018 @ 11:18am 
Hi, how do I use this?
sonickid16 16 Jul, 2018 @ 7:26am 
it dosen't work, when I try to cloak spy, it just turns black.
puddy buddy 7 Feb, 2018 @ 8:06pm 
when i subscribe, the script doesnt show up in my folder. how do i make it appear?
Doc_ock_rokc  [author] 26 Jan, 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 24 Jan, 2018 @ 9:10am 
As i understand it dosent works wits some other workshop models. Ane ideas how to make it work?
-lew 21 Nov, 2017 @ 1:49pm 
is there any tutorial for this? i cannot find one
Lilboog370 28 Jun, 2017 @ 5:13pm 
my model goes black
Fatal_Error 17 Jun, 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] 9 May, 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 12 Apr, 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 9 Feb, 2017 @ 9:28am 
Thank you
Doc_ock_rokc  [author] 9 Feb, 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 8 Feb, 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 30 Oct, 2016 @ 6:01pm 
This would work with Nightmare model (FNaF), nice work.
Amber Slime 2 Oct, 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 18 Sep, 2016 @ 6:42pm 
The model turns black. Any reason for this?
Watcher 21 Jul, 2016 @ 2:13pm 
why is the model black when its cloacked
Bubbles 29 Mar, 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 12 Mar, 2016 @ 5:06pm 
Desn't do anything! Please help!
1van 16 Jan, 2016 @ 12:04pm 
I got very lucky that the only working way to make cloak is so amazing!
Purple Grundle Fondler 15 Dec, 2015 @ 7:49am 
@Dock_ock_rokc Sounds great, hope it turns out well! :)
hort 15 Dec, 2015 @ 4:38am 
Erm, is there no download link? Or am I just blind.
Doc_ock_rokc  [author] 14 Dec, 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] 14 Dec, 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 30 Nov, 2015 @ 3:48am 
um... little problem.. if i load your script, sfm open the rig for changing colors..
Purple Grundle Fondler 27 Nov, 2015 @ 10:34am 
If someone else hasn't, can this be done for uber as well?
Tyrand 10 Oct, 2015 @ 3:13pm 
I LOVE YOU :steamhappy:
Kirushimu 17 Jul, 2015 @ 2:39pm 
Y thank you king kong cum
Milkman 8 Jun, 2015 @ 4:18pm 
people are assholes