Aller au contenu principal

Recherche

Only power specific ports on a selector?

  • thebiv

    I'm not completely clear what you are asking and I'm going back to my sketchy LBP logic.

    I think you need "And" gates. Have each selection fed by two inputs into the "And" gate. One comes from your selector, the other from a "live" signal from the puppet. When "A" puppet dies, one of the two inputs goes dead, the "And" gate is no longer complete and so "A" display shuts down.

    I think I'm missing steps in there. I'd have to fiddle with it.

  • Krustofsky

    Thanks, but I think using your method would result in the selector still cycling trough that port. Say the AND logic goes to selector slot A. Puppet A is now dead, so it isn’t powering the output, and won’t display any text. Problem is the selector still outputs A, even if it outputs nothing. It does skip past A straight to B (or C or whichever port is “active”)

  • Krustofsky

    If I want to cycle between ten characters and nine are dead it would then mean I need to cycle trough nine empty ports. What I need is for the selector to skip those entirely. And since any random puppets could die I can’t simple scale the number of active ports to the number of still living puppets. If two are still alive, B and E, then the selector could output only two outputs, but those would then be output A and B, at least as far as I know

  • thebiv

    Okay, I see what you are saying now. The long way to do it would be to have a different selector for each combination that activates as characters die, but that would be a freaking nightmare.

    I'll have to think on this.

  • thebiv

    Okay, this will take some explaining.

    Lets say you are cycling with Square.

    Instead of inputting square directly into the selector, run it into an "OR" gate.

    Wire the "OR" gate into the cycle function of the selector.

    AFTER the selector, run each one into both the character select and into an "AND" gate.

    Send the "Character alive" status into a "NOT" and then into the other port of the "AND" gate.

    Run all of the "AND" gate outputs into the "OR" gate.


    So what should happen is, as you press square, you should cycle as normal. Since the characters are alive, the "AND" gate doesn't do anything.

    But as, lets say, "B" dies, when the cycle gets to "B", the "AND" gate sees that he's "NOT" alive and automatically sends a new signal to the "OR" gate which cycles it again to "C".

    In effect, you press square once and it cycles twice.....or more depending on how many die.

    You may need to put a tenth or 100th of a second timer delay between the "AND" gate and the "OR" to make it work right.

    Not sure if that will work, but that's what I'd try.

  • thebiv

    Dang, forgot to add, After the "AND" and before the character, you will probably need another "AND" as I listed before.....I think

  • Krustofsky

    Thank You, I Will try this when I get a chance! (though I am using d-pad left and right to cycle in both directions, but same principle and more wiring I suspect. I’ll let you know if I get it working or what problems occur

  • Krustofsky

    thebiv I’d like to thank you for your help, but I’m sorry to say I just got a grasp on exclusive gates which solves this problem for me.

    The “alive” signal (for me these are trigger zones responding to a unique tag in every puppet) goes into the “gate input” of the exclusive gate.

    The “reset mode” is set to “queue” (I believe this maintains the cycle between outputs consistent)

    The “gate output” goes to whatever I want powered.

    I make about ten of these setups, each with unique trigger zone (“Puppet A”, “Puppet B” etc) going into a separate exclusive gate (all with the same name, this is important)

    To each of these exclusive gate’s “close gates” I connect a button press (for me, d-pad down).

    And that’s it. It cycles between the active (“alive”) slots.

    My problem now is having them cycle in reverse using the “d pad up” button. I’ll update if I’ll manage.

    Thanks again for your help!

  • thebiv

    Awesome!

    Glad you found the solution. I need to check out these exclusive gates and see how they work.

Vous devez vous connecter pour laisser un commentaire.