prop_button -> SetAnimation bug?
Quote from smashy on June 6, 2011, 7:53 amhey there,
1:
i've ran into a strange problem which is partially solvable (switching the prop_button with a prop_floor_button for example).Setup:
prop_button (4sec timeout) with the following outputs:prop_floor_button with the following outputs:
and of course a prop_dynamic being an interior arm and a func_brush which is being attached per panel_attach.
Now, when using the prop_button, the animation is way too fast - rarely is it displayed correctly.
However, using the prop_floor_button (with the same outputs) works like a charm, rarely is the animation too fast.To better visualize it, i've upped a vid of it:
http://www.youtube.com/watch?v=7kFA9izXmp0Is this a known / unknown bug or am i doing something wrong?
2:
Dont want to open another topic, so just 2 small questions here:
how would i play several animations consecutively? I guess by using a delay at certain outputs - however, i have yet to find a duration for each animation of a model. all i could find where frames - any way to calc them down into time?And: if you watch the video, you can (if looking closely) spot a weird repositioning of the brush & arm at the end of each animation. but i guess there is nothing you can do here, as i think its occuring when the model is set to its default animation, which - most likely - happens to be a little bit off.
hey there,
1:
i've ran into a strange problem which is partially solvable (switching the prop_button with a prop_floor_button for example).
Setup:
prop_button (4sec timeout) with the following outputs:
prop_floor_button with the following outputs:
and of course a prop_dynamic being an interior arm and a func_brush which is being attached per panel_attach.
Now, when using the prop_button, the animation is way too fast - rarely is it displayed correctly.
However, using the prop_floor_button (with the same outputs) works like a charm, rarely is the animation too fast.
To better visualize it, i've upped a vid of it:
http://www.youtube.com/watch?v=7kFA9izXmp0
Is this a known / unknown bug or am i doing something wrong?
2:
Dont want to open another topic, so just 2 small questions here:
how would i play several animations consecutively? I guess by using a delay at certain outputs - however, i have yet to find a duration for each animation of a model. all i could find where frames - any way to calc them down into time?
And: if you watch the video, you can (if looking closely) spot a weird repositioning of the brush & arm at the end of each animation. but i guess there is nothing you can do here, as i think its occuring when the model is set to its default animation, which - most likely - happens to be a little bit off.
Quote from KenJeKenny!? on June 6, 2011, 8:07 amWhat you should do is create 2 logic_relays. 1 for OnPressed action and 1 for OnUnPressed action. Then have the logic_relays trigger via OnPressed & OnUnPressed.
It's actually something you should always do... because even with the prop_floor_button it will give bugs.
If you jump up and down on a floor button without logic_relays you have a chance some of the animations get stuck/reversed.
What you should do is create 2 logic_relays. 1 for OnPressed action and 1 for OnUnPressed action. Then have the logic_relays trigger via OnPressed & OnUnPressed.
It's actually something you should always do... because even with the prop_floor_button it will give bugs.
If you jump up and down on a floor button without logic_relays you have a chance some of the animations get stuck/reversed.
Quote from smashy on June 6, 2011, 8:21 amThanks for the answer
while it reduced the occurences of sped up animations, they still occur
especially the OnButtonReset - tried OnPressed with 4 sec delay, but this didn't help either.
Thanks for the answer ![]()
while it reduced the occurences of sped up animations, they still occur ![]()
especially the OnButtonReset - tried OnPressed with 4 sec delay, but this didn't help either.
Quote from KenJeKenny!? on June 6, 2011, 8:28 amAnd what if you use the OnUnPressed instead of OnButtonReset for your prop_button? (tbh i never use the reset output)
And what if you use the OnUnPressed instead of OnButtonReset for your prop_button? (tbh i never use the reset output)
