Manual for ScapeMaker


Contents



User interface

Every element in all panels and dialogs has a context help. For a short help hoover the mouse cursor over an element and a tool tip will appear. If you need a detail description of the function, select the question mark in title bar of the current dialog and click on the element.


Scripts

In the 3d-mode, scripts can be executed. This way you can easily make skyboxes or let the camera automatically move around. All scripts have to be in the directory "./enginefiles/scripts/" and end with ".txt".
To execute a script you have to open the console. Do this by pressing the "^" key on your keyboard while you are in 3d-mode. In the console, a script can be started by typing in "scripts.loadScript("rotateloop")" and pressing ENTER. rotateloop could also be the name of any other script.
A script can be created or modified with any text editor. A "HelloWorld"-Script would loke like this:
<script>
<0>
<time>5.0</time>
<method>console.addMessage("Hello World!")</method>
</0>
<1>
<time>7.0</time>
<method>console.addMessage("Bye...")</method>
</1>
</script>	
The entire script has to be contained within a "script"-tag. It can have any number of numbered actions. The "time"-tag holds the second, at which the action takes place. Times have to be absolute, which means that in this example action 1 is executed 2 seconds after action 0. The tag "method" tells the engine which method to start. All functions that can be typed into the console are possible. These methods are: In parameters for methods some constants can be used. These constants are defined: ScapeMaker comes with the following scripts which can instantly be used:

Translation by Jan Goepfert