Game guide:Userstartup.cheat: Difference between revisions

m
1 revision imported
imported>K6ka
m (1 revision imported)
 
(3 intermediate revisions by 2 users not shown)
Line 12:
To simplify the process, you will need to make your computer show file extensions.
 
* To show file extensions for Windows, see [httphttps://windowswww.microsofthowtogeek.com/en-ca205086/windows/showbeginner-hidehow-fileto-namemake-windows-extensions#show-hide-file-name-extensions=windows-7/ this page].
* To show file extensions for Mac OS, see [http://fileinfo.com/help/mac_show_extensions this page].
 
Line 31:
# Aliases, or "shortcuts", to existing cheats so they're easier to use and easier to remember.
 
;To add===Adding cheats that automatically enable themselves upon startup===
 
Simply type the name of the cheat, along with any necessary parameters. For example, to start the game up with the [[moveobjects]] cheat automatically enabled, simply write the following:
Line 57:
Additionally, the <code>bugJarTimeDecay [on/off]</code> cheat must be placed on the very last line of the userStartup.cheat file. Failing to do so otherwise will break the file.}}
 
;To set up===Adding aliases for existing cheats===
 
Setting up aliases is a bit trickier.
Line 72:
*'''textstring''' is the alias you would like to use. This alias must be unique — no other alias or cheat should be using the same string, or it may not work as intended. (See [http://simswiki.info/wiki.php?title=Game_Help:Sims_2_Cheats this page] for a full list of cheats)
*'''"cheat command"''' is the name of the cheat you wish to assign the alias to.
*'''"short description"''' This is the text that is shown when the player uses the <code>help</code> command in the cheat console. It will provide a short, incomplete list of the cheats in-game, as well as any aliases in the userStartup.cheat file. A brief description follows the listed cheats. The "short description" parameter is that text. Be short and brief, but specific enough so that you will be able to remember what cheat the alias is connected to. This is optional, and the alias will function without it.
*'''"long description"''' is the text the player sees if they use the <code>help</code> command, along with the name of the alias. It can be longer and more specific and detailed than the short description. Like the short description, this is not needed for the alias to function.
 
For example, using the above example, if <code>mon</code> was the alias for <code>moveobjects on</code>, it would be added to the userStartup.cheat file like this:
Line 91:
<pre>
mon -- Allows the player to pick up, move, and delete all and any object in build or buy mode
</pre>
 
If the <code>help</code> command is used and no descriptions were placed in the UserStartup.cheat file, the message will look like this:
 
<pre>
mon -- Aliased to 'moveobjects on <arguments>'
</pre>