This page lists all Console Script commands that exist in the base game.
Console scripts use one of two file extensions: .con (for configuring a car's stats) and .mfk (for configuring rewards, levels and missions).
CON Commands
These commands are used in .con files to configure a car's stats and other aspects of the car.
- SetAllowSeatSlide
- SetBrakeScale
- SetBurnoutRange
- SetCharacterScale
- SetCharactersVisible
- SetCMOffsetX
- SetCMOffsetY
- SetCMOffsetZ
- SetDamperC
- SetDonutTorque
- SetDriver
- SetEBrakeEffect
- SetGamblingOdds
- SetGasScale
- SetGasScaleSpeedThreshold
- SetHasDoors
- SetHighRoof
- SetHighSpeedGasScale
- SetHighSpeedSteeringDrop
- SetHitPoints
- SetMass
- SetMaxSpeedBurstTime
- SetMaxWheelTurnAngle
- SetNormalSteering
- SetIrisTransition
- SetShadowAdjustments
- SetShininess
- SetSlipEffectNoEBrake
- SetSlipGasScale
- SetSlipSteering
- SetSlipSteeringNoEBrake
- SetSpringK
- SetSuspensionLimit
- SetSuspensionYOffset
- SetTireGrip
- SetTopSpeedKmh
- SetWeebleOffset
- SetWheelieOffsetY
- SetWheelieOffsetZ
- SetWheelieRange
MFK Commands
These commands are used throughout various types of .mfk scripts.
The commands in this section are categorized by what "scope" they are valid within, such as within a mission or an objective.
Additionally, commands where all of Radical's usages are Commented out or that are fully Unused in Radical's scripts will be marked as such.
General
These are general commands that can be used in multiple scopes.
- InitLevelPlayerVehicle
- LoadP3DFile
- SetPresentationBitmap
- Collectibles
- SetRespawnRate (Unused)
- Dialog
- AddAmbientPcAnimation
- AddAmbientNpcAnimation
- SetCamBestSide
- SetConversationCam
- Triggers
- ActivateTrigger (Unused)
- DeactivateTrigger (Unused)
Reward Initialisation
These are commands used in the game's rewards script (rewards.mfk) to add cars to the phonebooth and skins to skin shops.
- BindReward
- SetCarAttributes
- SetTotalGags
- SetTotalWasps (Unused)
Level Load
These are commands used in a level's load script (level.mfk).
- AddBonusMission
- AddMission
- AddTeleportDest
- SetStatepropShadow
- SuppressDriver
- Gag Bindings
- AddGagBinding
- ClearGagBindings
- Gags
- GagBegin
- GagCheckCollCards
- GagCheckMovie
- GagEnd
- GagPlayFMV
- GagSetAnimCollision
- GagSetCameraShake
- GagSetCoins
- GagSetCycle
- GagSetInterior
- GagSetIntro
- GagSetLoadDistances (Unused)
- GagSetOutro
- GagSetPersist
- GagSetPosition
- GagSetRandom
- GagSetSound
- GagSetSoundLoadDistances
- GagSetSparkle
- GagSetTrigger
- GagSetWeight (Unused)
Level Initialisation
These are commands used in a level's initialisation script (leveli.mfk).
- AddCharacter
- EnableTutorialMode
- SetCoinDrawable
- SetParticleTexture
- Actors
- AddBehaviour
- AddFlyingActor (Unused)
- AddFlyingActorByLocator
- AddShield
- AddSpawnPoint (Commented)
- AddSpawnPointByLocatorScript
- PreallocateActors
- SetActorRotationSpeed
- SetCollisionAttributes (Unused)
- SetProjectileStats
- Ambient NPCs
- AddAmbientCharacter
- Bonus Mission NPCs
- AddBonusMissionNPCWaypoint
- AddNPCCharacterBonusMission
- ClearAmbientAnimations
- SetBonusMissionDialoguePos
- Car Shop NPCs
- AddPurchaseCarNPCWaypoint
- AddPurchaseCarReward
- Chase Manager
- Ped Groups
- Traffic Groups
Mission Load
These are commands used in a mission's load script.
- LoadDisposableCar
Mission Initialisation
These are commands used in a mission's initialisation script.
- AddCollectibleStateProp
- CloseMission
- PlacePlayerCar
- SelectMission
- SetAnimatedCameraName
- SetAnimCamMulticontName
- SetDynaLoadData
- SetForcedCar
- SetInitialWalk
- SetMissionResetPlayerInCar
- SetMissionResetPlayerOutCar
- SetMissionStartCameraName
- SetMissionStartMulticontName
- SetNumValidFailureHints
- ShowHUD
- StreetRacePropsLoad
- StreetRacePropsUnload
- UsePedGroup
- Stages
- ActivateVehicle
- AddSafeZone
- AddStage
- AddStageCharacter
- AddStageMusicChange
- AddStageTime
- AddStageVehicle
- AddStageWaypoint
- AllowMissionAbort
- AmbientAnimationRandomize
- ClearTrafficForStage
- CloseStage
- DisableHitAndRun
- GoToPsScreenWhenDone
- MoveStageVehicle (Unused)
- msPlacePlayerCarAtLocatorName (Unused)
- PlacePlayerAtLocatorName (Unused)
- PutMFPlayerInCar
- NoTrafficForStage
- RESET_TO_HERE
- SetCharacterToHide
- SetCompletionDialog
- SetConversationCamName
- SetConversationCamPcName (Commented)
- SetConversationCamNpcName (Commented)
- SetFadeOut
- SetGameOver
- SetHUDIcon
- SetIrisWipe
- SetLevelOver
- SetMaxTraffic
- SetMusicState
- SetRaceEnteryFee
- SetStageAIEvadeCatchupParams
- SetStageAIRaceCatchupParams
- SetStageAITargetCatchupParams
- SetStageCamera (Unused)
- SetStageMessageIndex
- SetStageMusicAlwaysOn
- SetStageTime
- SetSwapDefaultCarLocator
- SetSwapForcedCarLocator
- SetSwapPlayerLocator
- SetVehicleAIParams
- ShowStageComplete
- StageStartMusicEvent
- StayInBlack
- SwapInDefaultCar
- UseElapsedTime
- Countdowns
- AddToCountdownSequence
- StartCountdown
- Objectives
- AddCollectible
- AddDriver
- AddNPC
- AddObjective
- AddObjectiveNPCWaypoint
- AllowRockOut
- AllowUserDump (Unused)
- BindCollectibleTo
- CloseObjective
- MustActionTrigger
- RemoveDriver
- RemoveNPC
- SetCoinFee
- SetCollectibleEffect
- SetDestination
- SetDialogueInfo
- SetDialoguePositions
- SetDurationTime
- SetFMVInfo
- SetObjDistance
- SetObjTargetBoss
- SetObjTargetVehicle
- SetParTime
- SetPickupTarget
- SetRaceLaps
- SetTalkToTarget
- TurnGotoDialogOff
- Conditions
- AddCondition
- CloseCondition
- SetConditionPosition
- SetCondMinHealth
- SetCondTargetVehicle
- SetCondTime
- SetFollowDistances
Miscellaneous Commands
These are miscellaneous commands that do something but how they were meant to be used is unclear.
Dummy Commands
These commands either do literally or effectively nothing in the release game.
- AddGlobalProp (Unused)
- AddVehicleSelectInfo
- ClearVehicleSelectInfo (Unused)
- CreateAnimPhysObject (Unused)
- LinkActionToObject (Unused)
- LinkActionToObjectJoint (Unused)
- SetCarStartCamera (Unused)
- SetHitNRun
- SetMissionNameIndex (Unused)
- SetPostLevelFMV
Uncategorized Commands
These commands have not yet been categorized on this page.
- AddBonusObjective (Unused)
- AttachStatePropCollectible (Commented)
- CharacterIsChild (Unused)
- CreateActionEventTrigger (Unused)
- EnableHitAndRun (Unused)
- ResetCharacter (Unused)
- ResetHitAndRun (Unused)
- SetBonusMissionStart (Unused)
- SetCharacterPosition (Unused)
- SetChaseSpawnRate (Commented)
- SetConversationCamDistance (Unused)
- SetDemoLoopTime
- SetHitAndRunMeter (Commented)
- SetPlayerCarName (Unused)
- SetVehicleToLoad (Unused)