santicor opened this issue on Jan 21, 2011 · 13 posts
santicor posted Fri, 21 January 2011 at 9:59 AM
Hi there.
I am not even sure where the problem exists exactly
maybe my lines are written incorrectly - just not putting in the correct language??
maybe I am not properly editing and saving the CR2?
( i dont have a good CR2 editor)
or maybe i am getting the names of the figure master or slave wrong out of misunderstanding.
I have a saved figure - it loads in Poser and becomes named Figure 2 so i guess that is the figure name
This figure also has a morph for the rCollar - the morph target is called armpit_rCol.
in the CR2 of the figure i have added the text that is here in italics:
targetGeom armpit_rCol
** {**
** name armpit_rCol**
** initValue 0**
** hidden 0**
** forceLimits 1**
** min -100000**
** max 100000**
** trackingScale 0.02**
** keys**
** {**
** static 0**
** k 0 0**
** }**
** interpStyleLocked 0**
*** ValueOpDeltaAdd Figure 2 rCollar zRotate deltaAddDelta -.5 * **
indexes 271
but I get no results -
please note i have entered the value of -.5 because it is the negative Z rotation that I want controlling the morph
I might add i am a novice at editing CR2 i am actually using notepad - is that a joke or should it work??
I wonder about that because there seems to be something wrong ..... as even when pasting here it does not seem formatted correctly ( ignoring the italics of course)
can anyone help me?
Thanks
S
______________________
"When you have to shoot ...
SHOOT.
Don't talk "
- Tuco
Santicor's Gallery:
http://www.renderosity.com/homepage.php?page=3&userid=580115
PhilC posted Fri, 21 January 2011 at 10:07 AM
You have the ERC code on one line, it needs to be on five seperate lines.
santicor posted Fri, 21 January 2011 at 10:10 AM
Thanks Phil
wow new avatar!
Phil , being a dummy and using notepad, how do i format that text to occupy separate lines ... i notice that little square thing in notepad - must be a line break indicator - this little square thingy appears after each piece of Poser generated data but I ned to get that line break into my added code
how do i get that same effect??
Thanks
______________________
"When you have to shoot ...
SHOOT.
Don't talk "
- Tuco
Santicor's Gallery:
http://www.renderosity.com/homepage.php?page=3&userid=580115
santicor posted Fri, 21 January 2011 at 10:21 AM
notepad shows these line breaks ( little square indicator) and i knew i had a prob as i enetered my data - see , there are no line breaks for my 5 lines
______________________
"When you have to shoot ...
SHOOT.
Don't talk "
- Tuco
Santicor's Gallery:
http://www.renderosity.com/homepage.php?page=3&userid=580115
markschum posted Fri, 21 January 2011 at 10:34 AM
I use wordpad , it seems to do better than notepad.
To put things on seperate lines just place the cursor at the end of the line and press Enter
Poser uses a Unix like end-of-line indicator and that sometimes gives problems wirh dos style text editors.
pjz99 posted Fri, 21 January 2011 at 10:40 AM
Do yourself a favor and switch to a serious CR2 editor (I recommend Dimension3D's Poser File Editor). This stuff is just way too easy to screw up with a plain text editor.
heddheld posted Fri, 21 January 2011 at 10:48 AM
or if your on a budget try notepad++ its free (or theres other free editors)
trying to work like that in notepad must be a nitemare
lesbentley posted Fri, 21 January 2011 at 11:13 AM
Try this:
targetGeom armpit_rCol
{
name armpit_rCol
initValue 0
hidden 0
forceLimits 1
min -10000
max 10000
trackingScale 0.02
keys
{
static 0
k 0 0
}
interpStyleLocked 0
valueOpDeltaAdd
Figure 2 <span style="color:#99cc00;">[must be consistant with number used in rest of figure]
</span> rCollar:2 <span style="color:#99cc00;">[must be consistant with number used in rest of figure]
</span> zRotate
deltaAddDelta -.5
Sometimes Notepad does not format the text correctly. Try using EditPad Lite, its free and a better editor. A cr2 editor can also be usefull (eg Poser File Editor, or the free CR2Builder).
santicor posted Fri, 21 January 2011 at 11:18 AM
Thanks for everyone's advice !
thanks yes markschum yes it was the simple sollution of the return key - it worked in basic notepad.
JCM works .. my first one I am psyched !
______________________
"When you have to shoot ...
SHOOT.
Don't talk "
- Tuco
Santicor's Gallery:
http://www.renderosity.com/homepage.php?page=3&userid=580115
lesbentley posted Fri, 21 January 2011 at 11:21 AM
P.S.
The code in my above post is double spaced, this is an artefact of "improvements" they made recently to the replay box. It should really be single spaced.
santicor posted Fri, 21 January 2011 at 11:40 AM
"rCollar:2 [must be consistant with number used in rest of figure]"
* *
Les it still works without the number "2" here - is it important I add it?
Thanks
______________________
"When you have to shoot ...
SHOOT.
Don't talk "
- Tuco
Santicor's Gallery:
http://www.renderosity.com/homepage.php?page=3&userid=580115
markschum posted Fri, 21 January 2011 at 10:31 PM
It is important that the number match up with the figure number , otherwise you can wind up responding to9 a different figure.
lesbentley posted Sat, 22 January 2011 at 6:51 AM
Yes, what markschum said.