LBJ2 opened this issue on Feb 19, 2008 ยท 59 posts
lesbentley posted Tue, 19 February 2008 at 5:06 PM
I am no expert in readScript, I have rarely used it, so please forgive me if I talk a load of rubbish, but here are my thoughts.
Quote - I think it MIGHT be related to the fact... That the V4.2 isent targeted/Selected when the MYTOON.PZ2 pose is applied..... im not sure though...
It's true that the figure needs to be selected before a pose can be applied, but as your "v4.2++Muscle.CR2" is importing the "Victoria 4.2.cr2" into itself, the figure should already be selected. This seems to be proved by the fact that the other two pz2 files are working ok. As far as I know readScript has no special syntax other than what you are using in your cr2.
My first suspicion would be some typographic or syntax error, either in the readScript path for the "MYTOON.pz2", or within the "MYTOON.pz2" itself, or perhaps even one of the other pz2 files failing to load the required morph deltas. If it were me, the first thing I would do is some experiments.
Move "MYTOON.pz2" to some safe place. Make a pz2 file with only one dial setting, for example:
{
version
{
number 3
}
actor head:1
{
channels
{
rotateY yrot
{
keys
{
k 0 45.0
}
}
}
}
}
Name this file "MYTOON.pz2", and place it where the original "MYTOON.pz2" used to be. If this does NOT work to turn the head 45 degrees, edit the "v4.2++Muscle.CR2" to place the "MYTOON.pz2" as the second readScript call. Or, if it does work edit the new "MYTOON.pz2" to act on one targetGeom channel, preferably one that is native to V4, that is to say does NOT need the deltas to be injected (if such exists in V4). If that works edit the new "MYTOON.pz2" to set the dial value for just one of the channels in your original "MYTOON.pz2". I know my suggestion is a lot of work, but it may help to pinpoint exactly where the problem is. If you decide to try this, please report back as to exactly what you have tried, and exactly which experiment failed.
Wishing you the best of luck,
Les.