Home | Download | Discussion | Help | Site Map | New Posts | Sign in
MTS has all free content, all the time. Find out how YOU can help to keep it running. Tell me how...

Cheat Shortcuts

by plasticbox Posted 22nd Dec 2014 at 12:49 AM - Updated 20th Feb 2015 at 8:25 PM by plasticbox
Open thumbnail gallery
1,386 Thanks  Thanks     676 Favourited
With the introduction of that 'bb.ignoregameplayunlocksentitlement' monstrosity it really was time for this .. these are some custom shortcuts for TS4 in the form of a loose .py file so they are easy to edit.
  • casf – testingcheats on + cas.fulleditmode
  • d | t | debug [on/off] – testingcheats
  • h [on/off] – headlineeffects
  • m | mo | moo – bb.moveobjects (toggle)
  • ssk | setskill – stats.set_skill_level
  • u | unlock – bb.showhiddenobjects + bb.ignoregameplayunlocksentitlement

on/off can be expressed in many ways, like 0/1, on/off, true/false, y/n etc. If you just enter "t" or "h" it will list what the options are.

For a list of shortcuts, type shortcuts:

(casf was added on 2014-12-22, this is not in the original version)

For skill name shortcuts, type ssk or setskill (without any arguments):


OS X users will probably need 1.4.103 or higher for this to work (aka the patch that made it so that script mods won’t crash your game). See this announcement for more info.

How to install:

Unzip the "shortcuts" folder and put it in /Mods. Do not change the "Scripts" subdirectory, it needs to be named like that. If you want to change the name of the "shortcuts" folder, you need to edit the file name of the .py too so that they are the same. See here. You also need to have script mods enabled in Game Options > Other.

How to edit (if you want):

Open shortcuts.py (after you made a backup) in any text editor and see if you can make sense of it – if you speak any programming language at all, it shouldn't be terribly hard. If all you want is add an existing cheat to the list which does not need any arguments, you can probably copy + paste the moveobjects one, just change the name of the shorthand form/s, the name of your command, and the string it's supposed to pass on. For more "complicated" stuff see the other ones (but when in doubt, better use code by other people as a reference rather than mine). In-game commands that are defined in Python may need to have a | prepended (can't say I understand why this is, but hey, I only "know" Python since yesterday), and Python is very very picky about tidy whitespaces so try to not touch any of that. Save, start game, test. Rinse and repeat and keep banging on it until it does what you want. This works! Really!

The reference I used: https://docs.python.org/3.3/

Plus a bunch of existing code by Maxis and scumbumbo, mgomez' instructions from here, darkkitten's batch script from here and TheHologramMan's unpyc3.py from here. Special thanks to SGEugi for helping me getting this to work specifically in uncompiled form.
Download files
Key: - File was updated after upload was posted
Filename - Tip: You can click the magnifying glass to see the archive contents Size Downloads Date
shortcuts.zip 1.6 KB 74,065 22nd Dec 2014
Basic Download and Install Instructions:
1. Download: Click the File tab to see the download link. Click the link to save the .rar or .zip file(s) to your computer.
Read the upload description for installation instructions. If nothing else is specified, do the following:
2. Extract: Use WinRAR (Windows) to extract the .package file(s) (if included, ts4script as well) from the .rar or .zip file(s).
3. Cut and paste the .package file(s) (if included, ts4script as well) into your Mods folder
  • Windows XP: Documents and Settings\(Current User Account)\My Documents\Electronic Arts\The Sims 4\Mods\
  • Windows Vista/7/8/8.1: Users\(Current User Account)\Documents\Electronic Arts\The Sims 4\Mods\

Need more information?
  • Anyone can use both .rar and .zip files easily! On Windows, use WinRAR.
  • If you don't have a Mods folder, just make one.
  • Mod still not working? Make sure you have script mods enabled
Page 1 of 8
184 Comments / Replies (Who?) - 101 Feedback Posts, 82 Thanks Posts
Hide Thanks Posts for this thread (Show only feedback)
Page 1 of 8

Expansion/Stuff packs required:
Sims 4

184 Comments / replies (Who?)



Type: Additional Functionality Other