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

113 lines
5 KiB
HTML
Raw 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 15: The Cmnd Line, COPY/PASTE & explanation of USEFUL commands.</B>
</FONT>
</CENTER>
<P>
<HR>
<BR>
We are finally gonna get some use outta that Node button.
<P>
Right above the FOV path is the command path.
<P>
This could be considered the all-purpose path. When you are getting heavy into directing scenes, all console commands will go here. Say there is a door you want to open, just target that door like a console command, but instead of the console you put it in here. Youll see.
<P>
Drop a node in the command line path. Click on NODE button. Now click on long rectangular square. It turns blue. You can type many commands here.
<P>
THESE COMMANDS ARE ACTIVATED OVER TIME!!!!<BR>
You can place multiple commands on one node by separating them with a ; semicolon<BR>
Ex.<BR>
Target=activatedfirst;target=activatedsecond.
<P>
But its a good idea NOT to overload one node. If something seems like its not working, try breaking up the commands OVER TIME. DO NOT double nodes up (Youll notice a 2,3,4,X when nodes are doubled up).
<P>
<B>COPY\PASTE</B><BR>
Drop a node at 2.0, 4.0 and 6.0
<P>
Click on the 2.0 node, click the node button. Type: COPY . (a bogus command). Enter and hit okay.
<P>
Now click on 4.0. hit 7, a quick copy of the previous node. Now click on the node button and click on the text. Type THIS. It should read: COPYTHIS. Dont hit enter, make sure the box is still blue, and the cursor flashing, and hit pageup. You just copied that text to memory.
<P>
Click on node 2.0, Hit insert which plopped down a node at 1.0. click on it and hit the node button. Click on the box, when cursor appears hit the pagedown key. Voila!
<P>
Now click on the home button. This returns the to beginning of the text. <BR>
Now click on the end button. This returns the to end of the text.
<P>
Click on home again.
<P>
Hit the insert key. This changes the cursor mode like most word programs. Hit the delete key a few times, and dont forget to use the arrow keys.
<P>
<P>
<FONT COLOR="#0055DD">TARGET=[targetname] <BR></FONT>
Useful for targeting doors, elevators or sound triggers.<BR>
Ex.<BR>
target=door2lab<BR>
<P>
<FONT COLOR="#0055DD">PATHTARGET=[targetname]<BR></FONT>
Some elevators need pathtargets for 2 way functionaslity, Use this<BR>
Ex.<BR>
pathtarget=elev1goup<BR>
target=elev1<BR>
<P>
<FONT COLOR="#0055DD">SKY=[skyname, rotaion value]<BR></FONT>
To change a sky mid script. THIS command is permament. AND when used it takes a good half second to load in all these textures. Best used when screen is black. And numeric value to put in some rotation to sky.<BR>
Check techniques chapter to do some neat tricks.<BR>
Ex.<BR>
sky=whitendon -2<BR>
<P>
<FONT COLOR="#0055DD">FOG=[density, r, g, b, time is ms]<BR></FONT>
Add fog to a scene. This command is permanent (when script ends fog will stay at this value).<BR>
fog=.0001 1 .2 .2 8000 (this will in 8 seconds fade in a subtle reddish fog).<BR>
<P>
<FONT COLOR="#0055DD">EQUAKE=[0,yaw,pitch,roll,x,y,z]<BR></FONT>
Excellent command for adding screen shake. Permanent. So you MUST return equake values to ZERO by the end of the script. There is no way to lerp between values over time.<BR>
Ex.<BR>
Equake=0,1,1,1,.2,.2,.2<BR>
Equake=0,0,0,0,0,0,0<BR>
<P>
<FONT COLOR="#0055DD">MAP=[mapname, FROM(mapname no spaces), CINEMATIC (optional)] <BR></FONT>
Used at the last node of script. Some maps have many info_player_starts, so you may need to send player to a specific one. CINEMATIC flag means that there will be NO fatima screen.<BR>
Ex.<BR>
Map=bricksc frombricksd cinematic<BR>
Map=whitendon<BR>
<P>
<FONT COLOR="#0055DD">TIMESCALE=[value (0.1 6?)]<BR></FONT>
Slowmotion or fast motion. Warning, going to a value of .1 or lower is scary for code, so says the Squirrel. Permanent, so return to timescale=1 by end of script. VERY important!!!!!!!!!!! There is no way to lerp between timescales over time.<BR>
Ex.<BR>
timescale=.6<BR>
<P>
<FONT COLOR="#0055DD">CON=[any console commands]<BR></FONT>
Pushing console commands is scary, there is a super small possibility they might get skipped. Or so Ive been told. Try not to use this.<BR>
<P>
<FONT COLOR="#0055DD">SETAMBIENTCOLOR=[r,g,b]<BR></FONT>
Also an APE command. Permanent. This command sets OVERALL LEVEL lighting. I used this command only in cinematic maps. This was useful in lighting rhos shuttle when next to different colored Planets.<BR>
<P>
<FONT COLOR="#0055DD">SETAMBIENTDIR=[x,y,z]<BR></FONT>
Also an APE command. Permanent. This command sets OVERALL LIGHTING DIRECTION. I used this command only in cinematic maps. This was useful in lighting rhos shuttle and rocks when next to a Planet. Check script cine2_end (map cine2).<BR>
<P>
<P>&nbsp;<P>
</BODY>
</HTML>