How to use Env_texturetoggle? Created 19 years ago2005-06-13 15:38:53 UTC by Neo_Jimmy Neo_Jimmy

Created 19 years ago2005-06-13 15:38:53 UTC by Neo_Jimmy Neo_Jimmy

Posted 19 years ago2005-06-13 15:38:53 UTC Post #114190
Hello Folks!
I was hopping that some one might know how to use the env_texturetoggle command in Half-life 2 I read it's description in the entity guid and it says it can change a brushes texture. Could anyone help me out?
Thanks a lot! :)
Posted 19 years ago2005-06-13 15:44:50 UTC Post #114193
Don't know if this helps at all. I haven't used it myself. If it doesn't, jus' hang on, somebody HL?-knowledgable will pop around sometime.
Seventh-Monkey Seventh-MonkeyPretty nifty
Posted 19 years ago2005-06-13 16:00:52 UTC Post #114199
The textures need to be defined as having frames - The input commands can be used to advance said frames.
RabidMonkey RabidMonkeymapmapmapfapmap
Posted 19 years ago2005-06-13 16:04:07 UTC Post #114201
Ah, I see.

Jimmy, you could of course just use two togglable brushes with different textures and toggle one off as you put the other on, or a similar thing changing their opacities (don't know how in Source myself).
Seventh-Monkey Seventh-MonkeyPretty nifty
Posted 19 years ago2005-06-13 16:10:23 UTC Post #114204
func_brush, enable one and disable the other. That's what I'm doing for the Surface Tension intake tower bridge in bms_c2a5, it works perfectly.

I need to stop leaving topics open for 10 minutes before I post =[
RabidMonkey RabidMonkeymapmapmapfapmap
Posted 19 years ago2005-06-13 16:13:52 UTC Post #114208
Beat you to it ;>.
Seventh-Monkey Seventh-MonkeyPretty nifty
Posted 19 years ago2005-06-13 22:39:45 UTC Post #114243
I belive I've found out how to work it, sadly it is beyond me. The level of techno-babble is to the point where my head spins. It deals with making VMT Files, something that I have never attempted before. I still have trouble making brushes lol. Anyhow here is the material I found on the subject, just incase someone understands it.
I hope this works
Posted 19 years ago2005-06-13 22:41:18 UTC Post #114244
Shoot it didnt work. Ah well here is the site anyway so you can copy it into your browser.:P

http://72.14.207.104/search?q=cache:gDccK2tX0hUJ:www.chatbear.com/%3FP770881+env_texturetoggle&hl=en
Posted 19 years ago2005-06-13 22:45:03 UTC Post #114245
Thanks a lot guys. What I wanted to do was have the texture of a brush change to another. The only problem was the bush in question is a brush based vehicle. the texture would have to actually change as opposed to being disable and having one with a different texture appear in its place.

It seems that it is currently out of my league, at least until someone comes up with a "Changing textures tutorial for dummies (Neo_Jimmy); explains how to do everything in a nauseating amount of detail".
Posted 19 years ago2005-06-14 01:24:32 UTC Post #114255
Ah, well it seems creating these textures is fairly simple!

http://www.hl2world.com/wiki/index.php/AnimatedTextures

That's the guide you want, and with a bit of mucking around in the SDK docs you can get more information regarding materials if you need it. The env_texturetoggle or whatnot just advances the frame, so you want to make as many frames as necessary and then compile them all with Vtex, (This is fairly simple but can often make some hassle, so feel free to post any more questions regarding that.)

G'luck =]
RabidMonkey RabidMonkeymapmapmapfapmap
You must be logged in to post a response.