anachronox-sdk/docs/planet/19.html
2002-01-21 00:00:00 +00:00

52 lines
2.2 KiB
HTML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<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 youve 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 7. 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 its focus sub path. Hit 1 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 dont forget pageup is copy and pagedown is paste)
Newent=character_boots:floor=0
<P>
Play script. Notice you are looking at boots feet. That is because that is where his ORIGIN POINT is. The automap has its 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 dont have to script peoples origin points, skimming over the floors.
<P>
Onto Movement
<P>
<P>&nbsp;<P>
</BODY>
</HTML>