AssaultCube Documentation
Go to documentation index ↵

## Map editing - Interface & controls

Learning and understanding the interface and controls are the first step to map editing...

### The interface

| The cube grid This is shown as a white grid of squares drawn where ever you point. Each of these small squares is a single cube. The cubes in AssaultCube are known as "geometry". The bigger blue squares, indicate a selection of 8x8 cubes (to help make map editing easier).
| Heightfield cubes These are the light green cubes in the grid. These cubes indicate heightfields, which will be explained later here.
| Cube selector This appears as a small white box with a red mini-square in the corner. It will appear in the middle of the screen and you can use it to select geometry, a bit like a crosshair. The red mini-square indicates which corner of a cube you are manipulating if you're using heightfields, or where your entity will be placed if you're creating an entity.
| Entity sparkles These are shown as coloured sparkly dots. They are known as "entities", which will be explained later here. Each entity is colour coded: The nearest entity will be blue. Light entities will be white. Item pickups will be red (for weapons) or yellow (for armour/health). Spawn points will be green. Mapmodels and map sounds will be magenta. CTF flags will be turquoise. Clip boxes and ladders will be grey. Map sounds in magenta.
| "Closest entity" text This is the white writing along the bottom. It will tell you the location of the closest entity and its properties. Note: The sparkly of the closest entity will show up blue.
| Yellow clip box These boxes will be shown where clip entities are used and depict the total size of the clip. These clip boxes stop players and grenades passing through. See the clips section on the entities page for more information.
| Purple clip box These boxes will be shown where clip entities are used and depict the total size of the clip. These clip boxes stop players passing through, however, still allow grenades to pass. See the clips section on the entities page for more information.
| Playerstart arrows These arrows show up for any entity that is a "playerstart". This is to help you judge the correct direction for each player to face when they spawn.

To get a feel for editmode, press E and float around. Try clicking and dragging 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 geometry.

### Map editing controls

Below are the controls that get used in map-editing, you will use most of these controls when creating a map, so it's good to learn them. Note: These controls can ONLY be used in map editing mode.

#### Changing geometry

Control | Function |  | Control | Function
[ | Moves cubes in the floor downwards. | ] | Moves cubes in the floor upwards.
O | Moves cubes in the ceiling downwards. | P | Moves cubes in the ceiling upwards.
U | Undoes the last action (only applies to geometry). | F | Makes selected cubes a solid.
G | Makes selected cubes a space/non-heightfield. | K | Makes selected cubes a corner.
C | Copy selected cubes. | V | Pastes copied cubes. Note: It pastes from the upper corner of the red mini-square.
, | Equalize the floor. | . | Equalize the ceiling.
H | Makes the floor a heightfield. | I | Makes the ceiling a heightfield.
9 | Manipulates upwards the corner of a cube where the red mini-square is positioned. This only works if the cube is a heightfield. | 8 | Manipulates downwards the corner of a cube where the red mini-square is positioned. This only works if the cube is a heightfield.

#### Changing textures

Control | Function |  | Control | Function
Home | Browses forward through wall textures. | End | Browses backward through wall textures.
7 | Browses forward through upper-wall textures. | 4 | Browses backward through upper-wall textures.
Insert | Browses forward through floor textures. | Delete | Browses backward through floor textures.
Page Up | Browses forward through ceiling textures. | Page Down | Browses backward through ceiling textures.

#### Mouse controls

Control | Function |  | Control | Function
Left-click | Allows you to select cubes. Hold CTRL for multiple selections. | Right-click | Show the editing menu.
Scrolling | Scrolling will move cubes up/down, depending on the direction you look. | Hold Q and scroll | This will manipulate the corner of a cube where the red dot is positioned up/down. Only works if the cube is a heightfield.
Hold Z and scroll | Scrolls forward/backwards through textures on the floor/ceiling, depending on the direction you look. | Hold X and scroll | Scrolls forward/backwards through textures on the wall/upper-wall, depending on the direction you look.
Hold 1 and scroll | Change the first attribute value of the closest entity. | Hold 2 and scroll | Change the second attribute value of the closest entity.
Hold 3 and scroll | Change the third attribute value of the closest entity. | Hold 4 and scroll | Change the fourth attribute value of the closest entity.
Hold M and scroll | Move the closest entity in the axis of the direction you look. |  |

#### Misc

Control | Function |  | Control | Function |  | Control | Function
E | Toggle edit mode. | Backspace | Delete entity. | ; | Entset
L | Shows the lighting menu. | F5 | Toggle occlusion on/off. | F6 | Toggle showmip on/off.
- | Copies nearest entity into memory. | = | Pastes nearest entity out of memory. | 7 | Selects the next closest entity, to the one currently selected.
F7 | Toggle fullbright on/off. |  |  |  |

#### The next step? Go to Map editing: Begin! →

© Copyright, Rabid Viper Productions
We would be grateful for any donations considered towards AssaultCube