Torchlight 2: Developer Console Commands


Find Game Front’s extensive library of Torchlight 2 cheats and guides on our free mobile apps where you’ll find our latest high-quality gaming videos.
GameFront Video Walkthroughs app for iOS
GameFront Video Walkthroughs app for Android


Runic Games didn’t just fill their hack-n-slash RPG Torchlight 2 with easter eggs, they also enabled a developed console to encourage modders. While the dev console makes testing modifications easier, it’s also a great resource just to screw around with and have fun. There’s God Mode, cheats to set your level, cheats to set your pet’s level, and a cheat that will spawn every item in the game. Go wild with the full list of Torchlight 2 Developer Console Commands below.

WARNING! When playing online, modified versions of Torchlight 2 will be marked with a “suspicious player” flag. Not all commands will mark your game as modified. Many of these commands are untested, so try them at your own risk.

Get to the cheats page to get even more Torchlight 2 extras. Game Front’s also got you covered with a full walkthrough.


PC Console Commands

NOTE: Using the DEV CONSOLE risks having your account marked as suspicious to unmodified players of Torchlight 2 online. Use these commands at your own risk.

Except for the red exclamation point marking you as suspicious. Suspicion flags are not permanent, and no automatic actions will be taken against your account.

How to Activate the Console Window

  • Alter the file “settings.txt” found in your Torchlight 2 Save file.
  • The save file is found here: “C:/Users/#USERNAME#/My Documents/Runic Games/Torchlight 2/Save”
  • Note: “#USERNAME#” is your personal username. On some operating systems, Torchlight 2 is saved under “My Games” instead of “My Documents.”

  • Open the file with a text editor, then press CTRL+F and search for “Console :0″. Change the parameter from “Console :0″ to “Console :1″ to activate the Developer Console, enabling use of cheat console commands in Torchlight 2.
  • Now that cheats are activated, you can open the Console window while in-game by pressing “INSERT“.

Dev Console Commands List

Note: Replace “###” with numbers, and remove all parentheses.

GOD : Toggles invincibility on/off.
GODSPEED : Toggles invincibility and extra speed on/off.
LEVELUP : Gain XP to level up.
AIFREEZE : Toggles Monster AI on/off.
PLAYERNOTARGET : Toggles Monster targeting on/off. (Ghost Mode)
KILLALL : Kills all monsters.
ALWAYSCRIT : Player always hits critically.
ASCEND : Goes down a floor.
DESCEND : Goes up a floor.
MONEY ### : Sets amount of gold to “###”.
ALLITEMS : Spawns all items.
CLS : Clears console history.
SETTIME ### : Sets the time of day to “###”.
SETTIMESCALE ### : Sets the timescale for time of day to “###”.
ROOM : Returns the room the player currently is in.
FPS : Shows the frame rate and other information.
SPEED : Toggles additional speed for the character.
DAMAGE SHAPES : toggles damage shapes on and off.
STATPOINTS ### : Gives you stat points set to “###”.
STRENGTH ### : Gives you melee points set to “###”.
DEXTERITY ### : Gives you ranged points set to “###”.
MAGIC ### : Gives you magic points set to “###”.
DEFENSE ### : Gives you defense points set to “###”.
ALLSTATS ### : Gives you the count to all stats to “###”.
FAME ### : Gives you fame points set to “###”.
SKILLPOINTS ### : Gives you skill points set to “###”.
SETPETLEVEL : Sets the pet’s level set to “###”
DISABLEPET : Disables/enables the player’s pet.
RELOAD : Reloads textures.
PATHING : Toggles pathing debug display.
COMBATLOG : Toggles combat log.
SOUNDDEBUG : Toggles sound debug.
CLEARHISTORY : Clears level history.
MISSILETRAILS : Shows missile trails.
DEBUGLOGIC : Toggles if the logic events are fired to the ogre log.
NOXP : Player doesn’t gain XP.
ANIMATIONSPEED ### : Changes the animation of everything to match the FPS.
HURTME ### : Reduces the player and the player’s pet HP by the given percent.
RESETSTATS : Resets the player’s stat points.
RESETSKILLS : Resets the player’s skills.
RESETPLAYERLEVEL : Resets the player’s level to 1.
RESETPETLEVEL : Resets pet’s level to 1.
RESETPLAYER : Resets player’s stats, skills, and level.
CAMERADISTANCE ### : The ### the camera will be from the player.
DIFFICULTY: Displays the current game difficulty.
SETDIFFICULTY ### : Sets the current difficulty, values range from (0) Easy to (3) Very Hard.

