File: mapediting1.html

package info (click to toggle)
assaultcube-data 1.1.0.4%2Brepack1-2.1
  • links: PTS, VCS
  • area: non-free
  • in suites: buster, jessie, jessie-kfreebsd, stretch
  • size: 56,240 kB
  • ctags: 5
  • sloc: xml: 4,718; sh: 132; makefile: 18
file content (490 lines) | stat: -rw-r--r-- 14,729 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"><html lang="en" xml:lang="en" xmlns:h="http://www.w3.org/1999/xhtml" xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Map editing: Introduction</title>
<meta http-equiv="content-type" content="application/xhtml+xml;charset=utf-8"/>
<link rel="shortcut icon" href="pics/favicon.ico"/>
<link rel="stylesheet" href="styles/cubedoc.css"/>
</head>
<body>
<div id="main">
<div id="logo">
<img src="pics/head.gif" alt="AssaultCube logo"/>
</div>
<div id="title">
<h1>
                AssaultCube: Map editing: Introduction</h1>
</div>
<div id="content">
<h1>Map editing: Interface &amp; controls </h1>
<p>
      Learning and understanding the interface and controls are the first step to map editing...
    </p>
<h2>The interface</h2>
<table>
      <tr>
        <td rowspan="1" colspan="1"><img src="pics/editmode-grid.jpg" alt="The grid"/></td>
          <td rowspan="1" colspan="1">
            <b>The "cube grid"</b><br clear="none"/>
            <p>
              This will be shown as a white grid of squares drawn where ever you point. 
              <br clear="none"/>Each of the 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 make map editing easier.
            </p>                        
          </td>
        </tr>
        <tr>
          <td rowspan="1" colspan="1"><img src="pics/editmode-heightfield.jpg" alt="Shows a cube that is a heightfield"/></td>
          <td rowspan="1" colspan="1">
            <b>Heightfield cubes</b><br clear="none"/>
            <p>
              These are the light green cubes in the grid.<br clear="none"/> These cubes indicate heightfields, which will be explained 
              later <a href="mapediting2.html#heightfield" shape="rect">here</a>.
            </p>                        
          </td>
        </tr>
        <tr>
          <td rowspan="1" colspan="1"><img src="pics/editmode-selector.jpg" id="selector" alt="Selects cubes"/></td>
          <td rowspan="1" colspan="1">
            <b>Cube selector</b><br clear="none"/>
            <p>
              This appears as a small white box with a red dot 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. <br clear="none"/>The red dot indicates which corner of a cube you are manipulating, if you are using 
              <a href="mapediting2.html#heightfield" shape="rect">heightfields</a>, or where your <a href="mapediting3.html" shape="rect">entity</a> 
              will be placed if you are creating an entity.
            </p>                        
          </td>
        </tr>
        <tr>
          <td rowspan="1" colspan="1"><img src="pics/editmode-entity.jpg" id="sparkles" alt="Indicates an entity"/></td>
          <td rowspan="1" colspan="1">
            <b>Entity sparkles</b><br clear="none"/>
            <p>
              These are shown as blue sparkly dots. They are known as "entities", which will be explained later 
		<a href="mapediting3.html" shape="rect">here</a>. Note: The sparkly of the nearest entity will show up orange.
            </p>                        
          </td>
        </tr>
        <tr>
          <td rowspan="1" colspan="1"><img src="pics/editmode-nearestent.jpg" alt="Shows nearest entity"/></td>
          <td rowspan="1" colspan="1">
            <b>"Nearest entity" text</b><br clear="none"/>
            <p>
              This is the white writing along the bottom. It will tell you the location of the closest entity and its properties.<br clear="none"/>
              <b>Note:</b> The nearest entity sparkly will show up orange (see left).
            </p>                        
          </td>
        </tr>
        <tr>
          <td rowspan="1" colspan="1"><img src="pics/editmode-clipbox.jpg" alt="An invisible bounding box"/></td>
          <td rowspan="1" colspan="1">
            <b>Yellow clip box</b><br clear="none"/>
            <p>
              These boxes will be shown where clip entities are used and depict the total size of the clip. See the 
		<a href="mapediting3.html#clips">clips section</a> on the entities page for more information.
            </p>                        
          </td>
        </tr>
      </table>
<p>
      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.
    </p>
<h2 id="controls">Map editing controls</h2>
<p>
      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 <br clear="none"/>Note: These controls can ONLY be used in map editing mode.
    </p>
