Hello, i guess the subjects says it all but ill describe my problem more carefully:
I have a button and when i press it, i want it to change a texture nearby.
It might not change the texture itself but i want the user playing my map to
see a surface nearby change. Is this possible?
[addsig]
1
Re: Button that change a surface
Posted by RaPtoR on Fri Jan 7th at 2:57pm 2005
Posted by RaPtoR on Fri Jan 7th at 2:57pm 2005
Re: Button that change a surface
Posted by DrGlass on Fri Jan 7th at 6:26pm 2005

DrGlass
member
1825 posts
293 snarkmarks
Registered: Dec 12th 2004
Location: USA
Occupation: 2D/3D digital artist
Posted by DrGlass on Fri Jan 7th at 6:26pm 2005
yes! its quite easy too.
set up the wall you want to change, then make another wall behind it and close any gaps so that the inside wall (the one that will change) is 'inside' the map. Puth the first texture you want shown on this wall.
tie that wall to func_wall_toggle and name it wall_1
Now press apply and go to the flags tab and change it to 'start on' (this may be a named somthing else but you get the idea)
copy that wall and paste it over 'wall_1' now change that wall to 'start off'
once that is set up. Make a func_button and set its output to 'toggle' wall_1
Thats it! now when the button is pressed the walls will seamlessly switch places, giving the illussion that the texture has changed.
set up the wall you want to change, then make another wall behind it and close any gaps so that the inside wall (the one that will change) is 'inside' the map. Puth the first texture you want shown on this wall.
tie that wall to func_wall_toggle and name it wall_1
Now press apply and go to the flags tab and change it to 'start on' (this may be a named somthing else but you get the idea)
copy that wall and paste it over 'wall_1' now change that wall to 'start off'
once that is set up. Make a func_button and set its output to 'toggle' wall_1
Thats it! now when the button is pressed the walls will seamlessly switch places, giving the illussion that the texture has changed.
DrGlass
member
1825 posts
293 snarkmarks
Registered: Dec 12th 2004
Location: USA
Occupation: 2D/3D digital artist
1
© Snarkpit.net 2001 - 2023, about us, donate, contact
Snarkpit v6.1.0 created this page in 0.1037 seconds.

Snarkpit v6.1.0 created this page in 0.1037 seconds.


