Search found 113 matches

by Breinmeester
Tue Jun 05, 2018 11:56 am
Forum: Scripting
Topic: Functions for entering and exiting a tool script
Replies: 3
Views: 873

Re: Functions for entering and exiting a tool script

Thanks, guys! I think i'll have to try a combination of your suggestions.
by Breinmeester
Mon Jun 04, 2018 3:21 pm
Forum: Scripting
Topic: Functions for entering and exiting a tool script
Replies: 3
Views: 873

Functions for entering and exiting a tool script

I am modding the Transform Bone tool, adding some functionality and improving usability. I want to set some parameters upon entering the script (some stuff needs to be set up, like certain bones need to be detected and labeled) and i thought i'd use the Run function for that: function LM_TransformBo...
by Breinmeester
Wed Feb 28, 2018 12:11 pm
Forum: Scripting
Topic: Clean keyframes script?
Replies: 42
Views: 7505

Re: Clean keyframes script?

Hi Victor. I think this would be easy enough to code, for rot, pos & scale on bonses at least. If you're pursuing that, i would be interested in such a script. Let me knnow if you need any help.
by Breinmeester
Fri Dec 15, 2017 10:02 am
Forum: Share Your Work
Topic: Bingo!
Replies: 2
Views: 478

Re: Bingo!

We've used Moho as a help on some of the shots. But most of it was animated in TV Paint, backgrounds in Photoshop and composited in After Effects.
by Breinmeester
Thu Dec 14, 2017 5:17 pm
Forum: Share Your Work
Topic: Bingo!
Replies: 2
Views: 478

Bingo!

I am pleased to announce the online release of our short film 'Bingo!' on our Youtube channel: https://www.youtube.com/watch?v=HPQ1zHmLqgE HPQ1zHmLqgE This animated comedy short is directed by Patrick Schoenmaker, known for his popular 'The Animated Adventures of Indiana Jones' video. The film was p...
by Breinmeester
Wed Feb 22, 2017 4:25 pm
Forum: Scripting
Topic: Old import image sequence script
Replies: 5
Views: 910

Re: Old import image sequence script

Thanks guys!
by Breinmeester
Tue Feb 21, 2017 6:11 pm
Forum: Scripting
Topic: Old import image sequence script
Replies: 5
Views: 910

Old import image sequence script

Does anybody still have the old script that allowed an image sequence to be imported as a switch layer? It would be greatly appreciated if someone could share it. Thanks!
by Breinmeester
Wed Aug 24, 2016 3:28 pm
Forum: Scripting
Topic: Script idea for magnet mod: relax
Replies: 6
Views: 1527

Re: Script idea for magnet mod: relax

I've modifications to the magnet tool on my to-do list. I don't fully grasp the idea yet. Can you explain a little further?
by Breinmeester
Mon Mar 28, 2016 12:11 pm
Forum: Scripting
Topic: KeyEvent in layerscript?
Replies: 12
Views: 2634

Re: KeyEvent in layerscript?

Jeroen, You can script button tools that set the global variables. Just make a tool script like this: function DV_SetGlobal:Run(moho) if (self.OnOff) then self.OnOff = false else self.OnOff = true end and assign a shortcut button to it. Now pressing that button will toggle the DV_SetGlobal.OnOff bet...
by Breinmeester
Mon Feb 29, 2016 12:06 pm
Forum: Scripting
Topic: Script to freeze-keyframe selection X frames before cursor
Replies: 6
Views: 1419

Re: Script to freeze-keyframe selection X frames before curs

I just added this to our in house bone tool. What i did was travel back in the timeline from the current frame and find the first former keyframe for that anim channel and copy it to the current frame.
by Breinmeester
Tue Jan 19, 2016 6:04 pm
Forum: Scripting
Topic: Redraw timeline to make new keyframes visible
Replies: 2
Views: 896

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: 896

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: 16923

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: 4482

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: 4482

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...