Console commands: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
empty default column
non-cvar defaults
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
Feel free to ask the EDuke32 developers any questions you may have.
Feel free to ask the EDuke32 developers any questions you may have.
NOTE: Most defaults were taken from a Windows build.


== Engine ==
== Engine ==
Line 12: Line 14:
| 0
| 0
| {{abbr|MAXPALOOKUPS-1|255}}
| {{abbr|MAXPALOOKUPS-1|255}}
|
| 12
|
|
|-
|-
Line 19: Line 21:
| 0
| 0
| {{abbr|MAXPALOOKUPS-1|255}}
| {{abbr|MAXPALOOKUPS-1|255}}
|
| 0
|
|
|-
|-
Line 26: Line 28:
| 0
| 0
| {{abbr|MAXPALOOKUPS-1|255}}
| {{abbr|MAXPALOOKUPS-1|255}}
|
| 12
|
|
|-
|-
Line 33: Line 35:
| 0
| 0
| 7
| 7
|
| 0
|
|
|-
|-
Line 40: Line 42:
| 0
| 0
| 7
| 7
|
| 2
|
|
|-
|-
Line 47: Line 49:
| {{abbr|INT8_MIN|-128}}
| {{abbr|INT8_MIN|-128}}
| {{abbr|INT8_MAX|127}}
| {{abbr|INT8_MAX|127}}
|
| 0
|
|
|-
|-
Line 54: Line 56:
| 1
| 1
| 400
| 400
|
| 20
|
|
|-
|-
Line 61: Line 63:
| 0
| 0
| 1
| 1
|
| 0
|
|
|-
|-
Line 68: Line 70:
| 0
| 0
| 262144
| 262144
|
| 131072
|
|
|-
|-
Line 75: Line 77:
| {{abbr|OSDMINHISTORYDEPTH|32}}
| {{abbr|OSDMINHISTORYDEPTH|32}}
| {{abbr|OSDMAXHISTORYDEPTH|256}}
| {{abbr|OSDMAXHISTORYDEPTH|256}}
|
| 32
|
|
|-
|-
Line 124: Line 126:
| 0
| 0
| 1
| 1
|
| 1
|
|
|-
|-
Line 131: Line 133:
| 0
| 0
| 9999
| 9999
|
| 0
|
|
|-
|-
Line 138: Line 140:
| 0
| 0
| 1
| 1
|
| 1
|
|
|-
|-
Line 145: Line 147:
| 0
| 0
| 1
| 1
|
| 1
|
|
|-
|-
Line 152: Line 154:
| 0
| 0
| 1
| 1
|
| 1
| TROR-enabled builds only
| TROR-enabled builds only
|-
|-
Line 159: Line 161:
| 0
| 0
| 1
| 1
|
| 0
|
|
|-
|-
Line 166: Line 168:
| 0
| 0
| 10
| 10
|
| 1
|
|
|-
|-
Line 173: Line 175:
| 0
| 0
| 10
| 10
|
| 1
|
|
|-
|-
Line 180: Line 182:
| 0
| 0
| 10
| 10
|
| 0
|
|
|-
|-
Line 187: Line 189:
| -100000
| -100000
| 100000
| 100000
|
| 0
| debug builds only
| debug builds only
|-
|-
Line 194: Line 196:
| -100000
| -100000
| 100000
| 100000
|
| 0
| debug builds only
| debug builds only
|-
|-
Line 201: Line 203:
| 0
| 0
| 1
| 1
|
| 0
| debug builds only
| debug builds only
|-
|-
| setrendermode <number>
| setrendermode <number>
|colspan="4"| sets the engine's [[rendering mode]]
|colspan="3"| sets the engine's [[rendering mode]]
| 0
|
|
|-
|-
Line 222: Line 225:
| 0
| 0
| 1
| 1
|
| 1
|
|
|-
|-
Line 229: Line 232:
| 0
| 0
| 5
| 5
|
| 0
|
|
|-
|-
Line 236: Line 239:
| 0
| 0
| 1
| 1
|
| 1
|
|
|-
|-
Line 243: Line 246:
| 0
| 0
| 1
| 1
|
| 1
|
|
|-
|-
Line 250: Line 253:
| 0
| 0
| 1
| 1
|
| 0
|
|
|-
|-
Line 257: Line 260:
| 0
| 0
| 1
| 1
|
| 1
| disabled when GL extensions are disabled, such as GL ES targets
| disabled when GL extensions are disabled, such as GL ES targets
|-
|-
Line 264: Line 267:
| 0
| 0
| 1
| 1
|
| 1
| disabled when GL extensions are disabled, such as GL ES targets
| disabled when GL extensions are disabled, such as GL ES targets
|-
|-
Line 271: Line 274:
| 0
| 0
| 3
| 3
|
| 0
| disabled in GL ES targets
| disabled in GL ES targets
|-
|-
Line 278: Line 281:
| 0
| 0
| 2
| 2
|
| 2
| disabled in GL ES targets
| disabled in GL ES targets
|-
|-
Line 285: Line 288:
| 0
| 0
| 1
| 1
|
| 1
| disabled in GL ES targets
| disabled in GL ES targets
|-
|-
Line 292: Line 295:
| 0
| 0
| 1
| 1
|
| 1
| disabled in GL ES targets
| disabled in GL ES targets
|-
|-
Line 299: Line 302:
| 0
| 0
| 1
| 1
|
| 0
| currently disabled
| currently disabled
|-
|-
Line 306: Line 309:
| 0
| 0
| 10
| 10
|
| 1
|
|
|-
|-
Line 313: Line 316:
| 0
| 0
| 1
| 1
|
| 0
|
|
|-
|-
Line 320: Line 323:
| -1
| -1
| 1
| 1
|
| 0
|
|
|-
|-
Line 327: Line 330:
| 0
| 0
| 1
| 1
|
| 0
|
|
|-
|-
Line 334: Line 337:
| 0
| 0
| 16
| 16
|
| 1
|
|
|-
|-
Line 341: Line 344:
| 0
| 0
| 4096
| 4096
|
| 14
|
|
|-
|-
Line 348: Line 351:
| 0
| 0
| 6
| 6
|
| 0
|
|
|-
|-
Line 355: Line 358:
| 0
| 0
| 5
| 5
|
| 2
|
|
|-
|-
Line 362: Line 365:
| 0
| 0
| 3
| 3
|
| 3
|
|
|-
|-
Line 369: Line 372:
| 0
| 0
| 2
| 2
|
| 2
|
|
|-
|-
Line 376: Line 379:
| 1
| 1
| 256
| 256
|
| 64
| disabled when GL extensions are disabled, such as GL ES targets
| disabled when GL extensions are disabled, such as GL ES targets
|-
|-
Line 383: Line 386:
| 0
| 0
| 1
| 1
|
| 1
| disabled when GL extensions are disabled, such as GL ES targets
| disabled when GL extensions are disabled, such as GL ES targets
|-
|-
Line 390: Line 393:
| 0
| 0
| 1
| 1
|
| 1
|
|
|-
|-
Line 397: Line 400:
| 0
| 0
| 1
| 1
|
| 1
|
|
|-
|-
Line 404: Line 407:
| 0
| 0
| 1
| 1
|
| 1
|
|
|-
|-
Line 411: Line 414:
| 0
| 0
| 1
| 1
|
| 0
|
|
|-
|-
Line 418: Line 421:
| 0
| 0
| 1
| 1
|
| 1
|
|
|-
|-
Line 425: Line 428:
| 0
| 0
| 1
| 1
|
| 1
|
|
|-
|-
Line 434: Line 437:
| 0
| 0
| 2
| 2
|
| 1
|
|
|-
|-
Line 441: Line 444:
| 0
| 0
| 1
| 1
|
| 1
|
|
|-
|-
Line 448: Line 451:
| 0
| 0
| 1
| 1
|
| 1
|
|
|-
|-
Line 455: Line 458:
| 0
| 0
| 1
| 1
|
| 1
|
|
|-
|-
Line 462: Line 465:
| 0
| 0
| 64
| 64
|
| 5
|
|
|-
|-
Line 469: Line 472:
| 0
| 0
| 5
| 5
|
| 4
|
|
|-
|-
Line 476: Line 479:
| 0
| 0
| 1
| 1
|
| 1
|
|
|-
|-
Line 483: Line 486:
| 0
| 0
| {{abbr|PR_MAXLIGHTS|1024}}
| {{abbr|PR_MAXLIGHTS|1024}}
|
| 5
|
|
|-
|-
Line 490: Line 493:
| 0
| 0
| {{abbr|PR_MAXLIGHTPRIORITY|6}}
| {{abbr|PR_MAXLIGHTPRIORITY|6}}
|
| 6
|
|
|-
|-
Line 497: Line 500:
| 0
| 0
| 1023
| 1023
|
| 426
|
|
|-
|-
Line 504: Line 507:
| 0
| 0
| 3
| 3
|
| 0
|
|
|-
|-
Line 511: Line 514:
| 0
| 0
| 1
| 1
|
| 1
|
|
|-
|-
Line 518: Line 521:
| 0
| 0
| 3
| 3
|
| 1
|
|
|-
|-
Line 525: Line 528:
| 0
| 0
| 1
| 1
|
| 0
|
|
|-
|-
Line 532: Line 535:
| 0
| 0
| 2
| 2
|
| 2
|
|
|-
|-
Line 539: Line 542:
| 0
| 0
| 1
| 1
|
| 0
|
|
|-
|-
Line 546: Line 549:
| 0
| 0
| 1
| 1
|
| 1
|
|
|-
|-
Line 553: Line 556:
| 0
| 0
| 1
| 1
|
| 0
|
|
|-
|-
Line 560: Line 563:
| -10
| -10
| 10
| 10
|
| 0.1
|
|
|-
|-
Line 567: Line 570:
| -10
| -10
| 10
| 10
|
| 0
|
|
|-
|-
Line 574: Line 577:
| 0
| 0
| 1
| 1
|
| 0
|
|
|-
|-
Line 581: Line 584:
| -10
| -10
| 1000
| 1000
|
| 15
|
|
|-
|-
Line 588: Line 591:
| -10
| -10
| 1000
| 1000
|
| 1
|
|
|-
|-
Line 595: Line 598:
| 0
| 0
| 1
| 1
|
| 1
|
|
|-
|-
Line 602: Line 605:
| 0
| 0
| 1
| 1
|
| 1
|
|
|-
|-
Line 609: Line 612:
| 0
| 0
| 1
| 1
|
| 0
|
|
|-
|-
Line 616: Line 619:
| -100
| -100
| 100
| 100
|
| 0
|
|
|-
|-
Line 623: Line 626:
| -100
| -100
| 100
| 100
|
| 0
|
|
|-
|-
Line 630: Line 633:
| -100
| -100
| 100
| 100
|
| 0
|
|
|-
|-
Line 637: Line 640:
| -1024
| -1024
| 1024
| 1024
|
| 0
|
|
|-
|-
Line 644: Line 647:
| 0
| 0
| 1023
| 1023
|
| 426
|
|
|-
|-
Line 651: Line 654:
| 0
| 0
| 500
| 500
|
| 0
|
|
|-
|-
Line 658: Line 661:
| 0
| 0
| 1
| 1
|
| 0
|
|
|-
|-
Line 665: Line 668:
| 0
| 0
| 1
| 1
|
| 0
|
|
|-
|-
Line 672: Line 675:
| 0
| 0
| 3
| 3
|
| 0
|
|
|-
|-
Line 681: Line 684:
| 0
| 0
| 1
| 1
|
| 1
| Windows builds only
| Windows builds only
|-
|-
Line 687: Line 690:
|-
|-
| maxrefreshfreq
| maxrefreshfreq
|colspan="4"| maximum display frequency to set for OpenGL Polymost modes (0=no maximum)
|colspan="3"| maximum display frequency to set for OpenGL Polymost modes (0=no maximum)
| 60
| RENDERTYPE=WIN builds only
| RENDERTYPE=WIN builds only
|}
|}
Line 716: Line 720:
| 0
| 0
| 1
| 1
|
| 1
|
|
|-
|-
Line 723: Line 727:
| 0
| 0
| 3
| 3
|
| 1
|
|
|-
|-
Line 730: Line 734:
| 0
| 0
| 1
| 1
|
| 0
|
|
|-
|-
Line 737: Line 741:
| 0
| 0
| 1
| 1
|
| 1
|
|
|-
|-
Line 744: Line 748:
| 0
| 0
| 2
| 2
|
| 0
|
|
|-
|-
Line 751: Line 755:
| 0
| 0
| {{abbr|~0|4294967295}}
| {{abbr|~0|4294967295}}
|
| 0
|
|
|-
|-
Line 758: Line 762:
| 0
| 0
| 1
| 1
|
| 1
|
|
|-
|-
Line 765: Line 769:
| 0
| 0
| 1
| 1
|
| 1
|
|
|-
|-
Line 772: Line 776:
| 0
| 0
| 1
| 1
|
| 1
|
|
|-
|-
Line 779: Line 783:
| 0
| 0
| 1
| 1
|
| 0
|
|
|-
|-
Line 786: Line 790:
| 0
| 0
| 2
| 2
|
| 0
| mode 2 only in GL builds
| mode 2 only in GL builds


