Forum: Poser Technical


Subject: readscripts, cr2s and poser Figure #s

maclean opened this issue on Mar 01, 2004 ยท 13 posts


maclean posted Mon, 01 March 2004 at 3:03 PM

I've been doing some readscript experiments, basically trying to find a low file size way to open and configure multiple figures. Instead of making a .pz3 or multi-figure cr2, I figured I could use readscript.

Well, it works, up to a point. But here's the problem. Using the readscript below, which just calls up 3 cr2s from the library, I don't get 3 BODY numbers in the scene. I get 3 figures, each one with BODY:3. In the hierarchy editor, there's a BODY followed by the body parts for all 3 figures, with no other BODY in sight. Saving the scene as a pz3 shows me each figure listed as BODY:3. What's going on?

mac


{
        version
        {
                number 4.01
        }

readScript ":Runtime:libraries:character:0 room creator:01 main room.cr2"
readScript ":Runtime:libraries:character:0 room creator:11 main door.cr2"
readScript ":Runtime:libraries:character:0 room creator:21 window S.cr2"
}

Migal posted Wed, 03 March 2004 at 2:28 PM

Attached Link: http://www.renderosity.com/messages.ez?Form.ShowMessage=1288016

Mac, I don't know if it's any help, but you might want to look at the thread last year where Charles was talking about trying to get superconforming to work in P5.

maclean posted Thu, 04 March 2004 at 2:29 PM

Thanks, migal. That thread hasn't solved my problem, but at least I know I'm not crazy. Charles said 'It does not change the Figure # or the bodyPart:# lines' That's the exact same thing I'm getting. In his case, it may be an adveantage, but not in mine, unfortunately. I'll have to try and play around some more with this. I haven't had much time lately. mac


Migal posted Thu, 04 March 2004 at 4:12 PM

You might want to check the forums on Charles' site. He may have discovered more since then. I remember him talking about calling one cr2 with readScript from another cr2 as a solution to part of it.


maclean posted Fri, 05 March 2004 at 2:26 PM

hi migal, I already checked his site and he has an AutoConform tute which sounds useful. Problem was, I couldn't find the download anywhere. Nor can I find a mailing addy. I'll try IM-ing him through Rosity. mac


compiler posted Sat, 06 March 2004 at 8:00 AM

Thanks for the tip Mac, it might be useful in a project I have. In the figure you get, have you tested wether ERC could be use from one cr2 to move part in the other cr2 through this technique ?


maclean posted Sat, 06 March 2004 at 9:12 AM

Attached Link: http://www.nerd3d.com/Tutorial/AutoConform/AutoConform.htm

compiler, Nope. I haven't tried anything with ERC, mainly because if I can't get the BODY numbers to load correctly, then the whole thing is useless to me. If I manage that, then I can experiment a bit more. From what I read at Nerd's site, he seems to be using this defect to some advantage, but I can't figure out how. His tute is a bit vague, and since I can't find the AutoConform to download, I can't look inside it and see what he's done. He does mention 'inter-figure EMC', so maybe that's what you're looking for. The tute is at the link above. mac

compiler posted Sat, 06 March 2004 at 10:10 AM

Thanks mac.


nerd posted Sat, 06 March 2004 at 12:45 PM Forum Moderator

I discovered this trick naerly a year ago. I've not developed this because it requires you to hand edit every file involved, changing the :##'s lines to what they should be. It is an enoumous pain and because of this limitation it won't work with pre-existing figures. If you are building a collection of clothes (Like the Tannis costume I made) it's useful there because you can count on Vicky being labeled as "Figure 1" with ":1" on all the body parts.
It also allows you to SuperConform clothes in P5, though I've found a way to get the super conforming effect without the Read Script Jazz, but it's a heap'o trouble too. I never thought I'd miss cross talk, but I do.

Nerd


compiler posted Sat, 06 March 2004 at 2:12 PM

So will Maclean's sample readscript make all the figures loaded after the first conforming to the first one loaded ? Or am I missing something ?


nerd posted Sat, 06 March 2004 at 2:49 PM Forum Moderator

Yeah, but no. It can work, but you must edit all the figures' :#'s to be different. This is normally handled by Poser during the loading of a figure. For some reason the readScript bit bypasses that mechanism. It's probably a bug, but I like it. Nerd


compiler posted Sat, 06 March 2004 at 4:34 PM

Thanks a lot. I'll try this.


maclean posted Sun, 07 March 2004 at 9:46 AM

Thanks for replying, charles. Now I see what's happening. My problem is that I don't want to conform anything. I just want a way to load multiple cr2s at once, then apply SET files to position and configure each one. The way readscript works, it doesn't seem to be possible to do this, which is a pity. Maybe I can find another use for this 'bug'. mac