More Commands:

SKILL name/index = type just skill to see a list of skills. Type the number or the name of the skill to make active on the player.
SKILLTEST = different in the command skill, this will allow you to execute any skill even if it wasn’t intended for your character.
ITEM index,count = the params are option. Type items to see indexes of all monsters in the game.
ITEM itemName,count = creates count of itemName.
ALLITEMS unittype = spawns all items of a given unittype (use “_” for spaces)
IDENTIFYALL identify all items in the player’s inventory.
ANY index,count = the params are option. Type any to see indexes of all units in the game.
EDITOROBJECT objectName,count = Creates an object from the editor for testing memory use.
UNIT unitName,count = creates a unit by name and count.
SPAWNCLASS spawnclassName,count,level = just type spawnclass to see all the spawn classes listed. Pass in Zero or a negative number for level will use the dungeon depth as the level.
MONSTER index,count = the params are option. Type monster to see indices of all monsters in the game.
MONSTER monsterName,count = creates count of monsterName
MONSTERMEM MonsterName,### = the params are option. Creates and deletes a monster for memory testing.
MODEL modelpath,### = the params are optional. Creates and deletes a model for memory testing.
DUNGEON dungeonName = sets the current dungeon
CLEANUP = releases unused resources
CHARGEBARMULT = makes the charge by X percent easier to fill
UNITTYPES = displays all unittypes
RESTARTLEVEL = restarts the current level
QUESTS = lists all quests
QUESTACTIVE questName = sets a quest to active
QUESTSHOWACTIVE = Shows all the players active quests
QUESTCOMPLETE questName = sets a quest to complete
QUESTRESET questName = resets a quest to not be active or complete
QUESTSCOMPLETE = Lists all the quests complete
SHOWBLOOD = toggles blood particles
ACHIEVEMENTS = Lists the achievements and if they are complete
MEMORY = Dumps the memory allocation to the console.
TAGS = Dumps all tags used in the level and what got created.
ITEMBYMESH = Pass in part of a mesh name to spawn all items with that contain the string you passed.
UIREFRESH = forces a refresh on the UI.
MODIFYSIGHT = changes the sight distance of monsters activation. Pass 0 to reset.
MODIFYMOTION = changes the motion distance of monsters activation. Pass 0 to reset.
CHARACTER COUNT = returns the number of characters updating in the level
PLAYERANIMATION = Dumps to the console which animation the player is playing and stopping.
DOLLYMIN mindis = The min dolly distance for interaction.
BLOOM = Toggle fullscreen bloom.
LOGCONSOLE = Show the logging console.
CONNECTIONDATA = Dump a connection data file.
ADDFRIENDBYUSER = Add a friend by username or email.
DROPCONN = Drop the given connection id.

[Credit goes to deoxys on the Runic Forums.]

Join the Conversation   

* required field

By submitting a comment here you grant GameFront a perpetual license to reproduce your words and name/web site in attribution. Inappropriate or irrelevant comments will be removed at an admin's discretion.

35 Comments on Torchlight 2: Developer Console Commands

poolboy87

On September 22, 2012 at 11:49 pm

just a note:

My path to “settings.txt” was NOT under My Games. It was under My Documents.

Also: is the flagging of your account permanent or can it be undone? For example, if you saved the original settings.txt in another file, or simply changed the value from 1 to 0, would it then let you play with friends who don’t play around with this?

Kevin Thielenhaus

On September 23, 2012 at 2:48 pm

@Poolboy87,

Thanks for letting us now, I replaced “My Games” with “My Doc-uments” and left a note that the files may be found under one of these files.

As far flagging, right now we’re unsure exactly what will cause your account to be flagged, or if it can be undone. From what I’ve read, susp-icion checks are done server side, comparing your level and gear with the last time you logged into the online server. Therefore, just keeping and replacing the settings.txt may not be able to revert a susp-icious activity flag.