Line 794: Line 798:
| 0
| 0
| 1
| 1
|
| 1
|
|
|-
|-
Line 801: Line 805:
| 0
| 0
| 1
| 1
|
| 1
|
|
|-
|-
Line 808: Line 812:
| 0
| 0
| 7
| 7
|
| 3
|
|
|-
|-
Line 815: Line 819:
| 0
| 0
| {{abbr|MAXPALOOKUPS-1|255}}
| {{abbr|MAXPALOOKUPS-1|255}}
|
| 0
|
|
|-
|-
Line 822: Line 826:
| 10
| 10
| 100
| 100
|
| 50
|
|
|-
|-
Line 829: Line 833:
| 0
| 0
| 1
| 1
|
| 1
|
|
|-
|-
Line 836: Line 840:
| 0
| 0
| 1
| 1
|
| 0
|
|
|-
|-
Line 843: Line 847:
| 2
| 2
| {{abbr|60*REALGAMETICSPERSEC|1800}}
| {{abbr|60*REALGAMETICSPERSEC|1800}}
|
| 60
|
|
|-
|-
Line 850: Line 854:
| 0
| 0
| 1
| 1
|
| 1
|
|
|-
|-
Line 857: Line 861:
| 0
| 0
| 1
| 1
|
| 1
|
|
|-
|-
Line 864: Line 868:
| 0
| 0
| 1
| 1
|
| 1
|
|
|-
|-
Line 871: Line 875:
| 0
| 0
| 1
| 1
|
| 1
|
|
|-
|-
Line 878: Line 882:
| 0
| 0
| 1
| 1
|
| 1
|
|
|-
|-
Line 885: Line 889:
| 0
| 0
| 2
| 2
|
| 1
|
|
|-
|-
Line 892: Line 896:
| 0
| 0
| 1
| 1
|
| 0
|
|
|-
|-
Line 899: Line 903:
| 0
| 0
| 3600
| 3600
|
| 120
|
|
|-
|-
Line 906: Line 910:
| 0
| 0
| {{abbr|MAXUSERTILES-10|30694}}
| {{abbr|MAXUSERTILES-10|30694}}
|
| 2930
|
|
|-
|-
Line 913: Line 917:
| 0
| 0
| {{abbr|MAXPALOOKUPS-1|255}}
| {{abbr|MAXPALOOKUPS-1|255}}
|
| 0
|
|
|-
|-
Line 920: Line 924:
| 0
| 0
| 1
| 1
|
| 1
|
|
|-
|-
Line 927: Line 931:
| 0
| 0
| 1
| 1
|
| 1
|
|
|-
|-
Line 934: Line 938:
| 0
| 0
| 1
| 1
|
| 1
|
|
|-
|-
Line 941: Line 945:
| 36
| 36
| 100
| 100
|
| 100
|
|
|-
|-
Line 948: Line 952:
| 0
| 0
| 1
| 1
|
| 1
|
|
|-
|-
Line 955: Line 959:
| 0
| 0
| 1
| 1
|
| 0
|
|
|-
|-
Line 962: Line 966:
| 100
| 100
| 400
| 400
|
| 100
|
|
|-
|-
Line 969: Line 973:
| 10
| 10
| 100
| 100
|
| 100
|
|
|-
|-
Line 976: Line 980:
| 0
| 0
| 1
| 1
|
| 1
|
|
|-
|-
Line 983: Line 987:
| 0
| 0
| 1
| 1
|
| 0
| touch devices only
| touch devices only
|-
|-
Line 990: Line 994:
| 0
| 0
| 1
| 1
|
| 0
|
|
|-
|-
Line 997: Line 1,001:
| 0
| 0
| 1
| 1
|
| 1
|
|
|-
|-
Line 1,004: Line 1,008:
| 0
| 0
| 1
| 1
|
| 0
|
|
|-
|-
Line 1,011: Line 1,015:
| 0
| 0
| 32
| 32
|
| 0
|
|
|-
|-
Line 1,018: Line 1,022:
| 0
| 0
| 512
| 512
|
| 0
|
|
|-
|-
Line 1,025: Line 1,029:
| 0
| 0
| 1
| 1
|
| 1
|
|
|-
|-
Line 1,032: Line 1,036:
| 0
| 0
| 1
| 1
|
| 1
|
|
|-
|-
Line 1,039: Line 1,043:
| 0
| 0
| 1
| 1
|
| 1
|
|
|-
|-
Line 1,046: Line 1,050:
| 0
| 0
| 1
| 1
|
| 1
|
|
|-
|-
Line 1,053: Line 1,057:
| 0
| 0
| 255
| 255
|
| 195
|
|
|-
|-
Line 1,060: Line 1,064:
| 0
| 0
| 1
| 1
|
| 1
|
|
|-
|-
Line 1,067: Line 1,071:
| 1
| 1
| 4
| 4
|
| 1
|
|
|-
|-
Line 1,074: Line 1,078:
| 1
| 1
| 240
| 240
|
| 4
|
|
|-
|-
Line 1,081: Line 1,085:
| 0
| 0
| 2
| 2
|
| 1
|
|
|-
|-
Line 1,088: Line 1,092:
| 0
| 0
| 2
| 2
|
| 0
|
|
|-
|-
Line 1,095: Line 1,099:
| 0
| 0
| 1
| 1
|
| 1
|
|
|-
|-
Line 1,102: Line 1,106:
| 0
| 0
| 64
| 64
|
| 4
|
|
|-
|-
Line 1,109: Line 1,113:
| 0
| 0
| 1
| 1
|
| 0
|
|
|-
|-
Line 1,116: Line 1,120:
| 0
| 0
| 1
| 1
|
| 1
|
|
|-
|-
Line 1,123: Line 1,127:
| 0
| 0
| 10
| 10
|
| 1
|
|
|-
|-
Line 1,130: Line 1,134:
| 0
| 0
| 1000
| 1000
|
| 0
|
|
|-
|-
Line 1,137: Line 1,141:
| 0
| 0
| 25
| 25
|
| 7
|
|
|-
|-
Line 1,144: Line 1,148:
| 0
| 0
| 5
| 5
|
| 2
|
|
|-
|-
Line 1,151: Line 1,155:
| 0
| 0
| 1
| 1
|
| 1
|
|
|-
|-
Line 1,158: Line 1,162:
| 0
| 0
| 5
| 5
|
| 5
|
|
|-
|-
Line 1,165: Line 1,169:
| 0
| 0
| 1
| 1
|
| 1
|
|
|-
|-
Line 1,172: Line 1,176:
| 0
| 0
| 255
| 255
|
| 255
|
|
|-
|-
Line 1,179: Line 1,183:
| 1
| 1
| 255
| 255
|
| 225
|
|
|-
|-
Line 1,186: Line 1,190:
| 0
| 0
| 48000
| 48000
|
| 44100
|
|
|-
|-
Line 1,193: Line 1,197:
| 0
| 0
| 2
| 2
|
| 2
|
|
|-
|-
Line 1,200: Line 1,204:
| 0
| 0
| 256
| 256
|
| 32
|
|
|-
|-
Line 1,207: Line 1,211:
| 0
| 0
| 1
| 1
|
| 0
|
|
|-
|-
Line 1,214: Line 1,218:
| 0
| 0
| 3
| 3
|
| 0
|
|
|-
|-
Line 1,221: Line 1,225:
| 1
| 1
| 9
| 9
|
| 5
| touch devices only
| touch devices only
|-
|-
Line 1,228: Line 1,232:
| 1
| 1
| 9
| 9
|
| 5
| touch devices only
| touch devices only
|-
|-
Line 1,235: Line 1,239:
| 1
| 1
| 9
| 9
|
| 5
| touch devices only
| touch devices only
|-
|-
Line 1,242: Line 1,246:
| 1
| 1
| 9
| 9
|
| 5
| touch devices only
| touch devices only
|-
|-
Line 1,249: Line 1,253:
| 0
| 0
| 1
| 1
|
| 0
| touch devices only
| touch devices only
|-
|-
Line 1,256: Line 1,260:
| 0
| 0
| 10
| 10
|
| 1
|
|
|-
|-
Line 1,263: Line 1,267:
| 0
| 0
| 10
| 10
|
| 1
|
|
|-
|-
Line 1,270: Line 1,274:
| 0
| 0
| 10
| 10
|
| 0
|
|
|-
|-
| wchoice <string>
| wchoice <string>
|colspan="4"| sets weapon autoselection order
|colspan="3"| sets weapon autoselection order
| 3457860291
|
|
|-
|-
Line 1,452: Line 1,457:
|-
|-
| editorgridextent
| editorgridextent
|colspan="4"| sets the size of the 2D mode editing grid
| sets the size of the 2D mode editing grid
| 65536
| {{abbr|BXY_MAX|524288}}
| 131072
|
|
|-
|-
Line 1,460: Line 1,468:
|-
|-
| m32_clipping
| m32_clipping
|colspan="4"| toggles clipping mode
| toggles clipping mode
| 0
| 2
| 2
|
|
|-
|-
Line 1,472: Line 1,483:
|-
|-
| sensitivity <value>
| sensitivity <value>
|colspan="4"| changes the mouse sensitivity
|colspan="3"| changes the mouse sensitivity
| 1
|
|
|-
|-
| m32_2d3dmode
| m32_2d3dmode
|colspan="4"| experimental 2d/3d hybrid mode
| experimental 2d/3d hybrid mode
| 0
| 1
| 0
|
|
|-
|-
| pointhighlightdist <value>
| pointhighlightdist <value>
|colspan="4"| distance at which points are selected
|colspan="3"| distance at which points are selected
| 512
|
|
|-
|-
| linehighlightdist <value>
| linehighlightdist <value>
|colspan="4"| distance at which lines are selected
|colspan="3"| distance at which lines are selected
| 1024
|
|
|-
|-
| pk_turnaccel <value>
| pk_turnaccel <value>
|colspan="4"| sets turning acceleration+deceleration
| sets turning acceleration+deceleration
| 1
| 256
| 16
|
|
|-
|-
| pk_turndecel <value>
| pk_turndecel <value>
|colspan="4"| sets turning deceleration
| sets turning deceleration
| 1
| 128
| 12
|
|
|-
|-
| pk_uedaccel <value>
| pk_uedaccel <value>
|colspan="4"| sets UnrealEd movement speed factor (0-5, exponentially)
| sets UnrealEd movement speed factor (0-5, exponentially)
| 0
| 5
| 3
|
|
|-
|-
| pk_quickmapcycling
| pk_quickmapcycling
|colspan="4"| toggles quick cycling of maps with (Shift-)Ctrl-X
| toggles quick cycling of maps with (Shift-)Ctrl-X
| 0
| 1
| 1
|
|
|-
|-
Line 1,508: Line 1,537:
|-
|-
| show_heightindicators {0, 1 or 2}
| show_heightindicators {0, 1 or 2}
|colspan="4"| sets display of height indicators in 2D mode
| sets display of height indicators in 2D mode
| 0
| 2
| 1
|
|
|-
|-
| show_ambiencesounds {0, 1 or 2}
| show_ambiencesounds {0, 1 or 2}
|colspan="4"| sets display of MUSICANDSFX circles in 2D mode
| sets display of MUSICANDSFX circles in 2D mode
| 0
| 2
| 2
|
|
|-
|-
Line 1,524: Line 1,559:
|-
|-
| corruptcheck_heinum
| corruptcheck_heinum
|colspan="4"| toggles auto-correcting inconsistent c/fstat bit 2 and heinum (2: also warn)
| toggles auto-correcting inconsistent c/fstat bit 2 and heinum (2: also warn)
| 0
| 2
| 1
|
|
|-
|-

