Console commands: Difference between revisions
Jump to navigation
Jump to search
Hendricks266 (talk | contribs) No edit summary |
Hendricks266 (talk | contribs) empty default column |
||
Line 4: | Line 4: | ||
{| border="1" style="font-size:10pt;" class="wikitable" | {| border="1" style="font-size:10pt;" class="wikitable" | ||
! Name !! Description !! Min !! Max !! Notes | ! Name !! Description !! Min !! Max !! Default !! Notes | ||
|- | |- | ||
!colspan=" | !colspan="6"| osd.c | ||
|- | |- | ||
| osdeditpal | | osdeditpal | ||
Line 12: | Line 12: | ||
| 0 | | 0 | ||
| {{abbr|MAXPALOOKUPS-1|255}} | | {{abbr|MAXPALOOKUPS-1|255}} | ||
| | |||
| | | | ||
|- | |- | ||
Line 18: | Line 19: | ||
| 0 | | 0 | ||
| {{abbr|MAXPALOOKUPS-1|255}} | | {{abbr|MAXPALOOKUPS-1|255}} | ||
| | |||
| | | | ||
|- | |- | ||
Line 24: | Line 26: | ||
| 0 | | 0 | ||
| {{abbr|MAXPALOOKUPS-1|255}} | | {{abbr|MAXPALOOKUPS-1|255}} | ||
| | |||
| | | | ||
|- | |- | ||
Line 30: | Line 33: | ||
| 0 | | 0 | ||
| 7 | | 7 | ||
| | |||
| | | | ||
|- | |- | ||
Line 36: | Line 40: | ||
| 0 | | 0 | ||
| 7 | | 7 | ||
| | |||
| | | | ||
|- | |- | ||
Line 42: | Line 47: | ||
| {{abbr|INT8_MIN|-128}} | | {{abbr|INT8_MIN|-128}} | ||
| {{abbr|INT8_MAX|127}} | | {{abbr|INT8_MAX|127}} | ||
| | |||
| | | | ||
|- | |- | ||
Line 48: | Line 54: | ||
| 1 | | 1 | ||
| 400 | | 400 | ||
| | |||
| | | | ||
|- | |- | ||
Line 54: | Line 61: | ||
| 0 | | 0 | ||
| 1 | | 1 | ||
| | |||
| | | | ||
|- | |- | ||
Line 60: | Line 68: | ||
| 0 | | 0 | ||
| 262144 | | 262144 | ||
| | |||
| | | | ||
|- | |- | ||
Line 66: | Line 75: | ||
| {{abbr|OSDMINHISTORYDEPTH|32}} | | {{abbr|OSDMINHISTORYDEPTH|32}} | ||
| {{abbr|OSDMAXHISTORYDEPTH|256}} | | {{abbr|OSDMAXHISTORYDEPTH|256}} | ||
| | |||
| | | | ||
|- | |- | ||
| alias | | alias | ||
|colspan=" | |colspan="4"| creates an alias for calling multiple commands | ||
| | | | ||
|- | |- | ||
| clear | | clear | ||
|colspan=" | |colspan="4"| clears the console text buffer | ||
| | | | ||
|- | |- | ||
| echo <nowiki>[</nowiki>text<nowiki>]</nowiki> | | echo <nowiki>[</nowiki>text<nowiki>]</nowiki> | ||
|colspan=" | |colspan="4"| echoes text to the console | ||
| | | | ||
|- | |- | ||
| exec <scriptfile> | | exec <scriptfile> | ||
|colspan=" | |colspan="4"| executes a script | ||
| | | | ||
|- | |- | ||
| fileinfo <file> | | fileinfo <file> | ||
|colspan=" | |colspan="4"| gets a file's information | ||
| | | | ||
|- | |- | ||
| help | | help | ||
|colspan=" | |colspan="4"| displays help for the specified cvar or command; "listsymbols" to show all commands | ||
| | | | ||
|- | |- | ||
| history | | history | ||
|colspan=" | |colspan="4"| displays the console command history | ||
| | | | ||
|- | |- | ||
| listsymbols | | listsymbols | ||
|colspan=" | |colspan="4"| lists all registered functions, cvars and aliases | ||
| | | | ||
|- | |- | ||
| toggle | | toggle | ||
|colspan=" | |colspan="4"| toggles the value of a boolean cvar | ||
| | | | ||
|- | |- | ||
| unalias | | unalias | ||
|colspan=" | |colspan="4"| removes a command alias | ||
| | | | ||
|- | |- | ||
!colspan=" | !colspan="6"| baselayer.c | ||
|- | |- | ||
| r_usenewaspect | | r_usenewaspect | ||
Line 114: | Line 124: | ||
| 0 | | 0 | ||
| 1 | | 1 | ||
| | |||
| | | | ||
|- | |- | ||
Line 120: | Line 131: | ||
| 0 | | 0 | ||
| 9999 | | 9999 | ||
| | |||
| | | | ||
|- | |- | ||
Line 126: | Line 138: | ||
| 0 | | 0 | ||
| 1 | | 1 | ||
| | |||
| | | | ||
|- | |- | ||
Line 132: | Line 145: | ||
| 0 | | 0 | ||
| 1 | | 1 | ||
| | |||
| | | | ||
|- | |- | ||
Line 138: | Line 152: | ||
| 0 | | 0 | ||
| 1 | | 1 | ||
| | |||
| TROR-enabled builds only | | TROR-enabled builds only | ||
|- | |- | ||
Line 144: | Line 159: | ||
| 0 | | 0 | ||
| 1 | | 1 | ||
| | |||
| | | | ||
|- | |- | ||
Line 150: | Line 166: | ||
| 0 | | 0 | ||
| 10 | | 10 | ||
| | |||
| | | | ||
|- | |- | ||
Line 156: | Line 173: | ||
| 0 | | 0 | ||
| 10 | | 10 | ||
| | |||
| | | | ||
|- | |- | ||
Line 162: | Line 180: | ||
| 0 | | 0 | ||
| 10 | | 10 | ||
| | |||
| | | | ||
|- | |- | ||
Line 168: | Line 187: | ||
| -100000 | | -100000 | ||
| 100000 | | 100000 | ||
| | |||
| debug builds only | | debug builds only | ||
|- | |- | ||
Line 174: | Line 194: | ||
| -100000 | | -100000 | ||
| 100000 | | 100000 | ||
| | |||
| debug builds only | | debug builds only | ||
|- | |- | ||
Line 180: | Line 201: | ||
| 0 | | 0 | ||
| 1 | | 1 | ||
| | |||
| debug builds only | | debug builds only | ||
|- | |- | ||
| setrendermode <number> | | setrendermode <number> | ||
|colspan=" | |colspan="4"| sets the engine's [[rendering mode]] | ||
| | | | ||
|- | |- | ||
| hicsetpalettetint | | hicsetpalettetint | ||
|colspan=" | |colspan="4"| sets palette tinting values | ||
| debug builds only | | debug builds only | ||
|- | |- | ||
| glinfo | | glinfo | ||
|colspan=" | |colspan="4"| shows OpenGL information about the current OpenGL mode | ||
| OpenGL-enabled builds only | | OpenGL-enabled builds only | ||
|- | |- | ||
!colspan=" | !colspan="6"| polymost.c | ||
|- | |- | ||
| r_animsmoothing | | r_animsmoothing | ||
Line 200: | Line 222: | ||
| 0 | | 0 | ||
| 1 | | 1 | ||
| | |||
| | | | ||
|- | |- | ||
Line 206: | Line 229: | ||
| 0 | | 0 | ||
| 5 | | 5 | ||
| | |||
| | | | ||
|- | |- | ||
Line 212: | Line 236: | ||
| 0 | | 0 | ||
| 1 | | 1 | ||
| | |||
| | | | ||
|- | |- | ||
Line 218: | Line 243: | ||
| 0 | | 0 | ||
| 1 | | 1 | ||
| | |||
| | | | ||
|- | |- | ||
Line 224: | Line 250: | ||
| 0 | | 0 | ||
| 1 | | 1 | ||
| | |||
| | | | ||
|- | |- | ||
Line 230: | Line 257: | ||
| 0 | | 0 | ||
| 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 236: | Line 264: | ||
| 0 | | 0 | ||
| 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 242: | Line 271: | ||
| 0 | | 0 | ||
| 3 | | 3 | ||
| | |||
| disabled in GL ES targets | | disabled in GL ES targets | ||
|- | |- | ||
Line 248: | Line 278: | ||
| 0 | | 0 | ||
| 2 | | 2 | ||
| | |||
| disabled in GL ES targets | | disabled in GL ES targets | ||
|- | |- | ||
Line 254: | Line 285: | ||
| 0 | | 0 | ||
| 1 | | 1 | ||
| | |||
| disabled in GL ES targets | | disabled in GL ES targets | ||
|- | |- | ||
Line 260: | Line 292: | ||
| 0 | | 0 | ||
| 1 | | 1 | ||
| | |||
| disabled in GL ES targets | | disabled in GL ES targets | ||
|- | |- | ||
Line 266: | Line 299: | ||
| 0 | | 0 | ||
| 1 | | 1 | ||
| | |||
| currently disabled | | currently disabled | ||
|- | |- | ||
Line 272: | Line 306: | ||
| 0 | | 0 | ||
| 10 | | 10 | ||
| | |||
| | | | ||
|- | |- | ||
Line 278: | Line 313: | ||
| 0 | | 0 | ||
| 1 | | 1 | ||
| | |||
| | | | ||
|- | |- | ||
Line 284: | Line 320: | ||
| -1 | | -1 | ||
| 1 | | 1 | ||
| | |||
| | | | ||
|- | |- | ||
Line 290: | Line 327: | ||
| 0 | | 0 | ||
| 1 | | 1 | ||
| | |||
| | | | ||
|- | |- | ||
Line 296: | Line 334: | ||
| 0 | | 0 | ||
| 16 | | 16 | ||
| | |||
| | | | ||
|- | |- | ||
Line 302: | Line 341: | ||
| 0 | | 0 | ||
| 4096 | | 4096 | ||
| | |||
| | | | ||
|- | |- | ||
Line 308: | Line 348: | ||
| 0 | | 0 | ||
| 6 | | 6 | ||
| | |||
| | | | ||
|- | |- | ||
Line 314: | Line 355: | ||
| 0 | | 0 | ||
| 5 | | 5 | ||
| | |||
| | | | ||
|- | |- | ||
Line 320: | Line 362: | ||
| 0 | | 0 | ||
| 3 | | 3 | ||
| | |||
| | | | ||
|- | |- | ||
Line 326: | Line 369: | ||
| 0 | | 0 | ||
| 2 | | 2 | ||
| | |||
| | | | ||
|- | |- | ||
Line 332: | Line 376: | ||
| 1 | | 1 | ||
| 256 | | 256 | ||
| | |||
| disabled when GL extensions are disabled, such as GL ES targets | | disabled when GL extensions are disabled, such as GL ES targets | ||
|- | |- | ||
Line 338: | Line 383: | ||
| 0 | | 0 | ||
| 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 344: | Line 390: | ||
| 0 | | 0 | ||
| 1 | | 1 | ||
| | |||
| | | | ||
|- | |- | ||
Line 350: | Line 397: | ||
| 0 | | 0 | ||
| 1 | | 1 | ||
| | |||
| | | | ||
|- | |- | ||
Line 356: | Line 404: | ||
| 0 | | 0 | ||
| 1 | | 1 | ||
| | |||
| | | | ||
|- | |- | ||
Line 362: | Line 411: | ||
| 0 | | 0 | ||
| 1 | | 1 | ||
| | |||
| | | | ||
|- | |- | ||
Line 368: | Line 418: | ||
| 0 | | 0 | ||
| 1 | | 1 | ||
| | |||
| | | | ||
|- | |- | ||
Line 374: | Line 425: | ||
| 0 | | 0 | ||
| 1 | | 1 | ||
| | |||
| | | | ||
|- | |- | ||
!colspan=" | !colspan="6"| polymost.c (Polymer builds only) | ||
|- | |- | ||
| r_pr_lighting | | r_pr_lighting | ||
Line 382: | Line 434: | ||
| 0 | | 0 | ||
| 2 | | 2 | ||
| | |||
| | | | ||
|- | |- | ||
Line 388: | Line 441: | ||
| 0 | | 0 | ||
| 1 | | 1 | ||
| | |||
| | | | ||
|- | |- | ||
Line 394: | Line 448: | ||
| 0 | | 0 | ||
| 1 | | 1 | ||
| | |||
| | | | ||
|- | |- | ||
Line 400: | Line 455: | ||
| 0 | | 0 | ||
| 1 | | 1 | ||
| | |||
| | | | ||
|- | |- | ||
Line 406: | Line 462: | ||
| 0 | | 0 | ||
| 64 | | 64 | ||
| | |||
| | | | ||
|- | |- | ||
Line 412: | Line 469: | ||
| 0 | | 0 | ||
| 5 | | 5 | ||
| | |||
| | | | ||
|- | |- | ||
Line 418: | Line 476: | ||
| 0 | | 0 | ||
| 1 | | 1 | ||
| | |||
| | | | ||
|- | |- | ||
Line 424: | Line 483: | ||
| 0 | | 0 | ||
| {{abbr|PR_MAXLIGHTS|1024}} | | {{abbr|PR_MAXLIGHTS|1024}} | ||
| | |||
| | | | ||
|- | |- | ||
Line 430: | Line 490: | ||
| 0 | | 0 | ||
| {{abbr|PR_MAXLIGHTPRIORITY|6}} | | {{abbr|PR_MAXLIGHTPRIORITY|6}} | ||
| | |||
| | | | ||
|- | |- | ||
Line 436: | Line 497: | ||
| 0 | | 0 | ||
| 1023 | | 1023 | ||
| | |||
| | | | ||
|- | |- | ||
Line 442: | Line 504: | ||
| 0 | | 0 | ||
| 3 | | 3 | ||
| | |||
| | | | ||
|- | |- | ||
Line 448: | Line 511: | ||
| 0 | | 0 | ||
| 1 | | 1 | ||
| | |||
| | | | ||
|- | |- | ||
Line 454: | Line 518: | ||
| 0 | | 0 | ||
| 3 | | 3 | ||
| | |||
| | | | ||
|- | |- | ||
Line 460: | Line 525: | ||
| 0 | | 0 | ||
| 1 | | 1 | ||
| | |||
| | | | ||
|- | |- | ||
Line 466: | Line 532: | ||
| 0 | | 0 | ||
| 2 | | 2 | ||
| | |||
| | | | ||
|- | |- | ||
Line 472: | Line 539: | ||
| 0 | | 0 | ||
| 1 | | 1 | ||
| | |||
| | | | ||
|- | |- | ||
Line 478: | Line 546: | ||
| 0 | | 0 | ||
| 1 | | 1 | ||
| | |||
| | | | ||
|- | |- | ||
Line 484: | Line 553: | ||
| 0 | | 0 | ||
| 1 | | 1 | ||
| | |||
| | | | ||
|- | |- | ||
Line 490: | Line 560: | ||
| -10 | | -10 | ||
| 10 | | 10 | ||
| | |||
| | | | ||
|- | |- | ||
Line 496: | Line 567: | ||
| -10 | | -10 | ||
| 10 | | 10 | ||
| | |||
| | | | ||
|- | |- | ||
Line 502: | Line 574: | ||
| 0 | | 0 | ||
| 1 | | 1 | ||
| | |||
| | | | ||
|- | |- | ||
Line 508: | Line 581: | ||
| -10 | | -10 | ||
| 1000 | | 1000 | ||
| | |||
| | | | ||
|- | |- | ||
Line 514: | Line 588: | ||
| -10 | | -10 | ||
| 1000 | | 1000 | ||
| | |||
| | | | ||
|- | |- | ||
Line 520: | Line 595: | ||
| 0 | | 0 | ||
| 1 | | 1 | ||
| | |||
| | | | ||
|- | |- | ||
Line 526: | Line 602: | ||
| 0 | | 0 | ||
| 1 | | 1 | ||
| | |||
| | | | ||
|- | |- | ||
Line 532: | Line 609: | ||
| 0 | | 0 | ||
| 1 | | 1 | ||
| | |||
| | | | ||
|- | |- | ||
Line 538: | Line 616: | ||
| -100 | | -100 | ||
| 100 | | 100 | ||
| | |||
| | | | ||
|- | |- | ||
Line 544: | Line 623: | ||
| -100 | | -100 | ||
| 100 | | 100 | ||
| | |||
| | | | ||
|- | |- | ||
Line 550: | Line 630: | ||
| -100 | | -100 | ||
| 100 | | 100 | ||
| | |||
| | | | ||
|- | |- | ||
Line 556: | Line 637: | ||
| -1024 | | -1024 | ||
| 1024 | | 1024 | ||
| | |||
| | | | ||
|- | |- | ||
Line 562: | Line 644: | ||
| 0 | | 0 | ||
| 1023 | | 1023 | ||
| | |||
| | | | ||
|- | |- | ||
Line 568: | Line 651: | ||
| 0 | | 0 | ||
| 500 | | 500 | ||
| | |||
| | | | ||
|- | |- | ||
Line 574: | Line 658: | ||
| 0 | | 0 | ||
| 1 | | 1 | ||
| | |||
| | | | ||
|- | |- | ||
Line 580: | Line 665: | ||
| 0 | | 0 | ||
| 1 | | 1 | ||
| | |||
| | | | ||
|- | |- | ||
Line 586: | Line 672: | ||
| 0 | | 0 | ||
| 3 | | 3 | ||
| | |||
| | | | ||
|- | |- | ||
!colspan=" | !colspan="6"| winbits.c | ||
|- | |- | ||
| r_togglecomposition | | r_togglecomposition | ||
Line 594: | Line 681: | ||
| 0 | | 0 | ||
| 1 | | 1 | ||
| | |||
| Windows builds only | | Windows builds only | ||
|- | |- | ||
!colspan=" | !colspan="6"| winlayer.c | ||
|- | |- | ||
| maxrefreshfreq | | maxrefreshfreq | ||
|colspan=" | |colspan="4"| maximum display frequency to set for OpenGL Polymost modes (0=no maximum) | ||
| RENDERTYPE=WIN builds only | | RENDERTYPE=WIN builds only | ||
|} | |} | ||
Line 606: | Line 694: | ||
{| border="1" style="font-size:10pt;" class="wikitable" | {| border="1" style="font-size:10pt;" class="wikitable" | ||
! Name !! Description !! Min !! Max !! Notes | ! Name !! Description !! Min !! Max !! Default !! Notes | ||
|- | |- | ||
!colspan=" | !colspan="6"| game.c | ||
|- | |- | ||
| restartvid | | restartvid | ||
|colspan=" | |colspan="4"| reinitialise the video mode | ||
| | | | ||
|- | |- | ||
| vidmode <nowiki>[</nowiki>xdim ydim<nowiki>]</nowiki> <nowiki>[</nowiki>bpp<nowiki>]</nowiki> <nowiki>[</nowiki>fullscreen<nowiki>]</nowiki> | | vidmode <nowiki>[</nowiki>xdim ydim<nowiki>]</nowiki> <nowiki>[</nowiki>bpp<nowiki>]</nowiki> <nowiki>[</nowiki>fullscreen<nowiki>]</nowiki> | ||
|colspan=" | |colspan="4"| immediately change the video mode | ||
| | | | ||
|- | |- | ||
| map <nowiki>[</nowiki>filename<nowiki>]</nowiki> | | map <nowiki>[</nowiki>filename<nowiki>]</nowiki> | ||
|colspan=" | |colspan="4"| load a map | ||
| | | | ||
|- | |- | ||
!colspan=" | !colspan="6"| osdcmds.c | ||
|- | |- | ||
| crosshair | | crosshair | ||
Line 628: | Line 716: | ||
| 0 | | 0 | ||
| 1 | | 1 | ||
| | |||
| | | | ||
|- | |- | ||
Line 634: | Line 723: | ||
| 0 | | 0 | ||
| 3 | | 3 | ||
| | |||
| | | | ||
|- | |- | ||
Line 640: | Line 730: | ||
| 0 | | 0 | ||
| 1 | | 1 | ||
| | |||
| | | | ||
|- | |- | ||
Line 646: | Line 737: | ||
| 0 | | 0 | ||
| 1 | | 1 | ||
| | |||
| | | | ||
|- | |- | ||
Line 652: | Line 744: | ||
| 0 | | 0 | ||
| 2 | | 2 | ||
| | |||
| | | | ||
|- | |- | ||
Line 658: | Line 751: | ||
| 0 | | 0 | ||
| {{abbr|~0|4294967295}} | | {{abbr|~0|4294967295}} | ||
| | |||
| | | | ||
|- | |- | ||
Line 664: | Line 758: | ||
| 0 | | 0 | ||
| 1 | | 1 | ||
| | |||
| | | | ||
|- | |- | ||
Line 670: | Line 765: | ||
| 0 | | 0 | ||
| 1 | | 1 | ||
| | |||
| | | | ||
|- | |- | ||
Line 676: | Line 772: | ||
| 0 | | 0 | ||
| 1 | | 1 | ||
| | |||
| | | | ||
|- | |- | ||
Line 682: | Line 779: | ||
| 0 | | 0 | ||
| 1 | | 1 | ||
| | |||
| | | | ||
|- | |- | ||
Line 688: | Line 786: | ||
| 0 | | 0 | ||
| 2 | | 2 | ||
| | |||
| mode 2 only in GL builds | | mode 2 only in GL builds | ||
Line 695: | Line 794: | ||
| 0 | | 0 | ||
| 1 | | 1 | ||
| | |||
| | | | ||
|- | |- | ||
Line 701: | Line 801: | ||
| 0 | | 0 | ||
| 1 | | 1 | ||
| | |||
| | | | ||
|- | |- | ||
Line 707: | Line 808: | ||
| 0 | | 0 | ||
| 7 | | 7 | ||
| | |||
| | | | ||
|- | |- | ||
Line 713: | Line 815: | ||
| 0 | | 0 | ||
| {{abbr|MAXPALOOKUPS-1|255}} | | {{abbr|MAXPALOOKUPS-1|255}} | ||
| | |||
| | | | ||
|- | |- | ||
Line 719: | Line 822: | ||
| 10 | | 10 | ||
| 100 | | 100 | ||
| | |||
| | | | ||
|- | |- | ||
Line 725: | Line 829: | ||
| 0 | | 0 | ||
| 1 | | 1 | ||
| | |||
| | | | ||
|- | |- | ||
Line 731: | Line 836: | ||
| 0 | | 0 | ||
| 1 | | 1 | ||
| | |||
| | | | ||
|- | |- | ||
Line 737: | Line 843: | ||
| 2 | | 2 | ||
| {{abbr|60*REALGAMETICSPERSEC|1800}} | | {{abbr|60*REALGAMETICSPERSEC|1800}} | ||
| | |||
| | | | ||
|- | |- | ||
Line 743: | Line 850: | ||
| 0 | | 0 | ||
| 1 | | 1 | ||
| | |||
| | | | ||
|- | |- | ||
Line 749: | Line 857: | ||
| 0 | | 0 | ||
| 1 | | 1 | ||
| | |||
| | | | ||
|- | |- | ||
Line 755: | Line 864: | ||
| 0 | | 0 | ||
| 1 | | 1 | ||
| | |||
| | | | ||
|- | |- | ||
Line 761: | Line 871: | ||
| 0 | | 0 | ||
| 1 | | 1 | ||
| | |||
| | | | ||
|- | |- | ||
Line 767: | Line 878: | ||
| 0 | | 0 | ||
| 1 | | 1 | ||
| | |||
| | | | ||
|- | |- | ||
Line 773: | Line 885: | ||
| 0 | | 0 | ||
| 2 | | 2 | ||
| | |||
| | | | ||
|- | |- | ||
Line 779: | Line 892: | ||
| 0 | | 0 | ||
| 1 | | 1 | ||
| | |||
| | | | ||
|- | |- | ||
Line 785: | Line 899: | ||
| 0 | | 0 | ||
| 3600 | | 3600 | ||
| | |||
| | | | ||
|- | |- | ||
Line 791: | Line 906: | ||
| 0 | | 0 | ||
| {{abbr|MAXUSERTILES-10|30694}} | | {{abbr|MAXUSERTILES-10|30694}} | ||
| | |||
| | | | ||
|- | |- | ||
Line 797: | Line 913: | ||
| 0 | | 0 | ||
| {{abbr|MAXPALOOKUPS-1|255}} | | {{abbr|MAXPALOOKUPS-1|255}} | ||
| | |||
| | | | ||
|- | |- | ||
Line 803: | Line 920: | ||
| 0 | | 0 | ||
| 1 | | 1 | ||
| | |||
| | | | ||
|- | |- | ||
Line 809: | Line 927: | ||
| 0 | | 0 | ||
| 1 | | 1 | ||
| | |||
| | | | ||
|- | |- | ||
Line 815: | Line 934: | ||
| 0 | | 0 | ||
| 1 | | 1 | ||
| | |||
| | | | ||
|- | |- | ||
Line 821: | Line 941: | ||
| 36 | | 36 | ||
| 100 | | 100 | ||
| | |||
| | | | ||
|- | |- | ||
Line 827: | Line 948: | ||
| 0 | | 0 | ||
| 1 | | 1 | ||
| | |||
| | | | ||
|- | |- | ||
Line 833: | Line 955: | ||
| 0 | | 0 | ||
| 1 | | 1 | ||
| | |||
| | | | ||
|- | |- | ||
Line 839: | Line 962: | ||
| 100 | | 100 | ||
| 400 | | 400 | ||
| | |||
| | | | ||
|- | |- | ||
Line 845: | Line 969: | ||
| 10 | | 10 | ||
| 100 | | 100 | ||
| | |||
| | | | ||
|- | |- | ||
Line 851: | Line 976: | ||
| 0 | | 0 | ||
| 1 | | 1 | ||
| | |||
| | | | ||
|- | |- | ||
Line 857: | Line 983: | ||
| 0 | | 0 | ||
| 1 | | 1 | ||
| | |||
| touch devices only | | touch devices only | ||
|- | |- | ||
Line 863: | Line 990: | ||
| 0 | | 0 | ||
| 1 | | 1 | ||
| | |||
| | | | ||
|- | |- | ||
Line 869: | Line 997: | ||
| 0 | | 0 | ||
| 1 | | 1 | ||
| | |||
| | | | ||
|- | |- | ||
Line 875: | Line 1,004: | ||
| 0 | | 0 | ||
| 1 | | 1 | ||
| | |||
| | | | ||
|- | |- | ||
Line 881: | Line 1,011: | ||
| 0 | | 0 | ||
| 32 | | 32 | ||
| | |||
| | | | ||
|- | |- | ||
Line 887: | Line 1,018: | ||
| 0 | | 0 | ||
| 512 | | 512 | ||
| | |||
| | | | ||
|- | |- | ||
Line 893: | Line 1,025: | ||
| 0 | | 0 | ||
| 1 | | 1 | ||
| | |||
| | | | ||
|- | |- | ||
Line 899: | Line 1,032: | ||
| 0 | | 0 | ||
| 1 | | 1 | ||
| | |||
| | | | ||
|- | |- | ||
Line 905: | Line 1,039: | ||
| 0 | | 0 | ||
| 1 | | 1 | ||
| | |||
| | | | ||
|- | |- | ||
Line 911: | Line 1,046: | ||
| 0 | | 0 | ||
| 1 | | 1 | ||
| | |||
| | | | ||
|- | |- | ||
Line 917: | Line 1,053: | ||
| 0 | | 0 | ||
| 255 | | 255 | ||
| | |||
| | | | ||
|- | |- | ||
Line 923: | Line 1,060: | ||
| 0 | | 0 | ||
| 1 | | 1 | ||
| | |||
| | | | ||
|- | |- | ||
Line 929: | Line 1,067: | ||
| 1 | | 1 | ||
| 4 | | 4 | ||
| | |||
| | | | ||
|- | |- | ||
Line 935: | Line 1,074: | ||
| 1 | | 1 | ||
| 240 | | 240 | ||
| | |||
| | | | ||
|- | |- | ||
Line 941: | Line 1,081: | ||
| 0 | | 0 | ||
| 2 | | 2 | ||
| | |||
| | | | ||
|- | |- | ||
Line 947: | Line 1,088: | ||
| 0 | | 0 | ||
| 2 | | 2 | ||
| | |||
| | | | ||
|- | |- | ||
Line 953: | Line 1,095: | ||
| 0 | | 0 | ||
| 1 | | 1 | ||
| | |||
| | | | ||
|- | |- | ||
Line 959: | Line 1,102: | ||
| 0 | | 0 | ||
| 64 | | 64 | ||
| | |||
| | | | ||
|- | |- | ||
Line 965: | Line 1,109: | ||
| 0 | | 0 | ||
| 1 | | 1 | ||
| | |||
| | | | ||
|- | |- | ||
Line 971: | Line 1,116: | ||
| 0 | | 0 | ||
| 1 | | 1 | ||
| | |||
| | | | ||
|- | |- | ||
Line 977: | Line 1,123: | ||
| 0 | | 0 | ||
| 10 | | 10 | ||
| | |||
| | | | ||
|- | |- | ||
Line 983: | Line 1,130: | ||
| 0 | | 0 | ||
| 1000 | | 1000 | ||
| | |||
| | | | ||
|- | |- | ||
Line 989: | Line 1,137: | ||
| 0 | | 0 | ||
| 25 | | 25 | ||
| | |||
| | | | ||
|- | |- | ||
Line 995: | Line 1,144: | ||
| 0 | | 0 | ||
| 5 | | 5 | ||
| | |||
| | | | ||
|- | |- | ||
Line 1,001: | Line 1,151: | ||
| 0 | | 0 | ||
| 1 | | 1 | ||
| | |||
| | | | ||
|- | |- | ||
Line 1,007: | Line 1,158: | ||
| 0 | | 0 | ||
| 5 | | 5 | ||
| | |||
| | | | ||
|- | |- | ||
Line 1,013: | Line 1,165: | ||
| 0 | | 0 | ||
| 1 | | 1 | ||
| | |||
| | | | ||
|- | |- | ||
Line 1,019: | Line 1,172: | ||
| 0 | | 0 | ||
| 255 | | 255 | ||
| | |||
| | | | ||
|- | |- | ||
Line 1,025: | Line 1,179: | ||
| 1 | | 1 | ||
| 255 | | 255 | ||
| | |||
| | | | ||
|- | |- | ||
Line 1,031: | Line 1,186: | ||
| 0 | | 0 | ||
| 48000 | | 48000 | ||
| | |||
| | | | ||
|- | |- | ||
Line 1,037: | Line 1,193: | ||
| 0 | | 0 | ||
| 2 | | 2 | ||
| | |||
| | | | ||
|- | |- | ||
Line 1,043: | Line 1,200: | ||
| 0 | | 0 | ||
| 256 | | 256 | ||
| | |||
| | | | ||
|- | |- | ||
Line 1,049: | Line 1,207: | ||
| 0 | | 0 | ||
| 1 | | 1 | ||
| | |||
| | | | ||
|- | |- | ||
Line 1,055: | Line 1,214: | ||
| 0 | | 0 | ||
| 3 | | 3 | ||
| | |||
| | | | ||
|- | |- | ||
Line 1,061: | Line 1,221: | ||
| 1 | | 1 | ||
| 9 | | 9 | ||
| | |||
| touch devices only | | touch devices only | ||
|- | |- | ||
Line 1,067: | Line 1,228: | ||
| 1 | | 1 | ||
| 9 | | 9 | ||
| | |||
| touch devices only | | touch devices only | ||
|- | |- | ||
Line 1,073: | Line 1,235: | ||
| 1 | | 1 | ||
| 9 | | 9 | ||
| | |||
| touch devices only | | touch devices only | ||
|- | |- | ||
Line 1,079: | Line 1,242: | ||
| 1 | | 1 | ||
| 9 | | 9 | ||
| | |||
| touch devices only | | touch devices only | ||
|- | |- | ||
Line 1,085: | Line 1,249: | ||
| 0 | | 0 | ||
| 1 | | 1 | ||
| | |||
| touch devices only | | touch devices only | ||
|- | |- | ||
Line 1,091: | Line 1,256: | ||
| 0 | | 0 | ||
| 10 | | 10 | ||
| | |||
| | | | ||
|- | |- | ||
Line 1,097: | Line 1,263: | ||
| 0 | | 0 | ||
| 10 | | 10 | ||
| | |||
| | | | ||
|- | |- | ||
Line 1,103: | Line 1,270: | ||
| 0 | | 0 | ||
| 10 | | 10 | ||
| | |||
| | | | ||
|- | |- | ||
| wchoice <string> | | wchoice <string> | ||
|colspan=" | |colspan="4"| sets weapon autoselection order | ||
| | | | ||
|- | |- | ||
| changelevel <volume> <level> | | changelevel <volume> <level> | ||
|colspan=" | |colspan="4"| warps to the given level | ||
| no <volume> parameter when running a shareware game | | no <volume> parameter when running a shareware game | ||
|- | |- | ||
| map <mapfile> | | map <mapfile> | ||
|colspan=" | |colspan="4"| loads the given user map | ||
| not available with a shareware game | | not available with a shareware game | ||
|- | |- | ||
| demo <demofile or demonum> | | demo <demofile or demonum> | ||
|colspan=" | |colspan="4"| starts the given demo | ||
| not available with a shareware game | | not available with a shareware game | ||
|- | |- | ||
| addpath <path> | | addpath <path> | ||
|colspan=" | |colspan="4"| adds path to game filesystem | ||
| | | | ||
|- | |- | ||
| bind <key> <string> | | bind <key> <string> | ||
|colspan=" | |colspan="4"| 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 <#> | | cmenu <#> | ||
|colspan=" | |colspan="4"| jumps to menu | ||
| | | | ||
|- | |- | ||
| crosshaircolor | | crosshaircolor | ||
|colspan=" | |colspan="4"| changes the crosshair color | ||
| | | | ||
|- | |- | ||
| connect | | connect | ||
|colspan=" | |colspan="4"| connects to a multiplayer game | ||
| | | | ||
|- | |- | ||
| disconnect | | disconnect | ||
|colspan=" | |colspan="4"| disconnects from the local multiplayer game | ||
| | | | ||
|- | |- | ||
| give <all<nowiki>|</nowiki>health<nowiki>|</nowiki>weapons<nowiki>|</nowiki>ammo<nowiki>|</nowiki>armor<nowiki>|</nowiki>keys<nowiki>|</nowiki>inventory> | | give <all<nowiki>|</nowiki>health<nowiki>|</nowiki>weapons<nowiki>|</nowiki>ammo<nowiki>|</nowiki>armor<nowiki>|</nowiki>keys<nowiki>|</nowiki>inventory> | ||
|colspan=" | |colspan="4"| gives requested item | ||
| | | | ||
|- | |- | ||
| god | | god | ||
|colspan=" | |colspan="4"| toggles god mode | ||
| | | | ||
|- | |- | ||
| initgroupfile <path> | | initgroupfile <path> | ||
|colspan=" | |colspan="4"| adds a grp file into the game filesystem | ||
| | | | ||
|- | |- | ||
| debug | | debug | ||
|colspan=" | |colspan="4"| | ||
| debug builds only | | debug builds only | ||
|- | |- | ||
| kick <id> | | kick <id> | ||
|colspan=" | |colspan="4"| kicks a multiplayer client. See listplayers. | ||
| network-enabled builds only | | network-enabled builds only | ||
|- | |- | ||
| kickban <id> | | kickban <id> | ||
|colspan=" | |colspan="4"| kicks a multiplayer client and prevents them from reconnecting. See listplayers. | ||
| network-enabled builds only | | network-enabled builds only | ||
|- | |- | ||
| listplayers | | listplayers | ||
|colspan=" | |colspan="4"| lists currently connected multiplayer clients | ||
| network-enabled builds only | | network-enabled builds only | ||
|- | |- | ||
| music E<ep>L<lev> | | music E<ep>L<lev> | ||
|colspan=" | |colspan="4"| change music | ||
| | | | ||
|- | |- | ||
| name | | name | ||
|colspan=" | |colspan="4"| change your multiplayer nickname | ||
| | | | ||
|- | |- | ||
| noclip | | noclip | ||
|colspan=" | |colspan="4"| toggles clipping mode | ||
| | | | ||
|- | |- | ||
| password | | password | ||
|colspan=" | |colspan="4"| sets multiplayer game password | ||
| | | | ||
|- | |- | ||
| quicksave | | quicksave | ||
|colspan=" | |colspan="4"| performs a quick save | ||
| | | | ||
|- | |- | ||
| quickload | | quickload | ||
|colspan=" | |colspan="4"| performs a quick load | ||
| | | | ||
|- | |- | ||
| quit | | quit | ||
|colspan=" | |colspan="4"| exits the game immediately | ||
| | | | ||
|- | |- | ||
| exit | | exit | ||
|colspan=" | |colspan="4"| exits the game immediately | ||
| | | | ||
|- | |- | ||
| restartmap | | restartmap | ||
|colspan=" | |colspan="4"| restarts the current map | ||
| | | | ||
|- | |- | ||
| restartsound | | restartsound | ||
|colspan=" | |colspan="4"| reinitializes the sound system | ||
| | | | ||
|- | |- | ||
| restartvid | | restartvid | ||
|colspan=" | |colspan="4"| reinitializes the video mode | ||
| | | | ||
|- | |- | ||
| addlogvar <gamevar> | | addlogvar <gamevar> | ||
|colspan=" | |colspan="4"| prints the value of a gamevar | ||
| non-Lunatic builds only | | non-Lunatic builds only | ||
|- | |- | ||
| setvar <gamevar> <value> | | setvar <gamevar> <value> | ||
|colspan=" | |colspan="4"| sets the value of a gamevar | ||
| non-Lunatic builds only | | non-Lunatic builds only | ||
|- | |- | ||
| setvarvar <gamevar1> <gamevar2> | | setvarvar <gamevar1> <gamevar2> | ||
|colspan=" | |colspan="4"| sets the value of <gamevar1> to <gamevar2> | ||
| non-Lunatic builds only | | non-Lunatic builds only | ||
|- | |- | ||
| setactorvar <actor#> <gamevar> <value> | | setactorvar <actor#> <gamevar> <value> | ||
|colspan=" | |colspan="4"| sets the value of <actor#>'s <gamevar> to <value> | ||
| non-Lunatic builds only | | non-Lunatic builds only | ||
|- | |- | ||
| lua "Lua code..." | | lua "Lua code..." | ||
|colspan=" | |colspan="4"| runs Lunatic code | ||
| Lunatic builds only | | Lunatic builds only | ||
|- | |- | ||
| screenshot | | screenshot | ||
|colspan=" | |colspan="4"| takes a screenshot. See r_scrcaptureformat. | ||
| | | | ||
|- | |- | ||
| spawn <picnum> <nowiki>[</nowiki>palnum<nowiki>]</nowiki> <nowiki>[</nowiki>cstat<nowiki>]</nowiki> <nowiki>[</nowiki>ang<nowiki>]</nowiki> <nowiki>[</nowiki>x y z<nowiki>]</nowiki> | | spawn <picnum> <nowiki>[</nowiki>palnum<nowiki>]</nowiki> <nowiki>[</nowiki>cstat<nowiki>]</nowiki> <nowiki>[</nowiki>ang<nowiki>]</nowiki> <nowiki>[</nowiki>x y z<nowiki>]</nowiki> | ||
|colspan=" | |colspan="4"| spawns a sprite with the given properties | ||
| | | | ||
|- | |- | ||
| unbind <key> | | unbind <key> | ||
|colspan=" | |colspan="4"| unbinds a key | ||
| | | | ||
|- | |- | ||
| unbindall | | unbindall | ||
|colspan=" | |colspan="4"| unbinds all keys | ||
| | | | ||
|- | |- | ||
| vidmode <xdim> <ydim> <bpp> <fullscreen> | | vidmode <xdim> <ydim> <bpp> <fullscreen> | ||
|colspan=" | |colspan="4"| change the video mode | ||
| | | | ||
|} | |} | ||
Line 1,261: | Line 1,429: | ||
{| border="1" style="font-size:10pt;" class="wikitable" | {| border="1" style="font-size:10pt;" class="wikitable" | ||
! Name !! Description !! Min !! Max !! Notes | ! Name !! Description !! Min !! Max !! Default !! Notes | ||
|- | |- | ||
!colspan=" | !colspan="6"| build.c | ||
|- | |- | ||
| restartvid | | restartvid | ||
|colspan=" | |colspan="4"| reinitialize the video mode | ||
| | | | ||
|- | |- | ||
| vidmode <xdim> <ydim> <bpp> <fullscreen> | | vidmode <xdim> <ydim> <bpp> <fullscreen> | ||
|colspan=" | |colspan="4"| immediately change the video mode | ||
| | | | ||
|- | |- | ||
| vidmode <xdim> <ydim> | | vidmode <xdim> <ydim> | ||
|colspan=" | |colspan="4"| immediately change the video mode | ||
| | | | ||
|- | |- | ||
!colspan=" | !colspan="6"| astub.c | ||
|- | |- | ||
| addpath <path> | | addpath <path> | ||
|colspan=" | |colspan="4"| adds path to game filesystem | ||
| | | | ||
|- | |- | ||
| editorgridextent | | editorgridextent | ||
|colspan=" | |colspan="4"| sets the size of the 2D mode editing grid | ||
| | | | ||
|- | |- | ||
| initgroupfile <path> | | initgroupfile <path> | ||
|colspan=" | |colspan="4"| adds a grp file into the game filesystem | ||
| | | | ||
|- | |- | ||
| m32_clipping | | m32_clipping | ||
|colspan=" | |colspan="4"| toggles clipping mode | ||
| | | | ||
|- | |- | ||
| quit | | quit | ||
|colspan=" | |colspan="4"| exits the editor immediately | ||
| | | | ||
|- | |- | ||
| exit | | exit | ||
|colspan=" | |colspan="4"| exits the editor immediately | ||
| | | | ||
|- | |- | ||
| sensitivity <value> | | sensitivity <value> | ||
|colspan=" | |colspan="4"| changes the mouse sensitivity | ||
| | | | ||
|- | |- | ||
| m32_2d3dmode | | m32_2d3dmode | ||
|colspan=" | |colspan="4"| experimental 2d/3d hybrid mode | ||
| | | | ||
|- | |- | ||
| pointhighlightdist <value> | | pointhighlightdist <value> | ||
|colspan=" | |colspan="4"| distance at which points are selected | ||
| | | | ||
|- | |- | ||
| linehighlightdist <value> | | linehighlightdist <value> | ||
|colspan=" | |colspan="4"| distance at which lines are selected | ||
| | | | ||
|- | |- | ||
| pk_turnaccel <value> | | pk_turnaccel <value> | ||
|colspan=" | |colspan="4"| sets turning acceleration+deceleration | ||
| | | | ||
|- | |- | ||
| pk_turndecel <value> | | pk_turndecel <value> | ||
|colspan=" | |colspan="4"| sets turning deceleration | ||
| | | | ||
|- | |- | ||
| pk_uedaccel <value> | | pk_uedaccel <value> | ||
|colspan=" | |colspan="4"| sets UnrealEd movement speed factor (0-5, exponentially) | ||
| | | | ||
|- | |- | ||
| pk_quickmapcycling | | pk_quickmapcycling | ||
|colspan=" | |colspan="4"| toggles quick cycling of maps with (Shift-)Ctrl-X | ||
| | | | ||
|- | |- | ||
| testplay_addparam "string" | | testplay_addparam "string" | ||
|colspan=" | |colspan="4"| sets additional parameters for test playing | ||
| | | | ||
|- | |- | ||
| show_heightindicators {0, 1 or 2} | | show_heightindicators {0, 1 or 2} | ||
|colspan=" | |colspan="4"| sets display of height indicators in 2D mode | ||
| | | | ||
|- | |- | ||
| show_ambiencesounds {0, 1 or 2} | | show_ambiencesounds {0, 1 or 2} | ||
|colspan=" | |colspan="4"| sets display of MUSICANDSFX circles in 2D mode | ||
| | | | ||
|- | |- | ||
| corruptcheck_noalreadyrefd | | corruptcheck_noalreadyrefd | ||
|colspan=" | |colspan="4"| toggles ignoring of one-to-many red wall connections | ||
| | | | ||
|- | |- | ||
| corruptcheck_game_duke3d | | corruptcheck_game_duke3d | ||
|colspan=" | |colspan="4"| toggles ignoring of Duke3D issues | ||
| | | | ||
|- | |- | ||
| corruptcheck_heinum | | corruptcheck_heinum | ||
|colspan=" | |colspan="4"| toggles auto-correcting inconsistent c/fstat bit 2 and heinum (2: also warn) | ||
| | | | ||
|- | |- | ||
| keeptexturestretch | | keeptexturestretch | ||
|colspan=" | |colspan="4"| toggles keeping texture stretching when dragging wall vertices | ||
| | | | ||
|- | |- | ||
| corruptcheck {<seconds><nowiki>|</nowiki>now<nowiki>|</nowiki>tryfix} | | corruptcheck {<seconds><nowiki>|</nowiki>now<nowiki>|</nowiki>tryfix} | ||
|colspan=" | |colspan="4"| sets auto corruption check interval if <seconds> given, otherwise as indicated | ||
| | | | ||
|- | |- | ||
| tint <pal> <r> <g> <nowiki><b></nowiki> <flags> | | tint <pal> <r> <g> <nowiki><b></nowiki> <flags> | ||
|colspan=" | |colspan="4"| queries or sets hightile tinting | ||
| OpenGL-enabled builds only | | OpenGL-enabled builds only | ||
|- | |- | ||
| lua "Lua code..." | | lua "Lua code..." | ||
|colspan=" | |colspan="4"| runs Lua code | ||
| Lunatic builds only | | Lunatic builds only | ||
|- | |- | ||
| include <filenames...> | | include <filenames...> | ||
|colspan=" | |colspan="4"| compiles one or more M32 script files | ||
| | | | ||
|- | |- | ||
| do (m32 script ...) | | do (m32 script ...) | ||
|colspan=" | |colspan="4"| executes M32 script statements | ||
| | | | ||
|- | |- | ||
| script_info | | script_info | ||
|colspan=" | |colspan="4"| shows information about compiled M32 script | ||
| | | | ||
|- | |- | ||
| script_expertmode <value> | | script_expertmode <value> | ||
|colspan=" | |colspan="4"| toggles M32 script expert mode | ||
| | | | ||
|- | |- | ||
| enableevent {all<nowiki>|</nowiki>EVENT_...<nowiki>|</nowiki>(event number)} | | enableevent {all<nowiki>|</nowiki>EVENT_...<nowiki>|</nowiki>(event number)} | ||
|colspan=" | |colspan="4"| | ||
| | | | ||
|- | |- | ||
| disableevent {all<nowiki>|</nowiki>EVENT_...<nowiki>|</nowiki>(event number)} | | disableevent {all<nowiki>|</nowiki>EVENT_...<nowiki>|</nowiki>(event number)} | ||
|colspan=" | |colspan="4"| | ||
| | | | ||
|- | |- | ||
| osd_tryscript | | osd_tryscript | ||
|colspan=" | |colspan="4"| toggles execution of M32 script on invalid OSD command | ||
| | | | ||
|- | |- | ||
| sideview_reversehorizrot | | sideview_reversehorizrot | ||
|colspan=" | |colspan="4"| toggles reversion of Q and W keys in side view mode | ||
| | | | ||
|- | |- | ||
| disasm <nowiki>[</nowiki>s<nowiki>|</nowiki>e<nowiki>]</nowiki> <state or event number> | | disasm <nowiki>[</nowiki>s<nowiki>|</nowiki>e<nowiki>]</nowiki> <state or event number> | ||
|colspan=" | |colspan="4"| | ||
| debug builds only | | debug builds only | ||
|} | |} |
Revision as of 14:21, 28 January 2016
Feel free to ask the EDuke32 developers any questions you may have.
Engine
Name | Description | Min | Max | Default | Notes |
---|---|---|---|---|---|
osd.c | |||||
osdeditpal | sets the palette of the OSD input text | 0 | MAXPALOOKUPS-1 | ||
osdpromptpal | sets the palette of the OSD prompt | 0 | MAXPALOOKUPS-1 | ||
osdtextpal | sets the palette of the OSD text | 0 | MAXPALOOKUPS-1 | ||
osdeditshade | sets the shade of the OSD input text | 0 | 7 | ||
osdtextshade | sets the shade of the OSD text | 0 | 7 | ||
osdpromptshade | sets the shade of the OSD prompt | INT8_MIN | INT8_MAX | ||
osdrows | sets the number of visible lines of the OSD | 1 | 400 | ||
osdtextmode | set OSD text mode (0:graphical, 1:fast) | 0 | 1 | ||
osdlogcutoff | sets the maximal line count of the log file | 0 | 262144 | ||
osdhistorydepth | sets the history depth, in lines | OSDMINHISTORYDEPTH | OSDMAXHISTORYDEPTH | ||
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 | ||
r_screenaspect | if using r_usenewaspect and in fullscreen, screen aspect ratio in the form XXYY, e.g. 1609 for 16:9 | 0 | 9999 | ||
r_novoxmips | turn off/on the use of mipmaps when rendering 8-bit voxels | 0 | 1 | ||
r_voxels | enable/disable automatic sprite->voxel rendering | 0 | 1 | ||
r_tror_nomaskpass | enable/disable additional pass in TROR software rendering | 0 | 1 | TROR-enabled builds only | |
r_windowpositioning | enable/disable window position memory | 0 | 1 | ||
vid_gamma | adjusts gamma component of gamma ramp | 0 | 10 | ||
vid_contrast | adjusts contrast component of gamma ramp | 0 | 10 | ||
vid_brightness | adjusts brightness component of gamma ramp | 0 | 10 | ||
debug1 | debug counter | -100000 | 100000 | debug builds only | |
debug2 | debug counter | -100000 | 100000 | debug builds only | |
debug_maskdrawmode | Show mask draw orders | 0 | 1 | debug builds only | |
setrendermode <number> | sets the engine's rendering mode | ||||
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 | ||
r_downsize | controls downsizing factor (quality) for hires textures | 0 | 5 | ||
r_fullbrights | enable/disable fullbright textures | 0 | 1 | ||
r_parallaxskyclamping | enable/disable parallaxed floor/ceiling sky texture clamping | 0 | 1 | ||
r_parallaxskypanning | enable/disable parallaxed floor/ceiling panning when drawing a parallaxing sky | 0 | 1 | ||
r_detailmapping | enable/disable detail mapping | 0 | 1 | disabled when GL extensions are disabled, such as GL ES targets | |
r_glowmapping | enable/disable glow mapping | 0 | 1 | disabled when GL extensions are disabled, such as GL ES targets | |
r_polygonmode | debugging feature | 0 | 3 | disabled in GL ES targets | |
r_texcache | enable/disable OpenGL compressed texture cache | 0 | 2 | disabled in GL ES targets | |
r_memcache | enable/disable texture cache memory cache | 0 | 1 | disabled in GL ES targets | |
r_texcompr | enable/disable OpenGL texture compression | 0 | 1 | disabled in GL ES targets | |
r_redbluemode | enable/disable experimental OpenGL red-blue glasses mode | 0 | 1 | currently disabled | |
r_shadescale | multiplier for shading | 0 | 10 | ||
r_shadescale_unbounded | enable/disable allowance of complete blackness | 0 | 1 | ||
r_swapinterval | sets the GL swap interval (VSync) | -1 | 1 | ||
r_npotwallmode | enable/disable emulation of walls with non-power-of-two height textures (Polymost, r_hightile 0) | 0 | 1 | ||
r_anisotropy | changes the OpenGL texture anisotropy setting | 0 | 16 | ||
r_texturemaxsize | changes the maximum OpenGL texture size limit | 0 | 4096 | ||
r_texturemiplevel | changes the highest OpenGL mipmap level used | 0 | 6 | ||
r_texfilter | changes the texture filtering settings | 0 | 5 | ||
r_usenewshading | visibility/fog code: 0: orig. Polymost 1: 07/2011 2: linear 12/2012 3: no neg. start 03/2014 | 0 | 3 | ||
r_usetileshades | enable/disable Polymost tile shade textures | 0 | 2 | ||
r_vbocount | sets the number of Vertex Buffer Objects to use when drawing models | 1 | 256 | disabled when GL extensions are disabled, such as GL ES targets | |
r_vbos | enable/disable using Vertex Buffer Objects when drawing models | 0 | 1 | disabled when GL extensions are disabled, such as GL ES targets | |
r_vertexarrays | enable/disable using vertex arrays when drawing models | 0 | 1 | ||
r_projectionhack | enable/disable projection hack | 0 | 1 | ||
r_models | enable/disable model rendering | 0 | 1 | ||
r_nofog | enable/disable GL fog | 0 | 1 | ||
r_hightile | enable/disable hightile texture rendering | 0 | 1 | ||
r_preview_mouseaim | toggles mouse aiming preview, use this to calibrate yxaspect in Polymost Mapster32 | 0 | 1 | ||
polymost.c (Polymer builds only) | |||||
r_pr_lighting | enable/disable dynamic lights - restarts renderer | 0 | 2 | ||
r_pr_normalmapping | enable/disable virtual displacement mapping | 0 | 1 | ||
r_pr_specularmapping | enable/disable specular mapping | 0 | 1 | ||
r_pr_shadows | enable/disable dynamic shadows | 0 | 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 | ||
r_pr_shadowdetail | sets the shadow map resolution - you need to restart the renderer for it to take effect | 0 | 5 | ||
r_pr_shadowfiltering | enable/disable shadow edges filtering - you need to restart the renderer for it to take effect | 0 | 1 | ||
r_pr_maxlightpasses | the maximal amount of lights a single object can by affected by | 0 | PR_MAXLIGHTS | ||
r_pr_maxlightpriority | lowering that value removes less meaningful lights from the scene | 0 | PR_MAXLIGHTPRIORITY | ||
r_pr_fov | sets the field of vision in build angle | 0 | 1023 | ||
r_pr_customaspect | if non-zero, forces the 3D view aspect ratio | 0 | 3 | ||
r_pr_billboardingmode | face sprite display method. 0: classic mode; 1: polymost mode | 0 | 1 | ||
r_pr_verbosity | verbosity level of the polymer renderer | 0 | 3 | ||
r_pr_wireframe | toggles wireframe mode | 0 | 1 | ||
r_pr_vbos | contols Vertex Buffer Object usage. 0: no VBOs. 1: VBOs for map data. 2: VBOs for model data. | 0 | 2 | ||
r_pr_buckets | controls batching of primitives. 0: no batching. 1: buckets of materials. | 0 | 1 | ||
r_pr_gpusmoothing | toggles model animation interpolation | 0 | 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 | ||
r_pr_parallaxscale | overriden parallax mapping offset scale | -10 | 10 | ||
r_pr_parallaxbias | overriden parallax mapping offset bias | -10 | 10 | ||
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 | ||
r_pr_specularpower | overriden specular material power | -10 | 1000 | ||
r_pr_specularfactor | overriden specular material factor | -10 | 1000 | ||
r_pr_highpalookups | enable/disable highpalookups | 0 | 1 | ||
r_pr_artmapping | enable/disable art mapping | 0 | 1 | ||
r_pr_overridehud | overrides hud model parameters with values from the pr_hud* cvars; use it to fine-tune DEF tokens | 0 | 1 | ||
r_pr_hudxadd | overriden HUD xadd; see r_pr_overridehud | -100 | 100 | ||
r_pr_hudyadd | overriden HUD yadd; see r_pr_overridehud | -100 | 100 | ||
r_pr_hudzadd | overriden HUD zadd; see r_pr_overridehud | -100 | 100 | ||
r_pr_hudangadd | overriden HUD angadd; see r_pr_overridehud | -1024 | 1024 | ||
r_pr_hudfov | overriden HUD fov; see r_pr_overridehud | 0 | 1023 | ||
r_pr_overridemodelscale | overrides model scale if non-zero; use it to fine-tune DEF tokens | 0 | 500 | ||
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 | ||
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 | ||
r_pr_nullrender | disable all draws when enabled, 2: disables updates too | 0 | 3 | ||
winbits.c | |||||
r_togglecomposition | enable/disable toggle of desktop composition when initializing screen modes | 0 | 1 | Windows builds only | |
winlayer.c | |||||
maxrefreshfreq | maximum display frequency to set for OpenGL Polymost modes (0=no maximum) | 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 | ||
cl_autoaim | enable/disable weapon autoaim | 0 | 3 | ||
cl_automsg | enable/disable automatically sending messages to all players | 0 | 1 | ||
cl_autorun | enable/disable autorun | 0 | 1 | ||
cl_autovote | enable/disable automatic voting | 0 | 2 | ||
cl_cheatmask | configure what cheats show in the cheats menu | 0 | ~0 | ||
cl_obituaries | enable/disable multiplayer death messages | 0 | 1 | ||
cl_democams | enable/disable demo playback cameras | 0 | 1 | ||
cl_idplayers | enable/disable name display when aiming at opponents | 0 | 1 | ||
cl_runmode | enable/disable modernized run key operation | 0 | 1 | ||
cl_showcoords | show your position in the game world | 0 | 2 | mode 2 only in GL builds | |
cl_viewbob | enable/disable player head bobbing | 0 | 1 | ||
cl_weaponsway | enable/disable player weapon swaying | 0 | 1 | ||
cl_weaponswitch | enable/disable auto weapon switching | 0 | 7 | ||
color | changes player palette | 0 | MAXPALOOKUPS-1 | ||
crosshairscale | changes the size of the crosshair | 10 | 100 | ||
demorec_diffs | enable/disable diff recording in demos | 0 | 1 | ||
demorec_force | enable/disable forced demo recording | 0 | 1 | ||
demorec_difftics | sets game tic interval after which a diff is recorded | 2 | 60*REALGAMETICSPERSEC | ||
demorec_diffcompress | Compression method for diffs. (0: none, 1: KSLZW) | 0 | 1 | ||
demorec_synccompress | Compression method for input. (0: none, 1: KSLZW) | 0 | 1 | ||
demorec_seeds | enable/disable recording of random seed for later sync checking | 0 | 1 | ||
demoplay_diffs | enable/disable application of diffs in demo playback | 0 | 1 | ||
demoplay_showsync | enable/disable display of sync status | 0 | 1 | ||
hud_althud | enable/disable alternate mini-hud | 0 | 2 | ||
hud_bgstretch | enable/disable background image stretching in wide resolutions | 0 | 1 | ||
hud_messagetime | length of time to display multiplayer chat messages | 0 | 3600 | ||
hud_numbertile | first tile in alt hud number set | 0 | MAXUSERTILES-10 | ||
hud_numberpal | pal for alt hud numbers | 0 | MAXPALOOKUPS-1 | ||
hud_shadows | enable/disable althud shadows | 0 | 1 | ||
hud_flashing | enable/disable althud flashing | 0 | 1 | ||
hud_glowingquotes | enable/disable "glowing" quote text | 0 | 1 | ||
hud_scale | changes the hud scale | 36 | 100 | ||
hud_showmapname | enable/disable map name display on load | 0 | 1 | ||
hud_stats | enable/disable level statistics display | 0 | 1 | ||
hud_textscale | sets multiplayer chat message size | 100 | 400 | ||
hud_weaponscale | changes the weapon scale | 10 | 100 | ||
hud_statusbarmode | change overlay mode of status bar | 0 | 1 | ||
hud_hidestick | hide the touch input stick | 0 | 1 | touch devices only | |
in_joystick | enables input from the joystick if it is present | 0 | 1 | ||
in_mouse | enables input from the mouse if it is present | 0 | 1 | ||
in_aimmode | 0:toggle, 1:hold to aim | 0 | 1 | ||
in_mousebias | emulates the original mouse code's weighting of input towards whichever axis is moving the most at any given time | 0 | 32 | ||
in_mousedeadzone | amount of mouse movement to filter out | 0 | 512 | ||
in_mouseflip | invert vertical mouse movement | 0 | 1 | ||
in_mousemode | toggles vertical mouse view | 0 | 1 | ||
in_mousesmoothing | enable/disable mouse input smoothing | 0 | 1 | ||
mus_enabled | enables/disables music | 0 | 1 | ||
mus_volume | controls music volume | 0 | 255 | ||
osdhightile | enable/disable hires art replacements for console text | 0 | 1 | ||
osdscale | adjust console text size | 1 | 4 | ||
r_camrefreshdelay | minimum delay between security camera sprite updates, 120 = 1 second | 1 | 240 | ||
r_drawweapon | enable/disable weapon drawing | 0 | 2 | ||
r_showfps | show the frame rate counter | 0 | 2 | ||
r_shadows | enable/disable sprite and model shadows | 0 | 1 | ||
r_size | change size of viewable area | 0 | 64 | ||
r_rotatespritenowidescreen | pass bit 1024 to all CON rotatesprite calls | 0 | 1 | ||
r_precache | enable/disable the pre-level caching routine | 0 | 1 | ||
r_ambientlight | sets the global map light level | 0 | 10 | ||
r_maxfps | limit the frame rate | 0 | 1000 | ||
sensitivity | changes the mouse sensitivity | 0 | 25 | ||
skill | changes the game skill setting | 0 | 5 | ||
snd_ambience | enables/disables ambient sounds | 0 | 1 | ||
snd_duketalk | enables/disables Duke's speech | 0 | 5 | ||
snd_enabled | enables/disables sound effects | 0 | 1 | ||
snd_mastervolume | master volume for sound system | 0 | 255 | ||
snd_fxvolume | volume of sound effects | 1 | 255 | ||
snd_mixrate | sound mixing rate | 0 | 48000 | ||
snd_numchannels | the number of sound channels | 0 | 2 | ||
snd_numvoices | the number of concurrent sounds | 0 | 256 | ||
snd_reversestereo | reverses the stereo channels | 0 | 1 | ||
team | change team in multiplayer | 0 | 3 | ||
touch_sens_move_x | touch input sensitivity for moving forward/back | 1 | 9 | touch devices only | |
touch_sens_move_y | touch input sensitivity for strafing | 1 | 9 | touch devices only | |
touch_sens_look_x | touch input sensitivity for turning left/right | 1 | 9 | touch devices only | |
touch_sens_look_y | touch input sensitivity for looking up/down | 1 | 9 | touch devices only | |
touch_invert | invert look up/down touch input | 0 | 1 | touch devices only | |
vid_gamma | adjusts gamma component of gamma ramp | 0 | 10 | ||
vid_contrast | adjusts contrast component of gamma ramp | 0 | 10 | ||
vid_brightness | adjusts brightness component of gamma ramp | 0 | 10 | ||
wchoice <string> | sets weapon autoselection order | ||||
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 | ||||
initgroupfile <path> | adds a grp file into the game filesystem | ||||
m32_clipping | toggles clipping mode | ||||
quit | exits the editor immediately | ||||
exit | exits the editor immediately | ||||
sensitivity <value> | changes the mouse sensitivity | ||||
m32_2d3dmode | experimental 2d/3d hybrid mode | ||||
pointhighlightdist <value> | distance at which points are selected | ||||
linehighlightdist <value> | distance at which lines are selected | ||||
pk_turnaccel <value> | sets turning acceleration+deceleration | ||||
pk_turndecel <value> | sets turning deceleration | ||||
pk_uedaccel <value> | sets UnrealEd movement speed factor (0-5, exponentially) | ||||
pk_quickmapcycling | toggles quick cycling of maps with (Shift-)Ctrl-X | ||||
testplay_addparam "string" | sets additional parameters for test playing | ||||
show_heightindicators {0, 1 or 2} | sets display of height indicators in 2D mode | ||||
show_ambiencesounds {0, 1 or 2} | sets display of MUSICANDSFX circles in 2D mode | ||||
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) | ||||
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 |