Missing flashlight textures
Quote from Comedyninja on October 29, 2011, 12:37 amHey there, I've been lurking here for quite a while but never posted anything up till now.
Anyway, I've been working on a map that I planned to have use an env_projectedtexture, but Hammer can't seem to find the effects/flashlight001 and effects/flashlight003 textures. They're not in the texture browser at all, they don't appear when running my map in-game, but when I run a Valve map that uses an env_projectedtexture, everything works perfectly.
So where are the textures located, and how can I get Hammer to find/recognize them??
No idea if it's worth mentioning, but I have portal, portal2, hl2, and hl2:ep1 installed.
Hey there, I've been lurking here for quite a while but never posted anything up till now.
Anyway, I've been working on a map that I planned to have use an env_projectedtexture, but Hammer can't seem to find the effects/flashlight001 and effects/flashlight003 textures. They're not in the texture browser at all, they don't appear when running my map in-game, but when I run a Valve map that uses an env_projectedtexture, everything works perfectly.
So where are the textures located, and how can I get Hammer to find/recognize them??
No idea if it's worth mentioning, but I have portal, portal2, hl2, and hl2:ep1 installed.
Quote from Skotty on October 29, 2011, 6:20 amThey are not in the textur browser because for env_projectedtexture only the VTF counts (the file where the picture is in). You would need a VMT (the file with all the settings and shader in it) to see it in Hammer or use it in any other way.
As for env_projectedtexture you just put in the path, without any ending. See this post: post47177.html#p47177
They are not in the textur browser because for env_projectedtexture only the VTF counts (the file where the picture is in). You would need a VMT (the file with all the settings and shader in it) to see it in Hammer or use it in any other way.
As for env_projectedtexture you just put in the path, without any ending. See this post: post47177.html#p47177
Quote from Comedyninja on October 29, 2011, 1:50 pmSkotty wrote:As for env_projectedtexture you just put in the path, without any ending.What do you mean? I've looked at the thread you mentioned before but I'm not sure how it helps. Should I just write "flashlight001" for the Texture Name value in the projectedtexture?
Edit: Nope, that didn't work. The console always prints out these lines:
material "effects/flashlight001" not found.
"materials/flashlight001.vtf": can't be found on disk
Texture 'flashlight001' not found.
What do you mean? I've looked at the thread you mentioned before but I'm not sure how it helps. Should I just write "flashlight001" for the Texture Name value in the projectedtexture?
Edit: Nope, that didn't work. The console always prints out these lines:
material "effects/flashlight001" not found.
"materials/flashlight001.vtf": can't be found on disk
Texture 'flashlight001' not found.
Quote from Skotty on October 29, 2011, 2:59 pmeffects/flashlight002
That the only thing you have to write in the env_projectedtextures Texture Name field.
effects/flashlight002
That the only thing you have to write in the env_projectedtextures Texture Name field.
Quote from Comedyninja on October 29, 2011, 6:42 pmAlright I tried that but still nothing. It still says "Texture 'flashlight002' not be found."
Alright I tried that but still nothing. It still says "Texture 'flashlight002' not be found."
Quote from marKiu on January 20, 2012, 8:37 amI started mapping a few days ago and i noticed that i get the same error as Comedyninja when using env_projectedtexture. I googled for hours now but i cant get it to work...
Maybe one of u can send me or upload the missing file.
I started mapping a few days ago and i noticed that i get the same error as Comedyninja when using env_projectedtexture. I googled for hours now but i cant get it to work...
Maybe one of u can send me or upload the missing file.

Quote from ChickenMobile on January 20, 2012, 11:25 pmflashlight001 002 etc. Should be packed inside your portal2 vpk. The only reason I can think that it isn't working is if you are using Alien Swarm SDK and not the Portal 2 Authoring Tools.
flashlight001 002 etc. Should be packed inside your portal2 vpk. The only reason I can think that it isn't working is if you are using Alien Swarm SDK and not the Portal 2 Authoring Tools.
Quote from Skotty on January 21, 2012, 8:41 amThe answere is very easy:
Like I wrote already in this thread, the flashlight textures don't have a VMT file, just a VTF.
They will get loaded! But because the game itself looks for a VMT file it gives an error out, but the flashlight it working!
So you must ignore that error line in the games console.
Best example to see if the flashlight works: effects/flashlight_security001. It's a round light texture with visible borders, so you will see that it works.
The answere is very easy:
Like I wrote already in this thread, the flashlight textures don't have a VMT file, just a VTF.
They will get loaded! But because the game itself looks for a VMT file it gives an error out, but the flashlight it working!
So you must ignore that error line in the games console.
Best example to see if the flashlight works: effects/flashlight_security001. It's a round light texture with visible borders, so you will see that it works.
Quote from Comedyninja on January 21, 2012, 9:17 pmToday I experimented with the projectedtexture some and it worked fine. I have absolutely no idea why it suddenly started working, but I swear it never worked before. One thing I did that may have fixed it was verifying the integrity of the cache like 5 times in a row. It kept finding new things to fix! Anyway, thanks to Skotty for your help
Today I experimented with the projectedtexture some and it worked fine. I have absolutely no idea why it suddenly started working, but I swear it never worked before. One thing I did that may have fixed it was verifying the integrity of the cache like 5 times in a row. It kept finding new things to fix! Anyway, thanks to Skotty for your help
Quote from Arc8ngel on February 15, 2012, 9:20 pmPlease forgive my ignorance, but I'm having trouble determining what it is I'm supposed to change to get an env_projectedtexture to show up.
I'm getting the same "material effects/flashlight00X missing" errors, but ignoring those errors isn't working. The projected texture is simply not showing up. There's only one in the level, so nothing is being overridden.
I attempted using the security flashlight, as per Skotty's advice, but that material wasn't found, and doesn't show up in the texture browser, either.
Please forgive my ignorance, but I'm having trouble determining what it is I'm supposed to change to get an env_projectedtexture to show up.
I'm getting the same "material effects/flashlight00X missing" errors, but ignoring those errors isn't working. The projected texture is simply not showing up. There's only one in the level, so nothing is being overridden.
I attempted using the security flashlight, as per Skotty's advice, but that material wasn't found, and doesn't show up in the texture browser, either.