Console: Difference between revisions

From Eternity Wiki
Jump to navigationJump to search
(Removed several cf_hidden commands that are undocumented and should not be issued by the user.)
(16 intermediate revisions by 2 users not shown)
Line 1: Line 1:
=Constants=
This reference contains information on useful console commands and variables that work with the Eternity console, as well as pointers on console command syntax.
==Console basics==
{{backto|Eternity Engine}}
These values are read-only; cannot be modified.
{{editref}}
*'''version'''
=Notes on Special Command Syntax=
:Version of the running Eternity build.
Commands which take parameters may accept numbers, strings, or members of a predefined set of values.  
*'''ver_date'''
  ex:
:Release date of Eternity.
  $ delay 50
*'''ver_time'''
  $ spawn 249 1
:Release time of day of Eternity.
  $ name Quasar
*'''ver_name'''
  $ hu_overlay distributed
:Special name of the version.
If string arguments contain whitespace, they must be in quotations. Quotations around strings are otherwise optional.
==Game functions==
  ex:
*'''rngseed'''
  $ echo "This has to be in quotes"
=Commands=
  $ i_error "R_FindVisplane: no more visplanes!"
==Console basics==
Multiple commands can be run from one prompt by separating them with a semicolon.  
*'''alias'''
  ex:
*'''cmdlist'''
  $ delay; kill
*'''echo'''
Variables of type integer, named-value, on / off, and yes / no can be affected by the following operators:
:Write string to the console.
*+
*'''delay'''
:Affixed to the end of the variable, it will increment it to the next valid value, but no higher than the maximum allowed.  
*'''flood'''
    ex:
*'''quote'''
    $ screensize +
:Write a passage of text from former chat sessions of Doom people.
   
*'''dumplog'''
*-
*'''openlog'''
:Affixed to the end of the variable, it will decrement it to the next lower valid value, but no lower than the minimum allowed.
*'''closelog'''
    ex:
*'''cvarhelp'''
    $ screensize -
==Small Scripting (deprecated)==
   
*'''sm_running'''
*/
*'''sm_execv'''
:Toggles through the variable values from minimum to maximum, wrapping around to the minimum value again when it is maxed out. This is most useful with two-state yes/no and on/off variables.
*'''sm_execi'''
    ex:
==Netgame==
    $ hu_overlay /
*'''playerinfo'''
=Notes on Notation=
==EDF and ExtraData==
In the list below, command arguments enclosed in brackets are optional. Commands typically have some default behavior when the arguments they expect are not provided, although this is often to simply print usage information.
*'''e_dumpthings'''
*'''e_thingtype'''
*'''e_dumpmeta'''
*'''e_dumpitems'''
*'''e_playsound'''
*'''e_listmapthings'''
*'''e_mapthing'''
*'''e_listlinedefs'''
*'''e_linedef'''
==Key binding==
*'''bind'''
*'''listactions'''
*'''listkeys'''
*'''unbind'''
*'''unbindall'''
*'''bindings'''
==Game functions==
*'''i_error'''
*'''z_print'''
*'''z_dumpcore'''
*'''starttitle'''
*'''endgame'''
*'''pause'''
*'''quit'''
*'''animshot'''
*'''screenshot'''
*'''playdemo'''
*'''stopdemo'''
*'''timedemo'''
*'''addfile'''
*'''listwads'''
*'''spacejump'''
*'''puke'''
*'''enable_lightning'''
*'''thunder'''
==DeathMatch flags==
*defdmflags
==Sound==
*s_playmusic


==Frag counter==
An ellipsis (...) signifies that the command will accept any number of arguments and will amalgamate them into one continuous string.
*frags
 
