How to create toggle textures?
i will be very gratefully for anyone that be able to help =)
ps: also did anyone have recivied a 6.6gb update to the authoring tools too??
Then make sure that there's the following in your vmt:
ToggleTexture
{
toggleTextureVar $baseTexture
toggleTextureFrameNumVar $frame
toggleTextureShouldWrap 0
}
}
}
My whole vmt:
UnlitGeneric
{
$baseTexture "Lp/signage/indicator_lights_corner_floor_invisible"
$surfaceprop glass
$translucent 1
"%keywords" portal
$decal 1
Proxies
{
ToggleTexture
{
toggleTextureVar $baseTexture
toggleTextureFrameNumVar $frame
toggleTextureShouldWrap 0
}
}
}
Hope that helps 
Lpfreaky90 wrote:
I'm using GIMP with the gimp-vtf plugin to make an image with two layers and export it to a vtf. In the export options choose "Use Layers as: Animation Frames".Then make sure that there's the following in your vmt:
```
ToggleTexture
{
toggleTextureVar $baseTexture
toggleTextureFrameNumVar $frame
toggleTextureShouldWrap 0
}
}
}
>
> My whole vmt:
> ```
UnlitGeneric
> {
> $baseTexture "Lp/signage/indicator_lights_corner_floor_invisible"
> $surfaceprop glass
> $translucent 1
> "%keywords" portal
> $decal 1
> Proxies
> {
> ToggleTexture
> {
> toggleTextureVar $baseTexture
> toggleTextureFrameNumVar $frame
> toggleTextureShouldWrap 0
> }
> }
> }
Hope that helps
Thanks for answering
, that really hepled, just a few questions to finish ..
1.they are just two common layers, or i need to do something specific on them ?
2.This method is applicable in the adobbe photoshop?
3.The .vmf is generated automatically for editing, or I have to create from scratch?
- yeah, they're just two normal layers, saved as animation frames.
- I don't know, I've never used photoshop to create vtf's

- You need to make the .vmt yourself; probably the only thing you've got to do is take my vmt and change the $basetexture to the path to your texture. That should do it.
- No, the VTF writer is broken (at least with CS3, CS4, and CS5). Make TGAs of the layers and use VTFEdit to convert them all at once, then choose Animation Frames.
There you'll find how to make the .vtf. You have to import all layers/frames in VTFEdit. 
Sejievan wrote:
also did anyone have recivied a 6.6gb update to the authoring tools too??
That happened to me once. I had to wait it out. I think what happened is Steam/the Steam Cloud got confused. Try pausing the download and uninstalling the Authoring Tools. I know that sounds crazy, but try it and see what happens. Hopefully, it'll fix it.
If it doesn't, worst case scenario, re-install takes <15 mins tops.
srs bsnss wrote:
Sejievan wrote:also did anyone have recivied a 6.6gb update to the authoring tools too??
That happened to me once. I had to wait it out. I think what happened is Steam/the Steam Cloud got confused. Try pausing the download and uninstalling the Authoring Tools. I know that sounds crazy, but try it and see what happens. Hopefully, it'll fix it.
If it doesn't, worst case scenario, re-install takes <15 mins tops.
I've think in that too, but it says that Portal 2 is using the files and don't let me unistall... =/
Sejievan wrote:
I've think in that too, but it says that Portal 2 is using the files and don't let me unistall... =/
Oh yeah, I forgot about that happening.
Well, what I did was just leave it overnight to download the 6.6gb. So if it's still going now maybe that's all that you'll be able to do.