Forum: Poser Technical


Subject: Dumb Question-Pose file to effect Magnets

grichter opened this issue on Dec 24, 2009 · 5 posts


grichter posted Thu, 24 December 2009 at 6:19 PM

Have some magnets that effect multiple body parts of V4 that I load as a prop...reason is so I can load the prop on conforming clothes to match the body changes.

Since it covers multiple body parts, is it possible to make a pose file that can change the magnets value. IE They load and show in the parameters pallet as "My Mag" with a value of 1.00

Tried seven ways to sunday trying to make a pose file that I can apply and change the magnet values say first on the body to 0.500, and then on the conforming clothes item also to 0.500

Thanks in advance for any help

Gary

"Those who lose themselves in a passion lose less than those who lose their passion"


Dizzi posted Fri, 25 December 2009 at 5:06 AM

How about just letting the magnets affect the clothes, too, just like it's done with V4 and the magnetize poses? 



grichter posted Fri, 25 December 2009 at 5:49 AM

Well I have the same clothes item converted to use on other characters. But late last night I found my typo and got it working. Was also chasing Mag, Mag:1 and Mag:2 stuff and finally broke down and just used actor $CURRENT. Since I want to effect scale X and Z, just have to be careful when I use that I have the right item selected :)

Gary

"Those who lose themselves in a passion lose less than those who lose their passion"


lesbentley posted Sun, 10 January 2010 at 9:34 PM

"$CURRENT" is very limited in these situations as it can only be applied to one item at a time, and you may want to pose several Mags, Bases, and Zones at once.

Quote - ...is it possible to make a pose file that can change the magnets value.

Yes there is no problem with that. With the magnets attached to a figure and set as desired, just save a pose and use "Select subset" to exclude everything except the magnets. But note that Poser does not save scale data to a pz2 (pose) file. If you want to include scale data you have to edit that in by hand using a text editor.

A quick and dirty alternative to the above is to save the magnets to a pp2 file using "Select subset" to include all Mags Bases and zones, then rename the file extension to pz2 and move the file to a pose folder. The disadvantage to this method is that the resulting pose file will contain a lot of unnecessary junk that is not needed in a pose file, but it does work. An advantage is that it includes a some stuff that would not be included in a pz2 file saved from the Poser interface, for example scaling, parenting, and "deformTarget" (which actors to affect).

When using poses on magnets it is best if the Mags Bases and Zones have unique internal names to avoid conflicts with other magnets that may exist in the scene, and to avoid problems with the automatic name-number that Poser assigns. For example:

baseProp rCollar Base 1

magnetDeformerProp rCollar Mag 1

sphereZoneProp rCollar Zone 1

etc.

Note that to change the internal name you need to edit the file in a text editor or cr2 editor (eg CR2Builder), you can't change the internal name from within Poser.


lesbentley posted Sun, 10 January 2010 at 10:10 PM

The file attached above is an example of the text of a pose file that can be applied to magnets on V4's shoulders, or the shoulders of a V4 conformer. It assumes that the magnet on the rShldr is named "Mag 1" and the one on the lShldr "Mag 2". As stated in my previous it would have been better to use unique names for the magnets, but I have omitted that step so as not to have to post a set of magnets. Note that "yScale" channels have been edited into the Mags, and xScale channels have been edited into the Zones.