Forum: Poser - OFFICIAL


Subject: Posible to load script with .pz2 file?

momodot opened this issue on Jan 02, 2009 · 20 posts


LostinSpaceman posted Fri, 02 January 2009 at 9:48 PM

That's all my PMD INjection PZ2 files do.

Here's a sample that loads PMD morphs via a python script then injects them and creates FBM Morphs from them:

Quote -

{
version
{
number 6
}
#---------------------------------------------------------------------------------------------------

Run a python script to pre-create the morph target channels so they are created in the right place

(Poser 6 first release doesn't add the morphs in the correct order with the injectPMDFileMorphs command)

#---------------------------------------------------------------------------------------------------
runPythonScript ":Runtime:!Adam:Adam1:addAdamTargetParms.py"
injectPMDFileMorphs ":runtime:!Adam:Adam1:MWAdamFBMPMD.pmd"
createFullBodyMorph Muscles
injectPMDFileMorphs ":runtime:!Adam:Adam1:MWAdamHeadPMD.pmd"
readScript ":runtime:!Adam:Adam1:AdamDials.pz2"
}