File: docs.cfg

package info (click to toggle)
assaultcube-data 1.0.4%2Brepack1-1
  • links: PTS, VCS
  • area: non-free
  • in suites: squeeze
  • size: 60,024 kB
  • ctags: 15,165
  • sloc: cpp: 34,920; ansic: 20,515; xml: 3,864; sh: 3,408; objc: 975; cs: 350; makefile: 146
file content (3424 lines) | stat: -rw-r--r-- 87,055 bytes parent folder | download
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
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
// auto generated script to make the doc reference readable for Cube games, see the 'docs/cuberef.txt'

docsection [CubeScript]



docident [-] [Performs a subtraction.];

docargument [A] [the minuend] [] [0];

docargument [B] [the subtrahend] [] [0];



docident [!=] [Determines if two values are not equal.];

docargument [A] [first value] [] [0];

docargument [B] [second value] [] [0];



docident [!=f] [Determines if a floating-point value is not equal to a second floating-point value.];

docargument [A] [the first value] [] [0];

docargument [B] [the second value] [] [0];



docident [&&] [logical AND.];

docargument [A] [first value] [] [0];

docargument [B] [second value] [] [0];

docexample [echo (&& 1 1)] [Output: 1];

docexample [echo (&& 1 0)] [Output: 0];



docident [*] [Performs a multiplication.];

docargument [A] [the multiplicand] [] [0];

docargument [B] [the multiplier] [] [0];



docident [||] [logical OR.];

docargument [A] [first value] [] [0];

docargument [B] [second value] [] [0];

docexample [echo (|| 1 0)] [output: 1];

docexample [echo (|| 0 0)] [output: 0];



docident [+] [Performs an addition.];

docargument [A] [the first summand] [] [0];

docargument [B] [the second summand] [] [0];

docremark [Example: echo the sum of x and y is (+ $x $y)];



docident [+f] [Adds up two floating-point numbers.];

docargument [A] [the first summand] [float] [0];

docargument [B] [the second summand] [float] [0];



docident [<] [Determines if a value is smaller than a second value.];

docargument [A] [the first value] [] [0];

docargument [B] [the second value] [] [0];



docident [<=] [Determines if a values is less than or equal than a second value.];

docargument [A] [the first value] [] [0];

docargument [B] [the second value] [] [0];



docident [<=f] [Determines if a floating-point value is less than or equal to a second floating-point value.];

docargument [A] [the first value] [] [0];

docargument [B] [the second value] [] [0];



docident [<f] [Determines if a floating-point value is smaller than a second floating-point value.];

docargument [A] [the first value] [] [0];

docargument [B] [the second value] [] [0];



docident [=] [Determines if two values are equal.];

docargument [A] [first value] [] [0];

docargument [B] [second value] [] [0];

docexample [echo there are only (concatword (= 1 1) (= 1 0)) types of people in the world] [Output: there are only 10 types of people in the world];



docident [=f] [Determines if a floating-point value is equal to a second floating-point value.];

docargument [A] [the first value] [] [0];

docargument [B] [the second value] [] [0];



docident [>] [Determines if a value is bigger than a second value.];

docargument [A] [the first value] [] [0];

docargument [B] [the second value] [] [0];



docident [>=] [Determines if a values is greater than or equal than a second value.];

docargument [A] [the first value] [] [0];

docargument [B] [the second value] [] [0];



docident [>=f] [Determines if a floating-point value is greater than or equal to a second floating-point value.];

docargument [A] [the first value] [] [0];

docargument [B] [the second value] [] [0];



docident [>f] [Determines if a floating-point value is greater than a second floating-point value.];

docargument [A] [the first value] [] [0];

docargument [B] [the second value] [] [0];



docident [at] [Grabs a word out of a string.];

docargument [S] [the string] [] [0];

docargument [N] [the index of the word] [] [0];

docexample [echo (at "zero one two three" 2)] [output: two];



docident [concat] [Concatenates multiple strings with spaces inbetween.];

docargument [S] [the first string] [] [0];

docargument [...] [collection of strings to concatenate] [] [1];

docexample [alias a "hello"; echo (concat $a "world")] [output: hello world];



docident [concatword] [Concatenates multiple strings.];

docargument [S] [the first string] [] [0];

docargument [...] [collection of strings to concatenate] [] [1];

docremark [The newly created string is saved to the alias 's'.];

docexample [alias a "Cube"; echo (concatword $a "Script")] [output: CubeScript];



docident [div] [Performs an integer division.];

docargument [A] [the dividend] [] [0];

docargument [B] [the divisor] [] [0];



docident [divf] [Performs a division with floating-point precision.];

docargument [A] [] [the dividend] [0];

docargument [B] [] [the divisor] [0];



docident [-f] [Subtracts two floating-point numbers.];

docargument [A] [the minuend] [float] [0];

docargument [B] [the subtrahend] [float] [0];



docident [findlist] [Searches a list for a specified value.];

docargument [L] [the list] [] [0];

docargument [I] [the item to find] [] [0];



docident [format] [];

docargument [F] [format] [use %1..%9 for the values] [0];

docargument [V] [value(s)] [] [0];

docexample [echo (format "%1 bottles of %2 on the %3, %1 bottles of %2!" 99 beer wall)] [output: 99 bottles of beer on the wall, 99 bottles of beer!];



docident [if] [Controls the script flow based on a boolean expression.];

docargument [cond] [the condition] [0 (false) or anything else (true)] [0];

docargument [true] [the body to execute if the condition is true] [] [0];

docargument [false] [the body to execute if the condition is false] [] [0];

docexample [if (> $x 10) [ echo x is bigger than 10 ] [ echo x too small ]] [];



docident [listlen] [returns the element count of the given list.];

docargument [L] [the list] [] [0];



docident [loop] [Loops the specified body.];

docargument [V] [the alias used as counter] [] [0];

docargument [N] [the amount of loops] [] [0];

docargument [body] [the body to execute on each iteration] [] [0];

docremark [This command sets the alias you choose, as first argument, from 0 to N-1 for every iteration.];

docexample [loop i 10 [ echo $i ]] [];



docident [mod] [Performs a modulo operation.];

docargument [A] [the dividend] [] [0];

docargument [B] [the divisor] [] [0];



docident [modf] [Performs a floating-point modulo operation.];

docargument [A] [the dividend] [] [0];

docargument [B] [the divisor] [] [0];

docexample [echo (modf 7.5 12.5)] [Output: 7.5];

docexample [echo (modf 17.5 12.5)] [Output: 5.0];



docident [numargs] [The number of arguments passed to the current alias];

docargument [V] [numargs] [ read-only];



docident [pop] [];

docargument [A] [alias] [] [0];



docident [push] [];

docargument [N] [alias name] [] [0];

docargument [A] [action] [] [0];



docident [result] [sets the result value of a CubeScript block];

docargument [R] [the result] [] [0];



docident [rnd] [Random value];

docargument [A] [The upper limit of the random value] [] [0];



docident [sleep] [Executes a command after specified time period.];

docargument [N] [the amount of milliseconds] [] [0];

docargument [C] [the command to execute] [] [0];

docexample [sleep 1000 [ echo foo ]] [Prints 'foo' to the screen after 1 second.];



docident [strcmp] [Determines if two strings are equal.];

docargument [A] [the first string] [] [0];

docargument [B] [the second string] [] [0];



docident [while] [Loops the specified body while the condition evaluates to true.];

docargument [cond] [the condition] [0 (false) or anything else (true)] [0];

docargument [body] [the body to execute on each iteration] [] [0];

docremark [This command sets the alias "i" from 0 to N-1 for every iteration. Note that the condition here has to have [], otherwise it would only be evaluated once.];

docexample [alias i 0; while [ (< $i 10) ] [ echo $i; alias i (+ $i 1) ]] [];



docsection [General]



docident [addserver] [Adds a server to the list of server to query in the server list menu.];

docargument [S] [the address of the server (hostname or IP)] [] [0];

docargument [P] [the port] [] [0];



docident [alias] [Binds a name to commands.];

docargument [N] [the name of the alias] [string, must not contain '$'] [0];

docargument [A] [the commands] [string] [0];

docexample [alias myalias [ echo "hello world"; alias myalias [ echo "I already said hello" ] ]] [It is possible to re-bind an alias, even during its evaluation.];

docexample [test = [ echo "successful" ]] [There is also the shorthand version of defining an alias via the "="-sign.];



docident [attack] [Fires the current weapon.];

docremark [default: left mouse button];



docident [autogetmap] [Determines if the current played map should be automatically downloaded if it is not available locally.];

docargument [B] [enable auto map download] [min 0/max 1/default 1];



docident [backward] [Moves the player backward.];

docremark [default keys: S and Down Arrow];



docident [bind] [Binds a key to a command.];

docargument [K] [the key to bind] [string] [0];

docargument [A] [the command] [string, usually an alias] [0];

docremark [To find out what key names and their default bindings are, look at config/keymap.cfg, then add bind commands to your autoexec.cfg.];



docident [browsefiledesc] [Toggles getting descriptive text from CGZ or DMO files in menudirlist.];

docargument [B] [] [min 0/max 1/default 1];



docident [changeteam] [Swaps your player to the enemy team.];



docident [clearservers] [];



docident [clockerror] [Sets the correction value for clockfix.];

docargument [V] [correction value] [min 990000/max 1010000/default 1000000];

docremark [Engine source-code snippet (main.cpp): if(clockfix) millis = int(millis*(double(clockerror)/1000000));];



docident [clockfix] [Enables correction of the system clock.];

docargument [B] [enable correction] [min 0/max 1/default 0];



docident [connected] [Indicates if a connection to a server exists.];

docargument [B] [the connection state] [1 (connected), 0 (disconnected) min 0/max 1/default 0];



docident [datestring] [representation of date];

docremark [format: Www Mmm dd hh:mm:ss yyyy];

docremark [Use timestamp to create your own formatting.];

docexample [echo (datestring) "Sat Jun 7 17:08:35 2008"] [];



docident [dbgts] [Enable triangle debug.];

docargument [B] [triangle debug] [min 0/max 1/default 0];

docremark [Prints details while connecting triangles of 3d models.];



docident [echo] [];

docargument [L] [List of strings] [] [0];



docident [exec] [Executes all commands in a specified config file.];

docargument [C] [the config file] [] [0];



