Tremulous Forum

Media => Mapping Center => Topic started by: Plague Bringer on March 16, 2009, 04:08:16 am

Title: Two questions about buttons. [SOLVED]
Post by: Plague Bringer on March 16, 2009, 04:08:16 am
ONE: Is there a way to have a button activated by a keypress, they way they are in JKII? Move up to a button, press "e" (or whatever you have it bound to), and the button activates? (Question might not be appropriate for the mapping board, but I figured it would be easier to post both inquiries here, rather than figure out where to put this one)

TWO: Is there a way to have a texture or shader change upon button press, (again) the way that it is in JKII? Press a button, and it turns into a lit display.

I reference JKII a lot because I am aware that it's on the idT3 engine, which (unmodified) is very similar to ioq3.
Title: Re: Two questions about buttons.
Post by: Knowitall66 on March 16, 2009, 09:25:42 am
1: Not at present, unless you count Mouse1 (add a health key :P).
2: AFAIK that's not possible, however you could have a brush which covers up button textured differently.
Title: Re: Two questions about buttons.
Post by: Thorn on March 16, 2009, 03:59:10 pm
ONE: Is there a way to have a button activated by a keypress, they way they are in JKII? Move up to a button, press "e" (or whatever you have it bound to), and the button activates? (Question might not be appropriate for the mapping board, but I figured it would be easier to post both inquiries here, rather than figure out where to put this one)


Not by default but this was implemented in AMP via buttonmasks
Title: Re: Two questions about buttons.
Post by: Kaleo on March 18, 2009, 12:46:12 pm
Speaking of buttons, Urban Terror has (or had) a button feature for lifts that would bring up a dialogue window with a list of floors on it with corresponding numbers. When a number key was pressed, the lift would activate and move the player to that floor.

Is this clever use of scripts, or coded into the game engine?
Title: Re: Two questions about buttons.
Post by: Plague Bringer on March 18, 2009, 04:28:27 pm
game engine