Re: skin
Posted by Samoflan on
Thu Dec 9th 2004 at 1:03am
9 posts
1 snarkmarks
Registered:
Dec 5th 2004
I am trying to make a button that when you press it the skin will change.
So far I have made a block that doesn't render, (func_button) it activates my door.
I then have a prop keypad placed in front of it (func_dynamic). This is where I have my problem. The keypad has 3 skins. I am trying to figure out how I change the skin from being blank to saying "access" when I press the button.
Note I cannot make the prop a func_button. I have to use a block and not render it and place behind my keypad. If you know a better way please let me know.
So basicly I am trying to make a prop button animate when I press it.
Re: skin
Posted by parakeet on
Thu Dec 9th 2004 at 1:17am
544 posts
81 snarkmarks
Registered:
Apr 30th 2004
Occupation: n/a
Location: Eastern US
Sorry to be too technical but the proper term for this is "texture" and animated textures (in halflife one) had a + before it so just put in the texture filter a + and the type you need should pop up . apply the texture to the button and last time i tried that was it = P
Re: skin
Posted by Samoflan on
Thu Dec 9th 2004 at 1:43am
9 posts
1 snarkmarks
Registered:
Dec 5th 2004
I am using a prop props_lab/keypad.mdl it has 3 skins. Being a prop I cannot use it as a func_button. So I havea block enity linked beind it to it as a func_button. I want to know how when I press that block that i have as my button it will change the skin on my keypad temporarly saying access for 2-3 secs then revert back to default skin.
A example of this is the keypads in blackmesa east.
props_lab/keypad.mdl has three skins - no text/acess/error
I cannot texture a prop.
Sorry if I wasn't clear enough the 1st time.
Re: skin
Posted by ReNo on
Thu Dec 9th 2004 at 1:48am
ReNo
member
5457 posts
1991 snarkmarks
Registered:
Aug 22nd 2001
Occupation: Level Designer
Location: Scotland
I think you would need to place the keypad prop in your map with the
prop_dynamic entity, as this way you can give it a name. Once you have
done this, make your button have an output that targets this prop, and
gives it the "skin" command with whatever skin value you'd like to use.
Re: skin
Posted by ReNo on
Thu Dec 9th 2004 at 2:09am
ReNo
member
5457 posts
1991 snarkmarks
Registered:
Aug 22nd 2001
Occupation: Level Designer
Location: Scotland
Use the parameter override box to give a value - 0 for the default
skin, or other numbers for successive skins. Look at the prop's
properties and set its skin to different values to find the right
number (most are ranged from 0-3 or something, of they have any other
skins at all) to enter.