Source Filmmaker

Source Filmmaker

Doc's Color Script Ver.Theta!!!: PhySide Edition!!!
Doc_ock_rokc  [developer] 24 Apr, 2014 @ 12:09pm
General problems and issues thread
Due to certian problems repeating in the Comments over and over again, I thought it would be better to create a Discussion that can be used to go through common issues. So here are some step by step solutions to the most common issues.

Problem 1) My Hat Won't Paint.

Step 1) Check to see if the hat defults to a deep dark black dispite it having a diffrent color in actual tf2.

-Some hat textures (like almost the entirety of the Robo Hats and Bill's Hat) Are rather strange when compared to the usual tf2 hat textures. These textures don't react well with sfm and often cover up their paintable areas with a black color. These texture are actually painting perfectly fine...it is just that the black color is plastered over the color that you want.

A Brilliant man by the screenname of Pte Jack made a nice quide to repair these textures so they can actually be painted. https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=153130138

Step 2) Check the blend mode.

-Blend modes (new to Eta) are various texture shaders that can be applied to any one texture. Each blend mode covers a diffrent area on a diffrent layer and requires diffrent flags in order to work. If a hat isn't painted when one option is chosen then try using another. Just remember this Base Tint changes the Base Texture. Color 2 Paints above the Base Texture on its Alpha Channel. Color paints on top of Color 2 on the alpha channel. All (which is the default) paints on ALL OF THESE CHANNELS AT ONCE (often times layering colors)

Step 3)Check the Element viewer

-Right click your questionable model- Go to Element viewer->Model Scroll down to the bottom of the page to and click the plus sign next to "Materials" You will see a few files called "Material Proxy" check on them. If their is Unusual characters in the M1Name varable then the custom model you are using is built in a way I could not forsee Feel free to try to message me or post on this dissuction and including a link to your custom built model so I can try to modify the code to work with the model.

Step 4)Default the Dynamic Color Sliders

-New in Theta are Dynamic Color Sliders or sliders that alow one to dynamically adjust or even animate the color the script puts on a model. These sliders will be found under the bones of your hat in a group called color. Due to people chosing the entire hat and zeroing out the bones, these sliders often zero out as well. turning whatever color you selected black. Don't worry Doc actually planed ahead and made it so that if you select the sliders and use Default they will change back to the color you orginally assigned!

Step 5) if all else fails post in this discussion and I will give you a more custom solution to this problem.

Problem 2) My Hat Paints In The Wrong Color

Step 1) Check the blend mode.

- The blend mode, as I stated before, Are shaders that work on various areas and layers of a texture. Often times when one uses the blend mode "All" it will paint on various diffrent layers. Sometimes these layers stack causing the color you paint to be applied several times in the same spot. Don't worry you can "repaint" the textures several times in a row to fix this.

Step 2) Adjust values in the element viewer(-Outdated in Theta-)
---! Warning !---
Element viewer is a powerful and dangerous tool. Messing with values that you don't fully understand can result in TOTAL SESSION CORRUPTION! Be cautious and save copies of your work before you mess with around with the element viewer.


- Like before try going to right click->element viewer->Model scroll to the bottom and to materials and open up a Material proxy (note not all Material proxies adjust color) Fine one and start inputing in random numbers in the "$color," "$color2," or "$colorint_base" When you find a proxy that adjusts a color go back to the orignal colors mutiply them by 2 and imput them into the values. This will result in a twice as bright color. repeat if it doesn't resolve itself. Be warned though too bright of a color will glow in the dark (which admitingly is an AWESOME effect)

Step 3) Adjust values with the Dynamic Color Sliders

-New in theta are the Dynamic Color Sliders. Color Sliders alow for people to adjust the color of their hats without mucking about in the element viewer. Just select the value you wish to adjust and do so. You can also keyframe on these sliders alowing colors to change during your animations!

Step 4) If all else fails post in this discussion and I can give you a more custom solution to the problem.


Thank you once again for Downloading my color script! I hope it doesn't give you too much trouble in the future.
Last edited by Doc_ock_rokc; 22 Jan, 2016 @ 1:19pm
< >
Showing 1-15 of 88 comments
El W4 22 Jul, 2014 @ 11:14pm 
I need to change the ribbon color of the Razor Cut but is not working

Just for that hat, all others is work perfectly Help please.
XEN0KID 7 Sep, 2014 @ 10:20am 
hey man, i ported a colourable model from Gmod, and your script wont work with it. i dont know whats going on, or how to fix it, but ill link you to the model and to a pic of the issue im having.

model: https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=311035919
error: https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=311244470
ReMiX 7 Sep, 2014 @ 2:10pm 
Trying to do what YOU say. But there is no "Plus" sign at the bottom.
Doc_ock_rokc  [developer] 7 Sep, 2014 @ 4:03pm 
Alright I engineered a similar senario for you
http://i.imgur.com/EFVapRC.png
This scout has the same error you have parts are being painted that shouldn't be painted. This is because I took a "Shot gun" like approch to the script where it just applys the effect on all textures of the model

To fix it you just right click go to show in element viewer>model
http://i.imgur.com/QpNmPou.png

at the bottom you should see a little yellow text thing saying materials click the plus sign that is attached to it/double click materials
http://i.imgur.com/Z28hqc4.png

Next go through the Proxys till you find one that could link to your model select it and then press delete
http://i.imgur.com/vJPShfN.png

And you are done
http://i.imgur.com/0hMkTDz.png



XEN0KID 3 Oct, 2014 @ 6:15pm 
ah, thanks. ill try that. sorry for the late return, steam didnt notify me about new posts :P
1 problem: When you zero an item the colour reverts. What can I do to fix this?
Doc_ock_rokc  [developer] 11 Nov, 2014 @ 7:41am 
in the latest version I have included sliders to the hats. To fix these sliders you can go the the Color group select it and hit default (which sets the hat back to the color you selected initially)...or exclude the color group when you apply the zero slider to an object.
I cant paint Chamers Chapeau, Made Man, and Blood Banker. I dont know if it's on your side or mine.
Nevermind, I forgot that I had to take the items off/unlock transforms.
Crap. The paint doesnt seem to be working.
ashlikeadragon 26 Nov, 2014 @ 11:03am 
Just a question from an idiot, how do you remove transform locks?
Originally posted by Hazza:
Just a question from an idiot, how do you remove transform locks?
Right click and click unlock transforms.
father christmas 19 Dec, 2014 @ 8:06am 
When I downloaded this script my sfm screen (where you see the map and charecters) was white.

All I did was
1. Installed using the green button
2. Ran sfm

Please help!
Doc_ock_rokc  [developer] 19 Dec, 2014 @ 4:07pm 
Originally posted by xTcR | Mr. Llama Frosty TF-L2:
When I downloaded this script my sfm screen (where you see the map and charecters) was white.

All I did was
1. Installed using the green button
2. Ran sfm

Please help!


That's not an issue with my script that often happens on computers with nearly full ram that open SFM. Suggestion: Restart your computer and open up sfm
zode 14 Jan, 2015 @ 9:28pm 
I'm trying to paint the Vive La France but I've had no success. The hat looks dark black and with that guide you posted I need to go to the .vmt files of the hat and change a line that reads "$selfillium 1" to "$selfillium 0", the problem is that it's already 0, so that didn't help at all.
< >
Showing 1-15 of 88 comments
Per page: 1530 50