Donut Team is a labor of love, built and maintained by a small group of passionate developers. We invest our own time and resources to offer our tools, mods, and web services completely free of charge.

We don't run ads, and we will never sell your data - period.

If you've enjoyed anything we've created, please consider supporting our work with a one-time or monthly donation via our Ko-fi page . Every contribution helps us continue building great experiences for the community.

Dismiss
  • Games
  • Radical Entertainment
  • The Simpsons: Hit & Run
  • Scripting
  • Console Commands

All Console Script Commands

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.

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.

Level Load

These are commands used in a level's load script (level.mfk).

  • AddBonusMission
  • AddMission
  • AddTeleportDest
  • SetStatepropShadow
  • SuppressDriver
  • Gag Bindings
    • AddGagBinding
    • ClearGagBindings
  • Gags

Level Initialisation

These are commands used in a level's initialisation script (leveli.mfk).

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.

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)