OK might not be so great - as there is a duplicate tool created in 'Other'. I guess what its really doing is overriding all the variables and functions of the stock tool.synthsin75 wrote: ↑Thu Aug 04, 2022 3:54 am Wow, I just tested it, and you can add anything after the LM stock script name and it still replaces the stock tool.
This will help a lot with identifying replacement tools by name.
create new bones with 0 strength option
Moderators: Víctor Paredes, Belgarath, slowtiger
Re: create new bones with 0 strength option
Moho 14.3 » Win 11 Pro 64GB » NVIDIA GTX 1080ti 11GB
Moho 14.3 » Mac mini 2012 8GB » macOS 10.15 Catalina
Tube: SimplSam
Sam
Moho 14.3 » Mac mini 2012 8GB » macOS 10.15 Catalina
Tube: SimplSam
Sam
- hayasidist
- Posts: 3830
- Joined: Wed Feb 16, 2011 8:12 pm
- Location: Kent, England
Re: create new bones with 0 strength option
OK! --yep -- dunno what I did wrong but I stand corrected!synthsin75 wrote: ↑Wed Aug 03, 2022 11:40 pm Adding this at line 234 works for me:
bone.fStrength = 0
All new bones now have zero strength.
- synthsin75
- Posts: 10253
- Joined: Mon Jan 14, 2008 11:20 pm
- Location: Oklahoma
- Contact:
Re: create new bones with 0 strength option
Oh, you're right. I didn't notice that. So it is replacing the stock tool tables, but still registers as a different tool too.SimplSam wrote: ↑Thu Aug 04, 2022 5:16 amOK might not be so great - as there is a duplicate tool created in 'Other'. I guess what its really doing is overriding all the variables and functions of the stock tool.synthsin75 wrote: ↑Thu Aug 04, 2022 3:54 am Wow, I just tested it, and you can add anything after the LM stock script name and it still replaces the stock tool.
This will help a lot with identifying replacement tools by name.
Too bad, I was hoping it'd be a good way to easily tell where a replacement tool came from.
- 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: create new bones with 0 strength option
Somehow, I missed Sam's Add Bone script mod in this thread. Thanks for creating this, Sam! Works perfectly in Moho 14.SimplSam wrote: ↑Wed Aug 03, 2022 11:48 pm Please find below a quick-edit version of the tool (lm_add_bone+) with suggested 2 additions. The script (when installed in custom tool folder) will replace the built-in tool.
Default strength value will be saved between sessions.
https://drive.google.com/file/d/1m_TbVZ ... sp=sharing
Also, thanks to Daxel for pointing me to the script.

NEW! Visit our Little Green Dog Channel on YouTube!
D.R. Greenlaw
Artist/Partner - Little Green Dog
Little Green Dog Channel | Greenlaw's Demo Reel Channel
D.R. Greenlaw
Artist/Partner - Little Green Dog
Little Green Dog Channel | Greenlaw's Demo Reel Channel