==System==
=List of console commands=
*i_joystick
:''See [[List of console commands]]''
==Video==
=List of console variables=
*i_default_videomode
:''See [[List of console variables]]''
*v_modelist
[[Category:Console]]
==Cheating==
*infammo
*noclip
*god
*nuke
==Dynamic menus==
*mn_dynamenu
==Menus==
*mn_clearmenus
*mn_prevmenu
*forceload
*mn_newgame
*mn_quit
*mn_episode
*newgame
*mn_demos
*mn_loadwad
*mn_loadwaditem
*mn_gset
*mn_player
*mn_loadgame
*mn_load
*quickload
*mn_savegame
*quicksave
*mn_options
*mn_endgame
*mn_vidmode
*mn_video
*mn_particle
*mn_sound
*mn_mouse
*mn_joysticks
*mn_joymenu
*mn_hud
*mn_status
*mn_automap
*mn_weapons
*mn_compat
*mn_enemies
*mn_movekeys
*mn_advkeys
*mn_weaponkeys
*mn_envkeys
*mn_gamefuncs
*mn_menukeys
*mn_automapkeys
*mn_consolekeys
*mn_search
*mn_menus
*mn_config
*skinviewer
*mn_old_options
*mn_old_sound
==File selector==
*mn_selectwad
*dir
*mn_selectmusic
*mn_selectflat
==Heretic menus==
*mn_hnewgame
*mn_hepis
==Menus, other options==
*help
*credits
*creator
==More cheats==
*summon
*viles
*give
*whistle
*mdk
*mdkbomb
*banish
*vilehit
*resurrect
==Generalized linedefs==
*p_linespec
==Skins==
*listskins
==Rendering==
*p_dumphubs
=Variables=
==Console basics==
*'''c_height'''
:Console height.
*'''c_speed'''
:Console speed.
==Automap==
*am_drawnodelines
*mapcolor_back
*mapcolor_grid
*mapcolor_wall
*mapcolor_fchg
*mapcolor_cchg
*mapcolor_clsd
*mapcolor_rkey
*mapcolor_bkey
*mapcolor_ykey
*mapcolor_rdor
*mapcolor_bdor
*mapcolor_ydor
*mapcolor_tele
*mapcolor_secr
*mapcolor_exit
*mapcolor_unsn
*mapcolor_flat
*mapcolor_sprt
*mapcolor_hair
*mapcolor_sngl
*mapcolor_frnd
*mapcolor_prtl
*mapcolor_overlay
==Game functions==
*'''draw_particles'''
*'''bloodsplattype'''
*'''bulletpufftype'''
*'''rocket_trails'''
*'''grenade_trails'''
*'''bfg_cloud'''
*'''alwaysmlook'''
*'''invertmouse'''
*'''sens_horiz'''
*'''sens_vert'''
*'''sens_combined'''
*'''doom_weapon_toggles'''
*'''turbo'''
*'''cooldemo'''
*'''shot_type'''
*'''shot_gamma'''
*'''textmode_startup'''
*'''demo_insurance'''
*'''smooth_turning'''
*'''mouse_accel'''
*'''mouse_novert'''
*'''map_coords'''
*'''numhelpers'''
*'''startonnewmap'''
*'''autorun'''
*'''runiswalk'''
*'''iwad_doom_shareware'''
*'''iwad_doom'''
*'''iwad_ultimate_doom'''
*'''iwad_doom2'''
*'''iwad_tnt'''
*'''iwad_plutonia'''
*'''iwad_heretic_shareware'''
*'''iwad_heretic'''
*'''iwad_heretic_sosr'''
*'''use_doom_config'''
*spechits_emulation
*donut_emulation
*p_markunknowns
*wipewait
*wipetype
==Frag counter==
*show_scores
==Heads-up display==
*hu_overlay
*hu_hidesecrets
*hu_obituaries
*hu_obitcolor
*hu_crosshair
*hu_crosshair_hilite
*hu_showvpo
*hu_vpo_threshold
*hu_messages
*hu_messagecolor
*hu_messagelines
*hu_messagescroll
*hu_messagetime
*hu_showtime
*hu_showcoords
*hu_timecolor
*hu_levelnamecolor
*hu_coordscolor
==Sound==
*snd_card
*mus_card
*detect_voices
*snd_spcpreamp
*snd_spcbassboost
*s_precache
*s_pitched
*snd_channels
*sfx_volume
*music_volume
*s_flippan
==System==
*i_gamespeed
*i_ledsoff
*i_waitatexit
*i_showendoom
*i_endoomdelay
==Video==
*v_diskicon
*v_retrace
*i_usemouse
*i_usejoystick
*joysens_x
*joysens_y
*i_grabmouse
*i_videomode
*v_ticker
==Menus==
*mn_toggleisback
*mn_background
*mn_start_mapname
*use_startmap
*mn_demoname
*mn_wadname
*startlevel
*mn_searchstr
*use_traditional_menu
*mn_classic_menus
==File selector==
*wad_directory
==Out-of-body camera==
*chasecam
*chasecam_height
*chasecam_dist
*chasecam_speed
*walkcam
==Rendering==
*r_fov
*r_showrefused
*gamma
*lefthanded
*r_blockmap
*r_homflash
*r_planeview
*r_precache
*r_showgun
*r_showhom
*r_stretchsky
*r_swirl
*r_trans
*r_tranpct
*screensize
*r_ptcltrans
*r_columnengine
*r_spanengine
*r_detail
*r_vissprite
*r_tlstyle
==Status bar==
*ammo_red
*ammo_yellow
*health_red
*health_yellow
*health_green
*armor_red
*armor_yellow
*armor_green
*st_graypct
*st_rednum
*st_singlekey
=Network commands=
*'''exitlevel'''
*'''kill'''
*'''map'''
==Heads-up display==
*say
=Network variables=
==Game functions==
*'''bobbing'''
*'''name'''
*'''dogjumping'''
*'''colour'''
*'''gametype'''
*'''skill'''
*'''allowmlook'''
*'''bfgtype'''
*'''autoaim'''
*'''recoil'''
*'''pushers
*'''varfriction'''
*'''nukage'''
*'''weapspeed'''
*'''bfglook'''
*'''timelimit'''
*'''fraglimit'''
*'''fast'''
*'''nomonsters'''
*'''respawn'''
*mon_remember
*mon_infight
*mon_backing
*mon_avoid
*mon_friction
*mon_climb
*mon_helpfriends
*mon_distfriend
==Skins==
*skin
==DeathMatch flags==
*dmflags

Revision as of 07:32, 8 July 2019

This reference contains information on useful console commands and variables that work with the Eternity console, as well as pointers on console command syntax.

Back to Eternity Engine
  • This section incorporates text from the HTML Eternity documentation.

Notes on Special Command Syntax

Commands which take parameters may accept numbers, strings, or members of a predefined set of values.

 ex:
 $ delay 50
 $ spawn 249 1
 $ name Quasar
 $ hu_overlay distributed

If string arguments contain whitespace, they must be in quotations. Quotations around strings are otherwise optional.

 ex:
 $ echo "This has to be in quotes"
 $ i_error "R_FindVisplane: no more visplanes!"

Multiple commands can be run from one prompt by separating them with a semicolon.

 ex:
 $ delay; kill

Variables of type integer, named-value, on / off, and yes / no can be affected by the following operators:

  • +
Affixed to the end of the variable, it will increment it to the next valid value, but no higher than the maximum allowed.
   ex:
   $ screensize +
   
  • -
Affixed to the end of the variable, it will decrement it to the next lower valid value, but no lower than the minimum allowed.
   ex:
   $ screensize -
   
  • /
Toggles through the variable values from minimum to maximum, wrapping around to the minimum value again when it is maxed out. This is most useful with two-state yes/no and on/off variables.
   ex:
   $ hu_overlay /

Notes on Notation

In the list below, command arguments enclosed in brackets are optional. Commands typically have some default behavior when the arguments they expect are not provided, although this is often to simply print usage information.

An ellipsis (...) signifies that the command will accept any number of arguments and will amalgamate them into one continuous string.

List of console commands

See List of console commands

List of console variables

See List of console variables