<h3>Changing geometry</h3>
<table>
	      <tr>
        <td width="150" rowspan="1" colspan="1">
          <b><u>Control</u></b>
        </td>
        <td width="450" rowspan="1" colspan="1">
          <b><u>Function</u></b>
        </td>
      </tr>
      <tr>
        <td rowspan="1" colspan="1">
          [
        </td>
        <td rowspan="1" colspan="1">
          Moves cubes in the floor downwards.
        </td>
      </tr>
      <tr>
        <td rowspan="1" colspan="1">
          ]
        </td>
        <td rowspan="1" colspan="1">
          Moves cubes in the floor upwards.
        </td>
      </tr>
      <tr>
        <td rowspan="1" colspan="1">
          O
        </td>
        <td rowspan="1" colspan="1">
          Moves cubes in the ceiling downwards.
        </td>
      </tr>
      <tr>
        <td rowspan="1" colspan="1">
          P	
        </td>
        <td rowspan="1" colspan="1">
          Moves cubes in the ceiling upwards.
        </td>
      </tr>
      <tr>
        <td rowspan="1" colspan="1">
        </td>
        <td rowspan="1" colspan="1">
          <b>Note:</b> The <a href="#mouse" shape="rect">mouse controls</a> are easier.
        </td>
      </tr>
      <tr>
        <td rowspan="1" colspan="1">
          F
        </td>
        <td rowspan="1" colspan="1">
          Makes selected cubes a solid.
        </td>
      </tr>
      <tr>
        <td rowspan="1" colspan="1">
          G
        </td>
        <td rowspan="1" colspan="1">
          Makes selected cubes a space/non-heightfield.
        </td>
      </tr>
      <tr>
        <td rowspan="1" colspan="1">
          K
        </td>
        <td rowspan="1" colspan="1">
          Makes selected cubes a corner.
        </td>
      </tr>
      <tr>
        <td rowspan="1" colspan="1">
          C
        </td>
        <td rowspan="1" colspan="1">
          Copy selected cubes.
        </td>
      </tr>
      <tr>
        <td rowspan="1" colspan="1">
          V
        </td>
        <td rowspan="1" colspan="1">
          Pastes copied cubes. <br clear="none"/>Note: It pastes from the upper corner of the red dot.
        </td>
      </tr>
      <tr>
        <td rowspan="1" colspan="1">
          U
        </td>
        <td rowspan="1" colspan="1">
          Undoes the last action (only applies to geometry).
        </td>
      </tr>
      <tr>
        <td rowspan="1" colspan="1">
          ,
        </td>
        <td rowspan="1" colspan="1">
          Equalize the floor.
        </td>
      </tr>
      <tr>
        <td rowspan="1" colspan="1">
          .
        </td>
        <td rowspan="1" colspan="1">
          Equalize the ceiling.
        </td>
      </tr>

      <tr>
        <td rowspan="1" colspan="1">
          H
        </td>
        <td rowspan="1" colspan="1">
          Makes the floor a heightfield.
        </td>
      </tr>
      <tr>
        <td rowspan="1" colspan="1">
          I
        </td>
        <td rowspan="1" colspan="1">
          Makes the ceiling a heightfield.
        </td>
      </tr>
      <tr>
        <td rowspan="1" colspan="1">
          9
        </td>
        <td rowspan="1" colspan="1">
          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 rowspan="1" colspan="1">
          8
        </td>
        <td rowspan="1" colspan="1">
          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" rowspan="1" colspan="1">
          <b><u>Control</u></b>
        </td>
        <td width="350" rowspan="1" colspan="1">
          <u><b>Function</b></u>
        </td>
      </tr>
      <tr>
        <td rowspan="1" colspan="1">
          Home
        </td>
        <td rowspan="1" colspan="1">
          Browses forward through wall textures.
        </td>
      </tr>
      <tr>
        <td rowspan="1" colspan="1">
          End
        </td>
        <td rowspan="1" colspan="1">
          Browses backward through wall textures.
        </td>
      </tr>
      <tr>
        <td rowspan="1" colspan="1">
          7 (on the keypad)
        </td>
        <td rowspan="1" colspan="1">
          Browses forward through upper-wall textures.
        </td>
      </tr>
      <tr>
        <td rowspan="1" colspan="1">
          4 (on the keypad)
        </td>
        <td rowspan="1" colspan="1">
          Browses backward through upper-wall textures.
        </td>
      </tr>
      <tr>
        <td rowspan="1" colspan="1">
          Insert
        </td>
        <td rowspan="1" colspan="1">
          Browses forward through floor textures.
        </td>
      </tr>
      <tr>
        <td rowspan="1" colspan="1">
          Delete
        </td>
        <td rowspan="1" colspan="1">
          Browses backward through floor textures.
        </td>
      </tr>
      <tr>
        <td rowspan="1" colspan="1">
          PageUp
        </td>
        <td rowspan="1" colspan="1">
          Browses forward through ceiling textures.
        </td>
      </tr>
      <tr>
        <td rowspan="1" colspan="1">
          PageDown
        </td>
        <td rowspan="1" colspan="1">
          Browses backward through ceiling textures.
        </td>
      </tr>
      </table>
