Mailing List
Home
Forum Home
Softimage
Carrara
trueSpace
Dir3d-l
Maya - a powerful 3D animation and visual effects software
Macromedia Flash Development
Subjects
Cameras
scaleDown command
black out solved
Aircraft Tutorial
Mathematical XYZ ?
Its done This vs That
Its done first week
recommendations for screen video captures?
3DExplorer "Oddity "
New Director
ProTeam renewals
Fuel 's new websites (X post)
Blue peter create a make toy
targeting groups question
XPost: Shockwave 3D game ( sort of )
RES: RES: RES: Fish Modeling
Emitting particles from object intersection
Fuel 's new websites (X post)
Texturing
Big Break Contest Videos
New Plugins
Models and Texture on my updated site
Error Installing Patch tS6 6
Plasma?
Looking for Inspiration
Weird EMail Q
It 's done first week ?
Cherry not cranberry
New game
Camera Animation Problem
Particle plugins?
 
HELP: Bug running a script

HELP: Bug running a script

2004-05-21       - By Oz Adi

 Back
This pretty urgent! I've encountered a bug running a script, and I am in a
middle
of the tight project...

I am doing a camera projection on shape animated face,

I need to mute shape deformation BEFORE each frame, unlock the cam projection-
lock it again, then turn on the shape deformation again..

it all works great when doing it MANUALY..
but when Puting it into a script it doesnt work when being run.

here's the script:

rem * mute shape animtion *
SetValue "DOG_HEAD.HEAD.polymsh.clustershapecombiner.Point_AUTO_Wt", 0
rem * un lock cam projection *
SetValue "DOG_HEAD.HEAD.polymsh.cls.Texture_Coordinates_AUTO.Texture
_Projection5.CameraTxt.Freeze", False
rem * Lock cam projection *
SetValue "DOG_HEAD.HEAD.polymsh.cls.Texture_Coordinates_AUTO.Texture
_Projection5.CameraTxt.Freeze", True
rem * un mute shape animation *
SetValue "DOG_HEAD.HEAD.polymsh.clustershapecombiner.Point_AUTO_Wt", 1

I've tried running those commands from the script editor,  one at a time (one
line script) , and it works.. running them automaticaly one after the other (as
a four line script) and it doesnt do a thing..

I even tried to make delays between each line of a few seconds.. doesnt work as
well..

I really need help on this one.. any work around? any other way of making this
autamitacly?

thanks!!!



<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859 (See http://iso-8859.ora-code.com)-1">
<META content="MSHTML 6.00.2800.1400" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>This pretty urgent! I've encountered a bug running
a script, and I am in a middle<BR>of the tight project...</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I am doing a camera projection on shape animated
face,</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I need to mute shape deformation
<STRONG>BEFORE</STRONG> each frame, unlock the cam projection- <BR>lock it
again, then turn on the shape deformation again..</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>it all works great when doing it MANUALY..<BR>but
when Puting it into a script it doesnt work when being run.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>here's the script:</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><EM><FONT color=#ff0000>rem * mute shape animtion
*<BR></FONT></EM><STRONG>SetValue
"DOG_HEAD.HEAD.polymsh.clustershapecombiner.Point_AUTO_Wt", 0</STRONG>
</FONT></DIV>
<DIV><FONT face=Arial size=2><EM><FONT color=#ff0000>rem * un lock cam
projection *</FONT></EM><BR><STRONG>SetValue
"DOG_HEAD.HEAD.polymsh.cls.Texture_Coordinates_AUTO.Texture_Projection5
.CameraTxt.Freeze",
False</STRONG> </FONT></DIV>
<DIV><FONT face=Arial size=2><EM><FONT color=#ff0000>rem * Lock cam projection
*</FONT></EM><BR><STRONG>SetValue
"DOG_HEAD.HEAD.polymsh.cls.Texture_Coordinates_AUTO.Texture_Projection5
.CameraTxt.Freeze",
True</STRONG></FONT></DIV>
<DIV><FONT face=Arial size=2><EM><FONT color=#ff0000>rem * un mute shape
animation *</FONT></EM><BR><STRONG>SetValue
"DOG_HEAD.HEAD.polymsh.clustershapecombiner.Point_AUTO_Wt",
1<BR></STRONG></FONT></DIV>
<DIV><FONT face=Arial size=2>I've tried running those commands from the script
editor, &nbsp;<STRONG>one at a time</STRONG> (one line script) , and it
<STRONG>works</STRONG>.. running them automaticaly one after the other (as a
four line script) and it doesnt do a thing..</DIV>
<DIV>&nbsp;</DIV>
<DIV>I even tried to make delays between each line of a few seconds.. doesnt
work as well..</DIV>
<DIV>&nbsp;</DIV>
<DIV>I really need help on this one.. any work around? any other way of making
this autamitacly?</DIV>
<DIV>&nbsp;</DIV>
<DIV>thanks!!!</DIV>
<DIV>&nbsp;</DIV>
<DIV><BR>&nbsp;</DIV></FONT></BODY></HTML>