docident [forward] [Moves the player forward.];

docremark [default keys: W and Up Arrow];



docident [gamemode] [Holds the current game mode. READ ONLY];

docexample [echo $gamemode] [Output: 5];



docident [invmouse] [Sets mouse to "flight sim" mode.];

docargument [B] [sets invmouse] [0 (off), else (on)] [0];



docident [jump] [Triggers a jump.];

docremark [default keys: space and right mouse.];



docident [keymap] [Sets up the keymap for the specified key.];

docargument [K] [the key to map] [] [0];

docargument [N] [the name for the key] [] [0];

docargument [A] [the default action] [] [0];

docremark [You should never have to use this command manually, use "bind" instead.];



docident [left] [Moves the player left.];

docremark [default keys: A and Left Arrow];



docident [maxfps] [Limits the FPS (frames per second) of the game.];

docargument [V] [maximum FPS] [min 0/max 200/default 200];



docident [maxroll] [Sets the maximum value the display will roll on strafing.];

docargument [N] [the roll value] [min 0/max 20/default 0];



docident [maxtmus] [Gets the maximum number of supported textures when performing multitexturing.];

docargument [V] [max. number of textures] [ read-only];



docident [menudirlist] [create a menu listing of files from a path and perform an action on them when clicked.];

docargument [] [] [] [0];

docremark [use this inside menu definitions, almost always as the only command of that menu.];

docremark [compare the usage inside config/menus.cfg];

docexample [menudirlist "packages/maps" "cgz" "map $arg1"] [will create a list of maps and load them when clicked];



docident [millis] [Returns the number of milliseconds since engine start.];

docexample [echo (millis)] [];



docident [minlod] [Minimal level of detail.];

docargument [V] [] [min 25/max 250/default 60];



docident [modeacronyms] [Toggles use of acronyms instead of full modenames in the serverbrowser.];

docargument [B] [] [min 0/max 1/default 0];



docident [networkdebug] [Enables output of processed network packets.];

docargument [B] [enable network debugging] [min 0/max 1/default 0];

docremark [This variable only has an effect if the client binary is compiled in debug mode.];



docident [onrelease] [Executes a command on the release of a key/button.];

docargument [A] [the command] [] [0];

docremark [This command must be placed in an action in a bind or in an alias in a bind.];

docexample [bind CTRL [ echo "key pressed"; onrelease [ echo "key released" ] ]] [];



docident [physinterp] [Toggles physics interpolation.];

docargument [B] [] [min 0/max 1/default 1];



docident [quit] [Quits the game without asking.];



