Source Filmmaker

Source Filmmaker

Robbie Rotten Spy but without the Head
 This topic has been pinned, so it's probably important
i solo ult people  [developer] 23 Feb, 2017 @ 3:00am
$cloakfactor
How to dress up Spy as Robbie Rotten using $cloakfactor:

1. Spawn the Robbie Rotten body and the Spy model in your scene, use the BLU Skin for Spy

2. Lock the RR Body to the Spy and turn up the Zero slider

3. Right click on Spy in the animation set editor>Override Materials

4. Right click on Spy in the animation set editor>Show in Element Viewer

5. Go to Element Viewer then go to materials>spy_blue then turn on $cloakfactor (set 0 to 1)


feel free to ask if you're confused or suggest a better method
Last edited by i solo ult people; 23 Feb, 2017 @ 4:26am
< >
Showing 1-15 of 20 comments
Joe 23 Feb, 2017 @ 5:21am 
When I turn on cloackfactor it all goes black
i solo ult people  [developer] 23 Feb, 2017 @ 5:45am 
Originally posted by Dat Siop:
When I turn on cloackfactor it all goes black

It might be the vmt thats causing it. If you can send the spy_blue.vmt, I can give it a look.

I also tried recreating the issue on my end, the black thing happens when I set the $cloakfactor between 0.3 to 0.9

Can you send me a screenshot of the scene and the element viewer?
GuyGallant 23 Feb, 2017 @ 6:42am 
Wouldn't it be easier just to make the modle have the head already atached?
i solo ult people  [developer] 23 Feb, 2017 @ 6:50am 
Originally posted by GuyGallant:
Wouldn't it be easier just to make the modle have the head already atached?

from the description

I'm not sure if I'll still be able to complete the model with its own head and facial rig because of time, motivation and priorities. I'm still learning HWM.

Yes, it was intended to be a complete model, without all this instructions I had to type out that people have to follow to be able to use my model, but due to lack of time because of my internship and upcoming graduation, and lack of knowledge in how to write HWM models, I haven't made the complete version, if ever I don't complete it, there's this at least. If there's someone who is interested in completing my model, they are most welcome to do so.
Last edited by i solo ult people; 23 Feb, 2017 @ 6:54am
GuyGallant 23 Feb, 2017 @ 6:55am 
Originally posted by Py-Bun:
Originally posted by GuyGallant:
Wouldn't it be easier just to make the modle have the head already atached?

from the description

I'm not sure if I'll still be able to complete the model with its own head and facial rig because of time, motivation and priorities. I'm still learning HWM.

Yes, it was intended to be a complete model, without all this instructions I had to type out that people have to follow to be able to use my model, but due to lack of time because of my internship and upcoming graduation, and lack of knowledge in how to write HWM models, I haven't made the complete version, if ever I don't complete it, there's this at least, if there's someone who is interested in completing my model, they are most welcome to do so.
Good point.
Do you know how to create a cloak/uncloak transition?
GuyGallant 23 Feb, 2017 @ 3:12pm 
I did all the steps, but $cloakfactor isn't there.
i solo ult people  [developer] 24 Feb, 2017 @ 6:37am 
Originally posted by GuyGallant:
I did all the steps, but $cloakfactor isn't there.

find the spy_blue vmt and add "$cloakPassEnabled" "1" then spawn the Spy model again

you'll have to add that parameter to the other vmts if theres more than one
GuyGallant 24 Feb, 2017 @ 6:40am 
Originally posted by Py-Bun:
Originally posted by GuyGallant:
I did all the steps, but $cloakfactor isn't there.

find the spy_blue vmt and add "$cloakPassEnabled" "1" then spawn the Spy model again

you'll have to add that parameter to the other vmts if theres more than one

Though I have no idea what you just said, I acually found an alturnative. I just added a spy head, (which is found on the workshop) to the RR body and then locked it in place.
i solo ult people  [developer] 24 Feb, 2017 @ 6:56am 
Originally posted by GuyGallant:
Originally posted by Py-Bun:

find the spy_blue vmt and add "$cloakPassEnabled" "1" then spawn the Spy model again

you'll have to add that parameter to the other vmts if theres more than one

Though I have no idea what you just said, I acually found an alturnative. I just added a spy head, (which is found on the workshop) to the RR body and then locked it in place.

that works too lol

but if you want me to go in depth for future reference, i dont mind
GuyGallant 24 Feb, 2017 @ 6:58am 
Originally posted by Py-Bun:
Originally posted by GuyGallant:

Though I have no idea what you just said, I acually found an alturnative. I just added a spy head, (which is found on the workshop) to the RR body and then locked it in place.

that works too lol

but if you want me to go in depth for future reference, i dont mind
ok.
i solo ult people  [developer] 24 Feb, 2017 @ 7:19am 
Originally posted by GuyGallant:
Originally posted by Py-Bun:

that works too lol

but if you want me to go in depth for future reference, i dont mind
ok.

There are 2 types of files that models in SFM and other source games use to have textures and materials on them:
-VTF file for the texture/image itself
-VMT file which contains the parameters or code for the material for the VTF. This controls, for example, its shininess, or if its gonna be transparent or have glowing parts, etc

These files can be found in the materials folder in usermod, tf, tf_movies, and other game directories in SFM.

VTFs and VMTs usually has the same names, other than the file types, you can tell which one is which by its file size, VMTs having less 10kb and VTFs having around 500kb and above.

To open these files, you must download this:
http://nemesis.thewavelength.net/index.php?c=238

To find the spy_blue.vmt, you go to game\tf\materials\models\player\spy or it could be in game\usermod\materials\models\player\spy directory.

Open the spy_blue.vmt in VTFedit, in here you can tinker with the material parameters.

Paste "$cloakPassEnabled" "1" within the brackets then save the vmt, this will add the $cloakfactor option when you override materials.

To see if the $cloakfactor is added, spawn the Spy again and do steps 3, 4 and 5 again.

Joe 26 Feb, 2017 @ 8:42am 
Ok I will send the screenshot,anway I think that the cloack has been broke whit the new version of sfm
Joe 26 Feb, 2017 @ 8:53am 
ok idk how to send imges anyway when i turn it to like 0.3,0.4 or 0.5 it all goes black
Last edited by Joe; 26 Feb, 2017 @ 8:55am
< >
Showing 1-15 of 20 comments
Per page: 1530 50