Commands ======== Notes ----- ``ActiveDebugHUD`` is the command to enable this feature. To access the console in game make sure you have the debug hud enabled. This is most easily done by loading the default ``debug_tools`` mod or uncommenting the ``adhud`` line in the ``usergame.tsc`` file in the FUEL root directory. The in-game console can be accessed by pressing the ``y`` key in the game world. The game is paused while the console is open so you have to close it for your commands to take effect. Use the ``wasd`` keys to navigate the console keyboard. Use ``r`` to insert a space character and ``x`` to delete the last character. Pressing ``y`` while the console is open will close the console. Be careful not to confuse the letter ``O`` in the first row with the digit ``0`` in the second and third rows. .. image:: img/CommandPalette.png :width: 800 See the :ref:`Totem Script documentation entry` for more information about how commands work. Due to the excessive number of commands, I will add details to the commands as I see fit. If there is a command that you would like me to add details to, open an issue with the command name and I will get to it when I have a chance. Command List ------------ .. code-block:: c 1ST .. code-block:: c 2ND .. code-block:: c 3RD .. code-block:: c 4TH .. code-block:: c ActivateAverageSpeed .. code-block:: c ActivateGame .. code-block:: c ACtivateGamePlayer .. code-block:: c ActiveDebugHUD Enables the Y console menu .. code-block:: c ActiveTeleport .. code-block:: c AddChampionShip .. code-block:: c AddCharacter .. code-block:: c AddComboChampionship .. code-block:: c AddCommandAfterTeleport .. code-block:: c AddConditionTROPHY .. code-block:: c AddConnectionBot .. code-block:: c AddConnectionNbBot .. code-block:: c AddExtraCHAMPIONSHIP .. code-block:: c AddExtraCHEAT .. code-block:: c AddExtraConceptArt .. code-block:: c AddExtraMovieClip .. code-block:: c AddExtraMovieStill .. code-block:: c AddExtraMulti .. code-block:: c AddExtraSolo .. code-block:: c AddGamePlayer .. code-block:: c AddHighVibrationKey .. code-block:: c AddHubCareerRaces .. code-block:: c AddHubCHallengeRaces .. code-block:: c AddHubTrafficVehicle .. code-block:: c AddHubTutorialRaces .. code-block:: c AddIGACell .. code-block:: c AddIngameDiaLoG .. code-block:: c AddInGameTextInfos .. code-block:: c AddJoyStick .. code-block:: c AddLangDefine .. code-block:: c AddLevel .. code-block:: c AddLevelDemoMenu .. code-block:: c AddLevelMenu .. code-block:: c AddLevelMPEG .. code-block:: c AddLevelRTC .. code-block:: c AddLowVibrationKey .. code-block:: c ADdMarKer .. code-block:: c AddMaterialLib .. code-block:: c AddMenuItemButtonDyn .. code-block:: c AddMenuItemButtonTT .. code-block:: c AddMenuItemFillRect .. code-block:: c AddMenuItemImage .. code-block:: c AddMenuItemLabelDyn .. code-block:: c AddMenuItemLabelTT .. code-block:: c AddMenuItemListBoxTT .. code-block:: c AddMenuItemRegionImage .. code-block:: c AddMenuPlayer .. code-block:: c AddMISSION .. code-block:: c AddMissionCarOnline .. code-block:: c AddMissionFuel .. code-block:: c AddMissionIASpeed .. code-block:: c AddMissionNeededVehicle .. code-block:: c AddMissionPARAM .. code-block:: c AddMissionSurfaceType .. code-block:: c AddMissionTime .. code-block:: c AddMpegMenu .. code-block:: c AddMultiGame .. code-block:: c AddMUSIC .. code-block:: c AddNbMaxOnlineVehicle .. code-block:: c ADdNewItem .. code-block:: c AddNewTROPHY .. code-block:: c AddPilotLivery ``AddPilotLivery category index nameID <"ALWAYS"|"NONE"|"race identifier"> bonusCode`` .. code-block:: c AddPilotLiveryColor .. code-block:: c AddPointOfInterestFlush .. code-block:: c AddRTC .. code-block:: c AddStreamLevel .. code-block:: c AddTextInfos .. code-block:: c AddTTInfos .. code-block:: c AddTypePointOfInterest .. code-block:: c AddVehicleColor .. code-block:: c AddVehicleGPS .. code-block:: c AddVehicleInfo .. code-block:: c AddVehicleInterfaceParams .. code-block:: c AddVehicleLivery .. code-block:: c AddVehicleParams .. code-block:: c AddVehicleUnlock .. code-block:: c ADDVibration .. code-block:: c AICM .. code-block:: c AskFailureMenu .. code-block:: c AskMenuSave .. code-block:: c AsynchCheckHandles .. code-block:: c BackToMenu .. code-block:: c Be10000PtsRicher .. code-block:: c Be50000PtsRicher .. code-block:: c Be5000PtsRicher .. code-block:: c BeginRaceRecord .. code-block:: c BeRich .. code-block:: c BlindageFadeAfterRTC .. code-block:: c BlocFader .. code-block:: c BoxPatchClip .. code-block:: c BSouRCe .. code-block:: c BuildMissionList .. code-block:: c BuyAll .. code-block:: c CAMDebug .. code-block:: c CameraMouseControl .. code-block:: c CameraStaticMove .. code-block:: c ChangeCurrentPerso .. code-block:: c ChangeDebugInGamePlayer .. code-block:: c ChangeRPMVehicle .. code-block:: c ChangeStartBase .. code-block:: c CheatNoRtc .. code-block:: c CheckAutoStart .. code-block:: c CheckHandles .. code-block:: c CheckMemoryEveryFrame .. code-block:: c CheckUnlock .. code-block:: c ChoosePlayMovie .. code-block:: c ChooseRandomStartBase .. code-block:: c ChronoMarKer .. code-block:: c CleanTempPic .. code-block:: c CloneClass .. code-block:: c CLONEClassDone .. code-block:: c CloseAVI ``CloseAVI|CAVI`` Stop recording. See ``MakeAVI``. .. code-block:: c CloseBF .. code-block:: c CloseFogOfWar .. code-block:: c CloseSBF .. code-block:: c CompleteObjectif .. code-block:: c ContinueAfterMission .. code-block:: c ConvertToQuat .. code-block:: c CrashIA .. code-block:: c CreatePage .. code-block:: c CreatGlobalInGameDatas .. code-block:: c DeactivateGame .. code-block:: c DeactivateGamePlayer .. code-block:: c DeBugActionSphere .. code-block:: c DeBugAINOSpeed .. code-block:: c DebugAllWeapons .. code-block:: c DeBugChangeGameMusic .. code-block:: c DebugContextualMusic .. code-block:: c DeBugCreatureGotoPos .. code-block:: c DeBugCreatureState .. code-block:: c DeBugCreatureUD .. code-block:: c DeBugCreatureUDLod .. code-block:: c DebugDraw3DElements .. image:: img/DebugDraw3DElements.png :width: 800 .. code-block:: c DebugDynamicInfo .. code-block:: c DeBugFIRE .. code-block:: c DebugFollowPath .. code-block:: c DebugGenerateMissioN .. code-block:: c DebugGenWorldTerrain .. image:: img/DebugGenWorldTerrain.png :width: 800 .. code-block:: c DeBuGGPS .. code-block:: c DebugIA .. code-block:: c DeBugInfos .. image:: img/DeBugInfos.png :width: 800 .. code-block:: c DeBugInterfaceOnline .. code-block:: c DebugItemMgr .. code-block:: c DebugLevelMusic .. code-block:: c DebugMC .. code-block:: c DebugMenuBox .. code-block:: c DebugMissionName .. code-block:: c DebugNmyMgr .. code-block:: c DeBugPlayerHead .. code-block:: c DeBugPlayerLight .. code-block:: c DebugPlayerPos .. code-block:: c DeBugSightGUARD .. code-block:: c DebugTheEnnemies .. code-block:: c DeBugVirages .. code-block:: c DebugWaitAnim .. code-block:: c DebugWeaponCamera .. code-block:: c DebugWhiteFade .. code-block:: c DeltaTime .. code-block:: c DisableAssert .. code-block:: c DisableConsole .. code-block:: c DisableDebugTools .. code-block:: c DisableFileMirroring .. code-block:: c DisableIngameConsole .. code-block:: c DisableMouseForCamera Makes it so the mouse cannot be used to move the camera. .. code-block:: c DisableMOvie Skips all movies. .. code-block:: c DisableMUsic .. code-block:: c DisableOSD .. code-block:: c DisableShaderCompile Skips the "Processing Shaders" step when loading the game. .. code-block:: c DisplayDebugOnline .. image:: img/DisplayDebugOnline.png :width: 800 .. code-block:: c DisplayFollowSplines .. code-block:: c DisplayFPS .. image:: img/DisplayFPS.png :width: 800 .. code-block:: c DisplayFrameBar .. code-block:: c DisplayImage .. code-block:: c DisplayLegalText .. code-block:: c DisplayMemStatus .. code-block:: c DisplaySoundInfo .. image:: img/DisplaySoundInfo.png :width: 800 .. code-block:: c DisplaySTream .. code-block:: c DisplayStreamPOPing .. code-block:: c DisplaySurfaceBox .. code-block:: c DisplayVisibleObject .. code-block:: c DoSkelDynamic .. code-block:: c DPlayRtc .. code-block:: c DrawMemGraph .. code-block:: c DrawMEMInfos .. code-block:: c DrawTEXInfos .. code-block:: c EditCutRoad .. code-block:: c EditDeleteRoad .. code-block:: c EditLinkRoad .. code-block:: c EditMakeRoad .. code-block:: c EditStartRoad .. code-block:: c EditTypeRoad .. code-block:: c EMD_Begin .. code-block:: c EMD_End .. code-block:: c EMD_ExportVehicleName .. code-block:: c EMD_ForceStartPosition .. code-block:: c EMD_HideStartEnd .. code-block:: c EMD_Save .. code-block:: c EMD_SetAIElasticParam .. code-block:: c EMD_SetCheckpoint .. code-block:: c EMD_SetCheckpointTimerBonus .. code-block:: c EMD_SetEndPos .. code-block:: c EMD_SetEndRot .. code-block:: c EMD_SetFilterIA .. code-block:: c EMD_SetName .. code-block:: c EMD_SetNbIA .. code-block:: c EMD_SetNbLoop .. code-block:: c EMD_SetPlayerAllowedClassFilter .. code-block:: c EMD_SetPlayerAllowedGroupFilter .. code-block:: c EMD_SetPlayerAllowedVehiculeFilter .. code-block:: c EMD_SetPlayerForbiddenClassFilter .. code-block:: c EMD_SetPlayerForbiddenGroupFilter .. code-block:: c EMD_SetPlayerForbiddenVehiculeFilter .. code-block:: c EMD_SetRaceMode .. code-block:: c EMD_SetRaceScenario .. code-block:: c EMD_SetStartPos .. code-block:: c EMD_SetStartRot .. code-block:: c EMD_SetTimer .. code-block:: c EMD_SetTimerCheckBonus .. code-block:: c EMD_SetWeatherScenario .. code-block:: c EnableBF .. code-block:: c EnableBloomEffect .. code-block:: c EnableDebugMOuse .. code-block:: c EnableDebugTools .. code-block:: c EnableDebugViewport .. code-block:: c EnableDmaProfiler .. code-block:: c EnableL2R2 .. code-block:: c EnableNightmareDifficulty .. code-block:: c EnablePopupMenu .. code-block:: c EnableTSProfiler .. code-block:: c EnableVSYnc .. code-block:: c EndDrawLoadingBitmap .. code-block:: c EndLoadingLEVEL .. code-block:: c EndMENURessourceParsing .. code-block:: c EndOfMission .. code-block:: c EndOfParsePilotLivery .. code-block:: c EndOfParsingTSC .. code-block:: c EndOfScriptStreamedBigfile .. code-block:: c EndOfVehiclePP .. code-block:: c EndRaceRecord .. code-block:: c EndSTRIP .. code-block:: c EnterRaceGameSession .. code-block:: c eXit .. code-block:: c FitOnObject .. code-block:: c ForceBF .. code-block:: c ForceDayTime ``ForceDayTime beginning`` ``ForceDayTime xx.yy`` [00.00, 24.00) .. code-block:: c ForceDestroyVehicle .. code-block:: c ForceMeshIA .. code-block:: c ForceUnLock .. code-block:: c FreeLanguage .. code-block:: c FreezeTheCons .. code-block:: c FX .. code-block:: c GAMEStarted .. code-block:: c GenerateMissioN .. code-block:: c GeneratePointOfInterest .. code-block:: c GetMatrixUsage .. code-block:: c GetMemoryStats .. code-block:: c GotoDummyName .. code-block:: c GotoDummyTeleport .. code-block:: c Help .. code-block:: c IADebug .. code-block:: c InfiniteVision .. code-block:: c InfoMissions .. code-block:: c InitEmptySave .. code-block:: c InitGameMgr .. code-block:: c InitLanguageMC .. code-block:: c InitRandomSeed .. code-block:: c InputDefAdd .. code-block:: c InstallGameFiles .. code-block:: c JoinFreeRideGameSession .. code-block:: c JoinFreeRideGameSessionWithFriends .. code-block:: c JoinRaceGameSession .. code-block:: c KillFade .. code-block:: c KillHelicopter .. code-block:: c KillMission .. code-block:: c KillPlayer .. code-block:: c LAUNCHMission .. code-block:: c LiSTMarKer .. code-block:: c Load .. code-block:: c LoadATVFile .. code-block:: c LoadFOnt path While a BigFile is open this command will load a ``Fonts_Z``. The path ``FONTES\BIG_FONT`` will be transformed to ``DB:>FONTES>BIG_FONT.TFONT`` then hashed and looked up in the open BigFile. .. code-block:: c LoadGameData .. code-block:: c LoadINPUT .. code-block:: c LoadMarKer .. code-block:: c LoadMaterialLib .. code-block:: c LoadMissionData .. code-block:: c LoadObjectLib .. code-block:: c LoadRefWorld .. code-block:: c LoadRoadFile .. code-block:: c LoadRTC .. code-block:: c LoadSysRtc .. code-block:: c LoadWorldRef .. code-block:: c LoadWorldRefS .. code-block:: c LockAll .. code-block:: c LoseCurrentMission .. code-block:: c MakeAllBF .. code-block:: c MakeAVI ``MakeAVI|MAVI [num_frames] [fps]`` both arguments default to 30 if not present. They may be overwritten individually by providing 1 or 2 arguments optionally. The directory ``C:\temp`` must exist for this command to work. A menu will pop up to configure the recording options. See ``CloseAVI``. .. code-block:: c MakeFlyVideo .. code-block:: c MakeRTCBF .. code-block:: c MarkMEMory .. code-block:: c MemoryGraphColor .. code-block:: c MENUDEBug .. code-block:: c MENUDialog .. code-block:: c MENUEndDialog .. code-block:: c MENUEndWindow .. code-block:: c MENUParseTSC .. code-block:: c MENUPlatform .. code-block:: c MENUPropertyBackgroundImage .. code-block:: c MENUPropertyBitmapColorAndStyle .. code-block:: c MENUPropertyBitmapStyle .. code-block:: c MENUPropertyBOXStyle .. code-block:: c MENUPropertyChecked .. code-block:: c MENUPropertyCOLOR .. code-block:: c MENUPropertyDisplayedItemCount .. code-block:: c MENUPropertyEnabled .. code-block:: c MENUPropertyForceDisplayScrollBar .. code-block:: c MENUPropertyForegroundImage .. code-block:: c MENUPropertyFrameAlignment .. code-block:: c MENUPropertyGoToCriticalColor .. code-block:: c MENUPropertyImage .. code-block:: c MENUPropertyListItem .. code-block:: c MENUPropertyLowerCaseForced .. code-block:: c MENUPropertyMAXValue .. code-block:: c MENUPropertyMINValue .. code-block:: c MENUPropertyMoviePath .. code-block:: c MENUPropertyOutlined .. code-block:: c MENUPropertySmallFont .. code-block:: c MENUPropertySrollable .. code-block:: c MENUPropertyStateVisibility .. code-block:: c MENUPropertySTEPValue .. code-block:: c MENUPropertyText .. code-block:: c MENUPropertyTextAlign .. code-block:: c MENUPropertyTextSCALE .. code-block:: c MENUPropertyTextSTYLE .. code-block:: c MENUPropertyUFlipped .. code-block:: c MENUPropertyUpperCaseForced .. code-block:: c MENUPropertyVFlipped .. code-block:: c MENUPropertyVisible .. code-block:: c MENUPropertyWaitingStyle .. code-block:: c MENUStyleBITMAP .. code-block:: c MENUStyleBITmapColor .. code-block:: c MENUStyleBitmapDim .. code-block:: c MENUStyleBox .. code-block:: c MENUStyleTextScroll .. code-block:: c MENUSTyleTextStruct .. code-block:: c MENUUpdate .. code-block:: c MENUWindow .. code-block:: c MissionFilter .. code-block:: c MissionFilterCheckpoints .. code-block:: c MissionFilterIA .. code-block:: c MissionStatisTicS .. code-block:: c MovePlayerTo .. code-block:: c NbHandle .. code-block:: c NoBackOmniInRtc .. code-block:: c NoFadeAndStrip .. code-block:: c NOTimeLimit .. code-block:: c OpenAllFogOfWar .. code-block:: c OpenBF .. code-block:: c OpenBFS .. code-block:: c OpenFogOfWar .. code-block:: c OpenSBF .. code-block:: c PackUnPackSaveBuffer .. code-block:: c Pause .. code-block:: c PauseAllAnimation .. code-block:: c PauseConsole .. code-block:: c PauseTheDynamics .. code-block:: c PersoSPEED .. image:: img/PersoSPEED.png :width: 800 .. code-block:: c PlayDIalog .. code-block:: c PlayerGotoCoord .. code-block:: c PlayerInvincible .. code-block:: c PlayerPP .. code-block:: c PlayerUnlimWeapons .. code-block:: c PlayerVehicleEndSaveAnimation .. code-block:: c PlayerVehicleStartSaveAnimation .. code-block:: c PlayLevel .. code-block:: c PlayLevelMulti .. code-block:: c PlayLevelMUSIC .. code-block:: c PlayMOVieRegisterNetManager .. code-block:: c PlayMUsic .. code-block:: c PlayRTC .. code-block:: c PosPersoDebug .. code-block:: c PrintFreeMem .. code-block:: c PrintSeadsUsage .. code-block:: c ProtectOfflineMission .. code-block:: c PutParameter .. code-block:: c PutParameterVehicle .. code-block:: c ReadParameters .. code-block:: c ReloadAllInGamePages .. code-block:: c ReloadVehicleParameters .. code-block:: c RemapTextAdd .. code-block:: c RemoveAllDialogs .. code-block:: c RemoveAllMaterialLib .. code-block:: c RemoveFOnt .. code-block:: c RemoveGame .. code-block:: c ReMoveGamePlayer .. code-block:: c RemoveGeneratedMission .. code-block:: c ReMoveMarKer .. code-block:: c RemoveMaterialLib .. code-block:: c RemoveObjectLib .. code-block:: c RemoveSysRtc .. code-block:: c RemoveWorld .. code-block:: c RemoveWorldRefS .. code-block:: c ResetAverageSpeed .. code-block:: c ResetBaseMeshLiveryID .. code-block:: c ResetFogOfWar .. code-block:: c REsetGame .. code-block:: c RESETTextAdd .. code-block:: c RestartFromBufferSave .. code-block:: c RestartFromEmptySave .. code-block:: c RestartMission .. code-block:: c Save .. code-block:: c SaVeBasegeneratedMission .. code-block:: c SaveFogOfWar .. code-block:: c SaveGameData .. code-block:: c SaVegeneratedMission .. code-block:: c SaveGenWorldHeightMap .. code-block:: c SaveGenWorldMap .. code-block:: c SaveGenWorldMapTiles .. code-block:: c SaveMarKer .. code-block:: c SavePointOfInterest .. code-block:: c SaveRoadFile .. code-block:: c SaveTheRoadsMap .. code-block:: c SayStartingDiaLoG .. code-block:: c ScreenShot .. code-block:: c SEarchRaceGameSession .. code-block:: c SeeEnemies .. code-block:: c SEERunningMission .. code-block:: c SEEStartedMission .. code-block:: c SEEUnlocked .. code-block:: c SetAutoCompletion .. code-block:: c SetBFPath .. code-block:: c SetBlackScreen .. code-block:: c SetBlockFrame .. code-block:: c SetBOrderMargin .. code-block:: c SetBrightness .. code-block:: c SetContrast .. code-block:: c SetDBPath .. code-block:: c SetDebugCamFOV .. code-block:: c SetDebugSDMode ``SetDebugSDMode [PS3|X360|PC|MAC]`` If the argument is missing or not one of the given strings, then the "Platform Dependent" SD is used. .. image:: img/SetDebugSDMode.png :width: 800 .. code-block:: c SetDefaultMissionValues .. code-block:: c SetDefaultRatio .. code-block:: c SetDFPath .. code-block:: c SetFrame .. code-block:: c SetGame .. code-block:: c SetGameLogicAgent .. code-block:: c SetGameTSCFolder .. code-block:: c SetGAmma .. code-block:: c SetGammaRamp .. code-block:: c SetGenWorldDetailMPEG .. code-block:: c SetGPS3DVisibleState .. code-block:: c SetHubTargetInfos .. code-block:: c SetHudsVisibleState .. code-block:: c SetLanguage .. code-block:: c SetLanguageAuto .. code-block:: c SetLIghtingType .. code-block:: c SetLightLevel .. code-block:: c SetLoadingDraw .. code-block:: c SetLoadingStep .. code-block:: c SetLodRender .. code-block:: c SetLodTexture .. code-block:: c SetLoginPassword .. code-block:: c SetMaxAnisotropy .. code-block:: c SetMESSAGEUserName .. code-block:: c SetMonoGame .. code-block:: c SetMUSIC .. code-block:: c SetPersoCamera .. code-block:: c SetPlayerCountLimit .. code-block:: c SetRtcFatherDummy .. code-block:: c SetRtcMusic .. code-block:: c SetRtcSBF .. code-block:: c SetSplitType .. code-block:: c SetStartPageMenuItem .. code-block:: c SetStartTTInfosIndex .. code-block:: c SetTExtureFiltering .. code-block:: c SetTimeFactor ``SetTimeFactor