Difference between revisions of "Category:Console Functions"

1,506 bytes added ,  19:22, 5 January 2012
m
imported>Bnesmith
imported>8asrun6aer
 
(12 intermediate revisions by 10 users not shown)
Line 1: Line 1:
These functions are only available for use in the in-game console. They cannot be compiled into scripts in the editor (unless you are using the [[:Category:Oblivion Script Extender|Oblivion Script Extender]], which allows [[:Category:OBSE Console Functions|some of these]] to be used in scripts). You can scroll the console output by using PageUp and PageDown. The console is invoked by pressing the "~" key.
The functions included in this Category should be only available for use in the in-game [[Glossary#C|console]] -- that is, functions that cannot be compiled into scripts in the editor (unless you are using the [[:Category:Oblivion Script Extender|Oblivion Script Extender]], which allows [[:Category:Console Functions (OBSE)|some of these]] to be used in scripts).  
 
However, some Console commands listed in the following '''table''' may be available for use both as functions and commands. For additional context, see the article [[Console Commands]].
 
==Notes==
*The console is invoked by pressing the "~" key. This is the key below "Esc", to the left of the "1" key. Different keyboard configurations may have different symbols on that key. Windows Vista users may not be able to invoke the console this way - see the Discussion page for possible solutions instead.
*You can scroll the console output by using the [Page Up] and [Page Down] keys.  
*Batch files can be used for console commands by creating a basic .txt file containing the commands you want to call in-game. Save this file in your main Oblivion directory with a meaningful name and when in-game bring up the console and type "Bat filename.txt" to call the commands. Especially useful for playtesting mods when toggling functions on or off rather than inputting the console commands one at a time.
 


{| style="width: 100%; border-collapse: collapse" border="1"
{| style="width: 100%; border-collapse: collapse" border="1"
Line 8: Line 16:
!| Parameters
!| Parameters
|-
|-
| [[AddDecal]]
| AddDecal
|  
|  
|  
|  
Line 14: Line 22:
|  
|  
|-
|-
| [[AddFaceAnimNote]]
| AddFaceAnimNote
| AFAN
| AFAN
|  
|  
Line 20: Line 28:
| sString
| sString
|-
|-
| [[BeginTrace]]
| BeginTrace
| bt
| bt
| Creates a trace file (xbox only)
| Creates a trace file (Xbox version only).
| False
| False
|  
|  
|-
|-
| [[BetaComment]]
| BetaComment
| BC
| BC
| Add comment to <nowiki>[General]</nowiki> 'sBetaCommentFile' file.
| Add comment to <nowiki>[General]</nowiki> 'sBetaCommentFile' file.
NOTE: select object first. Oblivion will crash if comment entered with no object selected
NOTE: select object first. Oblivion will crash if comment entered with no object selected.


'''bc &quot;This rock is too high.&quot;'''
'''bc &quot;This rock is too high.&quot;'''
Line 35: Line 43:
| sString
| sString
|-
|-
| [[CalcLowPathToPoint]]
| CalcLowPathToPoint
| LP2P
| LP2P
| ignore locks, allow disabled doors, ignore min use
| ignore locks, allow disabled doors, ignore min use
Line 41: Line 49:
| bIgnoreLocks, bAllowDisabledDoors, bIgnoreMinUse
| bIgnoreLocks, bAllowDisabledDoors, bIgnoreMinUse
|-
|-
| [[CalcPathToPoint]]
| CalcPathToPoint
| P2P
| P2P
|  
|  
Line 47: Line 55:
|  
|  
|-
|-
| [[CenterOnCell]]
| CenterOnCell
| COC
| COC
| Move player to specified interior cell
| Move player to specified interior cell
Line 53: Line 61:
| CellName
| CellName
|-
|-
| [[CenterOnExterior]]
| CenterOnExterior
| COE
| COE
| Move player to specified exterior cell coordinates
| Move player to specified exterior cell coordinates
Line 59: Line 67:
| x, y
| x, y
|-
|-
| [[CenterOnWorld]]
| CenterOnWorld
| COW
| COW
| Move player to specified cell in specified worldspace [COW worldname -10 5]
| Move player to specified cell in specified worldspace [COW worldname -10 5]
Line 103: Line 111:
| GetINISetting
| GetINISetting
| GetINI
| GetINI
|  
| Retrieves a setting from the Oblivion.ini file. ''c.f.'' [SetINI]
| False
| False
| SettingName
| SettingName
Line 115: Line 123:
| Help
| Help
|  
|  
| Show this help.
| Displays a selected list of console commands. ''c.f.'' [tfh] (toggleFullHelp).
| False
| False
|  
|  
Line 217: Line 225:
| Reload
| Reload
|  
|  
| Reload &lt;MenuName&gt; Uses the MenuName tag found in the .xml file (i.e., InventoryMenu) Loads the menu. May close the menu if it's already open (i.e., LockPickMenu). Some menus don't seems to work (i.e., OptionsMenu) and odd results may occur (InventoryMenu doesn't work right until you press a button, menus overlap, etc.)
| Reload &lt;MenuName&gt; Uses the MenuName tag found in the .xml file (i.e., InventoryMenu) Loads the menu. May close the menu if it's already open (i.e., LockPickMenu). Some menus don't seem to work (i.e., OptionsMenu) and odd results may occur (InventoryMenu doesn't work right until you press a button, menus overlap, etc.)
| False
| False
| MenuName
| MenuName
Line 259: Line 267:
| SaveGame
| SaveGame
| save
| save
| SaveGame &lt;filename&gt;
| SaveGame &lt;filename&gt; Be aware that any existing savegame with the same name will be overwritten without confirmation.
| False
| False
| SaveName
| SaveName
Line 325: Line 333:
| SetINISetting
| SetINISetting
| SetINI
| SetINI
|  
| Sets the desired setting in Oblivion.ini to the desired value while in-game. See [[Con_SetINISetting]] for syntax and details.
| False
| False
| sININame, sINIValue
| sININame, sINIValue
Line 331: Line 339:
| SetLightingPasses
| SetLightingPasses
| SLP
| SLP
| 4 (0/1) values. amb|diff|tex|spec ex: 1010
| 4 (0/1) values. <nowiki>amb|diff|tex|spec</nowiki> ex: 1010
| False
| False
| sBitFlag
| sBitFlag
Line 457: Line 465:
| ShowVars
| ShowVars
| SV
| SV
| Show variables on object. [player-&gt;sv]
| Show variables on object. Doesn't support [[reference variables]].[player-&gt;sv]
| True
| True
|  
|  
Line 770: Line 778:
| TWF
| TWF
| Show the world as wireframe.
| Show the world as wireframe.
| False
|
|-
| UseWorkbook
| UseWorkbook
| When you open any book in the world then use this command it will replace the text with what is in data\menus\workbook.html
| False
| False
|  
|  
Anonymous user