I’m not sure if I’m posting in the right place, any moderators feel free to move me to the section you think is most suitable as I am new to these forums.
I am coding a video game with a bone structure system, and I use Sublime Text 2 (evaluation now, may buy soon.) to edit the xml files for the animations. I am trying to test my short algorithm for exaggeration of bone movements. (essentially A-P(A-C), A being the current relative angle, P being the change amount to multiply by, c being the center/avg of the max/min angles, but that’s irrelevant.)
The XML of the angles looks like this:
<keyframe angle="100" timestamp="1"/>
<keyframe angle="97" timestamp="4"/>
<keyframe angle="93" timestamp="7"/>
<keyframe angle="90" timestamp="10"/>
What I would like to be able to do is highlight the numbers in front of “angle”, whether via find operation or by hand, and perform the math I would like to on them. (in this case the A=100, 97, 93, or 90 respectively, P being… let’s say 0.8 for a little reduction of movement, and C being 95). I have lots of animations and I would prefer not to change them all by hand with a calculator. Is there a plugin that can allow me to do this with multi-selection editing?