1. #1

    How do I create a Boost Bar?? Is the data thing I need help

    I have a fully functional car (gas, brake, steering etc.) that when it goes through a "power up" (a trigger) you have the ability to "boost speed" by pressing Y button; now, I know how to make the boost bar to show up on the screen, by going to "screen settings" and... well creating it, but I have no idea how to make it work; what I want to do is to get the "boost bar" to look filled up as soon as the car goes through the "power up" (trigger) and make the "boost bar" to gradually depleted self while you press Y.

    I was able to set up a speed meter for the car by reading a "step by step how to" on this forum but I'm lost on this one again; I just don't get this data thing... I don't even know what I did for the speed meter... so... if anyone is willing and able Ill appreciate...
    Share this post

  2. #2

    Re: How do I create a Boost Bar?? Is the data thing I need h

    use the trigger to activate a "set value event" then use that to alter a basic data source.

    now put another set value event into the end of the chain that resets the basic data source.

    use the basic data source as the counter or score.

    you can be as fiddly as you like to make the bar fill or empty smoothly instead of in big jerks.

    for instance; hit trigger-increase data source by 10. (boost bar full)- now pressing y activates the boost and if you use "on hold" instead of "Press" and put the impulse into a clamp filter set to 1/1 and a decrease value by 1 event. as you boost the guage will fall. (change the delay of the clamp to alter the length of boost)

    instead of trying to time your boost to match your guage you could put a generic filter in set to trigger when "equals 0" that will disable the boost function and enable it when your bar fills, now the bar governs your boost not the other way round.

    hi 5
    XD
    Share this post

  3. #3

    Re: How do I create a Boost Bar?? Is the data thing I need h

    Thank you! I manage to get the boost bar filled up after car hits trigger; also when I press Y it start depleting not too fast and not to slow just how I wanted but I don't know what to do with the generic filter to set it up so that when Boost Bar gets to zero (0) it disables the boost/Y button...

    Here's a pic of how I'm doing it...



    ... a bit disorganized but I know where everything is... the green circles is what I have for this... but the generic filter is set to OFF the Y button, but I don't know how to attach it to the other values... it says "Operand 1/2" not really sure what to do with this... I've tried different options but nothing works...
    Share this post

  4. #4

    Re: How do I create a Boost Bar?? Is the data thing I need h

    that looks like it would work.
    but to do it that way you'd need an "on" for the y as well as the off.

    try making an event chain in a nice line or square, and put the generic filter at the beginning (right after the Y button chip) set the on false to continue into the chain and no true.

    now when you equal zero no impulse will enter the chain rather than disabling the y button.

    make sense? if i can get a good pic on my phone i'll try and make an example.

    so an impulse can go on forever if you just attach the event filter to the next chip and the next etc. think a flow chart or logic tree.
    Share this post

  5. #5

    Re: How do I create a Boost Bar?? Is the data thing I need h

    It works!!! Geez it took me hours... I don't think I did exactly as you're saying but at least half of it must be there cause it's working... I set a "less than 0" filter to make the boost stop working when it reaches 0, but If I let the Y press it kept going until I let go Y, so I use another trigger with "equals" zero with ANOTHER Y with "on down" so that it stops immediately when it reaches 0.

    Maybe there's an easier way but I'll just leave it there. Thank you that was very helpful.
    Share this post

  6. #6

    Re: How do I create a Boost Bar?? Is the data thing I need h

    hi 5 dude XD
    Share this post