If you appreciate the work done within the wiki, please consider supporting The Cutting Room Floor on Patreon. Thanks for all your support!
The Sims 3 (Windows)/Secret Debug Commands
Jump to navigation
Jump to search
This is a sub-page of The Sims 3 (Windows).
All these commands are accessed via the Create a World's Edit-Ingame tool or via mods, which can be found below.
Getting started
To open the command console and use any type of cheat in The Sims 3, you need to press Ctrl ⇧ Shift C.
Screenshot showing how game categorises cheats.
In order to access some debug commands you need to have this mod installed. This mod changes one .dll found in gamefiles to an unlocked version that disables the game's check for a debug version.
This mod shouldn't be used in normal gameplay due to bugged camera and other issues!
Debug Command | What it does... |
---|---|
resetDnP | Resets the dreams and promises manager of the currently selected Sim. Using "-all" will reset all Sims in the current house's DnP managers. |
cleanhouseholds | Cleans up non-instantiated Sims in all households (except for the Service household). |
piemenu | Toggles pie menu head, display of all failure reasons, or definition class names. |
lifetimehappiness | Adds 50000 spendable lifetime happiness points to the selected Sim. |
lookat | Toggles lookats for the actor currently selected. Displays lookat scores. |
killplantableobjects | Deletes all ingredients and plantable non-ingredients in the world. |
refreshmotives | Refreshes motives if they have got corrupted. |
refreshhouseholdthumbnails | Refreshes all of the world's household thumbnails. |
refreshlotthumbnails | Refreshes all of the world's lot thumbnails. |
refreshsimthumbnails | Refreshes all of the world's sim thumbnails. |
sacsdump | Dumps managed sacs data. |
playobjectsound | Plays the given audio clip as a positional sound on the active Sim. |
stopobjectsounds | Kills all object sounds started by playobjectsound. |
esrbchecks | Turns periodic ESRB violation checks on or off. Assumes all if type omitted. Toggles if on/off omitted. |
loginteractions | Logs all interactions on all Sims to the InteractionQueue channel. |
findsimwithoutfit | Finds Sim with given outfit. |
showbroadcast | Toggles debug draw of all gameplay broadcasters. |
showwalkdist | Toggles debug draw of walk style ranges. |
zoom | Camera zooms to the specified object id. |
storyprogression | Sets the story progression mode. |
meta | Toggles debug display of meta/local (for autonomy debugging). |
debuglots | Toggles debug display of lots (for meta-autonomy debugging). |
worldbuilderimport | Imports character data from a spreadsheet that is passed in as the first parameter. |
worldbuilderoutput | Outputs the information about the current world needed for the worldbuilder spreadsheet. |
nukecruftysims | Ensures that the number of sims and households in the world are consistent with the xml. |
SaveUniform | Saves out parts of the current outfit. |
LoadUniform | Overlay current sim with named uniform. |
DeleteAllObjects | Deletes objects of given type. Use: DeleteAllObjects [FullTypeName,Assembly] Ex: DeleteAllObjects Sims3.Gameplay.Objects.Toys.Football,Sims3GameplayObjects. |
exterminate | Kills a specified number of random Sims. |
spawn | Creates a specified number of random Sims. |
debugSocial | Turns social debugging on and off. |
killobject | Deletes a game object. Usage: killobject <object id>. |
routedebuglog | Toggles the route debug log on/off. You can also turn it off or on explicitly by passing parameter "on" or "off". Usage: routedebuglog ["on" or "off"]. |
DisplayLotPackageFileName | Switches lot tooltips on and off. |
money | Sets family funds of the selected Sim. Usage: 'money' gives $1000000, 'money <number>' gives $number. |
purgegenealogy | Purges distant genealogy relations. |
logobjects | Logs all objects on the current or specified lot. Usage: logobjects [lot]. |
stressreset | Stresses resetting an object. Usage: stressreset [objectId]. |
resetservicenpctraits | Iterates through the current service NPC Sims and resets their traits. Usage: resetservicenpctraits. |
babyboom | Adds a baby and a toddler to every household in the world. |
interactioninfo | Adds interaction information to queue and Sim mouseover text. |
situationinfo | Adds situation information to Sim mouseover text. |
resetEveryone | Sets all Sims in the world to reset. Usage: resetEveryone. |
BuildBuyEnabledForLot | Enables build buy for the current active lot or specified lot. Usage: BuildBuyEnabledForLot [true/false][lot-Optional]. |
ancientCoinCount | Sets family ancient count total. Usage: 'ancientCoinCount' displays current amount, 'ancientCointCOunt <number>' gives $number. |
worldname | Overrides world name. Usage: worldname [world names]. |
visalevel | Sets the visa level for the current world. Usage: 'visalevel' displays current visa level, 'visalevel <WorldName - Optional><number>' sets $number as the visa level for the current world or specified world (optional). |
lights | Sets light intensities. Usage: 'lights [all/outdoor] [intensity]'. |
visaPoints | Sets the visa points for the current world. Usage: 'visapoints <WorldName - Optional><number>' sets $number as the visa points for the current world or specified world (optional). |
cleanUpNectarBottles | Meant to be run from world builder-destroys all nectar bottles that are in inventories. |
removeallpuddles | Removes all puddles in the world. |
togglelotlocalizationkeys | When toggled to true, this displays the localization keys for the lot's name, address, and description in the EditTownInfoPanel that you see after clicking the Map tag. |
givexptooccupation | If there is an active sim, XP will be given to the sim. Usage: 'givexptocareer <number>'. |
zoomToSim | If we can find the sim with the given Id in the world, the camera will zoom to the sim. Usage: 'zoomToSim <SimDescriptionId>'. |
ensureServiceNpcOutfits | Iterates through the current service NPC Sims and ensures that they have the appropriate uniforms. It'll skip Grim Reaper and FakeMataAutonomy services. Usage: ensureServiceNpcOutfits. |
forceSetCelebrityLevel | For all the possible sims in the world, sets their celebrity level to the provided level (if they can be celebrities). Usage: 'forceSetCelebrityLevel <level>'. |
displayCelebrityLevelHistogram | Outputs the distribution of sim counts for individual celebrity levels. Usage: 'displayCelebrityLevelHistogram'. |
displayVampireStats | Outputs the current vampire population stats. Usage: 'displayVampireStats'. |
forceElders | Populates any empty lots with households of 8 elders. Usage: 'forceElders'. |
forceAddPlayedGigs | Adds gigs played to the current sim. Sim must be in a band already. Usage: 'forceAddPlayedGigs <int>'. |
tryStartNpcParty | Try to start an Npc party 5 hours from now. Usage: 'tryStartNpcParty <OutfitStyle> <bool>, Try to start an Npc party 5 hours from now. Valid OutfitStyle (Everyday, Formal, Swimwear) bool is optional whether it is a celebrity inviting you for your great party. |
generateObjectStatisticsOnLots | For the given world, iterates on the lots and displays the object counts. Usage: 'generateObjectStatisticsOnLots'. |
makePet | Adds a pet with specified outfit and gender to the current household. Parameters are optional, randomize gender and outfit if not provided. |
makePetLocal | Used for testing outfits on your local machine. For example, "makePetLocal ad ProtoDog" will add an adult dog with the ProtoDog outfit to the current household. Gender parameter is optional. |
exportOutfitXML | Dump the current outfit of CAS Sim in XML format. |
showNpcRoles | Show all NPC Roles in the world. Role type is optional for only showing locations of NPCs that have that role. Color is for color to show for that specific roleType. Usage: 'showNpcRoles <RoleType> <Color.Preset>'. |
showPetPool | Show all Pet Pools that are in the world. Pool type is optional for. Usage: 'showPetPools <PetPoolType> <Color.Preset>'. |
showPetPoolStats | Show the number of the pets in each pool. |
visualizeSims | Shows all Sims registered to the visualization category. Available categories: <All><SimWalkDog><None>. You can get the category name from GPEs. Usage: 'visualizeSims <Category>'. |
fixupPetPools | This cheat is for EP5 world only. It ensures that the PetPoolManager mapping of types to Sim descriptions is consistent. |
showSimStats | This cheat is to assist in understanding the sim instantiation histogram. This helps Design/GPEs figure out why there could be a surge in sim instantiation. Usage: 'showSimStats off' stops the command. |
ShowPerformanceScore | Shows performance score values via TNS messages. Usage: 'ShowPerformanceScore [on/off]'. |
SetPerformanceScore | Sets performance score to value. Usage: 'SetPerformanceScore [value]'. |
OnTogglePerformanceMeter | Usage: 'OnTogglePerformanceMeter [on/off]'. Sets performance score to value. |
ExportSuper | Dump Supernatural data to an XML file. Usage: 'ExportSupernaturalData'. |
tryStartNpcPoolParty | Try to start an NPC pool party 5 hours from now. Usage: 'tryStartNpcPoolParty'. |
tryStartNpcCostumeParty | Try to start an NPC costume party 5 hours from now. Usage: 'tryStartNpcCostumeParty'. |
tryStartNpcHouseParty | Try to start an NPC house party 5 hours from now. Usage: 'tryStartNpcHouseParty'. |
tryStartNpcFeastParty | Try to start an NPC feast party 5 hours from now. Usage: 'tryStartNpcFeastParty'. |
holidayHouseLights | Turns holiday house lights on/off. Usage: 'holidayHouseLights [on/off]'. |
computerSpecs | Displays computer specifications. Usage: 'computerSpecs'. |
holidayHouseLightCount | Displays the number of holiday house lights in the world. Usage: 'holidayHouseLightCount'. |
randomizeClouds | Usage: 'randomizeClouds, or randomizeclouds [float 0-1]'. |
allowUmbrellasInAllSocials | Usage: 'allowUmbrellasInAllSocials (defaults to on), or allowUmbrellasInAllSocials On or allowUmbrellasInAllSocials Off'. |
tryStartNpcJuiceKeggerParty | Try to start an Npc Juice Kegger party 5 hours from now. Usage: 'tryStartNpcJuiceKeggerParty'. |
tryStartNpcBonfireParty | Try to start an Npc bonfire party 5 hours from now. Usage: 'tryStartNpcBonfireParty'. |
tryStartNpcVideoGameLANParty | Try to start an Npc video game LAN party 5 hours from now. Usage: 'tryStartNpcVideoGameLANParty'. |
tryStartNpcMasqueradeBallParty | Try to start an Npc masquerade ball party 5 hours from now. Usage: 'tryStartNpcMasqueradeBallParty'. |
tryStartNpcTailgatingParty | Try to start an Npc tailgating party 5 hours from now. Usage: 'tryStartNpcTailgatingParty'. |
tryStartNpcVictoryParty | Try to start an Npc victory party 5 hours from now. Usage: 'tryStartNpcVictoryParty'. |
visualizeHotSpots | Shows or hides hot spots (green) and dead zones (red) in the world with a line and a circle shooting from the meta object. Usage: 'visualizeHotSpots [on/off]'. |
discoverAllUnchartedIslands | Grants the current active household all undiscovered islands. |
marineLifeCreation | Usage: 'marineLifeCreation [on/off], game defaults to on'. |
MakeResortReviews | Clears out existing resort reviews for the current active lot and makes all appropriate male or female ones. Usage: 'MakeResortReviews <male/female>'. |
visualizeBoats | Shows all the boats in the world and some useful stats. Usage: 'visualizeBoats [on/off]'. |
makeRobot | Adds a robot to the current household. Parameters are optional; randomize gender and outfit if not provided. |
makePlumbots | Converts townies to Robot form. Usage: 'makeRobotTownies'. |
Commands accesible with NRAAS Debug Enabler and CAW
Apparently some of the commands are avaliable using CAW and/or debugenabler (needs confirmation)
Command | What it does... |
---|---|
allowUmbrellasInAllSocials | Unknown, awaiting research |
AssertOnDnPRefProblems | Throws an Error upon the DnP Reference Failing |
AssertOnRetestingDnPNodes | Throws an Error when the DnP System removes a node upon retesting visible ones. |
babyboom | Causes a baby and toddler sim to be added to every single household. |
BuildBuyEnabledForLot | Enables/Disables Build/Buy mode of the current lot, or a specific lot. |
cleanhouseholds | Removes non-instantised sims in all households, barring the service one. |
cleanUpNectarBottles | **Only use in CAW INGAME EDITOR** Removes all nectar bottles in inventories |
computerSpecs | Gives the current PC's specs, such as RAM, etc. |
debugLots | Toggles debug display of lots. |
debugSocial | Toggles Social Debugging |
DeleteAllObjects | Deletes every object of a specific type. |
dialogs | Toggles dialogs for soak testing. |
displayLotPackageFileName | Displays the Lot Tooltips for Filenames for the Lots. |
DnPOutputPrimitives | Outputs all DnP Primitives |
enableLifeEvents | Enables the Life Events system |