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.

_images/CommandPalette.png

See the 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

1ST
2ND
3RD
4TH
ActivateAverageSpeed
ActivateGame
ACtivateGamePlayer
ActiveDebugHUD

Enables the Y console menu

ActiveTeleport
AddChampionShip
AddCharacter
AddComboChampionship
AddCommandAfterTeleport
AddConditionTROPHY
AddConnectionBot
AddConnectionNbBot
AddExtraCHAMPIONSHIP
AddExtraCHEAT
AddExtraConceptArt
AddExtraMovieClip
AddExtraMovieStill
AddExtraMulti
AddExtraSolo
AddGamePlayer
AddHighVibrationKey
AddHubCareerRaces
AddHubCHallengeRaces
AddHubTrafficVehicle
AddHubTutorialRaces
AddIGACell
AddIngameDiaLoG
AddInGameTextInfos
AddJoyStick
AddLangDefine
AddLevel
AddLevelDemoMenu
AddLevelMenu
AddLevelMPEG
AddLevelRTC
AddLowVibrationKey
ADdMarKer
AddMaterialLib
AddMenuItemButtonDyn
AddMenuItemButtonTT
AddMenuItemFillRect
AddMenuItemImage
AddMenuItemLabelDyn
AddMenuItemLabelTT
AddMenuItemListBoxTT
AddMenuItemRegionImage
AddMenuPlayer
AddMISSION
AddMissionCarOnline
AddMissionFuel
AddMissionIASpeed
AddMissionNeededVehicle
AddMissionPARAM
AddMissionSurfaceType
AddMissionTime
AddMpegMenu
AddMultiGame
AddMUSIC
AddNbMaxOnlineVehicle
ADdNewItem
AddNewTROPHY
AddPilotLivery

AddPilotLivery category index nameID <"ALWAYS"|"NONE"|"race identifier"> bonusCode

AddPilotLiveryColor
AddPointOfInterestFlush
AddRTC
AddStreamLevel
AddTextInfos
AddTTInfos
AddTypePointOfInterest
AddVehicleColor
AddVehicleGPS
AddVehicleInfo
AddVehicleInterfaceParams
AddVehicleLivery
AddVehicleParams
AddVehicleUnlock
ADDVibration
AICM
AskFailureMenu
AskMenuSave
AsynchCheckHandles
BackToMenu
Be10000PtsRicher
Be50000PtsRicher
Be5000PtsRicher
BeginRaceRecord
BeRich
BlindageFadeAfterRTC
BlocFader
BoxPatchClip
BSouRCe
BuildMissionList
BuyAll
CAMDebug
CameraMouseControl
CameraStaticMove
ChangeCurrentPerso
ChangeDebugInGamePlayer
ChangeRPMVehicle
ChangeStartBase
CheatNoRtc
CheckAutoStart
CheckHandles
CheckMemoryEveryFrame
CheckUnlock
ChoosePlayMovie
ChooseRandomStartBase
ChronoMarKer
CleanTempPic
CloneClass
CLONEClassDone
CloseAVI

CloseAVI|CAVI

Stop recording. See MakeAVI.

CloseBF
CloseFogOfWar
CloseSBF
CompleteObjectif
ContinueAfterMission
ConvertToQuat
CrashIA
CreatePage
CreatGlobalInGameDatas
DeactivateGame
DeactivateGamePlayer
DeBugActionSphere
DeBugAINOSpeed
DebugAllWeapons
DeBugChangeGameMusic
DebugContextualMusic
DeBugCreatureGotoPos
DeBugCreatureState
DeBugCreatureUD
DeBugCreatureUDLod
DebugDraw3DElements
_images/DebugDraw3DElements.png
DebugDynamicInfo
DeBugFIRE
DebugFollowPath
DebugGenerateMissioN
DebugGenWorldTerrain
_images/DebugGenWorldTerrain.png
DeBuGGPS
DebugIA
DeBugInfos
_images/DeBugInfos.png
DeBugInterfaceOnline
DebugItemMgr
DebugLevelMusic
DebugMC
DebugMenuBox
DebugMissionName
DebugNmyMgr
DeBugPlayerHead
DeBugPlayerLight
DebugPlayerPos
DeBugSightGUARD
DebugTheEnnemies
DeBugVirages
DebugWaitAnim
DebugWeaponCamera
DebugWhiteFade
DeltaTime
DisableAssert
DisableConsole
DisableDebugTools
DisableFileMirroring
DisableIngameConsole
DisableMouseForCamera

Makes it so the mouse cannot be used to move the camera.

DisableMOvie

Skips all movies.

DisableMUsic
DisableOSD
DisableShaderCompile

Skips the “Processing Shaders” step when loading the game.

