Changing textures on command
Post Reply
Quote
Re: Changing textures on command
Posted by aonomus on Thu Jan 20th at 12:15am 2005


How can I make a texture on a brush change when triggered by another entity. Mainly used for a switch when used alternates between two textures to indicate state.




Quote
Re: Changing textures on command
Posted by Crono on Thu Jan 20th at 2:00am 2005


func_wall_toggle. [addsig]



Quote
Re: Changing textures on command
Posted by DrGlass on Thu Jan 20th at 2:08am 2005


I know that you can do a serch and find your answer on this becuase I was the one who gave it.

but, for you just this once.

Make your first wall, tie it to a func_wall_toggle entity, name it wall1

Copy that wall, change it to the other texture you want and be sure to name it wall1 aswell.

Look under the flag tab, and set it so the 1st wall starts visible and 2nd wall starts invisible.

now make a func_button or what ever you want to trigger and set the output to toggle wall1

that should do it, there is also a point entity that I think my do this but I dont know anything about it.




Quote
Re: Changing textures on command
Posted by aonomus on Sat Jan 22nd at 4:48am 2005


I ran a search on it, but I never looked for a func_wall_toggle... thanks anyway





Post Reply