<h3 id="mouse">Mouse controls</h3>
<table>
      <tr>
        <td width="150" rowspan="1" colspan="1">
          <b><u>Control</u></b>
        </td>
        <td width="400" rowspan="1" colspan="1">
          <u><b>Function</b></u>
        </td>
      </tr> 
      <tr>
        <td rowspan="1" colspan="1">
          Left-click
        </td>
        <td rowspan="1" colspan="1">
          Allows you to select cubes.
        </td>
      </tr>
      <tr>
        <td rowspan="1" colspan="1">
          Right-click
        </td>
        <td rowspan="1" colspan="1">
          Show the editing menu.
        </td>
      </tr>
      <tr>
        <td rowspan="1" colspan="1">
          Scrolling
        </td>
        <td rowspan="1" colspan="1">
          Scrolling will move cubes up/down, depending on the direction you look.
        </td>
      </tr>
      <tr>
        <td rowspan="1" colspan="1">
          Hold <b>Q</b> and scroll
        </td>
        <td rowspan="1" colspan="1">
          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 rowspan="1" colspan="1">
          Hold <b>Z</b> and scroll
        </td>
        <td rowspan="1" colspan="1">
          Scrolls forward/backwards through textures on the floor/ceiling, depending on the direction you look.
        </td>
      </tr>
      <tr>
        <td rowspan="1" colspan="1">
          Hold <b>X</b> and scroll
        </td>
        <td rowspan="1" colspan="1">
          Scrolls forward/backwards through textures on the wall/upper-wall, depending on the direction you look.
        </td>
      </tr>
      <tr>
        <td rowspan="1" colspan="1">
          Hold <b>1</b> and scroll
        </td>
        <td rowspan="1" colspan="1">
          Change the first attribute value of the closest entity.
        </td>
      </tr>
      <tr>
        <td rowspan="1" colspan="1">
          Hold <b>2</b> and scroll
        </td>
        <td rowspan="1" colspan="1">
          Change the second attribute value of the closest entity.
        </td>
      </tr>
      <tr>
        <td rowspan="1" colspan="1">
          Hold <b>3</b> and scroll
        </td>
        <td rowspan="1" colspan="1">
          Change the third attribute value of the closest entity.
        </td>
      </tr>
      <tr>
        <td rowspan="1" colspan="1">
          Hold <b>4</b> and scroll
        </td>
        <td rowspan="1" colspan="1">
          Change the fourth attribute value of the closest entity.
        </td>
      </tr>
      <tr>
        <td rowspan="1" colspan="1">
          Hold <b>M</b> and scroll
        </td>
        <td rowspan="1" colspan="1">
          Move the closest entity in the axis of the direction you look.
        </td>
      </tr>
    </table>
<h3>Misc</h3>
<table>
      <tr>
        <td width="150" rowspan="1" colspan="1">
          <b><u>Control</u></b>
        </td>
        <td width="350" rowspan="1" colspan="1">
          <b><u>Function</u></b>
        </td>
      </tr>
      <tr>
        <td rowspan="1" colspan="1">
          E
        </td>
        <td rowspan="1" colspan="1">
          Toggle edit mode.
        </td>
      </tr>
      <tr>
        <td rowspan="1" colspan="1">
          Backspace
        </td>
        <td rowspan="1" colspan="1">
          Delete entity.
        </td>
      </tr>
      <tr>
        <td rowspan="1" colspan="1">
          ;
        </td>
        <td rowspan="1" colspan="1">
          <a href="reference.xml#identifier_entset">Entset</a>
        </td>
      </tr>
      <tr>
        <td rowspan="1" colspan="1">
          L
        </td>
        <td rowspan="1" colspan="1">
          Shows the lighting menu.
       </td>
      </tr>
      <tr>
        <td rowspan="1" colspan="1">
          F5
        </td>
        <td rowspan="1" colspan="1">
          Toggle occlusion on/off.
        </td>
      </tr>
      <tr>
        <td rowspan="1" colspan="1">
          F6
        </td>
        <td rowspan="1" colspan="1">
          Toggle showmip on/off.
        </td>
      </tr>
    </table>
<br clear="none"/>
<h4>
      The next step? Go to <a href="mapediting2.html" shape="rect">Map editing: Beginners</a>.
    </h4>
</div>
<div id="footer">
              Rabid Viper Productions
            </div>
</div>
</body>
</html>