git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1902 e016b1c5-ed68-44aa-a2f7-31cac88cffde
378 lines
8.8 KiB
XML
378 lines
8.8 KiB
XML
<?xml version="1.0" encoding="utf-8" ?>
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<?xml-stylesheet type="text/xsl" href="transformations/cubedoc2xhtml.xslt"?>
|
|
|
|
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" lang="en" xml:lang="en">
|
|
<head><title>Map editing</title></head>
|
|
<body>
|
|
<h1>Map editing</h1>
|
|
<h2>Introduction...</h2>
|
|
<p>
|
|
To begin map editing, while in AssaultCube, press the letter <b>E</b> which toggles editmode. AssaultCubes map editor is built into the client,
|
|
so its easy to learn and you don't need to download any special tools to get started. In editmode, you can fly around in any direction you
|
|
like and you can even go through walls. This is to make map-editing easier.
|
|
</p>
|
|
<p>
|
|
In editmode, you will see a grid being drawn where ever you point. Each of these small squares is a single cube. The cubes in
|
|
AssaultCube are known as "geometery". The blue lines indicate a selection of 8x8 cubes. You will also see some blue sparkly things.
|
|
These sparkly things are known as "entities" (which will be explained later). Click and drag the small white box at your crosshair over
|
|
some cubes (you will see a red box over what you are selecting). This is how you select geometery.
|
|
</p>
|
|
<p>
|
|
If you would like to start creating a new map, type: <i>/newmap</i> and then the size you would like (7 is the sensible default) and
|
|
then press enter. You can save your map at any time by typing: <i>/savemap</i> and then the name you would like it saved as. The map gets
|
|
saved in the <i>packages/maps</i> directory. Save your map often, to avoid the frustration of losing all of your work if something goes wrong.
|
|
</p>
|
|
<p>
|
|
<b>Note:</b> Make sure when you start a map, to use the <i>/newmap</i> command, rather than editing an existing map, otherwise your map may get saved
|
|
a bit strangely. Also note: you cannot put spaces or any illegal characters in the name you save it as.
|
|
</p>
|
|
<p>
|
|
Below are the controls that get used in map-editing...
|
|
</p>
|
|
|
|
<h2 id="controls">Map editing controls</h2>
|
|
|
|
|
|
<h3>Changing geometery</h3>
|
|
<table>
|
|
<tr>
|
|
<td width="150">
|
|
<b><u>Control</u></b>
|
|
</td>
|
|
<td width="450">
|
|
<b><u>Function</u></b>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
[
|
|
</td>
|
|
<td>
|
|
Moves cubes in the floor downwards.
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
]
|
|
</td>
|
|
<td>
|
|
Moves cubes in the floor upwards.
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
O
|
|
</td>
|
|
<td>
|
|
Moves cubes in the ceiling downwards.
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
P
|
|
</td>
|
|
<td>
|
|
Moves cubes in the ceiling upwards.
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
F
|
|
</td>
|
|
<td>
|
|
Makes selected cubes a solid.
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
G
|
|
</td>
|
|
<td>
|
|
Makes selected cubes a space/non-heightfield.
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
K
|
|
</td>
|
|
<td>
|
|
Makes selected cubes a corner.
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
C
|
|
</td>
|
|
<td>
|
|
Copy selected cubes.
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
V
|
|
</td>
|
|
<td>
|
|
Pastes copied cubes. <br />Note: It pastes from the upper corner of the red dot.
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
U
|
|
</td>
|
|
<td>
|
|
Undoes the last action (only applies to geometery).
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
,
|
|
</td>
|
|
<td>
|
|
Equalize the floor.
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
.
|
|
</td>
|
|
<td>
|
|
Equalize the ceiling.
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>
|
|
H
|
|
</td>
|
|
<td>
|
|
Makes the floor a heightfield.
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
I
|
|
</td>
|
|
<td>
|
|
Makes the ceiling a heightfield.
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
9
|
|
</td>
|
|
<td>
|
|
Manipulates the corner of a cube where the red dot is positioned upwards.
|
|
Works only if the cube is a heightfield.
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
8
|
|
</td>
|
|
<td>
|
|
Manipulates the corner of a cube where the red dot is positioned downwards.
|
|
Works only if the cube is a heightfield.
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<h3>Changing textures</h3>
|
|
<table>
|
|
<tr>
|
|
<td width="150">
|
|
<b><u>Control</u></b>
|
|
</td>
|
|
<td width="350">
|
|
<u><b>Function</b></u>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
Home
|
|
</td>
|
|
<td>
|
|
Browses forward through wall textures.
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
End
|
|
</td>
|
|
<td>
|
|
Browses backward through wall textures.
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
7 (on the keypad)
|
|
</td>
|
|
<td>
|
|
Browses forward through upper-wall textures.
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
4 (on the keypad)
|
|
</td>
|
|
<td>
|
|
Browses backward through upper-wall textures.
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
Insert
|
|
</td>
|
|
<td>
|
|
Browses forward through floor textures.
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
Delete
|
|
</td>
|
|
<td>
|
|
Browses backward through floor textures.
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
PageUp
|
|
</td>
|
|
<td>
|
|
Browses forward through ceiling textures.
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
PageDown
|
|
</td>
|
|
<td>
|
|
Browses backward through ceiling textures.
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<h3>Mouse controls</h3>
|
|
<table>
|
|
<tr>
|
|
<td width="150">
|
|
<b><u>Control</u></b>
|
|
</td>
|
|
<td width="400">
|
|
<u><b>Function</b></u>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
Left-click
|
|
</td>
|
|
<td>
|
|
Allows you to select cubes.
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
Right-click
|
|
</td>
|
|
<td>
|
|
Show the editing menu.
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
Scrolling
|
|
</td>
|
|
<td>
|
|
Scrolling will move cubes up/down, depending on the direction you look.
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
Hold <b>Q</b> and scroll
|
|
</td>
|
|
<td>
|
|
This will manipulate the corner of a cube where the red dot is positioned up/down.
|
|
Works only if the cube is a heightfield.
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
Hold <b>Z</b> and scroll
|
|
</td>
|
|
<td>
|
|
Scrolls forward/backwards through textures on the floor/ceiling, depending on the direction you look.
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
Hold <b>X</b> and scroll
|
|
</td>
|
|
<td>
|
|
Scrolls forward/backwards through textures on the wall/upper-wall, depending on the direction you look.
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<h3>Misc</h3>
|
|
<table>
|
|
<tr>
|
|
<td width="150">
|
|
<b><u>Control</u></b>
|
|
</td>
|
|
<td width="350">
|
|
<b><u>Function</u></b>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
E
|
|
</td>
|
|
<td>
|
|
Toggle edit mode.
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
Backspace
|
|
</td>
|
|
<td>
|
|
Delete entity.
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
L
|
|
</td>
|
|
<td>
|
|
Shows the lighting menu.
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
F5
|
|
</td>
|
|
<td>
|
|
Toggle ocullsion on/off.
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
F6
|
|
</td>
|
|
<td>
|
|
Toggle showmip on/off.
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<p>
|
|
To load your map, type /map and the file name you chose for your map. If you have not placed lighting in your map yet, your map will turn up dark.
|
|
To temporarily fix this problem, type: <i>/fullbright 1</i> - this will fill your whole map with light. The fullbright command only works in edit
|
|
mode and is not a permanent fix. To remove fullbright mode, type: <i>/recalc</i>.
|
|
Note: These commands can be found in the lighting menu (press <b>L</b>).
|
|
</p>
|
|
|
|
<h2 id="co-op">Co-operative map editing</h2>
|
|
</body>
|
|
</html>
|