Difference between revisions of "Category:Console Functions"
Jump to navigation
Jump to search
imported>DragoonWraith (linking PCB to article) |
imported>Barafu The Albino Cheetah (About FormID) |
||
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. You can scroll the console output by using PageUp and PageDown. The console is invoked by pressing the "~" key. | These functions are only available for use in the in-game console. They cannot be compiled into scripts in the editor. You can scroll the console output by using PageUp and PageDown. The console is invoked by pressing the "~" key. | ||
Note that in these commands you should use FormID rather then EditorID. You can get it two ways: | |||
* In game, while in console mode, you can click mouse the object on the screen. | |||
* In editor, FormIDs are available in main window. By default, the column with them is to the right of EditorID. However, this method seems to work well only with unique entities. | |||
{| style="width: 100%; border-collapse: collapse" border="1" | {| style="width: 100%; border-collapse: collapse" border="1" |
Revision as of 09:59, 10 September 2006
These functions are only available for use in the in-game console. They cannot be compiled into scripts in the editor. You can scroll the console output by using PageUp and PageDown. The console is invoked by pressing the "~" key. Note that in these commands you should use FormID rather then EditorID. You can get it two ways:
- In game, while in console mode, you can click mouse the object on the screen.
- In editor, FormIDs are available in main window. By default, the column with them is to the right of EditorID. However, this method seems to work well only with unique entities.
Function Name | Short Name | Description | Reference Function | Parameters |
---|---|---|---|---|
AddDecal | False | |||
AddFaceAnimNote | AFAN | True | sString | |
BeginTrace | bt | Creates a trace file (xbox only) | False | |
BetaComment | BC | Add comment to [General] 'sBetaCommentFile' file.
NOTE: select object first. bc "This rock is too high." |
False | sString |
CalcLowPathToPoint | LP2P | ignore locks, allow disabled doors, ignore min use | True | bIgnoreLocks, bAllowDisabledDoors, bIgnoreMinUse |
CalcPathToPoint | P2P | True | ||
CenterOnCell | COC | Move player to specified interior cell | False | CellName |
CenterOnExterior | COE | Move player to specified exterior cell coordinates | False | x, y |
CenterOnWorld | COW | Move player to specified cell in specified wordspace [COW worldname -10 5] | False | WorldspaceName, CellCoordX, CellCoordY |
ClearAdaptedLight | cal | Clears the HDR adapted light texture | False | |
CloseFile | False | Filename | ||
CompleteAllQuestStages | caqs | Sets all quest stages | False | |
DumpTexturePalette | DTP | Dump texture palette contents to warning file (param is sort type: f-filename,s-size,c-count) | False | SortType (optional) |
FlushNonPersistActors | Flush | Deletes all the actors in High who are not persistant | False | iCount |
FreezeRenderAccumulation | fra | only re-render geometry visible during this frame | False | |
GetINISetting | GetINI | False | SettingName | |
HairTint | 3 ints,RGB | False | iRed, iGreen, iBlue | |
Help | Show this help. | False | ||
LoadGame | load | LoadGame <filename> | False | SaveName |
ModWaterShader | mws | Modifies water shader settings | False | String, Float (optional) |
MoveToQuestTarget | movetoqt | Move player to current quest target (optional param: target number, 1 to N). | False | QuestTargetNumber (optional) |
OutputArchiveProfile | oap | Output Archive profile info to a file | False | String (optional) |
OutputLocalMapPictures | OLMP | Writes out the current local map. | False | |
OutputMemContexts | omc | Output Mem Context info to a file | False | Filename (optional) |
OutputMemStats | oms | Output Mem Stats info to a file | False | Filename (optional) |
PickRefByID | PRID | Select a reference by id for the console. | False | ObjectRefID |
PlayerSpellBook | psb | Add all spells to player. | False | |
PrintAiList | pai | Printed Ai Lists. | False | |
PrintHDRParam | PHP | Prints current HDR settings. | False | |
PrintNPCDialog | pdialog | Prints NPC dialog | False | |
PurgeCellBuffers | pcb | Forcibly unloads all unattached cells in cell buffers. | False | |
QuitGame | qqq | Exit game without going through menus. | False | |
RefreshINI | REFINI | Refresh INI settings from file. | False | |
RefreshShaders | Reload HLSL shaders from disk | False | ||
ReloadCurrentClimate | rcc | Reloads values from the current climate | False | |
ReloadCurrentWeather | rcw | Reloads values from the current weather | False | |
ResetMemContexts | rmc | Reset Max Mem Contexts | False | |
RevertWorld | rw | Revert the world | False | |
RunCellTest | rct | Runs a cell test | False | iFlag (optional) |
RunMemoryPass | rmp | Runs a cleanup memory pass | False | iFlag |
SaveGame | save | SaveGame <filename> | False | SaveName |
SaveIniFiles | saveini | Writes all the .ini files. | False | |
SaveWorld | Save hkWorld <filename> | False | Filename | |
SetCameraFOV | FOV | Change the camera's field of view (in deg): default 75 | False | iDegrees |
SetClipDist | float,new clip distance | False | fClipDistance | |
SetDebugText | sdt | Sets which debug text is shown. | False | iDebugPage |
SetFog | 2 floats,start and end depths | False | fStartDepth, fEndDepth | |
SetGameSetting | SetGS | False | sGSName, sGSValue | |
SetGamma | sg | Sets new gamma ramp. | False | fValue |
SetHDRParam | SHP | Sets various values for the HDR shader | False | fEyeAdaptSpeed, fEmissiveHDRMult, fTreeDimmer, fGrassDimmer, fValue5, fValue6 |
SetImageSpaceGlow | SISG | False | iValue1, fValue2, fValue3, fValue4 | |
SetINISetting | SetINI | False | sININame, sINIValue | |
SetLightingPasses | SLP | diff|tex|spec ex: 1010 | False | sBitFlag |
SetSkyParam | SSP | Sets various values for the sky | False | fValue1, fValue2 |
SetSTBBColorConstants | sscc | Show speedtree billboard color tweak constants. | False | fValue1, fValue2, fValue3, fValue4 |
SetTargetRefraction | str | Sets the refractive value of the target | False | fValue |
SetTargetRefractionFire | strf | Sets the refractive fire value of the target | False | fValue1, iValue2 |
SetTreeMipmapBias | stmb | Set mipmap LOD bias values for tree billboards. | False | fValue1, fValue2 |
SexChange | Selected npc male become female or female becomes male. | False | ||
Show | TST | Show values of script variables: show gamedayspassed | False | VarName |
Show1stPerson | S1ST | Show the 1st person Model from the 3rd person camera. If in 3rd person mode it will show both. | False | |
ShowAnim | SA | Show Animation and Actor status. | True | |
ShowFullQuestLog | SFQL | Show all log entries for a single quest | False | QuestID |
ShowHeadTrackTarget | SHeadT | Show the head track target if set from look function | True | |
ShowPivot | SP | Puts a temporary yellow plus at the pivot point of the selected reference. | True | |
ShowQuestLog | SQL | Show Quest Log. Optional flag: 0=current quests, 1=completed quests | False | bShowCompleted |
ShowQuests | SQ | List quests. | False | |
ShowQuestTargets | SQT | Show current quest targets | False | |
ShowQuestVars | SQV | Show quest variables. [svq QuestID] | False | QuestID |
ShowRenderPasses | srp | display render passes for the next frame | False | |
ShowScenegraph | SSG | Create a window with the full game scene graph. | False | |
ShowSubSpaces | sss | Temporarily displays subspaces. | False | |
ShowSubtitle | show all dialog subtitles (1 shows always,0 hides always) | False | bFlag | |
ShowVars | SV | Show variables on object. [player->sv] | True | |
ShowWhoDetectsPlayer | SWDP | Show who detects the player | False | |
SpeakSound | True | Filename, iEmotion, iEmotionValue | ||
StartAllQuests | saq | Starts all quests | False | |
TestAllCells | TAC | Test All Cells (0 - stop, 1 - start, 2 - interiors, 3 - current world) | False | iValue |
TestCode | False | |||
TestLocalMap | tlm | Simulates the local map. (1 or 0 for FOW on or off) | False | iValue |
TestSeenData | tsd | Visually displays the current seen data | False | |
ToggleAI | TAI | False | ||
ToggleAiSchedules | TAIS | False | ||
ToggleBorders | TB | Show border lines for each cell. | False | |
ToggleCastShadows | tsh | False | iShadowType | |
ToggleCellNode | TCN | Toggle 3D for a Cell child node: 0-Actor, 1-Marker, 2-Land, 3-Water, 4-Static, 5-Active | False | iValue |
ToggleCharControllerShape | TCCS | Toggle char controller shape type. | False | |
ToggleCollision | TCL | False | ||
ToggleCollisionGeometry | TCG | Show collision geometry. | False | |
ToggleCombatAI | tcai | Toggles ALL Combat AI | False | |
ToggleCombatStats | TCS | False | ||
ToggleConversations | TCONV | Toggle conversation stats | False | |
ToggleDebugText | TDT | Shows framerate(FPS) and debug numbers on the screen. | False | |
ToggleDetection | TDETECT | False | ||
ToggleDetectionStats | tds | Show the detection stats of the current seletected Ref. | False | |
ToggleEmotions | temo | Toggle NPC facial emotions. | False | |
ToggleFlyCam | tfc | Toggles the Free Fly camera (UFO cam). | False | |
ToggleFogOfWar | TFOW | Turns fog of war on or off. | False | |
ToggleFullHelp | TFH | Toggle Full Help | False | |
ToggleGodMode | TGM | Toggle God mode | False | |
ToggleGrass | TG | Toggle grass display. | False | |
ToggleGrassUpdate | TGU | False | ||
ToggleHDRDebug | THD | Toggles HDR debug textures. | False | |
ToggleHighProcess | THIGHPROCESS | False | ||
ToggleLeaves | TLV | False | ||
ToggleLiteBrite | tlb | Toggles lite brite render mode. | False | |
ToggleLODLand | TLL | False | ||
ToggleLowProcess | TLOWPROCESS | False | ||
ToggleMagicStats | TMS | False | ||
ToggleMapMarkers | tmm | Toggle map markers (1 shows all, 0 hides all). | False | iValue |
ToggleMaterialGeometry | TMG | Show material geometry. | False | |
ToggleMenus | TM | Hide all the menus. Used for taking screen shots. | False | |
ToggleMiddleHighProcess | TMHIGHPROCESS | False | ||
ToggleMiddleLowProcess | TMLOWPROCESS | False | ||
ToggleOcclusion | tocc | toggle occlusion query for geometry | False | |
TogglePathGrid | TPG | Toggle blocked display. | False | |
TogglePathLine | TPL | Toggle path display. | False | |
ToggleRefractionDebug | trd | Toggles refraction debug render texture | False | |
ToggleSafeZone | TSZ | Display the television 85% safe zone | False | |
ToggleScripts | TSCR | Turn Script processing on/off | False | |
ToggleShadowVolumes | TSV | False | ||
ToggleSky | TS | False | ||
ToggleTrees | TT | Turn trees on/off | False | |
ToggleWaterRadius | TWR | False | ||
ToggleWaterSystem | TWS | Toggles the water system | False | |
ToggleWireframe | TWF | Show the world as wireframe. | False | |
Verbose | VERBOSE | Toggle verbose combat/AI messages | False | |
WaterDeepColor | deep | Modifies water deep color | False | iValue1, iValue2, iValue3 |
WaterReflectionColor | refl | Modifies water reflection color | False | iValue1, iValue2, iValue3 |
WaterShallowColor | shallow | Modifies water shallow color | False | iValue1, iValue2, iValue3 |
Subcategories
This category has only the following subcategory.
C
Pages in category "Console Functions"
The following 3 pages are in this category, out of 3 total.