1. #1

    Game Variable Data Source - left/right stick HOW TO?

    How do you use the left/right stick value's in the game variable data source?? i have a right stick horizontal value, a generic filter set to 'equals' with first comparison value being the right stick variable data source, and 2nd comparison value being '3', as it says values are -3...3. the true impulse goes to a set value of 20 connected to the angular motor of a rotational hinge, the false value setting it to 0..i test track and when i move the right stick NOTHING happens..ive tried so many different way and i am not new this level editor at all, i just cant figure this out. please help!

    also is there anyway to show the icons of the data sources etc when u test track so u can watch everything change?
    Share this post

  2. #2

    Re: Game Variable Data Source - left/right stick HOW TO?

    Most likely you haven't set up a 1 tick interval trigger whose impulses go to the filter.
    None of the other components you are using produce an impulse on their own.
    Share this post

  3. #3
    johnsalis's Avatar Senior Member
    Join Date
    Sep 2014
    Posts
    1,128

    Re: Game Variable Data Source - left/right stick HOW TO?

    Originally Posted by DAstpNK
    also is there anyway to show the icons of the data sources etc when u test track so u can watch everything change?
    press start when you are testing the track, then enable editor icons.
    Share this post

  4. #4

    Re: Game Variable Data Source - left/right stick HOW TO?

    Originally Posted by EuphoricFusion
    Most likely you haven't set up a 1 tick interval trigger whose impulses go to the filter.
    None of the other components you are using produce an impulse on their own.
    No sir i have not..could you explain further? what im trying to do is adjust something depending on the the "pressure" of the stick.
    Share this post

  5. #5

    Re: Game Variable Data Source - left/right stick HOW TO?

    Originally Posted by xIronWarlordx
    Originally Posted by DAstpNK
    also is there anyway to show the icons of the data sources etc when u test track so u can watch everything change?
    press start when you are testing the track, then enable editor icons.
    dude your the best! i know i've seen this before but could not find it again haha
    Share this post

  6. #6

    Re: Game Variable Data Source - left/right stick HOW TO?

    Originally Posted by DAstpNK
    Originally Posted by EuphoricFusion
    Most likely you haven't set up a 1 tick interval trigger whose impulses go to the filter.
    None of the other components you are using produce an impulse on their own.
    No sir i have not..could you explain further? what im trying to do is adjust something depending on the the "pressure" of the stick.
    Basically, all a filter does is direct an impulse to an even based on facts it's given n this case, it's comparing 2 numbers), it does not produce impulses itself. So to be of any use, it needs to have a way to recieve impulses.

    A (Rather bad) analogy is to think of the impulses as running water, the filters as floodgates, and the events as water-wheels.

    ...Okay, that was pretty terrible. Anyway, like EF said, an interval trigger will work fine. Just have it directed to send impulses to the filter.
    Share this post

  7. #7

    Re: Game Variable Data Source - left/right stick HOW TO?

    What EF means is that moving the stick only changes the value the filter is looking for. When the filter sees 3=3 it lets an impulse through, but you have no impulse.

    As EF says, get an interval trigger set to 1 tick and send the impulse to the filter, then when you move the right stick it will let the impulse through to the set value event and your hinge should work.

    Edit: Yeah, ^ what he said
    Share this post

  8. #8

    Re: Game Variable Data Source - left/right stick HOW TO?

    so do i put this interval trigger set to 1 tick repeating over an over as fast as possible? seems to be the only way it lets the impulse through is if the filter is receiving an impulse at the time the filter meets my requirements (-3 = -3)
    Share this post

  9. #9

    Re: Game Variable Data Source - left/right stick HOW TO?

    Can you post a pic of your setup?
    It will be easier to see where it's going wrong and I can give clear instructions.
    Share this post

  10. #10

    Re: Game Variable Data Source - left/right stick HOW TO?

    Originally Posted by EuphoricFusion
    Can you post a pic of your setup?
    It will be easier to see where it's going wrong and I can give clear instructions.
    i think i got it! i have a interval trigger constantly sending impulses to the filter every .16 seconds, when the filter meets requirements it allows impulse to reach event..but heres my new problem..im using a OPE on a moving physics object but when the OPE is enabled it locks movement..anyway around this?
    Share this post