Delayed Layer References
Moderators: Víctor Paredes, Belgarath, slowtiger
Delayed Layer References
This is a menu/button script. It takes the currently selected layer and creates a number of references with a certain timing offset, so each reference's animation plays with a delay of several frames.
The default X and Y offset values are the layer's bounding box dimensions, so if you just click OK then the references will be added back to back with no space between them.
Download link: http://mohoscripting.com/uploads/1/sz_d ... s_1.11.zip
The default X and Y offset values are the layer's bounding box dimensions, so if you just click OK then the references will be added back to back with no space between them.
Download link: http://mohoscripting.com/uploads/1/sz_d ... s_1.11.zip
Last edited by Stan on Thu Apr 13, 2017 4:29 am, edited 4 times in total.
________________________________________________________________________
https://mohoscripting.com/ - Unofficial Moho Lua scripting documentation
https://mohoscripts.com/ - The best place to publish and download scripts for Moho
https://mohoscripting.com/ - Unofficial Moho Lua scripting documentation
https://mohoscripts.com/ - The best place to publish and download scripts for Moho
- synthsin75
- Posts: 9973
- Joined: Mon Jan 14, 2008 11:20 pm
- Location: Oklahoma
- Contact:
Re: Delayed Layer References
Thanks, Stan! Looks awesome!
- Wes
Donations: https://www.paypal.com/paypalme/synthsin75 (Thx, everyone.)
https://www.youtube.com/user/synthsin75
Scripting reference: https://mohoscripting.com/
Donations: https://www.paypal.com/paypalme/synthsin75 (Thx, everyone.)
https://www.youtube.com/user/synthsin75
Scripting reference: https://mohoscripting.com/
Re: Delayed Layer References
That's trippy!
Thanks for posting the tool, Stan. Looking forward to trying it out.
Thanks for posting the tool, Stan. Looking forward to trying it out.
D.R. Greenlaw
Artist/Partner - Little Green Dog | Little Green Dog Channel on Vimeo | Greenlaw's Demo Reel 2020 Edtion
Artist/Partner - Little Green Dog | Little Green Dog Channel on Vimeo | Greenlaw's Demo Reel 2020 Edtion
- Víctor Paredes
- Site Admin
- Posts: 5661
- Joined: Wed Jan 26, 2005 12:18 am
- Location: Barcelona/Chile
- Contact:
Re: Delayed Layer References
Wow, another fantastic and clever script this week!
Thank you very much for sharing it.
I have been playing with it and have some feedback for it (and, of course, you are free to consider it ):
The Layer Translation channel is used to move the delayed referenced layers, that means you can't modify that channel after the references are created, because it's not referenced to the original layer.
Also related to layer translation, the script only offsets the first layer translation keyframe for the references. So, if you have more than one translation key, the references start in the new position, but then go back to the original layer position, creating a weird animation.
To solve it, maybe the script could have the option to create a group for each reference and translate the group instead of the layer itself.
I tried to manually do this group trick, but the script is not working for groups right now.
Thank you very much for sharing it.
I have been playing with it and have some feedback for it (and, of course, you are free to consider it ):
The Layer Translation channel is used to move the delayed referenced layers, that means you can't modify that channel after the references are created, because it's not referenced to the original layer.
Also related to layer translation, the script only offsets the first layer translation keyframe for the references. So, if you have more than one translation key, the references start in the new position, but then go back to the original layer position, creating a weird animation.
To solve it, maybe the script could have the option to create a group for each reference and translate the group instead of the layer itself.
I tried to manually do this group trick, but the script is not working for groups right now.
Moho Product Manager
www.mohoanimation.com
Rigged animation supervisor in My father's dragon - Lead Moho artist in Wolfwalkers - Cartoon Saloon - My personal Youtube Channel
Re: Delayed Layer References
Thank you Victor, excellent idea!Víctor Paredes wrote:Wow, another fantastic and clever script this week!
Thank you very much for sharing it.
I have been playing with it and have some feedback for it (and, of course, you are free to consider it ):
The Layer Translation channel is used to move the delayed referenced layers, that means you can't modify that channel after the references are created, because it's not referenced to the original layer.
Also related to layer translation, the script only offsets the first layer translation keyframe for the references. So, if you have more than one translation key, the references start in the new position, but then go back to the original layer position, creating a weird animation.
To solve it, maybe the script could have the option to create a group for each reference and translate the group instead of the layer itself.
I tried to manually do this group trick, but the script is not working for groups right now.
"Put Each Reference in a Group Layer" - I added that option to the new version (1.1). The link in the first post is updated. Enjoy!
Merry Christmas and Happy New Year to everyone!
________________________________________________________________________
https://mohoscripting.com/ - Unofficial Moho Lua scripting documentation
https://mohoscripts.com/ - The best place to publish and download scripts for Moho
https://mohoscripting.com/ - Unofficial Moho Lua scripting documentation
https://mohoscripts.com/ - The best place to publish and download scripts for Moho
- Víctor Paredes
- Site Admin
- Posts: 5661
- Joined: Wed Jan 26, 2005 12:18 am
- Location: Barcelona/Chile
- Contact:
Re: Delayed Layer References
Wow! Thank you very much, Stan!Stan wrote:"Put Each Reference in a Group Layer" - I added that option to the new version (1.1). The link in the first post is updated. Enjoy!
Merry Christmas and Happy New Year to everyone!
I'm having a lot of fun with this script and will try to use in the project I'm working on.
Moho Product Manager
www.mohoanimation.com
Rigged animation supervisor in My father's dragon - Lead Moho artist in Wolfwalkers - Cartoon Saloon - My personal Youtube Channel
Re: Delayed Layer References
Cool Stan...!
Re: Delayed Layer References
This could be really powerful if you can figure out a way to get it to work with image textures.
Re: Delayed Layer References
Thank you, Stan!
Re: Delayed Layer References
Thanks to Victor Paredes, I have made a little modification to the script - now you can use negative values for the timeline delay, that will move the references to the left side in Sequencer (the explanation is here). The link in the first post is updated. Enjoy!
________________________________________________________________________
https://mohoscripting.com/ - Unofficial Moho Lua scripting documentation
https://mohoscripts.com/ - The best place to publish and download scripts for Moho
https://mohoscripting.com/ - Unofficial Moho Lua scripting documentation
https://mohoscripts.com/ - The best place to publish and download scripts for Moho
- Lost Marble
- Site Admin
- Posts: 2347
- Joined: Tue Aug 03, 2004 6:02 pm
- Location: Scotts Valley, California, USA
- Contact:
Re: Delayed Layer References
I missed this when it was originally posted, but wow! This is a really cool idea! Thanks for sharing the script, Stan!
Re: Delayed Layer References
Thank you Mike!Lost Marble wrote:I missed this when it was originally posted, but wow! This is a really cool idea! Thanks for sharing the script, Stan!
________________________________________________________________________
https://mohoscripting.com/ - Unofficial Moho Lua scripting documentation
https://mohoscripts.com/ - The best place to publish and download scripts for Moho
https://mohoscripting.com/ - Unofficial Moho Lua scripting documentation
https://mohoscripts.com/ - The best place to publish and download scripts for Moho
- jezjones29
- Posts: 339
- Joined: Tue Jan 31, 2006 9:43 pm
- Location: Wales, UK
- Contact:
Re: Delayed Layer References
I've been having some fun with this - thanks for sharing!
Is there any way to add Z and Rotate options?
Is there any way to add Z and Rotate options?
Re: Delayed Layer References
Yeah, I was thinking about version 2, with Z axis, rotations, randomization, etc. That would be kind of making it an alternative to the particles layers. But finding some spare time for it is always a problem. I'll try my best though. Maybe this upcoming weekend.jezjones29 wrote:Is there any way to add Z and Rotate options?
________________________________________________________________________
https://mohoscripting.com/ - Unofficial Moho Lua scripting documentation
https://mohoscripts.com/ - The best place to publish and download scripts for Moho
https://mohoscripting.com/ - Unofficial Moho Lua scripting documentation
https://mohoscripts.com/ - The best place to publish and download scripts for Moho