Exist textures these kid of textures...? Created 7 years ago2017-02-10 16:47:58 UTC by REBELVODKA REBELVODKA

Created 7 years ago2017-02-10 16:47:58 UTC by REBELVODKA REBELVODKA

Posted 7 years ago2017-02-10 16:47:58 UTC Post #333422
When you shoot it, change to other texture?
REBELVODKA REBELVODKASemper fidelis
Posted 7 years ago2017-02-10 16:48:14 UTC Post #333423
I mean in goldsrc
REBELVODKA REBELVODKASemper fidelis
Posted 7 years ago2017-02-10 17:08:52 UTC Post #333424
Yes I believe, just make the animated texture, slap it on a brush, tie the brush to a shootable button and voila. I'm away from home or i'd consider seeing if it works myself. Can't remember if the "shootable" is a flag you have to set or if there's a shootable_button entity.

If this fails, try using env_renders and multiple brushes with different textures.
Posted 7 years ago2017-02-10 21:23:14 UTC Post #333427
There is no such entity. Make the brush a func_button, but there is no "Shootable" flag. You need to set the "Health" attribute:
Health (health) - If the button has to be shot, rather than pressed, specify a value greater than 0 here. When this amount of damage occurs, the button will activate*.
*Which also includes changing its texture if you set the proper texture. It doesn't need to target anything.

You will find it done in this map: http://twhl.info/vault.php?map=5463 (see monitors)
Posted 7 years ago2017-02-11 04:27:36 UTC Post #333429
He probably meant button_target which should also do what he wants.
Posted 7 years ago2017-02-11 21:21:10 UTC Post #333440
After all these years, I just realised that button_target refers to a button-type of [gun] target, rather than a button's target entity, which didn't quite make sense to me.
You must be logged in to post a response.