Motilope is a Lscript that can take an
envelope and extract one of the 9 tracks
(X, Y, Z, Heading, Pitch, Bank, X scale,
Y scale, Z scale) to an envelope.
Lightwave [6] Compatibility: No it doesn't work, (you will get a few compile errors) but I'm not going to update it for [6] because you can now cut and paste between different channels inside Lightwave [6]. Ah, if only all my little workarounds were obsolete...
Dowload motilope here (Motilope.zip 4K)
--Obligatory Disclaimer--
Feel free to distribute this as much as
you want provided you don't a) charge
money for it or include it in a product
you charge money for, b) modify it in any
way. Feel free to modify it as much
as you want for personal or in-house use,
just don't sell it, or redistribute it.
This product is delivered as is, and I take no
responsibility should anything
bad happen while using it, including loss
of soul, inverted karma or misaligned
chi. This product is unsupported.
I made it for my personal use and I'm
sharing it with you with the
trust you won't bug me too much about
bugs, feature requests, etc. I'm not a
software developer, and I don't want to
be, I got work to do...
--why does this exist?--
I found it annoying that there isn't anything
in Lightwave that will allow
plugins for envelopes, this can be a real
pain in the butt when you're trying to
manipulate an envelope based on a motion
(say, link a light's brightness with
an object rotation or a morph value with
an object size), or just control an
envelope in a special way (like trying
to use Worley lab's Blink plugin on a lens
flare). So, I threw together this
little Lscript that will read a saved motion file
and let you convert a select axis into
an envelope. It ain't fancy, probably has a
few bugs, and could be super improved
in a bunch of ways, but I'm not going to
do it. It does what I need it for,
and I'm sharing it on the off chance that
someone else might find it handy.
--usage--
Motilope is a generic layout Lscript,
and it hasn't been tested on anything but
on Lightwave 5.6 running Windows NT4.
Your luck may vary...
Anyway, put it wherever you like to have
your Lscripts, and run it from Layout
(Plugins -> Lscript_Generic). The
first thing it will do is ask you for a motion
file. It'll automatically look in
your default content folder. Pick a motion file
and you'll get a nice control panel.
The first thing will tell you what file you
just selected, the next will ask you for
the name of the output file (defaults to
temp.env in your content folder).
Then it'll ask you for an axis to get the
envelope data from.
After that there's high and low clip options.
If the keyframe values go from,
say, 1-1000, and you don't want it to
be any higher than 500, or lower than 100,
turn on high and low clipping, and enter
500 and 100 in the requesters, now
any value exceeding that will be "clipped"
to the nearest value.
Then there's the option to scale the variables.
This is the default action and
will scale all the values in the new envelope.
As a default it will go from 0 to 1
(or 0% to 100%). If you want it
to go from 0 to 50%, change the largest value
to 0.5...
Then there's the Inverse checkbox.
Only use this with the scale option (you'll
get weird results otherwise) to invert
the results (to change a rising envelope to
a falling one, for example).
The last one is the verbose option.
I used this for debugging but it gives you a
bunch of info that you might find useful
(yeah, right...). You probably won't
need it, but I left it in just in case.
--What can I do with it?--
Well, lots of stuff. The first thing
I did with it was to make a spaceship shoot
lens flares at random intervals with Worley
Labs Blink plugin. After setting up
the motion of the light and applying the
Blink plugin, I saved the motion file,
ran motilope on it, and then loaded the
envelope at the lens flare intensity, and
Wahmmo, I have a lens flare that's only
"on" when it's in motion...
There's probably lots of other uses for
it. Or maybe not. Idunno, I just wrote
the thing, you're the one with the brains...
I'm not offering any sort of technical,
moral, or spiritual support for this thing, but if you still really want
to get in touch with me, you can email
me at steve@balo.com