From the new information, the cheat-checking system will not ban you from playing with other players, but it will show a susp-icion flag (a red exclamation point) next to your character name, but only to other players on the server. If you want to play with friends, this won’t alter your online experience at all, and the system will take no automatic actions against you. The flag is not permanent, but we don’t know exactly what will / won’t add or remove a flag just yet.

Not exactly the best answer, but hopefully that helps you when deciding whether or not to use the Developer Console.

Yokimoninoka

On September 23, 2012 at 9:43 pm

Ok, so. kind of a stupid question.

My friend seemed to do the ALLITEMS: command in singleplayer. and he doesn’t know how to get rid of all the items. He doesn’t want them because he wants to play the game legit. So if there is anyway of deleting all the items in a command, I would like to know sometime soon, so i could tell him.

poolboy87

On September 24, 2012 at 12:21 am

@Kevin:

Sorry, that was My Documents, not sure what happened there.

poolboy87

On September 24, 2012 at 12:24 am

Check that. I’m now sure what happened there. An overzealous filter it taking out the middle of that word, for some reason. It starts with a C, ends with an M, and has a U in the middle of it.

So, I’m not sorry anymore.

poolboy87

On September 24, 2012 at 12:32 am

Thanks for the rest of the info though. I was under the impression that it would completely prevent you from playing with anybody that hadn’t messed with the Dev kit. Thanks for clearing that up for me, as it made no sense that they would encourage modding…then punish players for it.

Just think…a non-intrusive way of managing players that partake of these tools that DOESN’T require a persistent connection that creates countless headaches…how novel.

Runic’s endeared me so much that for $20…I might just buy a second copy to play with modding.

Kevin Thielenhaus

On September 24, 2012 at 10:04 am

@poolboy87,

No problem, and don’t worry! The same thing was happened to me in my comment, when I typed “My Doc-uments” it came out the same way as your message. Weird, right? But, yeah, no reason to apologize.

funeymonkey

On September 24, 2012 at 11:37 am

Is anyone else having trouble with the setdifficulty command? I picked elite for my first playthrough, and now i want to lower it to veteran, but whenever i type the command out it always sets it to easy, no matter what difficulty i set it on. Please help me, i do not want to start my game over or play through this one on easy

funeymonkey

On September 24, 2012 at 6:14 pm

Whenever i try and use the setdifficulty command to change my difficulty, it automatically changes the difficulty to easy, no matter what i put. does anyone know how to change the difficulty? i was playing elite and wanted to change it to veteran but now it is on easy and i cant change it

NyoTekk

On September 25, 2012 at 9:11 am

@Yokimoninoka

Just create a Online Game and Check “Reroll World”, then the ALLITEMS problem is solved.

Daz

On September 25, 2012 at 10:12 am

What is a text editor?

Kevin Thielenhaus

On September 25, 2012 at 10:30 am

@funeymonkey,

From what I’ve read, the difficulty values range from (0) Easy to (3) Very Hard. Try putting in anything from 1-3, and let us know if it solves your problem.

Thanks!

Angiiie

On September 25, 2012 at 6:52 pm

I dont get it.. how do i spawn the items? everytime i wanted to spawn an item with the number when i write in console its an different item not this wich is writen?

Mateus

On September 26, 2012 at 6:00 am

I have used the All items code, but the game becomes very slow in the part with the items on the ground. What can I do to solve this?

Kevin Thielenhaus

On September 27, 2012 at 8:24 am

@Daz,

A text editor is a program like Notepad, not to be confused with a Word Processing program. Anything that can edit plain text will work.

Kevin Thielenhaus

On September 27, 2012 at 8:25 am

@Mateus,

Try this solution, from NyoTekk: “Just create a Online Game and Check ‘Reroll World’,”

Dazzer

On September 27, 2012 at 9:38 am

I can’t get this to work I’ve changed the “Console 0″. to “console 1″. Then saved it gone in to my game press insert but nothing comes up can someone help or put a video of how they do it.

Aaron

On September 28, 2012 at 9:28 pm

Um….Help, anyone? I kind of put ALLITEMS on the console and now every item in the game is spawning. If anyone knows how to take this off please tell me!!!!!!

b0nafide

On September 29, 2012 at 8:59 am

