Forum: Poser Technical


Subject: Quick Questions

illicit opened this issue on May 05, 2003 ยท 14 posts


maclean posted Tue, 06 May 2003 at 3:19 PM

Attached Link: http://www.rbtwhiz.com/rbtwhiz_ERC.html

Good, illicit. Now I know what you've got. OK, ERC is a poser hack discovered by 2 users. You can read about it at the link above. VK has a wonderful series of ERC tutorials, but I don't have the link. I can mail the pages if you want. So, ERC consists of a master chammel which controls 1 or more slave channels. What you would be doing is putting a master dial in the dartboard body part, and adding 5 lines of code to the rotation channels in the 2 door body parts. Here's what the master channel looks like. -------------------- MASTER CHANNEL --------------- valueParm vpdooropendx { name open all initValue 0 hidden 0 forceLimits 4 min -1 max 1 trackingScale 0.001 keys { static 0 k 0 0 } interpStyleLocked 0 } ---------------------------------------- This goes into your dartboard body part under the lines channels { ---------------------------------------- 'name open all' - This is the name that appears on the dial, so you could put 'name open doors', or whatever. The line 'vpdooropendx' can be anything you want, like 'vpmynamedx'. As long as it's 'vp-----dx' Next, you add 5 lines to the rotation channel of each door. I assume it's Yrot. Here's what the Yrot channel normally looks like. -------------------------------------- rotateY yrot { name open/close initValue 0 hidden 0 forceLimits 4 min 0 max 180 trackingScale 1 keys { static 0 k 0 0 } interpStyleLocked 0 } ----------------------------------------- You need to add these 5 lines to it valueOpDeltaAdd Figure 1 doorL:1 vpdooropendx deltaAddDelta 180.000000 -------------------------------------------- so it looks like this -------------------- SLAVE CHANNEL --------------- rotateY yrot { name open/close initValue 0 hidden 0 forceLimits 4 min 0 max 180 trackingScale 1 keys { static 0 k 0 0 } interpStyleLocked 0 valueOpDeltaAdd Figure 1 doorL:1 vpdooropendx deltaAddDelta 180.000000 } ---------------------------------------------- Here are the things you need to change in the above. 'name open/close' - This can be any name you want. ---------- min 0 max 180 - For the 2nd door, you will have to reverse these 2 lines , so they read min -180 max 0 and also change the line 'deltaAddDelta 180.000000' to a minus, so it reads 'deltaAddDelta -180.000000' ---------- Figure 1 doorL:1 The Figure number varies according to what number it was in poser when you saved it, so this may read 3 or 5 or whatever. Use the numbers in your cr2. doorL:1 - This should read 'dartboard:?' - 'dartboard being whatever name you gave to your body part, and '?' being the number of the Figure in the cr2. To be continued...... mac