Tue, Nov 26, 7:39 AM CST

Renderosity Forums / Poser - OFFICIAL



Welcome to the Poser - OFFICIAL Forum

Forum Coordinators: RedPhantom

Poser - OFFICIAL F.A.Q (Last Updated: 2024 Nov 26 6:57 am)



Subject: Help writing .pz2 to load separate INJ poses plse.


momodot ( ) posted Sat, 22 August 2009 at 11:40 AM · edited Tue, 26 November 2024 at 7:35 AM

I just bought a set of custom morphs breast morphs for V4 which contains the morph data for each of the morphs in a separate .pz2 pose file. How would I write a single .pz2 that would load all of these separate .pz2 files with one click? Thank you.



andolaurina ( ) posted Sat, 22 August 2009 at 11:52 AM

Are they all being loaded into separate channels or the same channel when applied?

My RMP Store Freebies

Poser Ambassador; Poser 11 & 12 / DS4 / Metasequoia / Silo / Zbrush / realityPaint / UVMapperPro / XD 4 / Ps CC / Fw / Ai / Painter 12 / Clip Studio Paint / Comipo / Reality 3 / Windows 10 / Units = Poser Native


momodot ( ) posted Sat, 22 August 2009 at 12:03 PM

I believe the morph data is in the separate .pz2 files and they load into separate "Community Channels" on the V4 .cr2... I guess each of these community channels are linked to a master in the body element as a FBM?

Anyway, after loading the dozen or so .pz2 files there are a dozen named morphs on the chest body part in "INJection Channels/Community" and matching dials on the "Body" element.



andolaurina ( ) posted Sat, 22 August 2009 at 12:23 PM

OK, here's an example.  Let me know if this does/doesn't work:

You'll need to copy and paste the code below into notepad and save as a text file.  Then change the extension to pz2.

You'll need to modify the "readScript" lines below to reference the pz2 files for each of the breast morphs you have.  You'll have to do that for the top section and the bottom section (below defaultPickBODY).


{
    version
    {
        number 4.01
    }
    readScript ":Runtime:libraries:[remainder of file name 1].pz2"
    readScript ":Runtime:libraries:[remainder of file name 2].pz2"
    figure
    {
        defaultPick BODY
    }
    readScript ":Runtime:libraries:[remainder of file name 1].pz2"
    readScript ":Runtime:libraries:[remainder of file name 2].pz2"
}

My RMP Store Freebies

Poser Ambassador; Poser 11 & 12 / DS4 / Metasequoia / Silo / Zbrush / realityPaint / UVMapperPro / XD 4 / Ps CC / Fw / Ai / Painter 12 / Clip Studio Paint / Comipo / Reality 3 / Windows 10 / Units = Poser Native


momodot ( ) posted Sat, 22 August 2009 at 12:51 PM

file_437697.jpg

Thank you, andolaurina. Perfect. Took a minute or two to do the pose in edit pad and it worked exactly right. The poses list by alphabetical rather than in the order I placed them in the .pz2 so if I want to retain groups I should place each set I want as a group in a separate load file or else just drag them into the order I want on the parameters panel once they are loaded. Great help. Thank you.



andolaurina ( ) posted Sat, 22 August 2009 at 2:17 PM

Excellent!  Glad I could help!  :biggrin:

My RMP Store Freebies

Poser Ambassador; Poser 11 & 12 / DS4 / Metasequoia / Silo / Zbrush / realityPaint / UVMapperPro / XD 4 / Ps CC / Fw / Ai / Painter 12 / Clip Studio Paint / Comipo / Reality 3 / Windows 10 / Units = Poser Native


andolaurina ( ) posted Sat, 22 August 2009 at 2:29 PM

Ah, one more thing... I think the reason that the channels list in order is because the person who originally designed the PZ2 files chose to inject them into channels in alphabetical order.  If you're feeling adventurous, you can go into the individual pz2 files and change the channels into which each pose injects.  MAT Pose Editor (by Mr. X; it's free) can help with that. 

That's kind of a pain in the butt (but not terribly time consuming), unless you're distributing it or it really bothers you.  I guess I'm bringing it up if you or someone else is interested in doing this in the future, particularly for something distributable.

Now that I'm thinking about it, another alternative to the PZ2 multi-file read script that you created is to just create a new CR2 (assuming you're not distributing it).  You could get the breast morphs loaded into the CR2 the way you want it...and then save a copy of the entire Figure to your Poser directory.  That way, you can just load the Figure CR2 in the future which will have all the groups and names of the morphs with any edits you've made.

My RMP Store Freebies

Poser Ambassador; Poser 11 & 12 / DS4 / Metasequoia / Silo / Zbrush / realityPaint / UVMapperPro / XD 4 / Ps CC / Fw / Ai / Painter 12 / Clip Studio Paint / Comipo / Reality 3 / Windows 10 / Units = Poser Native


Privacy Notice

This site uses cookies to deliver the best experience. Our own cookies make user accounts and other features possible. Third-party cookies are used to display relevant ads and to analyze how Renderosity is used. By using our site, you acknowledge that you have read and understood our Terms of Service, including our Cookie Policy and our Privacy Policy.