DisplayDebugOnline
_images/DisplayDebugOnline.png
DisplayFollowSplines
DisplayFPS
_images/DisplayFPS.png
DisplayFrameBar
DisplayImage
DisplayLegalText
DisplayMemStatus
DisplaySoundInfo
_images/DisplaySoundInfo.png
DisplaySTream
DisplayStreamPOPing
DisplaySurfaceBox
DisplayVisibleObject
DoSkelDynamic
DPlayRtc
DrawMemGraph
DrawMEMInfos
DrawTEXInfos
EditCutRoad
EditDeleteRoad
EditLinkRoad
EditMakeRoad
EditStartRoad
EditTypeRoad
EMD_Begin
EMD_End
EMD_ExportVehicleName
EMD_ForceStartPosition
EMD_HideStartEnd
EMD_Save
EMD_SetAIElasticParam
EMD_SetCheckpoint
EMD_SetCheckpointTimerBonus
EMD_SetEndPos
EMD_SetEndRot
EMD_SetFilterIA
EMD_SetName
EMD_SetNbIA
EMD_SetNbLoop
EMD_SetPlayerAllowedClassFilter
EMD_SetPlayerAllowedGroupFilter
EMD_SetPlayerAllowedVehiculeFilter
EMD_SetPlayerForbiddenClassFilter
EMD_SetPlayerForbiddenGroupFilter
EMD_SetPlayerForbiddenVehiculeFilter
EMD_SetRaceMode
EMD_SetRaceScenario
EMD_SetStartPos
EMD_SetStartRot
EMD_SetTimer
EMD_SetTimerCheckBonus
EMD_SetWeatherScenario
EnableBF
EnableBloomEffect
EnableDebugMOuse
EnableDebugTools
EnableDebugViewport
EnableDmaProfiler
EnableL2R2
EnableNightmareDifficulty
EnablePopupMenu
EnableTSProfiler
EnableVSYnc
EndDrawLoadingBitmap
EndLoadingLEVEL
EndMENURessourceParsing
EndOfMission
EndOfParsePilotLivery
EndOfParsingTSC
EndOfScriptStreamedBigfile
EndOfVehiclePP
EndRaceRecord
EndSTRIP
EnterRaceGameSession
eXit
FitOnObject
ForceBF
ForceDayTime

ForceDayTime beginning ForceDayTime xx.yy [00.00, 24.00)

ForceDestroyVehicle
ForceMeshIA
ForceUnLock
FreeLanguage
FreezeTheCons
FX
GAMEStarted
GenerateMissioN
GeneratePointOfInterest
GetMatrixUsage
GetMemoryStats
GotoDummyName
GotoDummyTeleport
Help
IADebug
InfiniteVision
InfoMissions
InitEmptySave
InitGameMgr
InitLanguageMC
InitRandomSeed
InputDefAdd
InstallGameFiles
JoinFreeRideGameSession
JoinFreeRideGameSessionWithFriends
JoinRaceGameSession
KillFade
KillHelicopter
KillMission
KillPlayer
LAUNCHMission
LiSTMarKer
Load
LoadATVFile
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.

LoadGameData
LoadINPUT
LoadMarKer
LoadMaterialLib
LoadMissionData
LoadObjectLib
LoadRefWorld
LoadRoadFile
LoadRTC
LoadSysRtc
LoadWorldRef
LoadWorldRefS
LockAll
LoseCurrentMission
MakeAllBF
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.

MakeFlyVideo
MakeRTCBF
MarkMEMory
MemoryGraphColor
MENUDEBug
MENUDialog
MENUEndDialog
MENUEndWindow
MENUParseTSC
MENUPlatform
MENUPropertyBackgroundImage
MENUPropertyBitmapColorAndStyle
MENUPropertyBitmapStyle
MENUPropertyBOXStyle
MENUPropertyChecked
MENUPropertyCOLOR
MENUPropertyDisplayedItemCount
MENUPropertyEnabled
MENUPropertyForceDisplayScrollBar
MENUPropertyForegroundImage
MENUPropertyFrameAlignment
MENUPropertyGoToCriticalColor
MENUPropertyImage
MENUPropertyListItem
MENUPropertyLowerCaseForced
MENUPropertyMAXValue
MENUPropertyMINValue
MENUPropertyMoviePath
MENUPropertyOutlined
MENUPropertySmallFont
MENUPropertySrollable
MENUPropertyStateVisibility
MENUPropertySTEPValue
MENUPropertyText
MENUPropertyTextAlign
MENUPropertyTextSCALE
MENUPropertyTextSTYLE
MENUPropertyUFlipped
MENUPropertyUpperCaseForced
MENUPropertyVFlipped
MENUPropertyVisible
MENUPropertyWaitingStyle
MENUStyleBITMAP
MENUStyleBITmapColor
MENUStyleBitmapDim
MENUStyleBox
MENUStyleTextScroll
MENUSTyleTextStruct
MENUUpdate
MENUWindow
MissionFilter
MissionFilterCheckpoints
MissionFilterIA
MissionStatisTicS
MovePlayerTo
NbHandle
NoBackOmniInRtc
NoFadeAndStrip
NOTimeLimit
OpenAllFogOfWar
OpenBF
OpenBFS
OpenFogOfWar
OpenSBF
PackUnPackSaveBuffer
Pause
PauseAllAnimation
PauseConsole
PauseTheDynamics
PersoSPEED
_images/PersoSPEED.png
PlayDIalog
PlayerGotoCoord
PlayerInvincible
PlayerPP
PlayerUnlimWeapons
PlayerVehicleEndSaveAnimation
PlayerVehicleStartSaveAnimation
PlayLevel
PlayLevelMulti
PlayLevelMUSIC
PlayMOVieRegisterNetManager
PlayMUsic
PlayRTC
PosPersoDebug
PrintFreeMem
PrintSeadsUsage
ProtectOfflineMission
PutParameter
PutParameterVehicle
ReadParameters
ReloadAllInGamePages
ReloadVehicleParameters
RemapTextAdd
RemoveAllDialogs
RemoveAllMaterialLib
RemoveFOnt
RemoveGame
ReMoveGamePlayer
RemoveGeneratedMission
ReMoveMarKer
RemoveMaterialLib
RemoveObjectLib
RemoveSysRtc
RemoveWorld
RemoveWorldRefS
ResetAverageSpeed
ResetBaseMeshLiveryID
ResetFogOfWar
REsetGame
RESETTextAdd
RestartFromBufferSave
RestartFromEmptySave
RestartMission
Save
SaVeBasegeneratedMission
SaveFogOfWar
SaveGameData
SaVegeneratedMission
SaveGenWorldHeightMap
SaveGenWorldMap
SaveGenWorldMapTiles
SaveMarKer
SavePointOfInterest
SaveRoadFile
SaveTheRoadsMap
SayStartingDiaLoG
ScreenShot
SEarchRaceGameSession
SeeEnemies
SEERunningMission
SEEStartedMission
SEEUnlocked
SetAutoCompletion
SetBFPath
SetBlackScreen
SetBlockFrame
SetBOrderMargin
SetBrightness
SetContrast
SetDBPath
SetDebugCamFOV
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.

