Template talk:Painted variants/Tutorial/Automation

From Team Fortress Wiki
Jump to: navigation, search

"Failed to find "$color2", terminating"

I'm trying to automate a paint image for a workshop image. I have the model rotated how I want with the model viewer open, as well as photoshop document open to my monitor and full screen hlmv resolution (1600x900). But when I use the automateCaptureImages.ahk with autohotkey, I get an error saying "Failed to find "$color2", terminating". I've checked the vmt TF2 creates when verifying workshop items and it has "$color2" "{value}" in it. Changing the vmt color value manually has it change in hlmv as it should. Is there another step I'm missing?

Here's my vmt for the painted item:

http://pastebin.com/MR4JbncS

Thanks for your time Uncle Grumpskin (talk) 18:10, 15 October 2015 (PDT)

Edit: Turns out I didn't have the correct amount of spaces in between the line. It's fixed now. Sorry for the trouble. Uncle Grumpskin (talk) 18:16, 15 October 2015 (PDT)