@Aaron Type RESTARTLEVEL in the console to remove allitems

Heartless

On October 4, 2012 at 7:33 am

would you tell how can you summon all unique type of a single class? like all the unique pistols or like?

the applications
hangs and barely moves when i summon all the item :)

Heartless

On October 4, 2012 at 8:01 am

oh i got it

just type first the UNITTYPES

in my case i saw the UNIQUE PISTOL on the list
then ALLITEMS UNIQUE PISTOL then boom all pistols are there :)

me

On October 9, 2012 at 8:51 am

How can you reset the vendors and gamblers ?

Bob

On October 11, 2012 at 9:50 am

@me Leave town by waypoint and return should reset the gambling vendors at least

InfinityLander

On October 12, 2012 at 4:58 pm

I used the console commands and now none of my items are showing up when they appear and non of the urns or bones have an icon on them. idk what to do about that but id like the names to appear

James

On October 18, 2012 at 6:11 am

the ITEM command doesn’t seem to work for me, can someone give me an example of what i should be typing? should i have a number that is the code for an item or does the name of the item work?

Loxer

On November 2, 2012 at 4:49 am

for the items that wanna to spawn type for example : item legendary_pistol01 ; item z_wand_m01_set : and its done.
its little boring and take to much time but …

SamuelMarston

On November 10, 2012 at 6:55 pm

I’ve discovered that entering “NEWGAMEPLUS” immediately kicks your character to the most appropriate NG+ playthrough.

Great for testing out builds against midgame/lategame enemies!

Trondor Valqathor

On December 1, 2012 at 12:25 pm

DON’T GET ED LIKE I DID READ THIS COMMENT!!!! HEY GUYS DON’ T USE RESET STATPOINTS YOU WILL NOT GET THEM BACK RUINED MY LVL 18 ENGINEER. THIS AUTHOR SHOULD PUT WARNINGS FOR LIKE THAT. I’M SERIOUSLY SURPRISED I’M NOT PUNCHING HOLES IN MY WALL DON’T.

Kevin Thielenhaus

On December 3, 2012 at 1:25 pm

@Trondor Valqathor,

Take this as a warning! Many of these commands are untested, heed our warning at the top of the page, try at your own risk. The Console Commands are an unsupported feature from the developer, and can have unpredictable results, especially in a game where you can’t save and restore.

Once again, I’ll reiterate — try these at your own risk!

aljohns

On December 22, 2012 at 6:06 pm

it wont even let me enter anything in…i press enter and nothing happens

ShaqueNova

On March 4, 2013 at 1:32 am

There are a few other commands that I played around with to get different results:
ENCHANTER spawns a basic 2 max enchanter, ut there are 18 different types. Typing ENCHANTER and a number from 0 to 17 will spawn a different enchanter. Enchanter 9 is the Grandmaster with 4 enchants and enchanter 15 is the socketer.
Typing ITEMS will take ages to load 6000+ items and the console window only shows the last few hundred, but if you specify an item type, you may be able to see the entire list. For example, PISTOL, CHEST ARMOR, SOCKETABLE, HELMET, etc. Youi can also show PET, PLAYER and NPC lists.
Some of the codes from the original Torchlight still work and there are many more commands that are unlisted.

Lemings

On April 5, 2013 at 8:11 am

is there a way to complete all the quests with 1 command?

random

On April 28, 2013 at 1:28 pm

Was looking for some items and came across some unreleased legendary level 101 items, they would be equip-able with hacked stats.

Anyway they are found using codes:

ITEM 3265 – 3312

Every third one being a lower level unique with the same item sprite as the two previous level 101 legendaries, the unique usually has 5 slots too.
The numbers after that until around 3375 are the current legendaries.

Enjoy.

Bejay

On May 10, 2013 at 12:30 am

uhh. I need help. after using the monster command in the console, i see green patches whenever i cast a skill/spell. I loaded my other saves, they were affected too. I took a screenshot so you could understand what I mean: http://images.plurk.com/kHde-5cFkikrz8aer77biZmAqUE.jpg

Giancarlo

On January 28, 2014 at 2:32 pm

Sir i find trouble in have my console. even if i changed it to 1 i cant access the dev console. can u help me.