PDA

View Full Version : Boxcontrollermulti Script issue


SpikeWorx
08-20-2005, 07:39 PM
I have a little question about Lyleīs boxmulticontroller script.
By default, in the left bottom corner, the value of the marker position is 0/0, in the middle 0.5/0.5, and in the upper right corner 1/1 and so on.

I want the value(the values the marker uses to update the slider) in the left bottom corner to be -1/-1, in the middle 0/0, in the upper right corner 1/1 etc.
The slider should react to these values, that means the values of the corresponding slider should receive the same negative values, even if they doesnīt fit into the slider range.
Well, I just donīt know what to change or adapt in the script to achieve this value range change.
Any script gurus here ? :)

SpikeWorx
08-22-2005, 05:14 PM
Anyone??--- :cry: ;)

maks
08-23-2005, 12:55 PM
Doesn't the boxmulticontroller_quad script do what you want?

SpikeWorx
08-23-2005, 05:30 PM
Hi Maks, thx for reply :)
Itīs not excactly an issue, itīs more 'I would like to know which part of the script I have to change to achieve any freedom in the range and values of the box slider'.
That means, I donīt know what to change to remap my values so that I can freely change the value range (the value the marker controls my morph slider with ) to any desire.
E.g. middle upper should be 0/0 + the default position of my marker, middle lower 0/-2, uppder right 1/0, upper left -1/0 and so on.
Do I need the PercentRange() and PercentStep() functions to remap the values ?

p.s.: Iīve read Lyleīs description of the .msa, but after all Iīm too stupid to find it out by myself :banghead: ;)

maks
08-23-2005, 07:33 PM
I'm definately not a scripting guru, but I already have adapted and modified those scripts for my facial rig, so I might give it a try (without promising anything ;)) - I just didn't exactly understand yet what you need, could you elaborate some more and/or give an example...?

SpikeWorx
08-23-2005, 07:50 PM
In the pic, the controller has the standard values of the boxmorph and default position of the marker is 0/0.
I want to change these, so that, for example, the upper middle value is 0/0 and start position of the marker (not 0.5/1 as it is in the pic), the left upper -1/0 and not 0/1 and so on. I donīt want specific values, I just want to know what I have to change to set it up to any custom range and how to change the the min/max range of the values (other than the standard 0/1), for example -3/2 etc.):)

maks
08-25-2005, 12:48 PM
Hey SpikeWorx, I'm on a move right now, so I don't really have the time to look into your question at the moment... I'll try to have a look when I got some more time again - sorry :rolleyes:

SpikeWorx
08-25-2005, 07:15 PM
Never mind ;) I can wait :)
Thanks :thumbsup:

debfrey
09-06-2005, 07:46 PM
Guys! Where are you even finding that script? (and geeze, I definitely can't find Lyle's description of any .msa!) I've been trying to find or develop a box / joystick controller for a few days and have finally concluded I'm completely lost!

I'd love to see a sample, but can't find one in the directories. If you have one, could you post it?

If anyone can point my in the right direction, my wife says she'd appreciate it (evidently I've been a little... grumpy... over the whole thing.)

Thanks!

debfrey
09-06-2005, 09:08 PM
Holy smokes! Sangria margaritas all around!

I finally found and inserted a box controller! (Have you ever noticed that posting a question in a forum almost always results in the instantaneous self-discovery of the solution to your problem?)

Anyway, for other peeps that might someday discover this post with a similar question:

Head for the "Setup" tab, and hit F5. You'll find the "Multi Morph Control" in the Script Palette at the bottom of the interface. Double-click to insert it into the scene, customize the settings a bit, and away you go.

My understanding of the whole process is, of course, still a bit fundamental -- I would still be interested in seeing Lyle's description of the script as well as anyone's insight as to how to customize it even further -- but, hey, it's working, and I'm stoked.

Which brings me to offer one little comment about the app as a whole (off topic):

Messiah and PMG seem to take a beating from some of the members on this forum. At the risk of getting mercilessly flamed, I'd just like to say (for what little its worth) that from my perspective its benefits far outweigh its quirks. For me, anyway, the unbelievable friggin' leverage it provides toward animating my models is well worth the time -- AND occasional frustration -- required to learn how to apply that power. Is it perfect? No. But a little motivation and "flexibility of thought" works wonders. Maybe just something to consider.

Cool? Cool.

Jeffrey

SpikeWorx
09-06-2005, 09:27 PM
Hi Jeffrey,
The Description of the boxcontrollermulti.msa can be found here http://forums.cgsociety.org/showthread.php?t=222992&page=3&pp=15
and @ old pmg website (if I remember right).
Messiah rocks for sure, I just wish there would be a more indepth and unified scritping reference. I hate trial and error ;)

Would also :love:to see Python (but only if itīs rock solid. Former version was the reason of some serious instability probs) finally working and access to every function within Messiah.

debfrey
09-06-2005, 11:04 PM
Spike!

Thanks for the great thread, man! (I never would have found it.)

The scripting docs definitely seem a bit thin to me, too -- it's a personal struggle to make sense of almost any of it -- but I expect they make a whole lot more sense to more experienced coders.

I thought I should also clarify for the lesser experienced (like myself) that the .msa scripts in question can be found in the "messiah\modules\scripts" folder. Finding them is one thing... interpreting and/or modifying them, well...

But hey, it's all starting to sink in, and I like the feeling.

Cool.

CGTalk Moderation
09-06-2005, 11:04 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.