Search found 118 matches

by Breinmeester
Tue Jan 19, 2016 6:04 pm
Forum: Scripting
Topic: Redraw timeline to make new keyframes visible
Replies: 2
Views: 1832

Re: Redraw timeline to make new keyframes visible

Thanks. I got it working.

Code: Select all

moho:NewKeyframe(CHANNEL_BONE)
moho.layer:UpdateCurFrame()
For channel codes check the lm_channel_codes.lua in utilities folder.
by Breinmeester
Mon Jan 18, 2016 9:57 am
Forum: Scripting
Topic: Redraw timeline to make new keyframes visible
Replies: 2
Views: 1832

Redraw timeline to make new keyframes visible

I always run into this problem when im setting new keys on the timeline in LUA that it will only refresh and show the new keyframes when the timeline indicator is moved. Does anybody know that code that will make the keyframes show up in the timeline at the moment of creation? Thanks.
by Breinmeester
Mon Nov 30, 2015 1:24 pm
Forum: Scripting
Topic: Script for lip sync I'm working on
Replies: 52
Views: 29453

Re: Script for lip sync I'm working on

I'd love to test this out. Keep me updated on your progress please! 8)
by Breinmeester
Tue Nov 24, 2015 10:49 am
Forum: Scripting
Topic: How are individual layers from a .PSD defined in ASP11?
Replies: 21
Views: 7724

Re: How are individual layers from a .PSD defined in ASP11?

I got the script working, but by using the LayerOrderID. Ideally i would like to use the UniquePSDLayerID so i can add and move layers around in the PSD file. But i can't figure out how and when to set the UniquePSDLayerID for it to work. Could you give us an example, Mike? Also, what does -2 as a U...
by Breinmeester
Mon Nov 23, 2015 1:40 pm
Forum: Scripting
Topic: How are individual layers from a .PSD defined in ASP11?
Replies: 21
Views: 7724

Re: How are individual layers from a .PSD defined in ASP11?

Hi Mike. I tried this piece of code on a rig consisting of a single PSD file, but it returns '-2' as the UniquePSDLayerID for every layer: function DV_ChangeImageSource:process_layerDown(moho, layer) if (layer:LayerType() == MOHO.LT_IMAGE) then local imageLayer = moho:LayerAsImage(layer) print(image...
by Breinmeester
Sat Nov 21, 2015 6:37 pm
Forum: Scripting
Topic: Script for lip sync I'm working on
Replies: 52
Views: 29453

Re: Script for lip sync I'm working on

I like the idea of this script. Does it analyse the sound file to determine the timing of the phonemes? Or is it evenly spaced out over the given number of frames?
by Breinmeester
Tue Nov 10, 2015 9:01 am
Forum: Scripting
Topic: How are individual layers from a .PSD defined in ASP11?
Replies: 21
Views: 7724

Re: How are individual layers from a .PSD defined in ASP11?

Thanks Mike! That helps a lot!
by Breinmeester
Sat Nov 07, 2015 5:52 pm
Forum: Scripting
Topic: How are individual layers from a .PSD defined in ASP11?
Replies: 21
Views: 7724

Re: How are individual layers from a .PSD defined in ASP11?

Ok, so there's the problem, because my script calls the sourceimage path using: imageLayer:SourceImage() Then it looks for the '*' and parces out the LayerID to append it to the new path to call for the right layer in the new PSD file. How can i call for the PSD layer ID of the sourceimage used in a...
by Breinmeester
Fri Nov 06, 2015 4:48 pm
Forum: Scripting
Topic: How are individual layers from a .PSD defined in ASP11?
Replies: 21
Views: 7724

Re: How are individual layers from a .PSD defined in ASP11?

Hi Victor. It's the latter: a lua menu script to switch sourceimages. We have a PSD in which we have the character cut up. When we design a new character to that template, we run the script to replace all the images. It used to work in ASP10 where all the PSD layers were replaced with the correspond...
by Breinmeester
Tue Dec 09, 2014 9:16 am
Forum: Scripting
Topic: Walk Assist
Replies: 7
Views: 3457

Re: Walk Assist

Is this tool still usefull since we have copy and paste keyframes? Does it offer something extra? I haven't tried the script, but i'm sure i could help you out.
by Breinmeester
Tue Nov 18, 2014 8:34 pm
Forum: Scripting
Topic: Deformers?
Replies: 9
Views: 3517

Re: Deformers?

Maybe ill get around doing a screengrab of what ive got.
by Breinmeester
Tue Nov 18, 2014 8:18 pm
Forum: Scripting
Topic: Deformers?
Replies: 9
Views: 3517

Re: Deformers?

TheMinahBird wrote:What are the kinks? I'm really excited to see a video or your tool when it's done. I'm pretty sure it would be a great milestone in AS.
The kinks are combination with smart bones. I got sublayers to warp based on a rectangle with vertices, but it can't warp smartbone driven content inside.
by Breinmeester
Thu Nov 13, 2014 1:09 pm
Forum: Scripting
Topic: Deformers?
Replies: 9
Views: 3517

Re: Deformers?

I agree! I have scripted a proof of concept for warp deformers, but it needs a bit more work. I think the possibility to warp/deform (parts of) a sublayer in a group would be great!
by Breinmeester
Fri Jul 18, 2014 10:50 am
Forum: Scripting
Topic: LM Studio: Lua IDE for Anime Studio Scripting
Replies: 3
Views: 2876

Re: LM Studio: Lua IDE for Anime Studio Scripting

I can not install it. It says it was "improperly formatted". I'm on Vista 32 bit.