Changing textures on command

Changing textures on command

Re: Changing textures on command Posted by aonomus on Thu Jan 20th 2005 at 12:15am
aonomus
18 posts
Posted 2005-01-20 12:15am
aonomus
member
18 posts 2 snarkmarks Registered: Dec 26th 2004
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.
Re: Changing textures on command Posted by Crono on Thu Jan 20th 2005 at 2:00am
Crono
6628 posts
Posted 2005-01-20 2:00am
Crono
super admin
6628 posts 700 snarkmarks Registered: Dec 19th 2003 Location: Oregon, USA
func_wall_toggle.
Re: Changing textures on command Posted by DrGlass on Thu Jan 20th 2005 at 2:08am
DrGlass
1825 posts
Posted 2005-01-20 2:08am
DrGlass
member
1825 posts 632 snarkmarks Registered: Dec 12th 2004 Occupation: 2D/3D digital artist Location: USA
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.
Re: Changing textures on command Posted by aonomus on Sat Jan 22nd 2005 at 4:48am
aonomus
18 posts
Posted 2005-01-22 4:48am
aonomus
member
18 posts 2 snarkmarks Registered: Dec 26th 2004
I ran a search on it, but I never looked for a func_wall_toggle... thanks anyway