+ Reply to Thread
Results 1 to 7 of 7

Thread: Question on how to do something.

  1. #1
    Wire Noob Sytakan's Avatar
    Join Date
    May 2010
    Posts
    3

    Default Question on how to do something.

    Okay, I have a question. I appologize if this is in the wrong forum.

    Basically I'm trying to figure out how to make a wire button link up to activate via pressing a key on the numpad. This is because I can't sit in a chair and activate a button on a panel at the same time.

    Would anyone be able to tell me how to set this up, or link me to something that could? I've tried searching, but I havn't really found anything.

  2. #2
    Ursus maritimus Drunkie's Avatar
    Join Date
    Feb 2009
    Location
    Canada
    Posts
    5,662
    Blog Entries
    1

    Default Re: Question on how to do something. -not sure where to put this.

    Wrong forum, moved to general chat.

  3. #3
    http://somone77.net somone77's Avatar
    Join Date
    Jun 2008
    Location
    <Smart ass location>
    Posts
    614

    Default Re: Question on how to do something.

    I can foresee two ways to accomplish this.

    One you can use a numpad input and wire that to the "Set" input of a button.

    You could also use an or chip in the following fashion.

    Thing that the button goes to

    Button ------------>Or chip<---------------numpad input.

    That or chip will have a value of 1 if the button or the numpad input is 1.

    Hope that helped.


    No matter how many Z's you put after Plz, you still spell as well as a piece of cheese.

    http://somone77.net

  4. #4
    Wire Noob Sytakan's Avatar
    Join Date
    May 2010
    Posts
    3

    Default Re: Question on how to do something.

    That does help, actually.

    Unfortunately, I'm an idiot and I don't know what an "or chip" is.

    Most of the tutorials and whatnot for these things confuse me, and a lot of stuff, like the spacebuild entities and various wiremod things, confuse the hell out of me.

    EDIT: Think I found the right chip. I found GATE: BITWISE and used the OR setting. I took my numpad input, set it to activate on "/", Value on = 1, value off =0. I wired that to B on the GATE, then wired A to the button, which I have wired to a weapon's FIRE mode. I push "/", the numpad value is 1, the GATE is 1, but the button does nothing. Any idea what I'm doing wrong?
    Last edited by Sytakan; 08-30-2010 at 01:32 AM.

  5. #5
    Wire Amateur StefanMajonez's Avatar
    Join Date
    May 2010
    Location
    Earth
    Posts
    69

    Default Re: Question on how to do something.

    Gate - Logic Or(Any) is what you're looking for.
    I am ze wirerer.
    I like to use Expression 2 Tool. Usually my own codes.

  6. #6
    Wire Sofaking Azrael's Avatar
    Join Date
    Aug 2007
    Posts
    1,946

    Default Re: Question on how to do something.

    Sytakan: With the or gate method, the button won't do anything when you use the numpad -- instead of wiring up whatever you wanted to be activated to the button, wire it up to the or gate, and then it can be activated with either the button or the numpad. If you want the button to show the effect of being pressed, I'd recommend using the button's Set input.

    I once saw a contraption somebody had made that let them press buttons inside a pod, it locked the pod and then used an invisible Wired User to follow their view, and then whenever they pressed a certain key (I think they had it wired to Reload), it would activate the User, thus letting them press the button.

  7. #7
    Wire Noob Sytakan's Avatar
    Join Date
    May 2010
    Posts
    3

    Default Re: Question on how to do something.

    That worked! Thanks a ton, everyone!

+ Reply to Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
proceed-collector
proceed-collector
proceed-collector
proceed-collector
linguistic-parrots
linguistic-parrots
linguistic-parrots
linguistic-parrots