Latest revision as of 17:39, 28 January 2016

Feel free to ask the EDuke32 developers any questions you may have.

NOTE: Most defaults were taken from a Windows build.

Engine

Name Description Min Max Default Notes
osd.c
osdeditpal sets the palette of the OSD input text 0 MAXPALOOKUPS-1 12
osdpromptpal sets the palette of the OSD prompt 0 MAXPALOOKUPS-1 0
osdtextpal sets the palette of the OSD text 0 MAXPALOOKUPS-1 12
osdeditshade sets the shade of the OSD input text 0 7 0
osdtextshade sets the shade of the OSD text 0 7 2
osdpromptshade sets the shade of the OSD prompt INT8_MIN INT8_MAX 0
osdrows sets the number of visible lines of the OSD 1 400 20
osdtextmode set OSD text mode (0:graphical, 1:fast) 0 1 0
osdlogcutoff sets the maximal line count of the log file 0 262144 131072
osdhistorydepth sets the history depth, in lines OSDMINHISTORYDEPTH OSDMAXHISTORYDEPTH 32
alias creates an alias for calling multiple commands
clear clears the console text buffer
echo [text] echoes text to the console
exec <scriptfile> executes a script
fileinfo <file> gets a file's information
help displays help for the specified cvar or command; "listsymbols" to show all commands
history displays the console command history
listsymbols lists all registered functions, cvars and aliases
toggle toggles the value of a boolean cvar
unalias removes a command alias
baselayer.c
r_usenewaspect enable/disable new screen aspect ratio determination code 0 1 1
r_screenaspect if using r_usenewaspect and in fullscreen, screen aspect ratio in the form XXYY, e.g. 1609 for 16:9 0 9999 0
r_novoxmips turn off/on the use of mipmaps when rendering 8-bit voxels 0 1 1
r_voxels enable/disable automatic sprite->voxel rendering 0 1 1
r_tror_nomaskpass enable/disable additional pass in TROR software rendering 0 1 1 TROR-enabled builds only
r_windowpositioning enable/disable window position memory 0 1 0
vid_gamma adjusts gamma component of gamma ramp 0 10 1
vid_contrast adjusts contrast component of gamma ramp 0 10 1
vid_brightness adjusts brightness component of gamma ramp 0 10 0
debug1 debug counter -100000 100000 0 debug builds only
debug2 debug counter -100000 100000 0 debug builds only
debug_maskdrawmode Show mask draw orders 0 1 0 debug builds only
setrendermode <number> sets the engine's rendering mode 0
hicsetpalettetint sets palette tinting values debug builds only
glinfo shows OpenGL information about the current OpenGL mode OpenGL-enabled builds only
polymost.c
r_animsmoothing enable/disable model animation smoothing 0 1 1
r_downsize controls downsizing factor (quality) for hires textures 0 5 0
r_fullbrights enable/disable fullbright textures 0 1 1
r_parallaxskyclamping enable/disable parallaxed floor/ceiling sky texture clamping 0 1 1
r_parallaxskypanning enable/disable parallaxed floor/ceiling panning when drawing a parallaxing sky 0 1 0
r_detailmapping enable/disable detail mapping 0 1 1 disabled when GL extensions are disabled, such as GL ES targets
r_glowmapping enable/disable glow mapping 0 1 1 disabled when GL extensions are disabled, such as GL ES targets
r_polygonmode debugging feature 0 3 0 disabled in GL ES targets
r_texcache enable/disable OpenGL compressed texture cache 0 2 2 disabled in GL ES targets
r_memcache enable/disable texture cache memory cache 0 1 1 disabled in GL ES targets
r_texcompr enable/disable OpenGL texture compression 0 1 1 disabled in GL ES targets
r_redbluemode enable/disable experimental OpenGL red-blue glasses mode 0 1 0 currently disabled
r_shadescale multiplier for shading 0 10 1
r_shadescale_unbounded enable/disable allowance of complete blackness 0 1 0
r_swapinterval sets the GL swap interval (VSync) -1 1 0
r_npotwallmode enable/disable emulation of walls with non-power-of-two height textures (Polymost, r_hightile 0) 0 1 0
r_anisotropy changes the OpenGL texture anisotropy setting 0 16 1
r_texturemaxsize changes the maximum OpenGL texture size limit 0 4096 14
r_texturemiplevel changes the highest OpenGL mipmap level used 0 6 0
r_texfilter changes the texture filtering settings 0 5 2
r_usenewshading visibility/fog code: 0: orig. Polymost 1: 07/2011 2: linear 12/2012 3: no neg. start 03/2014 0 3 3
r_usetileshades enable/disable Polymost tile shade textures 0 2 2
r_vbocount sets the number of Vertex Buffer Objects to use when drawing models 1 256 64 disabled when GL extensions are disabled, such as GL ES targets
r_vbos enable/disable using Vertex Buffer Objects when drawing models 0 1 1 disabled when GL extensions are disabled, such as GL ES targets
r_vertexarrays enable/disable using vertex arrays when drawing models 0 1 1
r_projectionhack enable/disable projection hack 0 1 1
r_models enable/disable model rendering 0 1 1
r_nofog enable/disable GL fog 0 1 0
r_hightile enable/disable hightile texture rendering 0 1 1
r_preview_mouseaim toggles mouse aiming preview, use this to calibrate yxaspect in Polymost Mapster32 0 1 1
polymost.c (Polymer builds only)
r_pr_lighting enable/disable dynamic lights - restarts renderer 0 2 1
r_pr_normalmapping enable/disable virtual displacement mapping 0 1 1
r_pr_specularmapping enable/disable specular mapping 0 1 1
r_pr_shadows enable/disable dynamic shadows 0 1 1
r_pr_shadowcount maximal amount of shadow emitting lights on screen - you need to restart the renderer for it to take effect 0 64 5
r_pr_shadowdetail sets the shadow map resolution - you need to restart the renderer for it to take effect 0 5 4
r_pr_shadowfiltering enable/disable shadow edges filtering - you need to restart the renderer for it to take effect 0 1 1
r_pr_maxlightpasses the maximal amount of lights a single object can by affected by 0 PR_MAXLIGHTS 5
r_pr_maxlightpriority lowering that value removes less meaningful lights from the scene 0 PR_MAXLIGHTPRIORITY 6
r_pr_fov sets the field of vision in build angle 0 1023 426
r_pr_customaspect if non-zero, forces the 3D view aspect ratio 0 3 0
r_pr_billboardingmode face sprite display method. 0: classic mode; 1: polymost mode 0 1 1
r_pr_verbosity verbosity level of the polymer renderer 0 3 1
r_pr_wireframe toggles wireframe mode 0 1 0
r_pr_vbos contols Vertex Buffer Object usage. 0: no VBOs. 1: VBOs for map data. 2: VBOs for model data. 0 2 2
r_pr_buckets controls batching of primitives. 0: no batching. 1: buckets of materials. 0 1 0
r_pr_gpusmoothing toggles model animation interpolation 0 1 1
r_pr_overrideparallax overrides parallax mapping scale and bias values with values from the pr_parallaxscale and pr_parallaxbias cvars; use it to fine-tune DEF tokens 0 1 0
r_pr_parallaxscale overriden parallax mapping offset scale -10 10 0.1
r_pr_parallaxbias overriden parallax mapping offset bias -10 10 0
r_pr_overridespecular overrides specular material power and factor values with values from the pr_specularpower and pr_specularfactor cvars; use it to fine-tune DEF tokens 0 1 0
r_pr_specularpower overriden specular material power -10 1000 15
r_pr_specularfactor overriden specular material factor -10 1000 1
r_pr_highpalookups enable/disable highpalookups 0 1 1
r_pr_artmapping enable/disable art mapping 0 1 1
r_pr_overridehud overrides hud model parameters with values from the pr_hud* cvars; use it to fine-tune DEF tokens 0 1 0
r_pr_hudxadd overriden HUD xadd; see r_pr_overridehud -100 100 0
r_pr_hudyadd overriden HUD yadd; see r_pr_overridehud -100 100 0
r_pr_hudzadd overriden HUD zadd; see r_pr_overridehud -100 100 0
r_pr_hudangadd overriden HUD angadd; see r_pr_overridehud -1024 1024 0
r_pr_hudfov overriden HUD fov; see r_pr_overridehud 0 1023 426
r_pr_overridemodelscale overrides model scale if non-zero; use it to fine-tune DEF tokens 0 500 0
r_pr_ati_fboworkaround enable this to workaround an ATI driver bug that causes sprite shadows to be square - you need to restart the renderer for it to take effect 0 1 0
r_pr_ati_nodepthoffset enable this to workaround an ATI driver bug that causes sprite drawing to freeze the game on Radeon X1x00 hardware - you need to restart the renderer for it to take effect 0 1 0
r_pr_nullrender disable all draws when enabled, 2: disables updates too 0 3 0
winbits.c
r_togglecomposition enable/disable toggle of desktop composition when initializing screen modes 0 1 1 Windows builds only
winlayer.c
maxrefreshfreq maximum display frequency to set for OpenGL Polymost modes (0=no maximum) 60 RENDERTYPE=WIN builds only

