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 21st Dec 2014 at 11:49 PM - Updated 20th Feb 2015 at 7:25 PM by plasticbox
198 Comments / replies (Who?) - 11 Feedback Posts, 14 Thanks Posts
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 <skill> <level> – stats.set_skill_level <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):






Compatibility:

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.

You must have the expansion or stuff packs listed below installed to use this custom content. Please see the post text for any exceptions.

Sims 4
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

Size: 1.6 KB · Downloads: 93,631 · 22nd Dec 2014
1.6 KB 93,631 22nd Dec 2014
Don't forget to Thank the creator after downloading! Use the Thanks button located above the screenshots above.
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
 
198 Comments / Replies (Who?) - 105 Feedback Posts, 86 Thanks Posts
Hide Thanks Posts for this thread (Show only feedback)
Page 1 of 8
Test Subject
THANKS POST
#2 Old 22nd Dec 2014 at 12:49 AM
This is so useful! Thank you! :D
Scholar
THANKS POST
#3 Old 22nd Dec 2014 at 1:21 AM
Seriously EA should just go ahead and hire you..... You need to be getting paid for all this great work you do.... Someones butt should be fired at EA and you be hired.
Merry Xmas to you and your family.
Pettifogging Legalist!
retired moderator
Original Poster
#4 Old 22nd Dec 2014 at 1:38 AM
Re. getting paid, you want my bank account number? XD

Stuff for TS2 · TS3 · TS4 | Please do not PM me with technical questions – we have Create forums for that.

In the kingdom of the blind, do as the Romans do.
Deceased
THANKS POST
#5 Old 22nd Dec 2014 at 2:22 AM
Oooh, good idea! :)
Field Researcher
THANKS POST
#6 Old 22nd Dec 2014 at 3:13 AM Last edited by FakeHouses|RealAwesome : 22nd Dec 2014 at 7:42 AM.
This will be useful; thanks!

(also, I just think that someone should congratulate you on that first thumbnail picture )
Test Subject
THANKS POST
#7 Old 22nd Dec 2014 at 4:34 AM
Thanks so much. Really. Really, really, really. I was like, "bb.ignoregameplayunlocksentitlement"?!!? You've gotta be kidding me, I'm too old for this.
Deceased
#8 Old 22nd Dec 2014 at 8:59 AM
Quote:
Originally Posted by FakeHouses|RealAwesome
(also, I just think that someone should congratulate you on that first thumbnail picture )


Hehe, I just noticed the content of the image myself and had a good chuckle. Congratulations pbox, we can now expect even more wonderful things from you now with Python under your belt.
Mad Poster
THANKS POST
#9 Old 22nd Dec 2014 at 9:25 AM
This will be a big help, thanks!
Scholar
#10 Old 22nd Dec 2014 at 12:52 PM
Quote:
Originally Posted by plasticbox
Re. getting paid, you want my bank account number? XD


LOL...... I'm broke this time of year, but have a drink on me
Pettifogging Legalist!
retired moderator
Original Poster
#11 Old 22nd Dec 2014 at 1:21 PM
Quote:
Originally Posted by scumbumbo
Python under your belt.


Well I wouldn't call this "under my belt" yet =P but it's quite fun in any case.

Thanks btw for including the source with all of your mods! That was really helpful

Stuff for TS2 · TS3 · TS4 | Please do not PM me with technical questions – we have Create forums for that.

In the kingdom of the blind, do as the Romans do.
Lab Assistant
THANKS POST
#12 Old 22nd Dec 2014 at 3:19 PM
oh thank god....the show hidden objects one was bad enough but that new one....

quick question because I just don't know what the two unlocks do....but using the u command now, will that also unlock all the career outfits in CAS? I see there are mods out there that unlock the career outfits so wondered if this mod also does this?
Mad Poster
THANKS POST
#13 Old 22nd Dec 2014 at 3:20 PM
this is so cool!!!!!!!! thanks!
Pettifogging Legalist!
retired moderator
Original Poster
#14 Old 22nd Dec 2014 at 3:26 PM Last edited by plasticbox : 22nd Dec 2014 at 4:26 PM.
Off the top of my head I don't know either whether ignoregameplayunlocksentitlement would unlock CAS Parts as well .. try it and see? It just might when are also career acheivements.

Edit: oh but you reminded me of something -- I had meant to include cas.fulleditmode as well but somehow forgot that the first time around. Updated!

The casf shortcut will also turn on testingcheats, so instead of testingcheats on / enter / cas.fulleditmode you can now just type casf and then rightclick sim > Edit in CAS as usual.

Stuff for TS2 · TS3 · TS4 | Please do not PM me with technical questions – we have Create forums for that.

In the kingdom of the blind, do as the Romans do.
Test Subject
THANKS POST
#15 Old 22nd Dec 2014 at 6:39 PM
Best download ever. Thank you!
Test Subject
#16 Old 22nd Dec 2014 at 8:43 PM
Im Sorry that this didn't work for me
the instruction is correct , but none of the command is working.
my sims 4 is still on the "swimming pool" update because i haven't get the new holiday dlc.
' cas.fulleditmode ' and the "bb.show...." didn't work for me either.


thanks for making this amazing mods, i'm sure everyone will be happy 'bout this
Pettifogging Legalist!
retired moderator
Original Poster
#17 Old 23rd Dec 2014 at 12:43 AM
This shouldn't have anything do to with game version (except that in older games you'll probably get an "Unknown command" response when trying to do the unlocksentitlementgameplay thing since that (probably) didn't exit pre-1.3.18).

When it's not working I'd rather suspect you didn't unzip it, didn't put it in Mods, didn't turn on script mods or don't have subfolders enabled.

Stuff for TS2 · TS3 · TS4 | Please do not PM me with technical questions – we have Create forums for that.

In the kingdom of the blind, do as the Romans do.
Scholar
#18 Old 23rd Dec 2014 at 6:46 PM
Loose py files are okay to submit?

Thanks, I've got a mod that won't compile, but works fine when unzipped into a [Modname]/Scripts folder.

1/8/2016: New avatar! Pre-censored for EA's approval.
3/19/2015: Teens are too close to YAs. EA needs to either shorten the teens, or add preteens and make YAs look older.
Pettifogging Legalist!
retired moderator
Original Poster
#19 Old 23rd Dec 2014 at 7:13 PM
I'd really only use loose .py files when they won't be doing anything during gameplay (i.e. when performance doesn't play a role). Also, if it won't compile there's probably a reason it won't compile .. if I were you I'd rather try to find out what the problem is?

Stuff for TS2 · TS3 · TS4 | Please do not PM me with technical questions – we have Create forums for that.

In the kingdom of the blind, do as the Romans do.
Test Subject
THANKS POST
#20 Old 23rd Dec 2014 at 7:45 PM
Thank you so much! Youre a genius!
Test Subject
THANKS POST
#21 Old 23rd Dec 2014 at 10:18 PM
Oh why, oh why do these things still need to be done by modders in the community? In any case, my thanks go out to dedicated community members, like yourself, who recognize the needs that the developers don't. Well done!
Test Subject
THANKS POST
#22 Old 24th Dec 2014 at 3:19 AM
Thanks
Test Subject
THANKS POST
#23 Old 26th Dec 2014 at 1:49 PM
OW ITS BEST!! A++ ;3 :3
Test Subject
THANKS POST
#24 Old 27th Dec 2014 at 3:11 AM
thanks a lot..
Test Subject
#25 Old 27th Dec 2014 at 8:08 PM
Can someone help me. I download it, unzip the rar in mods folder but it doesnt work..
Page 1 of 8