docident [registermusic] [registers a track as music - the first three tracks have special meaning. Track #1 is for "flag grab" the second and third are used as "last minute" tracks.];

docargument [M] [music file] [] [0];



docident [resetbinds] [Resets all binds back to their default values.];

docremark [This command executes the file /config/resetbinds.cfg which will bind all keys to the values specified in that file, thus resetting the binds to their default values.];



docident [resetcfg] [Determines if all settings should be reset when the game quits.];

docargument [B] [enable reset] [min 0/max 1/default 0];

docremark [It is recommended to quit the game immediately after enabling this setting. Note that the reset happens only once as the value of this variable is reset as well.];



docident [resetsecuremaps] [Clears the list of secured maps.];



docident [right] [Moves the player right.];

docremark [default keys: D and Right Arrow];



docident [screenshot] [Takes a screenshot.];

docremark [Screenshots are saved to "screenshots/screenshotN.bmp", where N is the number of milliseconds since the game was launched.];

dockey [F12] [] [];



docident [securemap] [Adds a map to the list of secured maps.];

docargument [S] [the name of the map] [] [0];

docremark [Secured maps can not be overwritten by the commands sendmap and getmap.];



docident [sensitivity] [Sets the mouse sensitivity.];

docargument [S] [the sensitivity] [floating-point] [0];



docident [smoothdist] [Determines the valid distance when extrapolating a players position.];

docargument [V] [distance] [min 0/max 16/default 8];



docident [smoothmove] [Determines the speed when extrapolating a players position.];

docargument [V] [movement speed] [min 0/max 100/default 75];



docident [soundtest] [Plays all hardcoded sounds in order.];



docident [systime] [seconds since the epoch (00:00:00 UTC on January 1, 1970)];

docexample [echo (systime)] [];



docident [throttle_accel] [Determines how fast network throttling accelerates.];

docargument [V] [acceleration] [min 0/max 32/default 2];



docident [throttle_decel] [Determines how fast network throttling decelerates.];

docargument [V] [deceleration] [min 0/max 32/default 2];



docident [throttle_interval] [Determines the interval of re-evaluating network throttling.];

docargument [V] [interval] [seconds min 0/max 30/default 5];



docident [timestamp] [a list of values for current time];

docremark [format: YYYY mm dd HH MM SS];

docexample [echo (timestamp) "2008 08 08 08 08 08"] [];

docexample [echo (timestamp) "2063 04 05 12 00 00"] [];

docexample [echo (at (timestamp) 0) (at (timestamp) 2) (at (timestamp) 1) "2063 05 04"] [];



docident [timestring] [the current time in (H)H:MM:SS format];

docexample [echo (timestring) "12:34:56"] [];

docexample [echo (timestring) "1:02:03"] [];



docident [toggleconsole] [Toggles the console.];



docident [tsswap] [Swaps vertices of model triangles.];

docargument [V] [] [min 0/max 1/default 1];



docident [updatefrommaster] [Contacts the masterserver and adds any new servers to the server list.];

docargument [B] [force update] [0 (delayed), 1 (immediate)] [0];

docremark [The servers are written to the config/servers.cfg file. This menu can be reached through the Multiplayer menu.];



docident [version] [Gets an integer representing the game version. READ ONLY];

docremark [As example, version 1.0 is represented as value 1000.];



docident [writecfg] [writes current configuration to config/saved.cfg - automatic on quit];



docsection [Gameplay]



docident [addbot] [add a bot for a given team with a given skill calling him a given name.];

docargument [T] [team] [] [0];

docargument [S] [skill] [best,good,medium,worse OR bad] [0];

docargument [N] [name] [] [0];



docident [addnbot] [will add a given count of bots for the given team with the given skill and select random names for them.];

docargument [C] [count] [] [0];

docargument [T] [team] [] [0];

docargument [S] [skill] [best,good,medium,worse OR bad] [0];



docident [alive] [Returns 1 if the local player is alive.];

docexample [echo (alive)] [Output: 1];



docident [autoreload] [Indicates if the weapons should be reloaded automatically.];

docargument [B] [the autoreload state] [on (1), off (0) min 0/max 1/default 1];



docident [botskill] [];



docident [botskillall] [];



docident [botsshoot] [];



docident [changefollowplayer] [];



docident [complete] [];

docargument [C] [command] [any command or alias] [0];

docargument [P] [path] [path to search] [0];

docargument [E] [extension] [extension to match] [0];

docremark [The completion will work on the first word of your console input.];

docexample [complete demo "demos" dmo] [If you enter "/demo " and press TAB you will cycle through all available demos.];

docexample [alias mapcomplete [complete $arg1 "packages/maps" cgz]] [helper alias for quickly adding complete-definitions for all gamemodes - see config/script.cfg (below "Auto-Completions")];



docident [connect] [Connects to a server.];

docargument [N] [the address of the server (hostname or IP)] [] [0];

docargument [O] [the port] [] [0];

docargument [P] [the server password] [] [0];

docremark [If the server name is omitted, the client will try to connect to an available server in the LAN. If the port is omitted or set to 0, the default port will be used.];

docexample [connect 127.0.0.1 555 myServerPassword] [];



docident [connectadmin] [Connects to a server and tries to claim admin state.];

docargument [N] [the address of the server (hostname or IP)] [] [0];

docargument [O] [the port] [] [0];

docargument [P] [the admin password] [] [0];

docremark [This command will connect to a server just like the command 'connect' and try to claim admin state. If the specified password is correct, the admin will be able to connect even if he is locked out by ban, private master mode or taken client slots. If successfully connected, bans assigned to the admin's host will be removed automatically. If all client slots are taken a random client will be kicked to let the admin in.];

docremark [If the server name ist omitted, the client will try to connect to an available server in the LAN. If the port is omitted or set to 0, the default port will be used.];

docexample [connectadmin 127.0.0.1 777 myAdminPassword] [connect as admin on port 777 of localhost];

docexample [connectadmin "" 0 myAdminPassword] [will try to connect to a LAN server on the default port as admin with the given password of "myAdminPassword".];



docident [crouch] [];



docident [curmap] [Returns the current map being played.];

docargument [I] [clean] [0, 1] [0];

docremark [If you pass it a non-zero value, the result will be path-less.];

docexample [echo playing: (curmap) vote for: (curmap 1)] [output: playing maps/ac_complex vote for: ac_complex];



docident [curmode] [Returns the mode number for the current game.];



docident [currentprimary] [Returns the weapon-index the local player currently has selected as primary.];

docremark [This is not the same as curweapon - which could be a grenade or the knife.];



docident [currole] [Returns 1 if the local player has admin privileges, 0 otherwise.];



docident [curserver] [Returns information on the current server - if you're connected to one.];

docargument [I] [info] [0, 1, 2, 3 or 4] [0];

docremark [If I is 0 (omitted or any other value than the ones below) you will get a string with 'IP PORT'];

docremark [If I is 1,2 or 3 you will get the IP, HostName or port respectively.];

docremark [If I is 4 you get a string representing the current state of the peer - usually this should be 'connected'.];

docexample [echo [I am (curserver 4) to (curserver 2)]] [Output: I am connected to ctf-only.assault-servers.net];

docexample [last_server = "" remember_server = [ if (strcmp (curserver 4) "connected") [ last_server = (curserver 0) echo "I'm remembering:" $last_server ] [ echo "you are not 'connected' - you" (concatword "are '" (curserver 4) "' !") ] ] bind PRINT [ if (strcmp $last_server "") [ remember_server ] [ say (concat "^L2I was just ^Lfon^L3" $last_server) last_server = "" ] ]] [This will either remember or retrieve the last server you pressed the PrintScreen-key on.];



docident [curteam] [Returns 1 if the local player is on the RVSF team, 0 if on CLA.];



docident [curweapon] [Returns the weapon-index the local player is currently holding.];



docident [demo] [Plays a recorded demo.];

docargument [S] [the demo name] [] [0];

docremark [Playback is interpolated for the player whose perspective you view.];



docident [disconnect] [Leaves a server.];



docident [drawbeamtobots] [];



docident [dropflag] [];



docident [footstepalign] [Maximum time span between player animation and the playback of the footstep sound];

docargument [T] [time span] [min 5/max 4000/default 15];

docremark [If the footstep sound would be played immediately when entering the radius of the other player, it would not be synchronous to the player model animation.];



docident [footsteps] [Indicates if the footsteps sound should be played];

docargument [B] [enable footsteps] [1 (true), 0 (false) min 0/max 1/default 1];



docident [gamespeed] [Sets the gamespeed in percent.];

docargument [N] [the game speed] [min 10/max 1000/default 100];

docremark [This does not work in multiplayer. For entertainment purposes only :)];



docident [getdemo] [];

docargument [X] [number in list] [] [0];



docident [getmap] [Retrieves the last map that was sent to the server using 'sendmap'.];



docident [hidecustomskins] [];

docargument [B] [] [min 0/max 1/default 0];



docident [idlebots] [];

docargument [Y] [off OR on] [0||1] [0];



docident [inputcommand] [Makes an input perform a certain command.];

docargument [I] [input] [] [0];

docargument [C] [command] [] [0];

docargument [P] [prompt] [] [0];



docident [kickallbots] [];



docident [kickbot] [];

docargument [N] [botname] [] [0];



docident [lanconnect] [];



docident [listcomplete] [];



docident [listdemos] [];



docident [loadcrosshair] [Loads a crosshair for a specific weapon of - if the weapon argument is omitted or <0 - for all weapons.];

docargument [I] [image] [] [0];

docargument [W] [weapon] [-1,0..7] [0];



docident [localfootsteps] [Indicates if the footsteps sound for the local player should be played];

docargument [B] [enable footsteps] [1 (true), 0 (false) min 0/max 1/default 1];



docident [magcontent] [Returns contents of current magazine.];

docargument [N] [the weapon number] [0 (knife), 1 (pistol), 2 (shotgun), 3 (sub), 4 (sniper), 5 (assault), 6 (grenades)] [0];

docremark [A knife will always return 1.];

docremark [Weapons that aren't available will return -1.];

docexample [wnames = "Knife Pistol Shotgun Sub Sniper Assault Grenades" numtwo = [ if (< $arg1 10) [ result (concatword 0 $arg1) ] [ result $arg1 ] ] ammoinfo = [ loop w (listlen $wnames) [ mc = (magcontent $w) mr = (magreserve $w) mt = (+ $mr $mc) if (> $mt 0) [ echo (numtwo $mc) "/" (numtwo $mr) ":" (at $wnames $w) ] ] ] Output: 01 / 01 : Knife 08 / 64 : Pistol 30 / 60 : Sub] [];



docident [magreserve] [Returns contents of magazine reserve.];

docargument [N] [the weapon number] [0 (knife), 1 (pistol), 2 (shotgun), 3 (sub), 4 (sniper), 5 (assault), 6 (grenades)] [0];



docident [map] [Loads up a map in the gamemode set previously by the 'mode' command.];

docargument [M] [Name of the map to load] [string] [0];

docremark [If connected to a multiplayer server, it votes to load the map (others will have to type "map M" as well to agree with loading this map). To vote for a map with a specific mode, set the mode before you issue the map command.];

docremark [A map given as "blah" refers to "packages/maps/blah.cgz", "mypackage/blah" refers to "packages/mypackage/blah.cgz". At every map load, "config/default_map_settings.cfg" is loaded which sets up all texture definitions, etc. Everything defined there can be overridden per package or per map by creating a "mapname.cfg" which contains whatever you want to do differently from the default.];

docremark [When the map finishes it will load the next map when one is defined, otherwise it reloads the current map. You can define what map follows a particular map by making an alias like (in the map script): alias nextmap_blah1 blah2 (loads "blah2" after "blah1").];



docident [mapname] [returns the mapname];



docident [mapsize] [outputs the mapsize.];



docident [mdldyncache] [];

docargument [V] [] [min 1/max 32/default 2];



docident [mdlstatcache] [];

docargument [V] [] [min 1/max 32/default 1];



docident [minutesremaining] [Returns the remaining minutes of the currently played game. READ ONLY];



docident [name] [Sets the nick name for the local player.];

docargument [N] [the name] [] [0];



docident [nextprimary] [Returns the primary weapon on next respawn.];

docargument [A] [weapon id] [value] [0];



docident [nickcomplete] [adds a command to complete nicknames on];

docremark [your own nick will be ignored];

docexample [nickgreet = [ say (concat "Hello," (concatword $arg1 "!")) ]; nickcomplete nickgreet] [with this you can enter "/nickgreet " and cycle via TAB to the nickname you want to greet.];



docident [paused] [Determines if the game should be paused.];

docargument [B] [pause game] [min 0/max 1/default 0];



docident [prevweapon] [Returns the weapon-index the local player was previously holding.];



docident [reload] [Reloads the weapon.];

docargument [A] [] [value] [0];



docident [say] [Outputs text to other players.];

docargument [S...] [the text] [] [1];

docremark [If the text begins with a percent character (%), only team mates will receive the message.];



docident [saycommand] [Puts a prompt on screen.];

docargument [S...] [the text to display in the prompt] [] [1];

docremark [this puts a prompt on screen that you can type into, and will capture all keystrokes until you press return (or ESC to cancel). If what you typed started with a "/", the rest of it will be executed as a command, otherwise its something you "say" to all players.];

dockey [T] [] [opens empty prompt];

dockey [BACKQUOTE] [`] [opens a command prompt /];

dockey [TAB] [] [autocompletes commands/variables/aliases];

dockey [UP] [] [browse command history forwards];

dockey [DOWN] [] [browse command history backwards];



docident [scopefov] [Determines the FOV when scoping.];

docargument [V] [] [min 5/max 50/default 50];



docident [setscope] [will display a scope for the sniper-rifle. used in the zoom-script (config/scripts.cfg [l. 92ff "alias zoom"]];

docargument [Y] [scope on?] [0||1] [0];



docident [shiftweapon] [shifts your selected weapon by a given delta. By default the mouse-wheel shifts one up or down according to your scroll direction.];

docargument [D] [delta] [-N..-1,+1..N] [0];

dockey [MOUSE4] [] [cycle one up];

dockey [MOUSE5] [] [cycle one down];



docident [showmap] [Determines if the mini-map should be shown on screen.];

docargument [B] [show mini-map] [min 0/max 1/default 0];



docident [showscores] [Shows or hides the scores.];

dockey [TAB] [] [];



docident [showscoresondeath] [Determines if scores should be shown on death.];

docargument [V] [] [min 0/max 1/default 1];



docident [skin] [Determines the skin of the current player.];

docargument [N] [skin id] [value] [0];

docremark [See the player model folder for the according skin-id.];



docident [spectate] [Toggle into spectator mode - only possible when you're dead!];

dockey [F7] [] [free-flying spectator];

dockey [F8] [] [follow spectator (see followmode)];



docident [stopdemo] [Stops any demo recording or playback.];



docident [suicide] [Kills your player. You will lose 1 frag point and gain 1 death point when using this command.];



docident [team] [Sets the team for the local player.];

docargument [S] [the team name] [either CLA or RVSF] [0];

docexample [team CLA] [];



docident [togglespect] [cycles through all available spectator modes. Follow-1stPerson, Follow-3rdPerson, Follow-3rdPerson-transparent and Fly.];

dockey [SPACE] [] [cycle spectator modes];



docident [voicecom] [];

docargument [S] [sound] [must be a registered voicecom-sound] [0];

docargument [T] [text] [] [0];

dockey [V] [] [opens the voicecom menu, use number keys for your choice];



docident [vote] [agree or disagree to the currently running vote];

docargument [V] [vote value] [1 (yes) OR 2 (no)] [0];

dockey [F1] [] [votes YES];

dockey [F2] [] [votes NO];



docident [watchingdemo] [Returns 1 when the current game is being played from a demo, else 0.];

docexample [echo I am (at [not now] (watchingdemo)) watching a demo. "so, are you?"] [];



docident [weapon] [Changes the weapon.];

docargument [N] [the weapon number] [0 (knife), 1 (pistol), 2 (shotgun), 3 (sub), 4 (sniper), 5 (assault), 6 (grenades)] [0];



docident [whois] [get the IP address of a given clientnumber - only admins get shown the last octet];

docargument [C] [clientnum] [] [0];



docident [xhairwpsel] [Determines if bot waypoints should be selected/placed using the crosshair or by the nearest location to your player.];

docargument [V] [Note: This is turned on by default.] [min 0/max 1/default 1];



docsection [Editing]



docident [addpath1way1] [];



docident [addpath1way2] [];



docident [addpath2way1] [];



docident [addpath2way2] [];



docident [addwp] [];



docident [applymapsoundchanges] [during map editing, drop all mapsounds so they can be re-added];



docident [arch] [Makes an arch out of the current selection.];

docargument [S] [side delta (optional)] [] [0];

docremark [The selection must be a heightfield before this command can be used. Will make the arch in the long direction, i.e when you have 6x2 cubes selected, the arch will span 7 vertices. Optionally, sidedelta specifies the delta to add to the outer rows of vertices in the other direction, i.e. give the impression of an arch that bends 2 ways (try "arch 2" on an selection of at least 2 thick to see the effect). Not all arch sizes are necessarily available, see config/prefabs.cfg.];



docident [archvertex] [Defines a vertex delta for a specific arch span prefab, used by the 'arch' command.];

docargument [S] [span value] [integer] [0];

docargument [V] [vertex value] [integer] [0];

docargument [D] [delta value] [integer] [0];

docremark [See config/prefabs.cfg for an example on usage.];



docident [autowp] [];



docident [clearents] [Deletes all entities of said type.];

docargument [T] [the entity type, see command 'newent'] [string] [0];



docident [copy] [Copies the current selection into a buffer.];

docremark [hotkey c];



docident [corner] [Makes the current selection into a "corner".];

docremark [Currently there is only one type of corner (a 45 degree one), only works on a single unit (cube) at a time. It can be positioned either next to 2 solid walls or in the middle of 2 higher floorlevels and 2 lower ones forming a diagonal (and similar with ceiling).];

docremark [In both cases, the corner will orient itself automatically depending on its neighbours, behaviour with other configurations than the 2 above is unspecified. Since the latter configuration generates possibly 2 floor and 2 ceiling levels, up to 4 textures are used: for example for the 2 floors the higher one will of the cube itself, and the lower one of a neighbouring low cube. You can make bigger corners at once by issuing "corner" on grid aligned 2x2/4x4/8x8 selections, with equal size solid blocks next to them.];

dockey [K] [] [];



docident [delent] [Deletes the entity closest to the player];

docremark [hotkey x];



docident [delpath1way1] [];



docident [delpath1way2] [];



docident [delpath2way1] [];



docident [delpath2way2] [];



docident [delwp] [];



docident [editheight] [Changes the height of the current selection.];

docargument [T] [an integer denoting the type] [0 (floor), 2 (ceiling)] [0];

docargument [D] [the delta value to move it in] [1 (forwards), -1 (backwards)] [0];

docremark [Default keys are [ and ] for floor level, and o/p for ceiling.];



docident [editing] [];

docargument [V] [] [min 1/max 0/default 0];



docident [edittag] [];

docargument [T] [tag] [integer value] [0];



docident [edittex] [Changes the texture on current selection by browsing through a list of textures directly shown on the cubes.];

docargument [T] [an integer denoting the type] [0 (floor), 1 (lower or wall), 2 (ceiling), 3 (upper wall)] [0];

docargument [D] [the direction you want to cycle the textures in] [1 (forwards), -1 (backwards)] [0];

docremark [Default keys are the six keys above the cursor keys, which each 2 of them cycle one type (and numpad 7/4 for upper).];

docremark [The way this works is slightly strange at first, but allows for very fast texture assignment. All textures are in 3 individual lists for each type (both wall kinds treated the same), and each time a texture is used, it is moved to the top of the list. So after a bit of editing, all your most frequently used textures will come first when pressing these keys, and the most recently used texture is set immediately when you press the forward key for the type. These lists are saved with the map. make a selection (including wall bits) and press these keys to get a feel for what they do.];



docident [edittoggle] [switches between map edit mode and normal.];

docremark [In map edit mode you can select bits of the map by clicking or dragging your crosshair on the floor or ceiling (using the "attack" identifier, normally MOUSE1), then use the identifiers below to modify the selection. While in edit mode, physics and collision don't apply (noclip), and key repeat is ON. Note that if you fly outside the map, cube still renders the world as if you were standing on the floor directly below the camera.];

docremark [Hotkey E];



docident [entproperty] [Changes property of the closest entity.];

docargument [P] [the property to change] [0..3] [0];

docargument [A] [amount by wich the property is increased] [integer] [0];

docremark [For example 'entproperty 0 2' when executed near a lightsource would increase its radius by 2.];



docident [entset] [Edits the closest entity.];

docargument [type] [the entity type] [light, sound, clip, playerstart, clips, ammobox, grenades, health, armour, akimbo, mapmodel, ladder, ctf-flag] [0];

docargument [value1] [see newent 'type'] [] [0];

docargument [value2] [see newent 'type'] [] [0];

docargument [value3] [see newent 'type'] [] [0];

docargument [value4] [see newent 'type'] [] [0];

docremark [Overwrites the closest entity with the specified values.];



docident [equalize] [Levels the floor/ceiling of the selection.];

docargument [T] [an integer denoting the type] [0 (floor), 2 (ceiling)] [0];

docremark [default keys , and .];



docident [flrceil] [A variable indicating if the player looks at the floor or at the ceiling.];

docargument [B] [flrceil] [0 (floor), 2 (ceiling) read-only];



docident [fullbright] [Sets all light values to fullbright.];

docargument [B] [sets fullbright on or off] [0 (off), 1 (on)] [0];

docremark [Will be reset when you issue a 'recalc'. Only works in edit mode.];



docident [getentattr] [];



docident [getenttype] [];



docident [heightfield] [Marks the current selection as a heightfield.];

docargument [T] [an integer denoting the type] [0 (floor), 2 (ceiling)] [0];

docremark [marks the current selection as a heightfield, with T being floor or ceiling, as above. A surface marked as heightfield will use the vdelta values (see below) of its 4 corners to create a sloped surface. To mark a heightfield as normal again (ignoring vdelta values, set or not) use "solid 0". Default keys are h (floor) and i (ceiling).];

docremark [Heightfields should be made the exact size that is needed, not more not less. The most important reason for this is that cube automatically generates "caps" (side-faces for heightfields) only on the borders of the heightfield. This also means if you have 2 independent heightfields accidentally touch each other, you will not get correct caps. Also, a heightfield is slightly slower to render than a non-heightfield floor or ceiling. Last but not least, a heightfield should have all the same baseheight (i.e. the height determined by a normal editheight operation) to get correct results.];



docident [lightscale] [Used to finetune the "overbright lighting" rendering feature when enabled.];

docargument [N] [the brightness of the scene] [min 1/max 100/default 4];

docremark [After changing this value, a "recalc" is needed to see the differences.];



docident [Map editing] [A variable indicating if the game is in editmode.];

docargument [B] [editmode] [1 (true), 0 (false) read-only];



docident [mapenlarge] [Enlarges the current map.];

docremark [This command will make the current map 1 power of two bigger. So a 6 size map (64x64 units) it will become a 7 map (128x128), with the old map in the middle (from 32-96) and the new areas solid.];



docident [mapmsg] [Sets the map message, which will be displayed when the map loads.];

docargument [M] [The map message] [String] [0];

docremark [You will need to use quote marks around the message, otherwise it save the message correctly.];

docremark [For example: /mapmsg "Map By Author"];



docident [newent] [Adds a new entity];

docargument [type] [the entity type] [light, sound, clip, playerstart, pistol, ammobox, grenades, health, armour, akimbo, mapmodel, ladder, ctf-flag] [0];

docargument [value1] [see newent 'type'] [] [0];

docargument [value2] [see newent 'type'] [] [0];

docargument [value3] [see newent 'type'] [] [0];

docargument [value4] [see newent 'type'] [] [0];

docremark [(x,y) is determined by the current selection (the red dot corner) and z by the camera height, of said type. Type is a string giving the type of entity, such as "light", and may optionally take values (depending on the entity).];



docident [newent akimbo] [Adds a new akimbo item.];



docident [newent ammobox] [Adds a new ammo box item.];



docident [newent armour] [Adds a new armour item.];



docident [newent clip] [Adds a clip entity.];

docargument [Z] [elevation above the ground] [integer] [0];

docargument [X] [X radius around the box center] [integer] [0];

docargument [Y] [Y radius around the box center] [integer] [0];

docargument [H] [height of the box] [integer] [0];

docremark [Defines a clipping box against which the player will collide.];



docident [newent ctf-flag] [Adds a CTF flag entity.];

docargument [T] [denotes the flag's team] [0 (CLA), 1 (RVSF)] [0];

docremark [Note that this entity is only rendered as flag if the current game mode is CTF.];



docident [newent grenades] [Adds a new grenades item.];



docident [newent health] [Adds a new health item.];



docident [newent ladder] [Adds a ladder entity.];

docargument [H] [the height of the ladder] [integer] [0];

docremark [Note that this entity is used for physics only, to create a visual ladder you will need to add a mapmodel entity too.];



docident [newent light] [Adds a new light entity];

docargument [radius] [the light radius] [1..32] [0];

docargument [R] [red colour component. see remarks below.] [1..255] [0];

docargument [G] [green colour component] [1..255] [0];

docargument [B] [blue colour component] [1..255] [0];

docremark [if only argument R is specified, it is interpreted as brightness for white light.];



docident [newent mapmodel] [Adds a map model to the map (i.e. a rendered md2/md3 model which you collide against but has no behaviour or movement)];

docargument [N] [The mapmodel identifier] [Integer] [0];

docargument [Z] [Extra elevation above ground] [Integer] [0];

docargument [T] [The map texture to use (optional)] [Integer] [0];

docremark [The mapmodel identifier is the desired map model which is defined by the 'mapmodel' command. The order in which the mapmodel is placed in the map config file defines the mapmodel identifier. The map texture refers to a texture which is defined by the 'texture' command, if omitted the models default skin will be used. The 'mapmodel' and 'texture' commands are placed in the map config normally. Mapmodels are more expensive than normal map geometry, so do not use insane amounts of them to replace normal geometry.];



docident [newent pistol] [Adds a pistol magazine item.];



docident [newent playerstart] [Adds a new spawn spot.];

docremark [The yaw is taken from the current camera yaw.];



docident [newent sound] [Adds a sound entity.];

docargument [N] [the sound to play] [integer] [0];

docargument [R] [the radius] [] [0];

docargument [S] [the size] [default 0] [0];

docargument [V] [the volume] [default 255] [0];

docremark [Will play map-specific sound so long as the player is within the radius. However, only up to the max uses allowed for N (specified in the mapsound command) will play, even if the player is within the radius of more N sounds than the max. By default (size 0), the sound is a point source. Its volume is maximal at the entity's location, and tapers off to 0 at the radius. If size is specified, the volume is maximal within the specified size, and only starts tapering once outside this distance. Radius is always defined as distance from the entity's location, so a size greater than or equal to the radius will just make a sound that is always max volume within the radius, and off outside.];

docremark [A sound entity can be either ambient or non-ambient. Ambient sounds have no specific direction, they are 'just there'. Non-ambient sounds however appear to come from a specific direction (stereo panning). If S is set to 0, the sound is a single point and will therefore be non-ambient. However if S is greater than 0, the sound will be ambient as it covers a specified area instead of being a single point.];



docident [newmap] [Creates a new map.];

docargument [S] [the size of the new map] [6..12] [0];

docremark [The new map has 2^S cubes. For S, 6 is small, 7 medium, 8 large.];



docident [paste] [Pastes a previously copied selection.];

docremark [To paste a selection back requires a same size selection at the destination location. If it is not the same size the selection will be resized automatically prior to the paste operation (with the red dot as anchor), which is easier for large selections.];

docremark [hotkey v];



docident [perlin] [Generates a perlin noise landscape in the current selection.];

docargument [S] [the scale, frequency of the features] [default is 10] [0];

docargument [E] [the random seed] [integer] [0];

docargument [C] [cube size, how many cubes to generate a surface for at once (unused)] [] [0];

docremark [Keep the seed the same to create multiple perlin areas which fit with each other, or use different numbers if to create alternative random generations.];



docident [recalc] [Recomputes all there is to recompute about a map, currently only lighting.];

docremark [hotkey R];



docident [registersound] [Registers a sound.];

docargument [N] [sound name] [string, see config/sounds.cfg] [0];

docremark [This command returns the sound number, which is assigned from 0 onwards, and which can be used with "sound" command. If the sound was already registered, its existing index is returned. registersound does not actually load the sound, this is done on first play.];

docremark [See for example config/sounds.cfg.];



docident [replace] [Repeats the last texture edit throughout the map.];

docremark [The way it works is intuitive: simply edit any texture anywhere, then using "replace" will replace all textures throughout the map in the same way (taking into account whether it was a floor/wall/ceil/upper too). If the there was more than one "old" texture in your selection, the one nearest to the red dot is used. This operation can't be undone.];



docident [savemap] [Saves the current map.];

docargument [M] [file name of the map, see command 'map' for the naming scheme] [string] [0];

docremark [savemap makes a versioned backup (mapname_N.BAK) if a map by that name already exists. If the name argument is omitted, it is saved under the current map name.];

docremark [Where you store a map depends on the complexity of what you are creating: if its a single map (maybe with its own .cfg) then the "base" package is the best place. If its multiple maps or a map with new media (textures etc.) its better to store it in its own package (a directory under "packages"), which makes distributing it less messy.];



docident [scalelights] [Scales all lights in the map.];

docargument [P] [percentage] [] [0];

docargument [I] [intensity] [] [0];

docremark [This command is useful if a map is too dark or bright but you want to keep the light entities where they are.];



docident [select] [Selects the given area, as if dragged with the mouse.];

docargument [X] [the X coordinate] [] [0];

docargument [Y] [the Y coordinate] [] [0];

docargument [XS] [the length along the X axis] [] [0];

docargument [XY] [the length along the Y axis] [] [0];

docremark [This command is useful for making complex geometry-generating scripts. The current dimensions of the selection (either created by the user or this command) are in the variables selx, sely, selxs and selys and can also be read/modified.];

docremark [Coordinates are as follows: after a "newmap 6" the top-left corner (the one where the red dot points) are (8,8), the opposite corner is (56,56) (or (120,120) on a "newmap 7" etc.).];



docident [setjumpwp] [];



docident [setwpyaw] [takes the current player yaw for the current waypoint];



docident [showmip] [Toggles between showing what parts of the scenery are rendered.];

docremark [Shows what parts of the scenery are rendered using what size cubes, and outputs some statistics about it. This can give map editors hints as to what architecture to align, textures to change, etc.];



docident [slope] [Makes a slope out of the current selection.];

docargument [X] [x delta step] [integer] [0];

docargument [Y] [y delta step] [integer] [0];

docremark [The selection must be a heightfield before this command can be used. The steps specify the slope with the red vertex as left-top, i.e. "slope 1 2" will make a slope that increases just 1 step from left to right, and is slightly steeper from top to bottom. "slope -6 0" decreases steeply from left to right, and does not slope at all from top to bottom. Note that like the vdelta command, an increasing vdelta goes further away from the player, regardless of floor or ceiling.];



docident [solid] [makes the current selection all solid (i.e. wall) or all non-solid.];

docargument [B] [an integer denoting the solid-ness] [0 (non-solid), 1..* (solid)] [0];

docremark [This operation retains floor/ceiling heights/textures while swapping between the two. Default keys f and g respectively.];



docident [telebot] [];



docident [testvisible] [];

docargument [D] [direction] [0..5 for Forward, Backward, Left, Right, Up AND Down] [0];



docident [togglebotview] [When used you will see what the bot sees. Type it again (with or without name) to return to the game(you will respawn).];

docargument [N] [botname] [] [0];



docident [togglegrap] [Will toggle the focus of the mouse in game. Normally you can use your mouse to look around, when you type this command your mouse cursor is visible and can be used as normally. This is only useful when you run cube windowed, of course.];



docident [toggleocull] [Turns occlusion culling on and off.];

docremark [The reason one may want to turn it off is to get an overview of the map from above, without having all occluded bits stripped out.];



docident [undo] [Multi-level undo of any of the changes caused by editing operations];

docremark [hotkey u];



docident [undomegs] [Sets the number of megabytes used for the undo buffer.];

docargument [N] [number of megabytes, default is 1] [integer] [0];

docremark [undo's work for any size areas, so the amount of undo steps per megabyte is more for small areas than for big ones (a megabyte fits 280 undo steps on a 16x16 area, but only 4 steps on a 128x128 area).];



docident [unsetjumpwp] [];



docident [vdelta] [changes the vdelta value of the current selection];

docargument [N] [vdelta value] [] [0];

docremark [Note that unlike all other editing functions, this function doesn't affect a cube, but its top-left vertex (market by the dot in the editing cursor). So to edit a N * M heightfield, you will likely have to edit the vdelta of (N+1) * (M+1) cubes, i.e. you have to select 1 row and 1 column more in the opposite direction of the red dot to affect all the vertices of a heightfield of a given size (try it, it makes sense :)];

docremark [A floor delta offsets vertices to beneath the level set by editheight (and a ceil delta to above). Delta offsets have a precision of a quarter of a unit, however you should use non-unitsize vertices only to touch other such vertices. Default keys are 8 and 9 to decrease/increase the vdelta.];



docident [waterlevel] [Sets the global water level for the map.];

docargument [H] [the water level] [integer] [0];

docremark [Every cube that has a lower floor than the water level will be rendered with a nice wavy water alpha texture. Water physics will be applied to any entity located below it.];

docremark [Performance notes: water is rendered for a whole square encapsulating all visible water areas in the map (try flying above the map in edit mode to see how). So the most efficient water is a single body of water, or multiple water areas that are mostly not visible from each other. Players can influence how accurate the water is rendered using the "watersubdiv" command (map config).];



docident [wpclear] [];



docident [wpflood] [];



docident [wpinfo] [makes waypoints visible and either turns on or off the waypoint information display.];

docargument [Y] [show info?] [0||1] [0];



docident [wpload] [];



docident [wpsave] [];



docident [wpvisible] [];

docargument [V] [visible] [0||1] [0];



docsection [Menus]



docident [chmenumdl] [Changes the menu model of a specified menu.];

docargument [N] [the name of the menu] [] [0];

docargument [M] [the (new) model] [] [0];

docargument [A] [the animation to play] [] [0];

docargument [R] [the rotation speed] [] [0];

docargument [S] [the scale] [] [0];



docident [closemenu] [Closes the specified menu if it is open.];

docargument [N] [the name of a previously defined menu] [] [0];

docremark [If it is open multiple times in the stack only the topmost instance will be closed!];



docident [menuinit] [Specifies commands to be executed when a menu opens.];

docargument [C] [The code to execute on init] [] [0];

docremark [This command should be placed after newmenu.];



docident [menuitem] [Creates a new menuitem.];

docargument [N] [The menuitem description.] [] [0];

docargument [A] [The command to execute on selection of the menuitem.] [] [0];

docargument [H] [The command to execute upon rolling over the menuitem.] [] [0];

docremark [Upon activating the menuitem, the associated command will be executed. (See config/menus.cfg for examples). If the command argument is omitted, then it will be set to the same value as the description. If -1 is specified instead of the command to execute, then no command is executed when activating the item. If the rollover option is used, the menuitem will execute that command when selecting (but not activating) the menuitem.];

docremark [(Note: To activate the menu item, select it, and either: Click, press SPACE or press ENTER/Return).];



docident [menuitemcheckbox] [];



docident [menuitemimage] [];



docident [menuitemkeyinput] [];



docident [menuitemslider] [];



docident [menuitemtextinput] [];



docident [menumdl] [Specifies a model to render while displaying the last added menu.];

docargument [M] [the model] [] [0];

docargument [A] [the animation to play] [] [0];

docargument [R] [the rotation speed] [] [0];

docargument [S] [the scale] [] [0];



docident [newmenu] [Creates a new menu.];

docargument [N] [The name of the menu] [] [0];

docremark [All menu commands placed after newmenu (i.e. menuitem, menuitemcheckbox, etc) are added into the menu until another "newmenu" command is specified.];



docident [showmenu] [Displays the specified menu.];

docargument [N] [the name of a previously defined menu] [] [0];

docremark [The menu allows the user to pick an item with the cursor keys. Upon pressing return, the associated action will be executed. Pressing ESC will cancel the menu.];



docsection [Head-Up Display]



docident [aboveheadiconfadetime] [];

docargument [V] [] [min 1/max 10000/default 2000];



docident [altconsize] [];

docargument [V] [] [min 0/max 100/default 0];



docident [clearminimap] [Recreates the minimap for the current map.];



docident [confade] [];

docargument [V] [] [min 0/max 60/default 20];



docident [consize] [];

docargument [V] [] [min 0/max 100/default 6];



docident [conskip] [Allows to browse through the console history by offsetting the console output.];

docargument [N] [the offset] [] [0];

dockey [KP_MINUS] [- on the keypad] [scrolls into the history (conskip 1)];

dockey [KP_PLUS] [+ on the keypad] [resets the history (conskip -1000)];



docident [crosshairfx] [Turns on or off crosshair effects.];

docargument [B] [Turns the effects on (1) or off (0)] [min 0/max 1/default 1];

docremark [When on, the crosshair will go grey when the weapon is reloading, orange when health is 50 or red when is 25.];



docident [crosshairsize] [Sets the size of your crosshair.];

docargument [N] [the crosshair size] [min 0/max 50/default 15];

docremark [The crosshair is turned off entirely if the size is set to 0.];



docident [crosshairteamsign] [];

docargument [V] [] [min 0/max 1/default 1];



docident [damageindicatoralpha] [];

docargument [V] [] [min 1/max 100/default 50];



docident [damageindicatordist] [];

docargument [V] [] [min 0/max 10000/default 500];



docident [damageindicatorsize] [];

docargument [V] [] [min 0/max 10000/default 200];



docident [damageindicatortime] [];

docargument [V] [] [min 1/max 10000/default 1000];



docident [fullconsize] [];

docargument [V] [] [min 0/max 100/default 40];



docident [hidecompass] [];

docargument [V] [] [min 0/max 1/default 0];



docident [hideconsole] [];

docargument [V] [] [min 0/max 1/default 0];



docident [hidectfhud] [];

docargument [V] [] [min 0/max 1/default 0];



docident [hidedamageindicator] [];

docargument [V] [] [min 0/max 1/default 0];



docident [hidehudequipment] [];

docargument [V] [] [min 0/max 1/default 0];



docident [hidehudmsgs] [];

docargument [V] [] [min 0/max 1/default 0];



docident [hideradar] [];

docargument [V] [] [min 0/max 1/default 0];



docident [hidespecthud] [];

docargument [V] [] [min 0/max 1/default 0];



docident [hidestats] [Turns on/off display of fps/rendering stats on the HUD.];

docargument [B] [Turns the stats off (1) or on (0)] [min 0/max 1/default 1];



docident [hideteam] [];

docargument [V] [] [min 0/max 1/default 0];



docident [hidevote] [];

docargument [V] [] [min 0/max 2/default 0];



docident [history] [Executes the specified command in the command line history.];

docargument [N] [the N'th command from the history] [] [0];

docremark [For example, binding "history 1" to a key allows you to quickly repeat the last command typed in (useful for placing many identical entities etc.)];



docident [hudgun] [];

docargument [V] [] [min 0/max 1/default 1];



docident [maxcon] [];

docargument [V] [] [min 10/max 1000/default 200];



docident [maxrecoil] [];

docargument [V] [] [min 0/max 1000/default 1000];



docident [minimapres] [Sets the resolution for the minimap.];

docargument [N] [the resolution] [min 7/max 10/default 9];



docident [nosway] [];

docargument [V] [] [min 0/max 1/default 0];



docident [radarentsize] [];

docargument [V] [] [min 1/max 64/default 4];



docident [radarres] [];

docargument [V] [] [min 1/max 1024/default 64];



docident [recoilbackfade] [];

docargument [V] [] [min 0/max 1000/default 100];



docident [recoilbase] [];

docargument [V] [] [min 0/max 1000/default 40];



docident [recoilincrease] [];

docargument [V] [] [min 1/max 10/default 2];



docident [recoiltest] [];

docargument [V] [] [min 0/max 1/default 0];



docident [swaymovediv] [];

docargument [V] [] [min 1/max 1000/default 200];



docident [swayspeeddiv] [];

docargument [V] [] [min 1/max 1000/default 105];



docident [swayupmovediv] [];

docargument [V] [] [min 1/max 1000/default 200];



docident [swayupspeeddiv] [];

docargument [V] [] [min 1/max 1000/default 105];



docsection [Visuals]



docident [aadynshadow] [Sets the size/resolution of the dynamic shadow data.];

docargument [] [the size] [min 0/max 3/default 2];



docident [aboveheadiconsize] [];

docargument [V] [] [min 0/max 1000/default 50];



docident [animationinterpolationtime] [Sets the time available for interpolation between model animations.];

docargument [N] [the amount of milliseconds for the interpolation] [min 0/max 1000/default 100];



docident [ati_mda_bug] [];

docargument [V] [] [min 0/max 1/default 0];



docident [bilinear] [];

docargument [V] [] [min 0/max 1/default 1];



docident [blood] [];

docargument [V] [] [min 0/max 1/default 1];



docident [bloodttl] [];

docargument [V] [] [min 0/max 30000/default 10000];



docident [bullethole] [];

docargument [V] [] [min 0/max 1/default 1];



docident [bulletholettl] [];

docargument [V] [] [min 0/max 30000/default 10000];



docident [colorbits] [Sets the bits per pixel value.];

docargument [] [bits per pixel] [min 0/max 32/default 0];



docident [dbghbox] [];

docargument [V] [] [min 0/max 1/default 0];



docident [dbgmbatch] [];

docargument [V] [] [min 0/max 1/default 0];



docident [dbgstenc] [];

docargument [V] [] [min 0/max 2/default 0];



docident [dbgtiles] [];

docargument [V] [] [min 0/max 1/default 0];



docident [dbgvlight] [];

docargument [V] [] [min 0/max 1/default 0];



docident [depthbits] [Sets the bits for the depth buffer.];

docargument [] [depth pixels] [min 0/max 32/default 0];



docident [depthoffset] [];

docargument [V] [] [min /max /default 0.005f];



docident [dynlight] [Determines whether dynamic shadows and lights are rendered, provided just incase they slow your fps down too much.];

docargument [R] [the radius of a dynamic light] [min 0/max 32/default 16];

docremark [With radius you can specify the radius of a dynamic light, smaller to maybe gain some speed (0 is off entirely), or bigger to see the effect of dynamic shadows more dramatically (try shooting it past some pillars that have a dark area on the other side... or use the "gamespeed" variable).];



docident [dynshadow] [Sets the alpha value (transparency) for dynamic shadows.];

docargument [] [the alpha value] [min 0/max 100/default 40];



docident [dynshadowdecay] [];

docargument [V] [] [min 0/max 3000/default 1000];



docident [dynshadowquad] [];

docargument [V] [] [min 0/max 1/default 0];



docident [dynshadowsize] [Sets the display size of the dynamic shadows.];

docargument [] [the size] [min 4/max 8/default 5];



docident [font] [];

docargument [A] [] [value] [0];



docident [fontchar] [];

docargument [A] [] [value] [0];



docident [fov] [Sets the field of view (fov).];

docargument [N] [the FOV value] [min 75/max 120/default 90];



docident [fpsrange] [];

docargument [A] [min] [] [0];

docargument [B] [max] [] [0];



docident [fsaa] [Sets the level of fullscreen antialiasing (FSAA).];

docargument [] [fsaa] [min 0/max 16/default 0];



docident [fullbrightlevel] [];

docargument [V] [] [min 0/max 255/default 176];



docident [fullscreen] [Enables or disables fullscreen.];

docargument [] [fullscreen] [min 0/max 1/default 1];

docremark [Not supported on Windows and Mac.];



docident [gamma] [Sets the hardware gamma value.];

docargument [N] [the gamma value] [min 30/max 300/default 100];

docremark [May not work if your card/driver doesn't support it.];



docident [gibnum] [Sets the number of gibs to display when performing a "messy" kill (grenade, knife, sniper headshot).];

docargument [N] [number of gibs] [min 0/max 1000/default 6];

docremark [Larger values are more spectacular, but can slow down less powerful machines. Reducing gibttl may help in this case.];



docident [gibspeed] [Sets the velocity at which gibs will fly from a victim.];

docargument [N] [velocity] [min 1/max 100/default 30];



docident [gibttl] [Sets the time for gibs to live (in milliseconds), after which they will disappear.];

docargument [N] [time to live] [min 0/max 15000/default 5000];



docident [glext] [checks for the searchstring in all loaded extensions];

docargument [E] [extension] [] [0];

docexample [if (glext shadow_funcs) [echo you have shadow functionality] [echo no shadows for you]] [];



docident [hwtexsize] [];

docargument [V] [] [min 1/max 0/default 0];



docident [lighterror] [Allows to finetune the amount of "error" the mipmapper/stripifier allow themselves for changing lightlevels.];

docargument [E] [the error value, 1 being the best quality] [ read-only];

docremark [If this variable is changed this during play, a "recalc" is needed to see the effect.];



docident [maxtexsize] [];

docargument [V] [] [min 0/max 4096/default 0];



docident [mergestrips] [];

docargument [V] [] [min 0/max 1/default 1];



docident [mtexplosion] [];

docargument [V] [] [min 0/max 1/default 1];



docident [mtwater] [];

docargument [V] [] [min 0/max 1/default 1];



docident [particlesize] [Scales all particles.];

docargument [P] [the scale percentage] [min 20/max 500/default 100];



docident [polygonoffsetfactor] [];

docargument [V] [] [min /max /default -3.0f];



docident [polygonoffsetunits] [];

docargument [V] [] [min /max /default -3.0f];



docident [reflectclip] [];

docargument [V] [] [min 0/max 100/default 3];



docident [reflectscissor] [];

docargument [V] [] [min 0/max 1/default 1];



docident [reflectsize] [];

docargument [V] [] [min 6/max 10/default 8];



docident [resetgl] [];



docident [saveshadows] [Sets if dynamic shadows should be saved to disk.];

docargument [] [auto save] [min 0/max 1/default 1];



docident [scorch] [];

docargument [V] [] [min 0/max 1/default 1];



docident [scorchttl] [];

docargument [V] [] [min 0/max 30000/default 10000];



docident [scr_h] [Sets the screen height.];

docargument [] [the screen height] [min 0/max 768/default 10000];



docident [scr_w] [Sets the screen width.];

docargument [] [the screen width] [min 0/max 1024/default 10000];



docident [screenres] [];

docargument [W] [width] [] [0];

docargument [H] [height] [] [0];



docident [shadowcasters] [];

docargument [V] [] [min 1/max 0/default 0];



docident [shadowclip] [];

docargument [V] [] [min 0/max 1/default 1];



docident [shadowtile] [];

docargument [V] [] [min 0/max 1/default 1];



docident [shotline] [];

docargument [V] [] [min 0/max 1/default 1];



docident [shotlinettl] [];

docargument [V] [] [min 0/max 10000/default 75];



docident [skyclip] [];

docargument [V] [] [min 0/max 1/default 1];



docident [spectfov] [];

docargument [V] [] [min 5/max 120/default 120];



docident [stencilbits] [];

docargument [V] [] [min 0/max 32/default 0];



docident [stencilshadow] [];

docargument [V] [] [min 0/max 100/default 40];



docident [teamdisplaymode] [Sets the team display mode.];

docargument [N] [the team display mode] [0 (none), 1 (color vests), 2 (color skins) min 0/max 2/default 1];

docremark [In mode 0 team display is disabled In mode 1 players will be rendered with a colored vest to make the teams distinguishable. In mode 2 almost the whole suit of the players will be colored. These display modes are only applied in team gamemodes.];



docident [trilinear] [];

docargument [V] [] [min 0/max 1/default 1];



docident [vsync] [Enables or disables vsync.];

docargument [] [vsync] [min -1/max 1/default -1];

docremark [-1 uses the default settings obtained from the system. 0 disables, 1 enables vsync.];



docident [waterreflect] [];

docargument [V] [] [min 0/max 1/default 1];



docident [waterrefract] [];

docargument [V] [] [min 0/max 1/default 0];



docident [watersubdiv] [Determines the subdivision of the water surface in maps.];

docargument [N] [the subdivisioin value] [min 1/max 64/default 4];

docremark [Must be a power of 2: 4 is the default, 8 is recommended for people on slow machines, 2 is nice for fast machines, and 1 is quite OTT. See "waterlevel" (edit reference) on how to add water to your own levels.];



docsection [Sound]



docident [al_referencedistance] [];

docargument [V] [] [min 0/max 1000000/default 400];



docident [al_rollofffactor] [];

docargument [V] [] [min 0/max 1000000/default 100];



docident [audio] [Enables or disables the audio subsystem in AC.];

docargument [B] [enable] [min 0/max 1/default 1];



docident [audiodebug] [Enables verbose output for debugging purposes.];

docargument [B] [enable audio debug] [min 0/max 1/default 0];



docident [bulletairsound] [];

docargument [V] [] [min 0/max 1/default 1];



docident [bulletairsounddestrad] [];

docargument [V] [] [min 0/max 1000/default 8];



docident [bulletairsoundrad] [];

docargument [V] [] [min 0/max 1000/default 15];



docident [bulletairsoundsourcerad] [];

docargument [V] [] [min 0/max 1000/default 8];



docident [bulletbouncesound] [];

docargument [V] [] [min 0/max 1/default 1];



docident [bulletbouncesoundrad] [];

docargument [V] [] [min 0/max 1000/default 15];



docident [gainscale] [Each subsequent played sound's gain-value is scaled by this percentage.];

docargument [N] [percentage] [min 0/max 100/default 100];

docremark [This lowers the gain of the sounds before they are mixed, this might be useful in cases when the mixer has problems with too high gain values.];



docident [mapsoundrefresh] [Specifies the interval for checking mapsounds.];

docargument [N] [interval in milliseconds] [min 0/max 1000/default 50];

docremark [If set to value 0, the map sounds will be checked in every frame without any interval limitation.];



docident [maxsoundsatonce] [];

docargument [V] [] [min 0/max 100/default 40];



docident [musicvol] [Sets the music volume.];

docargument [N] [the volume] [min 0/max 255/default 128];



docident [mutesound] [Mute a specific game sound.];

docargument [N] [ID of the sound to mute] [see config/sounds.cfg, starting at ID 0] [0];

docargument [A] [audible?] [(mute) 0 || 1 (unmute)] [0];



docident [sound] [Plays the specified sound.];

docargument [S] [the sound to play] [string, see config/sounds.cfg] [0];

docremark [See config/sounds.cfg for default sounds, and use registersound to register your own. For example, sound 0 and sound (registersound "aard/jump") both play the standard jump sound.];



docident [soundchannels] [Sets the desired amount of allocated sound channels.];

docargument [] [number of channels] [min 4/max 1024/default 32];

docremark [AC will try to allocate that number of channels but it is not guaranteed to succeed.];



docident [soundscheddistancescore] [];

docargument [V] [] [min 0/max 1000/default 5];



docident [soundschedoldbonus] [];

docargument [V] [] [min 0/max 1000/default 100];



docident [soundschedpriorityscore] [];

docargument [V] [] [min 0/max 1000/default 100];



docident [soundschedreserve] [];

docargument [V] [] [min 0/max 100/default 2];



docident [soundvol] [Sets the sound volume for all sounds.];

docargument [N] [the volume] [min 0/max 255/default 128];



docident [unmuteallsounds] [Unmutes all previously muted sounds.];



docsection [Ingame Reference]



docident [docargument] [Adds a new argument documentation to the last added identifier.];

docargument [T] [the token] [] [0];

docargument [D] [the description] [] [0];

docargument [V] [the value notes] [] [0];

docargument [I] [flags this argument as variable-length] [1 (true), 0 (false)] [0];

docremark [An argument represents either a command argument or a variable value.];

docremark [The last argument of an identifier can be flagged as variable-length to indicate that it represents an unknown number of arguments.];



docident [docexample] [Adds an example to the last added identifier.];

docargument [C] [the example code] [] [0];

docargument [E] [the explanation] [] [0];



docident [docfind] [Searches the ingame docs for identifier documentations matching the specified search string.];

docargument [S] [the search string] [] [0];

docremark [The name, description and remarks are included in the search.];



docident [docident] [Adds a new identifier documentation to the last added section.];

docargument [N] [name of the identifier] [] [0];

docargument [D] [the description] [] [0];

docremark [An identifier represents a command or variable. The new identifier];

docremark [The name may contain spaces to create a "multipart" identifier documentation that can be used to describe a complex argument as a single pseudo identifier, look at the examples.];

docexample [docident fov "Sets the field of view."] [];

docexample [docident "newent light" "Adds a new light entity."] [];



docident [docinvalid] [Outputs a list of identifier documentations that do not match any existing identifier.];

docremark [Multipart identifiers are not included in this list, see 'docident'.];



docident [dockey] [];

docargument [A] [] [value] [0];



docident [docref] [Adds a new documentation reference to an identifier.];

docargument [N] [the display name] [] [0];

docargument [I] [the identifier to refer to] [] [0];

docargument [U] [the URL to refer to] [] [0];

docremark [The new reference is added to the last added identifier documentation.];



docident [docremark] [Adds a new documentation remark to the last added identifier.];

docargument [S] [the remark] [] [0];



docident [docsection] [Adds a new section to the ingame documentation.];

docargument [S] [the section name] [] [0];



docident [docskip] [];

docargument [V] [] [min 0/max 1000/default 0];



docident [docundone] [Outputs a list of yet undocumented identifiers (commands,variables, etc)];

docargument [A] [output all identifiers] [1 (true), 0 (false)] [0];

docremark [If the one argument is omitted, only the builtin identifiers will be listed. Therefore specify the argument other identifiers like aliases should be included too.];

docremark [Note that the list also includes identifiers that contain the substrings "TODO" or "UNDONE" in their documentation.];



docident [docvisible] [];

docargument [V] [] [min 0/max 1/default 1];



docident [docwritebaseref] [Writes out a base XML documentation reference containing templates for the builtin identifiers.];

docargument [R] [the reference name] [] [0];

docargument [S] [the XML schema location string] [] [0];

docargument [T] [XML stylesheet to use] [] [0];

docremark [The generated reference is written to "config/autogenerated_base_reference.xml" by default. The three arguments can be changed later on in the generated XML document.];



docsection [Server commands]



docident [autoteam] [Sets automated team assignment.];

docargument [B] [Enables or disables auto team.] [1 (On), 0 (Off)] [0];



docident [ban] [Temporary ban of the specified player from the server.];

docargument [CN] [The player to ban] [Client number] [0];

docremark [Temporary ban duration is fixed at 20 minutes.];



docident [callvote] [Calls a vote on the server.];

docargument [T] [Vote type] [value] [0];

docargument [A] [First argument] [] [0];

docargument [B] [Second argument] [] [0];

docremark [This command is wrapped by aliases for better usability and is used to action votes such as ban, kick, etc. See config/admin.cfg for actual uses.];



docident [forceteam] [Forces the specified player to join the enemy team.];

docargument [CN] [The player to assign to a team] [Client number] [0];



docident [giveadmin] [Gives admin state to the specified player.];

docargument [CN] [The player to become admin] [Client number] [0];

docremark [Requires admin state. The admin will lose his admin state after successfully issuing this command.];



docident [kick] [Kicks the specified player from the server.];

docargument [CN] [The player to kick] [Client number] [0];



docident [mastermode] [Sets the mastermode for the server.];

docargument [N] [The master mode] [0 (Open), 1 (Private)] [0];

docremark [If the mastermode is set to 'private', no more clients can join the server. Default is 'open' which allows anyone to join the server.];



docident [masterupdatefrequency] [];

docargument [V] [] [min 1/max 24*60*60/default 60*60];



docident [maxservpings] [];

docargument [V] [] [min 0/max 1000/default 0];



docident [removebans] [Removes all temporary bans from the server. Temporary bans are normally automatically removed after 20 minutes.];



docident [searchlan] [];

docargument [V] [] [min 0/max 2/default 1];



docident [sendmap] [Sends the current map to the server and sends other players a message about it.];

docargument [M] [Map to save and reload locally] [] [0];

docremark [If the map argument is specified, the map is first saved and then reloaded before sending it. Note: It's always required to be on the map one wants to send before issuing this command!];



docident [serverdesc] [If the server was run with -n1 and -n2 arguments (prefix and suffix of descriptive title) a serveradmin can set a user-defined server description with this command, if it wasn't this command results in "invalid vote". This title will only stay until the next map is loaded.];

docargument [D] [description] [] [0];

docremark [If, for example, the server was run with -n"Fred's Server" -n1"Fred's " -n2" Server", then you could call "/serverdesc [pWn4g3 TOSOK]" and it would show up as ""Fred's pWn4g3 TOSOK Server" in the serverbrowser.];



docident [serverextension] [Modded servers announcement of features. See source/src/server.cpp [Line 2926ff. "case SV_EXTENSION:"]];

docargument [E] [extension] [] [0];

docargument [D] [description] [] [0];



docident [serversort] [];

docargument [V] [] [min 0/max NUMSERVSORT-1/default 0];



docident [servpingrate] [];

docargument [V] [] [min 1000/max 60000/default 5000];



docident [setadmin] [Claims or drops admin status.];

docargument [B] [Status] [1 (Claim), 0 (Drop)] [0];

docargument [PASS] [Password] [case sensitive] [0];

docremark [Failed logins result in an auto kick. The admin is granted the right to kick, ban, remove bans, set autoteam, set shuffleteam, change server description (if enabled), change map, change mastermode, force team, change mode, record demos, stop demos and clear demo(s) - All without needing votes from other users. If the admin votes on any (other players) call, his vote is final. In the scoreboard, the admin will be shown as a red colour.];



docident [showallservers] [];

docargument [V] [] [min 0/max 1/default 1];



docsection [Game modes]



docident [coop] [Starts a map with the mode "Co-op edit"];

docargument [M] [The name of the map you wish to edit] [] [1];

docremark [See the co-op edit section in page 4 of the map editing guide for more information.];

docexample [coop ac_newmap] [];



docident [ctf] [Starts a map with the mode "Capture the Flag"];

docargument [M] [The name of the map you wish to play] [] [1];

docexample [ctf ac_mines] [];



docident [dm] [Starts a map with the mode "Deathmatch"];

docargument [M] [The name of the map you wish to play] [] [1];

docexample [dm ac_complex] [];



docident [gamemodedesc] [];

docargument [M] [mode] [integer] [0];

docargument [D] [description] [string] [0];



docident [htf] [Starts a map with the mode "Hunt the Flag"];

docargument [M] [The name of the map you wish to play] [] [1];

docexample [htf ac_mines] [];



docident [ktf] [Starts a map with the mode "Keep the Flag"];

docargument [M] [The name of the map you wish to play] [] [1];

docexample [ktf ac_mines] [];



docident [lms] [Starts a map with the mode "Last Man Standing"];

docargument [M] [The name of the map you wish to play] [] [1];

docexample [lms ac_complex] [];



docident [lss] [Starts a map with the mode "Last Swiss Standing"];

docargument [M] [The name of the map you wish to play] [] [1];

docexample [lss ac_complex] [];



docident [mode] [Sets the gameplay mode to N for the next map loaded.];

docargument [N] [The mode number] [] [0];

docargument [] [] [0 - Team Deathmatch] [0];

docargument [] [] [1 - Co-op edit] [0];

docargument [] [] [2 - Deathmatch] [0];

docargument [] [] [3 - Survivor] [0];

docargument [] [] [4 - Team Survivor] [0];

docargument [] [] [5 - Capture the Flag] [0];

docargument [] [] [6 - Pistol Frenzy] [0];

docargument [] [] [7 - Bot Team Deathmatch] [0];

docargument [] [] [8 - Bot Deathmatch] [0];

docargument [] [] [9 - Last Swiss Standing] [0];

docargument [] [] [10 - One Shot, One Kill] [0];

docargument [] [] [11 - Team One Shot, One Kill] [0];

docargument [] [] [12 - Bot One Shot, One Kill] [0];

docargument [] [] [13 - Hunt the Flag] [0];

docargument [] [] [14 - Team Keep the Flag] [0];

docargument [] [] [15 - Keep the Flag] [0];

docremark [You will need to define mode before loading the map or it will stay as the last mode played.];



docident [osok] [Starts a map with the mode "One shot, One kill"];

docargument [M] [The name of the map you wish to play] [] [1];

docexample [osok ac_complex] [];



docident [pf] [Starts a map with the mode "Pistol Frenzy"];

docargument [M] [The name of the map you wish to play] [] [1];

docexample [pf ac_complex] [];



docident [tdm] [Starts a map with the mode "Team Deathmatch"];

docargument [M] [The name of the map you wish to play] [] [1];

docexample [tdm ac_complex] [];



docident [tktf] [Starts a map with the mode "Team Keep the Flag"];

docargument [M] [The name of the map you wish to play] [] [1];

docexample [tktf ac_mines] [];



docident [tosok] [Starts a map with the mode "Team One Shot, One Kill"];

docargument [M] [The name of the map you wish to play] [] [1];

docexample [tosok ac_complex] [];



docident [ts] [Starts a map with the mode "Team Survivor"];

docargument [M] [The name of the map you wish to play] [] [1];

docexample [ts ac_complex] [];



docident [vip] [Starts a map with the mode "Hunt the Flag". Some players prefer the name "VIP" for this mode.];

docargument [M] [The name of the map you wish to play] [] [1];

docexample [vip ac_mines] [];



docsection [Editing configs]



docident [fog] [Sets the fog distance.];

docargument [N] [The fog distance] [64...1024, default is 180] [0];

docremark [You can do this for tweaking the visual effect of the fog, or if you are on a slow machine, setting the fog to a low value can also be a very effective way to increase fps (if you are geometry limited). Try out different values on big maps / maps which give you low fps. It is also good for aesthetic features of maps especially when combined with "fogcolour".];



docident [fogcolour] [Sets the fog and clearing colour.];

docargument [C] [The colour] [Hexadecimal colour, default is 0x8099B3] [0];



docident [isolatecontext] [Isolates the given context. This disables access from this context to identifiers located in other contexts, also it removes all aliases created in this context once the running context changes];

docargument [C] [the context] [] [0];



docident [loadnotexture] [Binds a texture to be used if a slot couldn't be loaded with a given textures path.];

docargument [F] [file name of the texture to bind] [string] [0];

docremark [Binds the texture indicated in the filename to the texture slot of any textures that aren't found. The path is given exactly as with the texture-command, if it is omitted (or can't be loaded) the default is used. The default is located in packages/misc/notexture.jpg (not in packages/textures - where custom ones must reside!)];

docexample [loadnotexture // Reset to default] [];

docexample [loadnotexture "makke/black.jpg" // Any missing texture will show up black] [];



docident [loadsky] [Loads a skymap for a map.];

docargument [P] [path to the six skybox textures] [string] [0];

docremark [The available skymaps reside in packages/textures/skymaps/..];

docremark [To select a skymap you need to use the full path from "packages/" but only up to the underscore "_" in the filename.];

docexample [loadsky "textures/skymaps/makke/mountain"] [];



docident [mapmodel] [Registers a mapmodel that can be placed in maps.];

docargument [R] [The square radius of the bounding box.] [Integer] [0];

docargument [H] [The height of the bounding box.] [Integer] [0];

docargument [Z] [The initial height offset from the ground.] [Integer] [0];

docargument [0] [This integer is redundant. Leave it at zero so you don't break the command.] [0] [0];

docargument [N] [The name of the map model] [string] [0];

docremark [A mapmodel registered with this command can be placed in a map using the 'newent mapmodel' command. The bounding box is an invisible force surrounding the model, allowing players to collide against it, instead of walking through the mapmodel. For more information about this command, read mapediting5.xml.];

docremark [Example: mapmodel 4 2 4 0 "modelname"];

docremark [This mapmodel has a bounding box of 8x8x2 in size (X/Y/Z) and by default hovers 4 units above ground.];



docident [mapmodelreset] [Resets the mapmodel slots/indices to 0 for the subsequent "mapmodel" commands.];

docremark [Each subsequent mapmodel command increases it again. See config/default_map_settings.cfg for an example.];



docident [mapsound] [Defines a mapsound.];

docargument [N] [Path to the sound file] [] [0];

docargument [M] [Maximum simultaneous sounds] [default -1 (unlimited)] [0];

docremark [Registers the sound as a map-specific sound. These map-specific sounds may currently only be used with "sound" entities within a map. The first map sound registered in a map has slot/index number 0 and increases afterwards.];



docident [mapsoundreset] [Resets the mapsound slots/indices to 0 for the subsequent "mapsound" commands.];

docremark [Each subsequent mapsound command increases it again. See config/default_map_settings.cfg for an example.];



docident [md2anim] [];

docargument [A] [anim] [] [0];

docargument [F] [frame] [] [0];

docargument [R] [range] [] [0];

docargument [S] [speed] [] [0];



docident [md2emit] [];

docargument [T] [tag] [] [0];

docargument [Y] [type] [] [0];

docargument [A] [arg1] [] [0];

docargument [B] [arg2] [] [0];



docident [md2tag] [];

docargument [N] [name] [] [0];

docargument [A] [vert1] [] [0];

docargument [B] [vert2] [] [0];

docargument [C] [vert3] [] [0];

docargument [D] [vert4] [] [0];



docident [md3anim] [];

docargument [A] [anim] [] [0];

docargument [S] [startframe] [] [0];

docargument [R] [range] [] [0];

docargument [V] [speed] [] [0];



docident [md3emit] [];

docargument [T] [tag] [] [0];

docargument [Y] [type] [] [0];

docargument [A] [arg1] [] [0];

docargument [B] [arg2] [] [0];



docident [md3link] [];

docargument [P] [parentno] [] [0];

docargument [C] [childno] [] [0];

docargument [T] [tagname] [] [0];



docident [md3load] [];

docargument [M] [model] [] [0];



docident [md3skin] [];

docargument [N] [object name] [] [0];

docargument [S] [skin texture] [] [0];



docident [mdlalphatest] [];

docargument [A] [alphatest] [] [0];



docident [mdlcachelimit] [];

docargument [L] [cachelimit] [] [0];



docident [mdlcullface] [];

docargument [C] [cullface] [0||1] [0];



docident [mdlscale] [];

docargument [P] [percent] [0..100..N*100] [0];



docident [mdlshadowdist] [];

docargument [D] [shadow distance] [] [0];



docident [mdltrans] [translates (= moves) the model];

docargument [X] [] [] [0];

docargument [Y] [] [] [0];

docargument [Z] [] [] [0];



docident [mdltranslucent] [];

docargument [T] [translucency] [0..100..N*100] [0];



docident [mdlvertexlight] [];

docargument [V] [vertexligh] [0||1] [0];



docident [scriptcontext] [];

docargument [C] [context] [] [0];

docargument [N] [idname] [] [0];



docident [sealcontexts] [secure this configuration for the rest of the game];



docident [shadowyaw] [Shadow yaw specifies the angle at which shadow stencils are drawn on a map.];

docargument [D] [The angle in degrees to rotate the stencil shadows] [0...360, default is 45] [0];

docremark [When specifying shadowyaw, remember that the default angle is 45 degrees. The example below would make the shadows appear at 90 degrees (45 degrees more to the left).];

docexample [shadowyaw 90] [];



docident [texture] [Binds a texture to the current texture slot.];

docargument [0] [This is a redundant value. Always leave this value as 0 here so it doesn't    break your configurations.] [0] [0];

docargument [F] [File name of the texture to bind] [String] [0];

docremark [Binds the texture indicated in the filename to the current texture slot and increments the slot number.];



docident [texturereset] [Sets the texture slots/indicies to 0 for the subsequent "texture" commands.];

docremark [Each subsequent texture command increases it again. See config/default_map_settings.cfg for an example.];



docident [watercolour] [Determines the water colour in a map.];

docargument [R] [Red colour intensity] [Between 1 and 255] [0];

docargument [G] [Green colour intensity] [Between 1 and 255] [0];

docargument [B] [Blue colour intensity] [Between 1 and 255] [0];

docremark [You must define all 3 values, otherwise this command may not work correctly (use "1" as a placeholder if needed).];