_images/SetDebugSDMode.png
SetDefaultMissionValues
SetDefaultRatio
SetDFPath
SetFrame
SetGame
SetGameLogicAgent
SetGameTSCFolder
SetGAmma
SetGammaRamp
SetGenWorldDetailMPEG
SetGPS3DVisibleState
SetHubTargetInfos
SetHudsVisibleState
SetLanguage
SetLanguageAuto
SetLIghtingType
SetLightLevel
SetLoadingDraw
SetLoadingStep
SetLodRender
SetLodTexture
SetLoginPassword
SetMaxAnisotropy
SetMESSAGEUserName
SetMonoGame
SetMUSIC
SetPersoCamera
SetPlayerCountLimit
SetRtcFatherDummy
SetRtcMusic
SetRtcSBF
SetSplitType
SetStartPageMenuItem
SetStartTTInfosIndex
SetTExtureFiltering
SetTimeFactor

SetTimeFactor <time factor>

0 < time factor <= 1 float

SetWorldToSplit
Show3DArrow
ShowMostNbMalloc
ShowOFFlineMissionName
ShowONlineMissionName
ShowUnlockedTROPHY
ShowUnmarkedMEMory
SHutRTC
SkipMOvie
SortHubListByUID
SouRCe
SpecialUnlockAll
StackPlayRtc
StartDataBase
StartFadeFromBlack
StartFadeToBlack
StartFreeRideGameSession
StartHubHUD
StartIGA
StartLoadingLEVEL
StartLoadMenu
StartMENUDefinition
STARTMission
StartNetwork
StartRaceGameSession
StartRenderBench
StartSTRIP
StartTUTORIAL
StartVehicle
StopLevelMUSIC
StopMUsic
StopPlayerAnimation
SwapStartButton
SwitchCameraUser

SwitchCameraUser 0

Free cam toggle

SwitchChatHudState
SwitchDebugDialogState
SwitchDebugHudState
SWitchEnemies
SwitchFUllScreen
SwitchGameToMono
SwitchGameToMUlti
SwitchLockAllState
SwitchScreenMode
SwitchShortcutsDisplay
SwitchToNextVehicle
SwitchToPreviousVehicle
SwitchToVehicle
TeLePort

TeLePort|tlp x y z

x is east/west, y is north/south, and z is up/down

TeleportToHub
TeleportToMission
TeleportToMissionName
TestDurLow
TestDynamicMusic
TestRagDOLL
TESTVibration
TestWeatherScenario
TrafficOFF
TrafficON
TransText id string

The ID is used to reference this text in later commands. IDs can be between 0 and 16383, inclusive. While the range may seem weird at first, it begins to make sense when you realize that the size of the buffer is 16384 which is 0x4000 in hexadecimal. The string can use control codes and sometimes printf format specifiers. See the Control Codes documentation entry for more information.

TuneGenWorldTerrain
UnlockAll
UnlockFogOfWar
UnlockNeed
UnlockPlayMission
UnlockRTC
UnlockTrophy
UnlockTT
UnMuteSounds
UnPause
UnPauseFade
UpdateINPUTS
UpdateRes
UpdateSoundParameters
VehiclePP
VerboseNetwork
VOID
WinCurrentMission