[Solved] Reversing animations?
Quote from Konke on March 5, 2014, 12:56 pmI want to use a certain animation on a 64 arm but it's seems it's only one way. There a animation for the arm to go out but not in. Is there a way to reverse the animation so I kind of cheat it back in?
I want to use a certain animation on a 64 arm but it's seems it's only one way. There a animation for the arm to go out but not in. Is there a way to reverse the animation so I kind of cheat it back in?
Quote from Konke on March 5, 2014, 2:59 pmI'm not sure I follow. How should it look? My relay to put them out looks like this:
My Output: OnTrigger
Target Entity: thrust_arm_0101
Target Input: SetAnimation
Parameter: trustflings_platfor_b01and
My Output: OnTrigger
Target Entity: thrust_arm_0101
Target Input: SetDefaultAnimation
Parameter: trustflings_platfor_b01_idleendThis is for the same arm. How do I get it back in?
I'm not sure I follow. How should it look? My relay to put them out looks like this:
My Output: OnTrigger
Target Entity: thrust_arm_0101
Target Input: SetAnimation
Parameter: trustflings_platfor_b01
and
My Output: OnTrigger
Target Entity: thrust_arm_0101
Target Input: SetDefaultAnimation
Parameter: trustflings_platfor_b01_idleend
This is for the same arm. How do I get it back in?

Quote from TeamSpen210 on March 5, 2014, 3:11 pmSet "hold animation" to yes on the prop_dynamic and delete the setDefaultAnimation output. Put the animation name (trustflings_platfor_b01) into the Default animation keyvalue on the prop_dynamic. Now you can send inputs of SetPlaybackRate with a parameter of 1 or -1 to play the animation forwards or backwards. You'd probably want to SetPlaybackRate -1 in the logic_auto before you trigger SetParentAttachmentMaintainOffset.
Set "hold animation" to yes on the prop_dynamic and delete the setDefaultAnimation output. Put the animation name (trustflings_platfor_b01) into the Default animation keyvalue on the prop_dynamic. Now you can send inputs of SetPlaybackRate with a parameter of 1 or -1 to play the animation forwards or backwards. You'd probably want to SetPlaybackRate -1 in the logic_auto before you trigger SetParentAttachmentMaintainOffset.
[spoiler]- BEE2 Addons | (BEE2)
- Hammer Addons
Maps:
- Crushed Gel
- Gel is Not Always Helpful[/spoiler]
Quote from Konke on March 6, 2014, 10:27 amTeamSpen210 wrote:Set "hold animation" to yes on the prop_dynamic and delete the setDefaultAnimation output. Put the animation name (trustflings_platfor_b01) into the Default animation keyvalue on the prop_dynamic. Now you can send inputs of SetPlaybackRate with a parameter of 1 or -1 to play the animation forwards or backwards. You'd probably want to SetPlaybackRate -1 in the logic_auto before you trigger SetParentAttachmentMaintainOffset.Thank you, now it works! Although, in Hammer the arm's animation keeps repeating. Ingame it works so I'm satisfied. It's just that it's kind of ennoying to see a arm in the Hammer editor moving all the time.
Thank you, now it works! Although, in Hammer the arm's animation keeps repeating. Ingame it works so I'm satisfied. It's just that it's kind of ennoying to see a arm in the Hammer editor moving all the time.
Quote from HMW on March 6, 2014, 1:03 pmIf you go into Tools => Options => 3D views, there's a setting to turn animations off in Hammer.
Although it often turns them back on for no reason.
If you go into Tools => Options => 3D views, there's a setting to turn animations off in Hammer.
Although it often turns them back on for no reason.
Other Portal 2 maps: Medusa Glare
Portal 1 maps: Try Anything Twice | Manic Mechanic
Quote from Konke on March 6, 2014, 1:18 pmHMW wrote:If you go into Tools => Options => 3D views, there's a setting to turn animations off in Hammer.
Although it often turns them back on for no reason.Thanks, seems to be working!
Although it often turns them back on for no reason.
Thanks, seems to be working!
Quote from FelixGriffin on March 6, 2014, 7:30 pmYou can also go to the Model tab on the entity and choose an animation to show in the editor.
You can also go to the Model tab on the entity and choose an animation to show in the editor.