i was just wondering... Created 17 years ago2006-06-06 19:37:55 UTC by 3mil 3mil

Created 17 years ago2006-06-06 19:37:55 UTC by 3mil 3mil

Posted 17 years ago2006-06-06 19:37:55 UTC Post #184128
if it's possible to use a button to trigger one texture to change to another. and if so can any one tell me how? help is appreciated ;)
Posted 17 years ago2006-06-06 20:24:01 UTC Post #184134
Posted 17 years ago2006-06-06 20:39:43 UTC Post #184136
thanks, at least now i can play around with light textures. to bad it doesn't work for others, imagine flicking a light switch and the walls change colors :nuts:
Posted 17 years ago2006-06-07 03:56:48 UTC Post #184157
use two env_renders, and have two walls with different colours on top of each other - set to func_wall and named. Change the second wall to texture and FXamount 1, then set the renders to change the properties of the first to this and then second wall to fxamount 225.

The button should trigger a multimanager to trigger the two env_renders

You could also get away with only having one render by having the second wall 1 unit in front of the other, so the player wouldn't notice the difference. Then just use 1 render to make the second wall appear
Posted 17 years ago2006-06-07 04:07:08 UTC Post #184158
Make two textures, named:

+0texturename
+Atexturename

Apply the "+0" texture wherever it has to go, and make it a func_wall. Also, give it a name.

Have your button target that func_wall, and hitting the button will cause it to change to the "+A" texture.
Posted 17 years ago2007-03-27 13:34:39 UTC Post #217219
if i may ask a stupid question.
when you place a button, the texture is supposed to change when you use it.
how do you select the second texture.
Posted 17 years ago2007-03-27 14:01:19 UTC Post #217222
First off. Welcome to the Forum

Secondly. Don't bump 6 month old threads. We hate that.

As for your question, You can't choose the second texture without making your own .wad texture file.

e.g. +Abutton1 and +0button1 would switch when used on a func_button entity.
monster_urby monster_urbyGoldsourcerer
Posted 17 years ago2007-03-27 16:35:54 UTC Post #217249
Use two func_wall_toggles.

Have one that starts on, and the other start off... and when you click the button, it triggers a multimanager that triggers both at the same time.

Should work, but remember, the func_wall_toggle is an entity and can't be on the outside of the map.
You must be logged in to post a response.