http://www.mediafire.com/?wjzkz35oyyn
here is it. but I think it needs some improvement. width should variate in relation to the center of the magnet scope. for example, a point which be just in the center should increase 100%, one in the middle 50% and one out of the scope 0%. that would be great.
Current magnet increase 100% all the width of the points inside the scope.
edit:
the magnet make exactly what I want if you move up and down... I forgot it
I made a few changes to this script to make it easier to use (for me at least!).
This new version has up increasing the line width with falloff, (going down to increase a value doesn't make sense to me), and if you press shift and drag, that changes the magnet radius.
It can be found here: http://www.mikegreen.name/Files/rl_magneto_linea.zip
Might I suggest naming it with a unique prefix. Like:'mg_magneto_linea'. I know it may not seem like a huge mod, but it helps keep the scripts separate. I usually do this because I don't assume my mods are going to immediately replace the modded tool. Just makes it easier to try it out I figure.
Although I've already replaced the other tool with yours.
LOL It was more of a modesty thing. I only added a little thing to it, so I figured I shouldn't change the tool name. I do wonder if I should change it so if you have points selected already, it only affects those points, not make a new selection, or just grab the points on the line closest to it, as I imagine you only want to adjust one line width at a time...What do you think?
Well since the original writer of this script is no longer around, I think any further development of it should reference the new developer, in case people want to make suggestions or ask questions. Just to be practical. We can always use all the scripters we can get, so modesty shmodesty.
I actually really like that shift key to change the radius. I wouldn't mind seeing that on other tools. Not necessarily radius, but for a key number input.
Okay well I did some more rewriting, and renamed it as suggested. It now has a toggle which will restrict the width adjustment to the curve(s) of the closest point to the cursor, which should make it much more useful IMHO. Hope you like.
One thing I have wanted to add to it but never had the time to do is a simple point translate mode (invoked by alt perhaps).
As it is now you have to switch to the translate point tool to position the points when changing their width. Just alt-clicking and dragging would speed up working with this tool tremendously.
So, if anyone else feels this would be a good idea, please add it, I won't get around to it in quite a while.
I downloaded your line magnet script
and notice in the text file it says
provide Moho with the name of
the script.
How is this done?
I guess if you could simply walk me through
the steps of installing the script, I will pay
you on Wednesday for a hamburger on
Monday!
toonertime wrote:...I downloaded your line magnet script
and notice in the text file it says
provide Moho with the name of
the script.
How is this done?
I guess if you could simply walk me through
the steps of installing the script...
That line is just for the script to tell AnimeStudio what it is called, nothing you as a user should worry about.
To install just copy all files in the zip to your AnimeStudio install folder/scripts/tools and reload AS. (ctrl+F5 or restart) and you should see the new tool at the bottom of your tool panel.
One thing I have wanted to add to it but never had the time to do is a simple point translate mode (invoked by alt perhaps).
Rylleman,
That's a pretty easy fix, so I'll just tell ya real quick, since it depends on which point translate tool you want it to reference (LM or FA). Under the magnet line tool's "OnMouseDown" function you'd add this:
if (keyEvent.altKey) then
LM_TranslatePoints:OnMouseDown(moho, mouseEvent)
end
If you want to use Fazek's, you'd just use the OnMouseDown from his tool. You just have to make sure the tool you add this to doesn't already have an OnMouseDown ALT key function.