Page 38 - Kitab3DsMax
P. 38
Contents
The MAXScript Listener window ...........................................................................1162
Tutorial: Talking to the MAXScript interpreter ......................................................1164
MAXScript Editor windows ...................................................................................1166
The Macro Recorder ..............................................................................................1166
Tutorial: Recording a simple script ........................................................................1168
The MAXScript Debugger ......................................................................................1169
Setting MAXScript Preferences ........................................................................................1171
Types of Scripts ..............................................................................................................1172
Macro scripts .........................................................................................................1172
Scripted utilities ....................................................................................................1173
Scripted right-click menus ....................................................................................1173
Scripted mouse tools .............................................................................................1173
Scripted plug-ins ...................................................................................................1173
Writing Your Own MAXScripts .......................................................................................1173
Variables and data types ........................................................................................1173
Tutorial: Using variables ........................................................................................1175
Program flow and comments .................................................................................1175
Expressions ...........................................................................................................1176
Conditions ............................................................................................................1178
Collections and arrays ...........................................................................................1179
Loops ....................................................................................................................1180
Functions ..............................................................................................................1181
Tutorial: Creating a school of fish ..........................................................................1182
Part 1: Making the fish follow a path ...........................................................1182
Part 2: Adding body rotation and tail animation ..........................................1184
Part 3: Animating the second fish ................................................................1187
Learning the Visual MAXScript Editor Interface ..............................................................1188
The Editor interface ...............................................................................................1188
The menus and the main toolbar ...........................................................................1189
Toolbar elements ...................................................................................................1189
Laying Out a Rollout .......................................................................................................1190
Aligning and spacing elements ..............................................................................1191
Tutorial: Building a custom rollout with the Visual MAXScript Editor ...................1191
Summary ........................................................................................................................1194
Chapter 50: Expanding Max with Third-Party Plug-Ins . . . . . . . . . . . . . 1195
Using Turbo Squid Tentacles ..........................................................................................1195
Working with Plug-Ins ....................................................................................................1196
Installing plug-ins .................................................................................................1197
Viewing installed plug-ins .....................................................................................1197
Tutorial: Installing and using the AfterBurn plug-in demo ....................................1199
Locating Plug-Ins ............................................................................................................1200
Summary ........................................................................................................................1201
xxxvi
6/29/10 9:12 PM
02_617779-ftoc.indd xxxvi
02_617779-ftoc.indd xxxvi 6/29/10 9:12 PM