Search found 19 matches

by Defims
Tue Sep 12, 2023 3:50 pm
Forum: Scripting
Topic: Moho Plugin API (proof-of-concept)
Replies: 8
Views: 3935

Re: Moho Plugin API (proof-of-concept)

Moho 14 has updated the scripting Interface to Lua 5.4.4! Write your own tools, modify the existing ones or check out what other users have created. There are hundreds of powerful tools and improvements created by the community. Make Moho work exactly the way you want! Which means powerful plugins ...
by Defims
Mon Nov 28, 2022 3:20 am
Forum: Scripting
Topic: Lua 3rd-Party Libraries Not Loading
Replies: 17
Views: 4571

Re: Lua 3rd-Party Libraries Not Loading

WOW, Moho 11 is nice! I wonder how to pass the color value back to Moho in your color picker dll, Is it some code like: lua_pushstring(L, "#000"); Is it possible to call other function? like: lua_getglobal(L, "CHANNEL_BONE_3"); It used: require('pickcolor') to access the pickcol...
by Defims
Fri Nov 25, 2022 4:42 am
Forum: Scripting
Topic: Lua 3rd-Party Libraries Not Loading
Replies: 17
Views: 4571

Re: Lua 3rd-Party Libraries Not Loading

Once upon a time, Moho could find dlls in a modules folder in the scripts folder, but I don't think that functionality has worked since, maybe, v10 or older. Regarding that, I've found this line in an old changelog: 2012-10-19 - Fixed Bug #25606 - Lua dll modules are now properly loaded from the us...
by Defims
Wed Mar 23, 2022 12:28 pm
Forum: Scripting
Topic: Moho Plugin API (proof-of-concept)
Replies: 8
Views: 3935

Re: Moho Plugin API (proof-of-concept)

WOW! nice work! Is it posible to load a dll which include lua54 header file?
by Defims
Wed Mar 23, 2022 6:17 am
Forum: Scripting
Topic: Lua 3rd-Party Libraries Not Loading
Replies: 17
Views: 4571

Re: Lua 3rd-Party Libraries Not Loading

Error: Multiple Lua VMs detected
means moho main program already embeded a lua vm. if you require a dll which embed a lua vm either, error will be throw out.
I think the best solution is expose the lua vm in moho main program for user defined usage.
by Defims
Wed Jul 04, 2018 9:17 am
Forum: Tips & Techniques
Topic: Mixing Smart Bones!
Replies: 23
Views: 22782

Re: Mixing Smart Bones!

wow! nice work! especially about the script. I wonder if the script works on more than two bones ?
by Defims
Mon Jun 12, 2017 6:55 am
Forum: Scripting
Topic: reload scripts without exiting AS
Replies: 10
Views: 5182

Re: reload scripts without exiting AS

It seems Command+Alt+Shift+L and Ctrl-a-Alt-Shift-L not work on moho 12 mac version. which shortcut will be ok for moho 12 mac version?
by Defims
Mon Sep 09, 2013 2:29 pm
Forum: Scripting
Topic: can scripts work on timeline keyfame synchronous?
Replies: 0
Views: 927

can scripts work on timeline keyfame synchronous?

first question,I want to write a script which will synchronize two layer keyframes when i edit the keyframe in one layer, how can i achieve this,can anyone tell me ? second question,I found "MOHO.UpdateTable = {}" and "function MOHO.RunUpdateTable(moho)" in lm_utilities.lua, but ...
by Defims
Tue Dec 25, 2012 2:35 am
Forum: General Moho Discussion
Topic: Help Shape the Future of Anime Studio
Replies: 828
Views: 1500266

Re: Help Shape the Future of Anime Studio

hope improve gradient animation,because I use gradient a lot ,and I always need to move the gradient control rod manually or use the bone but it's really confused when I use the bone to control the gradient , the gradient change but the control rod still remain initial. As smart bone come out , the ...
by Defims
Mon Dec 24, 2012 2:01 pm
Forum: General Moho Discussion
Topic: AS 9.2 Update Available Now!
Replies: 12
Views: 5482

Re: AS 9.2 update

wonderful improvements ! Thanks a lot.

And it seems smart bone still can't control gradient control rod ( the red line with a circle each side ),it will be better if the control rod can be controlled by smart bone. :D is anyone has some solution to solve this?
by Defims
Wed Aug 22, 2012 1:27 pm
Forum: Tips & Techniques
Topic: 3D follow path technique
Replies: 14
Views: 8376

Re: 3D follow path technique

and my problem right now is i have no idea of getting an layer's full 3D rotate value ,the "GetFullTransform" api i found in moho8.1pkg_moho.lua_pkg is the near one to get the final 3D rotate value,but i don't know how to generate the 3D rotate value from the matrix the api return . I'm a...
by Defims
Wed Aug 22, 2012 1:19 pm
Forum: Tips & Techniques
Topic: 3D follow path technique
Replies: 14
Views: 8376

Re: 3D follow path technique

I have a question about this technique. It does not use bones at all correct? You animate layers by moving points in the Follow Path yes? The script is needed to apply layer rotation from actions that define specific angles? So if you rotate a "Follow Path", the script will use the matchi...
by Defims
Sat Jul 07, 2012 7:28 pm
Forum: Tips & Techniques
Topic: 3D follow path technique
Replies: 14
Views: 8376

Re: 3D follow path technique

Be proud, great mind at work! I see the issue with the script, but, cannot help with that. I have posted a link to the other forum which has more 8.2 users in hope they can help. Good job, good examples, best wishes! thanks for helping , the main idea of the scipt i want to write is "bind"...
by Defims
Fri Jun 29, 2012 2:19 pm
Forum: Tips & Techniques
Topic: 3D follow path technique
Replies: 14
Views: 8376

Re: 3D follow path technique

Defims, This it really really amazing stuff! I don't understand all the technical aspects of the technique but from looking at your examples as well as taking another look at Selgin's body rotation and the video link to the 2.5 models I'm very excited to see what comes out of this!!! The possibilit...
by Defims
Wed Jun 27, 2012 9:01 am
Forum: Tips & Techniques
Topic: 3D follow path technique
Replies: 14
Views: 8376

3D follow path technique

Hi , I am Defims, a chinese moho fan, and I always learn techniques here , and now I'd love to share something about 3D follow path technique. I found this interesting method to solve body turn after I learn Selgin's way to solve this problem in this post ,and maybe it will be a new way to making an...