Forum: Poser - OFFICIAL


Subject: An inject pose that loads other inject poses?

Xameva opened this issue on Jul 26, 2011 · 7 posts


Xameva posted Tue, 26 July 2011 at 5:03 PM

 Hi,

 I'm wondering if something I'm trying to do is possible, and if so, I'd appreciate a little advice. :)

 I've created a pose that looks bad unless I use a morph package (Ralfeta's Bend morph at Renderotica) and I want to have an injection pose that will automatically inject all of Ralfeta's morphs (he didn't include an inject all pose, just 8 separate morphs to inject one by one which is tedious) and I want this injection pose to change the dials to my custom values. Can I do that?

  I'll be distributing these poses for sale, so I'm wondering if it's possible to include this injection pose without actually distributing Ralfeta's morphs. The user would have to own Ralfeta's morph package as well, and my injection pose would just call upon it.

 If I can do this, can you please tell me how, or point to a similar inject pose file that I can open up and study.

 Thanks a ton! You guys are very helpful.

 Oh and I'm a Prime member, so I get special treatment. (just kidding. :D )

 


lesbentley posted Tue, 26 July 2011 at 5:39 PM

You can make a pz3 that uses 'readScript' statements to apply other pz2 files to a figure. In this method each readScript line contains the path to a pz2 that will be applied to the figure. As the readScript lines are path dependant, problems can arise if the user moves the 'called' pz2 files to a new location.

{

version
    {
    number 4.01
    }

    readScript ":Runtime:libraries:!Injections:First.pz2"
    readScript ":Runtime:libraries:!Injections:Second.pz2"
    readScript ":Runtime:libraries:!Injections:Third.pz2"

Any other components of the pose file go here.

}

Quote - I'll be distributing these poses for sale...

I wonder about the wisdom of selling something that requires someone elses morph package in order to work.


millighost posted Tue, 26 July 2011 at 6:12 PM

lesbentley: > Quote - I wonder about the wisdom of selling something that requires someone elses morph package in order to work.

It seems to be quite common if someone else's morph package happens to be "Victoria ++ Morphs" :-)

Xameva: > Quote - If I can do this, can you please tell me how, or point to a similar inject pose file that I can open up and study.

An example would be http://www.renderosity.com/mod/bcs/dolly-dearest/79348 using the V++ morphs with readScript statements. In the pose file a comment reads:

// Generated with DAZ INJection Pose Builder (IPB) v1.5
// This file is intended for use with V4.2

The injection pose builder seems to be a program at daz3d.com, that can automate the generation of the necessary readScripts (but i have not tried it), but might be worth looking into, if you want to process a lot of pose files with it. But the result is essentially what lesbentley wrote.


markschum posted Tue, 26 July 2011 at 9:23 PM

you can run readscript in the pose file to load whatever you need. Look at the Daz pose files for morph inj.

 

example

{
    version
    {
        number 4.01
    }
    readScript ":Runtime:libraries:!DAZ:Victoria 4:Deltas:InjDeltas.V4Morphs++All.pz2"
}


Xameva posted Tue, 26 July 2011 at 9:39 PM

 Thanks again guys, I can always count on quick, helpful responses!

Quote -
I wonder about the wisdom of selling something that requires someone elses morph package in order to work.

 I know, but what can ya do? :( I'm no good at sculpting morphs, and this pose is simple really, yet V4's mesh gets so distorted..very frustrating. It doesn't need the morphs, but it looks a lot better with them.


lesbentley posted Wed, 27 July 2011 at 9:33 AM

Quote - I know, but what can ya do? :( I'm no good at sculpting morphs, and this pose is simple really, yet V4's mesh gets so distorted..very frustrating. It doesn't need the morphs, but it looks a lot better with them.

OK, point taken.


Jules53757 posted Wed, 27 July 2011 at 12:08 PM

Having pz2 to load some other pz2 that load more pz2 is the way how Daz is handling the morphs for V4.


Ulli


"Never argue with an idiot. They drag you down to their level and beat you with experience!"