Game-Specific

Name Description Min Max Default Notes
game.c
restartvid reinitialise the video mode
vidmode [xdim ydim] [bpp] [fullscreen] immediately change the video mode
map [filename] load a map
osdcmds.c
crosshair enable/disable crosshair 0 1 1
cl_autoaim enable/disable weapon autoaim 0 3 1
cl_automsg enable/disable automatically sending messages to all players 0 1 0
cl_autorun enable/disable autorun 0 1 1
cl_autovote enable/disable automatic voting 0 2 0
cl_cheatmask configure what cheats show in the cheats menu 0 ~0 0
cl_obituaries enable/disable multiplayer death messages 0 1 1
cl_democams enable/disable demo playback cameras 0 1 1
cl_idplayers enable/disable name display when aiming at opponents 0 1 1
cl_runmode enable/disable modernized run key operation 0 1 0
cl_showcoords show your position in the game world 0 2 0 mode 2 only in GL builds
cl_viewbob enable/disable player head bobbing 0 1 1
cl_weaponsway enable/disable player weapon swaying 0 1 1
cl_weaponswitch enable/disable auto weapon switching 0 7 3
color changes player palette 0 MAXPALOOKUPS-1 0
crosshairscale changes the size of the crosshair 10 100 50
demorec_diffs enable/disable diff recording in demos 0 1 1
demorec_force enable/disable forced demo recording 0 1 0
demorec_difftics sets game tic interval after which a diff is recorded 2 60*REALGAMETICSPERSEC 60
demorec_diffcompress Compression method for diffs. (0: none, 1: KSLZW) 0 1 1
demorec_synccompress Compression method for input. (0: none, 1: KSLZW) 0 1 1
demorec_seeds enable/disable recording of random seed for later sync checking 0 1 1
demoplay_diffs enable/disable application of diffs in demo playback 0 1 1
demoplay_showsync enable/disable display of sync status 0 1 1
hud_althud enable/disable alternate mini-hud 0 2 1
hud_bgstretch enable/disable background image stretching in wide resolutions 0 1 0
hud_messagetime length of time to display multiplayer chat messages 0 3600 120
hud_numbertile first tile in alt hud number set 0 MAXUSERTILES-10 2930
hud_numberpal pal for alt hud numbers 0 MAXPALOOKUPS-1 0
hud_shadows enable/disable althud shadows 0 1 1
hud_flashing enable/disable althud flashing 0 1 1
hud_glowingquotes enable/disable "glowing" quote text 0 1 1
hud_scale changes the hud scale 36 100 100
hud_showmapname enable/disable map name display on load 0 1 1
hud_stats enable/disable level statistics display 0 1 0
hud_textscale sets multiplayer chat message size 100 400 100
hud_weaponscale changes the weapon scale 10 100 100
hud_statusbarmode change overlay mode of status bar 0 1 1
hud_hidestick hide the touch input stick 0 1 0 touch devices only
in_joystick enables input from the joystick if it is present 0 1 0
in_mouse enables input from the mouse if it is present 0 1 1
in_aimmode 0:toggle, 1:hold to aim 0 1 0
in_mousebias emulates the original mouse code's weighting of input towards whichever axis is moving the most at any given time 0 32 0
in_mousedeadzone amount of mouse movement to filter out 0 512 0
in_mouseflip invert vertical mouse movement 0 1 1
in_mousemode toggles vertical mouse view 0 1 1
in_mousesmoothing enable/disable mouse input smoothing 0 1 1
mus_enabled enables/disables music 0 1 1
mus_volume controls music volume 0 255 195
osdhightile enable/disable hires art replacements for console text 0 1 1
osdscale adjust console text size 1 4 1
r_camrefreshdelay minimum delay between security camera sprite updates, 120 = 1 second 1 240 4
r_drawweapon enable/disable weapon drawing 0 2 1
r_showfps show the frame rate counter 0 2 0
r_shadows enable/disable sprite and model shadows 0 1 1
r_size change size of viewable area 0 64 4
r_rotatespritenowidescreen pass bit 1024 to all CON rotatesprite calls 0 1 0
r_precache enable/disable the pre-level caching routine 0 1 1
r_ambientlight sets the global map light level 0 10 1
r_maxfps limit the frame rate 0 1000 0
sensitivity changes the mouse sensitivity 0 25 7
skill changes the game skill setting 0 5 2
snd_ambience enables/disables ambient sounds 0 1 1
snd_duketalk enables/disables Duke's speech 0 5 5
snd_enabled enables/disables sound effects 0 1 1
snd_mastervolume master volume for sound system 0 255 255
snd_fxvolume volume of sound effects 1 255 225
snd_mixrate sound mixing rate 0 48000 44100
snd_numchannels the number of sound channels 0 2 2
snd_numvoices the number of concurrent sounds 0 256 32
snd_reversestereo reverses the stereo channels 0 1 0
team change team in multiplayer 0 3 0
touch_sens_move_x touch input sensitivity for moving forward/back 1 9 5 touch devices only
touch_sens_move_y touch input sensitivity for strafing 1 9 5 touch devices only
touch_sens_look_x touch input sensitivity for turning left/right 1 9 5 touch devices only
touch_sens_look_y touch input sensitivity for looking up/down 1 9 5 touch devices only
touch_invert invert look up/down touch input 0 1 0 touch devices only
vid_gamma adjusts gamma component of gamma ramp 0 10 1
vid_contrast adjusts contrast component of gamma ramp 0 10 1
vid_brightness adjusts brightness component of gamma ramp 0 10 0
wchoice <string> sets weapon autoselection order 3457860291
changelevel <volume> <level> warps to the given level no <volume> parameter when running a shareware game
map <mapfile> loads the given user map not available with a shareware game
demo <demofile or demonum> starts the given demo not available with a shareware game
addpath <path> adds path to game filesystem
bind <key> <string> associates a keypress with a string of console input. Type "bind showkeys" for a list of keys and "listsymbols" for a list of valid console commands.
cmenu <#> jumps to menu
crosshaircolor changes the crosshair color
connect connects to a multiplayer game
disconnect disconnects from the local multiplayer game
give <all|health|weapons|ammo|armor|keys|inventory> gives requested item
god toggles god mode
initgroupfile <path> adds a grp file into the game filesystem
debug debug builds only
kick <id> kicks a multiplayer client. See listplayers. network-enabled builds only
kickban <id> kicks a multiplayer client and prevents them from reconnecting. See listplayers. network-enabled builds only
listplayers lists currently connected multiplayer clients network-enabled builds only
music E<ep>L<lev> change music
name change your multiplayer nickname
noclip toggles clipping mode
password sets multiplayer game password
quicksave performs a quick save
quickload performs a quick load
quit exits the game immediately
exit exits the game immediately
restartmap restarts the current map
restartsound reinitializes the sound system
restartvid reinitializes the video mode
addlogvar <gamevar> prints the value of a gamevar non-Lunatic builds only
setvar <gamevar> <value> sets the value of a gamevar non-Lunatic builds only
setvarvar <gamevar1> <gamevar2> sets the value of <gamevar1> to <gamevar2> non-Lunatic builds only
setactorvar <actor#> <gamevar> <value> sets the value of <actor#>'s <gamevar> to <value> non-Lunatic builds only
lua "Lua code..." runs Lunatic code Lunatic builds only
screenshot takes a screenshot. See r_scrcaptureformat.
spawn <picnum> [palnum] [cstat] [ang] [x y z] spawns a sprite with the given properties
unbind <key> unbinds a key
unbindall unbinds all keys
vidmode <xdim> <ydim> <bpp> <fullscreen> change the video mode

