anachronox-sdk/docs/planet/19.html

53 lines
2.2 KiB
HTML
Raw Permalink Normal View History

2002-01-21 00:00:00 +00:00
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1252">
<TITLE>Anachronox Editing Documentation</TITLE>
</HEAD>
<BODY BGCOLOR="#000000" TEXT="#EFEFEF" LINK="#00FFFF" ALINK="#FFFFFF" VLINK="#05F3D0">
<CENTER>
<P>
<FONT FACE="Helvetica">
<FONT COLOR="#0055DD"><B>Tutorial 19: Placing Entities On Paths</B>
</FONT>
</CENTER>
<P>
<HR>
<BR>
The moment you<6F>ve all been waiting for. Entites.
I like to use my old friend the automap.
<P>
Place a node in any map. Tell the director to make that node the camera.
Drop another node on the camera path. Hit <20>7<EFBFBD>. It should place that node directly over the one before it. VERY HANDY!!!
<P>
Drag that 2nd node on the timeline to 6 seconds.
<P>
Goto a new path. Drop a node a little ways away from the other path.
Shift-g down to the cmd line. Hit CTRL to drop a grey node.
<P>
Hit the NODE button. Click on the window and type:
Newent=ob_automap;floor=0
<P>
Play the script. You should see a handy dandy automap. Now take the second camera node (at 6 secs) and move it away from the automap. Play script. Camera moves away from automap. BUT you are probably NOT looking at it. SO label the camera path as CAM 1 (do you remember how?). Labal the automap path as automap. Goto the cam 1 path and drop a node on it<69>s focus sub path. Hit <20>1<EFBFBD> and slecet automap.
Now Play the script. The camera will remain focused on the automap ALWAYS.
<P>
Goto the cmd line where it says newent=ob_automap;floor=0
Change this to read: (NOTE: you can use Home, End, insert and delete, just like a word program and don<6F>t forget pageup is copy and pagedown is paste)
Newent=character_boots:floor=0
<P>
Play script. Notice you are looking at boots<74> feet. That is because that is where his ORIGIN POINT is. The automap has its<74> ORIGIN point in the center of his body. You set origin points in lightwave.
<P>
Now change floor=0 to read: floor=1
<P>
This will draw a trace line directly down from that node till it hits the floor and will place boots there. Play the script to see. This way you don<6F>t have to script people<6C>s origin points, skimming over the floors.
<P>
Onto Movement
<P>
<P>&nbsp;<P>
</BODY>
</HTML>