Template preference files, Changing the default quicktime configuration – Apple Shake 4 User Manual
Page 392
![background image](/manuals/547483/392/background.png)
392
Chapter 14
Customizing Shake
Radius Controls
In the startup macro file:
float radius = width/6,
float falloffRadius = width/6,
float xCenter = width/2,
float yCenter = height/2
This is basically for RGrad, but maybe you can do some more with it.
Template Preference Files
You can add additional parameters and default settings by adding files into the startup/
ui/templates directory. Each time Shake is launched, it adds these extra parameters. For
example, if you always want the Proxy Filter to be “box” instead of “default,” and you
always want a slider in the Globals tab called switch1, create a .h file under the
templates directory with:
SetProxyFilter(“box”);
curve int switch1 = 0;
Basically, take a saved script and strip out the lines you want to set as defaults, and save
it as a .h file into templates.
Changing the Default QuickTime Configuration
You can change the default QuickTime configuration that appears when you set the
fileFormat parameter of a FileOut node to QuickTime. The default QuickTime
configuration is also the configuration that Shake falls back on when a script is opened
with a FileOut node that’s set to use a QuickTime codec that’s not available on that
computer.