Forum: Poser Technical


Subject: ReadScript Tutorial by Rob Whisenant

keihan opened this issue on Jan 15, 2003 ยท 8 posts


keihan posted Thu, 23 January 2003 at 9:45 AM

Another interesting discovery I made was while I was working on a kit (not yet released) for Victoria 2. The kit is designed as a way for users to remove unused deltas from a loaded V2 figure to free up memory. There are also options to hide and show dials. However, when the user removes a particular morph I have it set so the dial hides automatically. I discovered that when this is done and the user saves to a new Cr2 the dial is forced to remain hidden even in the new Cr2! It does not return "unhidden" as would normally be expected. I'm not sure, yet, as to why this occurs but it does. I even tried saving the cr2 again and again under different names and the dials still remained hidden. From what I know and from my experience I don't think this has ever been accomplished. Typically you can hide the dials from a pose file, but if the user saves to a new cr2, the dials are forced to become unhidden by default. I've toyed around with hiding dials before and never was able to get them to remain hidden. Now that I've accomplished it while removing deltas at the same time, I'm wondering what is forcing Poser to keep them hidden. In retrospect, the "Hide Dials" option in my kit remains the same as before. If the figured is saved to a new cr2, the dials become unhidden when the cr2 is reloaded. Go figure. It only seems that if you remove the deltas and then hide the dial that this applies, but perhaps I'll take a closer look at my code when I get a chance and see if there is something different there that is causing this much wanted effect hehehe. Just thought I'd relay this tidbit of info from my journeys through readscript :) Ps: How I remove the deltas is through morph injection. I simply inject a value of zero to the deltas of a target. indexes=0 deltas=0 That's pretty much it. Pretty simple but a lot of work and a lot of files to keep track of. So far, I have about 1600 files in the kit and these just pertain to V2's head. I'm configuring a good way to structure the body targets at the moment. ---Will