Editor-Specific

Name Description Min Max Default Notes
build.c
restartvid reinitialize the video mode
vidmode <xdim> <ydim> <bpp> <fullscreen> immediately change the video mode
vidmode <xdim> <ydim> immediately change the video mode
astub.c
addpath <path> adds path to game filesystem
editorgridextent sets the size of the 2D mode editing grid 65536 BXY_MAX 131072
initgroupfile <path> adds a grp file into the game filesystem
m32_clipping toggles clipping mode 0 2 2
quit exits the editor immediately
exit exits the editor immediately
sensitivity <value> changes the mouse sensitivity 1
m32_2d3dmode experimental 2d/3d hybrid mode 0 1 0
pointhighlightdist <value> distance at which points are selected 512
linehighlightdist <value> distance at which lines are selected 1024
pk_turnaccel <value> sets turning acceleration+deceleration 1 256 16
pk_turndecel <value> sets turning deceleration 1 128 12
pk_uedaccel <value> sets UnrealEd movement speed factor (0-5, exponentially) 0 5 3
pk_quickmapcycling toggles quick cycling of maps with (Shift-)Ctrl-X 0 1 1
testplay_addparam "string" sets additional parameters for test playing
show_heightindicators {0, 1 or 2} sets display of height indicators in 2D mode 0 2 1
show_ambiencesounds {0, 1 or 2} sets display of MUSICANDSFX circles in 2D mode 0 2 2
corruptcheck_noalreadyrefd toggles ignoring of one-to-many red wall connections
corruptcheck_game_duke3d toggles ignoring of Duke3D issues
corruptcheck_heinum toggles auto-correcting inconsistent c/fstat bit 2 and heinum (2: also warn) 0 2 1
keeptexturestretch toggles keeping texture stretching when dragging wall vertices
corruptcheck {<seconds>|now|tryfix} sets auto corruption check interval if <seconds> given, otherwise as indicated
tint <pal> <r> <g> <b> <flags> queries or sets hightile tinting OpenGL-enabled builds only
lua "Lua code..." runs Lua code Lunatic builds only
include <filenames...> compiles one or more M32 script files
do (m32 script ...) executes M32 script statements
script_info shows information about compiled M32 script
script_expertmode <value> toggles M32 script expert mode
enableevent {all|EVENT_...|(event number)}
disableevent {all|EVENT_...|(event number)}
osd_tryscript toggles execution of M32 script on invalid OSD command
sideview_reversehorizrot toggles reversion of Q and W keys in side view mode
disasm [s|e] <state or event number> debug builds only