Rapid button pressing
Quote from Marlovious on June 22, 2011, 10:03 pmI guess it could be made a little cleaner by using a logic case.
I guess it could be made a little cleaner by using a logic case.
Quote from -ArttyIntel- on June 22, 2011, 11:33 pmId set a delay to the button. To make it where the play wont accidentally come across the problem.
Id set a delay to the button. To make it where the play wont accidentally come across the problem.
Quote from KenJeKenny!? on June 23, 2011, 8:20 amI got it working almost perfectly now... the movement is fluid and the panels wont freak out anymore... only the telescopic arm still freaks a tiny bit... the "panel frame" is coming through the panels sometimes...
I got it working almost perfectly now... the movement is fluid and the panels wont freak out anymore... only the telescopic arm still freaks a tiny bit... the "panel frame" is coming through the panels sometimes...
Quote from KenJeKenny!? on June 23, 2011, 12:25 pmI even tried some different animations... but the arms keep comming through the panels :S
I even tried some different animations... but the arms keep comming through the panels :S
Quote from Marlovious on June 23, 2011, 1:33 pmIf the models are still clipping the panels, try making the panels a little thicker.
If the models are still clipping the panels, try making the panels a little thicker.
Quote from KenJeKenny!? on June 23, 2011, 2:16 pmKasc wrote:How are you doing this?http://www.youtube.com/watch?v=Q5na8Llhk8k
Marlovious wrote:If the models are still clipping the panels, try making the panels a little thicker.Yeh but i want them to be lined up with the floor once they are down... and in order to do that it has to be as thin as possible... it's 1 unit wide right now and only 1 unit lower then the floor when it is done.
http://www.youtube.com/watch?v=Q5na8Llhk8k
Yeh but i want them to be lined up with the floor once they are down... and in order to do that it has to be as thin as possible... it's 1 unit wide right now and only 1 unit lower then the floor when it is done.
Quote from Marlovious on June 23, 2011, 2:40 pmAren't most of the arms with panels already attached about 4 units thick? Honestly, a panel that sticks out 3 extra units will be almost unnoticeable to most people. Or put it this way, which looks worse, a panel that is slightly thicker than the surrounding wall or a model that clips through it's panel.
Aren't most of the arms with panels already attached about 4 units thick? Honestly, a panel that sticks out 3 extra units will be almost unnoticeable to most people. Or put it this way, which looks worse, a panel that is slightly thicker than the surrounding wall or a model that clips through it's panel.
Quote from KenJeKenny!? on June 23, 2011, 4:35 pmI already got it fixed! FINALLY!
No more ugly animation resets or panels/arms sticking out EVER!
It's all in the manner that you trigger the animation...
This is how i finally fixed it:
Set the prop_dynamic's DefaultAnimation to a "idle" animation that has the starting position you want (I'm using makeramp_06close_idle in this example). And make sure Hold animation is set to yes!
prop_floor_button
OnPressed > Button_OnPressed_Relay > Trigger > 0.10 delay
OnPressed > Button_OnUnPressed_Relay > CancelPending > 0.10 delay !!!
OnUnPressed > Button_OnUnPressed_Relay > Trigger > 0.10 delayButton_OnPressed_Relay
OnTrigger > Panel_01 > SetAnimation > makeramp_06close > 0.10 delay ( FIRE ONCE ! ) !!!
OnTrigger > Panel_02 > SetAnimation > makeramp_06close > 0.20 delay ( FIRE ONCE ! ) !!!
OnTrigger > Panel_03 > SetAnimation > makeramp_06close > 0.30 delay ( FIRE ONCE ! ) !!!
OnTrigger > Panel_04 > SetAnimation > makeramp_06close > 0.40 delay ( FIRE ONCE ! ) !!!
OnTrigger > Panel_01 > SetPlaybackRate > 1 > 0.10 delay !!!
OnTrigger > Panel_02 > SetPlaybackRate > 1 > 0.20 delay !!!
OnTrigger > Panel_03 > SetPlaybackRate > 1 > 0.30 delay !!!
OnTrigger > Panel_04 > SetPlaybackRate > 1 > 0.40 delay !!!Button_OnUnPressed_Relay
OnTrigger > Panel_01 > SetPlaybackRate > -1 > 0.10 delay
OnTrigger > Panel_02 > SetPlaybackRate > -1 > 0.20 delay
OnTrigger > Panel_03 > SetPlaybackRate > -1 > 0.30 delay
OnTrigger > Panel_04 > SetPlaybackRate > -1 > 0.40 delayI watched some tutorial videos before and during the creating of these panels and all of them have 1 relay set a animation and the another relay set the playbackrate to -1. This will however create problems when triggering buttons really fast. But not if you do it the above way. The outputs marked with !!! are what is different from most tutorials and works in cases like these.
I already got it fixed! FINALLY! ![]()
No more ugly animation resets or panels/arms sticking out EVER!
It's all in the manner that you trigger the animation...
This is how i finally fixed it:
Set the prop_dynamic's DefaultAnimation to a "idle" animation that has the starting position you want (I'm using makeramp_06close_idle in this example). And make sure Hold animation is set to yes!
prop_floor_button
OnPressed > Button_OnPressed_Relay > Trigger > 0.10 delay
OnPressed > Button_OnUnPressed_Relay > CancelPending > 0.10 delay !!!
OnUnPressed > Button_OnUnPressed_Relay > Trigger > 0.10 delay
Button_OnPressed_Relay
OnTrigger > Panel_01 > SetAnimation > makeramp_06close > 0.10 delay ( FIRE ONCE ! ) !!!
OnTrigger > Panel_02 > SetAnimation > makeramp_06close > 0.20 delay ( FIRE ONCE ! ) !!!
OnTrigger > Panel_03 > SetAnimation > makeramp_06close > 0.30 delay ( FIRE ONCE ! ) !!!
OnTrigger > Panel_04 > SetAnimation > makeramp_06close > 0.40 delay ( FIRE ONCE ! ) !!!
OnTrigger > Panel_01 > SetPlaybackRate > 1 > 0.10 delay !!!
OnTrigger > Panel_02 > SetPlaybackRate > 1 > 0.20 delay !!!
OnTrigger > Panel_03 > SetPlaybackRate > 1 > 0.30 delay !!!
OnTrigger > Panel_04 > SetPlaybackRate > 1 > 0.40 delay !!!
Button_OnUnPressed_Relay
OnTrigger > Panel_01 > SetPlaybackRate > -1 > 0.10 delay
OnTrigger > Panel_02 > SetPlaybackRate > -1 > 0.20 delay
OnTrigger > Panel_03 > SetPlaybackRate > -1 > 0.30 delay
OnTrigger > Panel_04 > SetPlaybackRate > -1 > 0.40 delay
I watched some tutorial videos before and during the creating of these panels and all of them have 1 relay set a animation and the another relay set the playbackrate to -1. This will however create problems when triggering buttons really fast. But not if you do it the above way. The outputs marked with !!! are what is different from most tutorials and works in cases like these.
Quote from MissStabby on June 23, 2011, 9:52 pmBut what if you wanted to use 2 different animations?
Some animations show the weight of certain panels very well.
Like a heavy panel dropping 90 degrees out of a ceiling, the "out" animation drops the panel quite quickly, but the "in" animation first shows the arm being put under tension before actually moving the panel itself.The "makeramp_xx" animations show this very well
But what if you wanted to use 2 different animations?
Some animations show the weight of certain panels very well.
Like a heavy panel dropping 90 degrees out of a ceiling, the "out" animation drops the panel quite quickly, but the "in" animation first shows the arm being put under tension before actually moving the panel itself.
The "makeramp_xx" animations show this very well
Spotlighted and over 9000 downloads!!! SP_Angrybombs
Here's my youtube & deviantart
