The Elder Scrolls IV: Oblivion Wiki Guide
Cheat Codes with Testing Hall, God Mode and More
Press ~ (or the key above Tab) to open the console. Enter these cheats for the desired effect.
- help- List console commands
- player.additem 0000000F X- Add X amount of Gold
- advlevel- Forces a level up with the levelup screen
- advskill skill X- Forces a skill level up X amount of levels
- tgm- God Mode (enter while not targeting)
- Killall- Kill everything
- coc testinghall- Teleports player to an area with all objects, monsters, and NPCs in-game
- coc toddtest- Teleports player to developer testing grounds
- movetoqt- Teleport to quest target
- PlaceAtMe id, number,X,Y- Spawns a creature, npc or item
- player.placeatme - Summon NPC
- tfc- Free camera
- SetItemValue Amount- Set item price
- StopCombat- Character ceases combat
- psb- Add all spells to player
- modpcs skill 100- Add 100 points to the skill
- modpca luck 100- Add 100 pointsto an attribute (here luck)
- player.setstage - Advances specific quest to specified stage
- Showbirthsignmenu- Change your birthsign
- showclassmenu- Change your class
- Drop TypeREF Amount- An item drops selected target's inventory
- SetActorFullName "John Doe"- Change Character's name
- hairtint (red/green/blue)- Change hair colour
- FOV X- Change the angle of your point of view (default is 75)
- player.setlevel 1- Changes player level to desired number. Use 1-255
- SexChange- Changes your gender
- caqs- Completes all quest stages
- DuplicateAllItems DestinationObjREF- Copy items from target into DestinationObjREF
- CreateFullActorCopy- Create a fully identical copy of target
- SSG- Creates a window with the full game scene graph
- drop amount- Drops item
- equipitem - Equips item
- qqq- Exit game without using menus
- ShowSpellMaking- Forces up spell creation screen
- player.additem - Gives the player the given item and amount of the item.
- player.AddItem 00000000 X- Gives you X amount of item 00000000 (use other hex combinations for items)
- SetPCFame- Gives you fame
- SetPCInfamy- Gives you infamy
- player.AddSpell 00000000- Gives you spell 00000000 (use other hex combinations for spells)
- player.payfine- Guards cease attacking you, bounty is paid off
- ceasecombat- Immediately ceases the combat of the selected friend/foe
- player.setAV - Increase (Or decrease) Ability or Attribute
- Click any human or creature, type "kill"- Instant kills
- Player.kill- Kill yourself
- lock [value]- Lock a door
- lock [1-100]- Lock selected door or container
- setscale X- Change object size, where X=1 is regular .5 to 2 changes size
- ModDisposition ObjREF Amount- Modify character disposition towards ObjREF
- MoveTo ObjREF- Move target to ObjREF
- Player.CreateFullActorCopy- Place another "Yourself" near you.
- PCB- Purge cell buffer. This will free up used memory
- RemoveAllItems- Remove all items from target
- player.completequest - Remove active quest
- player.removeitem - Remove any item
- player.setcrimegold 0- Remove Bounty on your head
- DeleteFullActorCopy- Remove selected target if it was a copy created with CreateFullActorCopy
- player.removespell - Remove specified spell
- resurrect- Resurrect targeted monster/human.
- savegame [filename]- Save game
- PRID Player- Select yourself as a target
- SetCrimeGold 2000- Set a bounty on Character's head
- setcamerafov [degrees]- Set camera field of view (75 by default)
- pov [X]- Set point of view angle (75 by default)
- SetAV AValue Amount- Set some ability or skill (LightArmor, Aggression, Energy, Confidence, Responsibility)
- SetPos X Value- Set target's X coordinate
- set timescale to X- Set the speed at which time flows, X=30 is default
- SetBarterGold Amount- Set amount of gold a merchant has for trade
- setweight XXX- Set the item's weight to XXX
- showfullquestlog X- Show all log entries for indicated quest (use quest ID)
- showquestlog 1- Show completed quest log
- showquestlog 0- Show current quest log
- showquesttargets- Show current quest targets
- showquestlog- Show quest log
- ShowClassMenu- Show the class selection screen
- ShowRaceMenu- Show the name/race/appearance selection screen
- ShowBirthSignMenu- Show the sign selection screen
- tmm 1- Shows all map markers
- GetPos X- Shows target's X coordinate in the scene. Y and Z are also valid. Use Player.GetPos X or "014".GetPos X to find out where you are on the X-axis!
- UnEquipItem TypeREF- Target deactivates an item of given type
- Look ObjREF- Target looks towards referenced object
- SetAV Aggression 100- Target attacks anybody it doesn't like
- StopLook- Target ceases looking
- TAI- Toggle AI
- TDETECT- Toggle AI detection
- tcai- Toggle combat ai
- TDT- Toggle debug display
- tfh- Toggle Full Help
- TG- Toggle grass
- TLL- Toggle land LOD
- TLV- Toggle leaves
- TS- Toggle sky
- TT- Toggle trees
- tws- Toggle water
- TWF- Toggle wireframe mode
- TCL- Toggle collision
- TFOW- Toggle fog of war
- TM- Hide all menus
- ShowSubtitle- Toggles NPC conversation subtitles
- twr- Toggle Water Radius
- unlock - Unlock target object
Cheat - Duplicate Items (Post Patch)
This cheat duplicates items in a similar way to the pre-patch method using a bow and arrows. I have seen variations on this method involving swinging weapons/fists but found they did not work (on the PC at least). This method works with Shivering Isles installed and is more straight forward than the old method.
To start with you will need at least 2 identical scrolls. Open you inventory and equipment them. Click on the scrolls once more, then drop the item you would like to duplicate. The quantity of the item needs to be less than the number of scrolls, for example if you have 10 scrolls the number of items duplicated at one time has to be 9 or less. Exit your inventory screen and the duplicates will fall to the ground. The number of items duplicated will be equal to the number of scrolls. To repeat this go back into the inventory screen and click on the equipped scrolls and drop the item to be duplicated (no need to unequip and equip the scrolls)
This method does not duplicate stolen items and some rare/quest items. It is however useful for duplicating light, valuable items such as gemstones which can be sold.
Submitted by Tenfyr
Hint - Levelling FailSafe
This little exploit can be taken advantage of to jack your levels up to 30 (when the items you earn will be of top quality). Just make sure to complete the quests with vulnerable NPCs or they will not survive the pummeling from high level enemies.
Simply travel to Leyawin and activate the 'Whom Gods Annoy' quest. Get it to the point where the woman gives you her Daedric staff. Instead of going to the dungeon to get rid of it, keep it for a while. The Everscamps it produces are incredibly easy to kill, have weak attack, and never stop respawning. Any ideas yet?
Personally, I was a Knight of Leyawin and went to the White Stallion Lodge to do this. I then decided that I wanted to level my Hand-to-Hand. So I punched the Everscamps to death again and again. A mere 10 minutes later I had raised my Hand-to-Hand almost 15 points.
I think many people don't think that the Everscamps give you experience points, but in fact, they do. I then leveled my block, blade, and heavy armor skills by about 20 points each before completing the quest.
Hint - Unlimited Enchanted Daggers
This incurs the wrath of the guards and pretty much sets your fellow mages up for NPC-related slaughter (not the Harry Potter version).
Once you have gained access to the Arcane University you can harvest an unlimited supply of enchanted daggers. The NPC mages all carry a randomly enchanted dagger. Since the mages at the University level-up with you, the higher your level, the higher the quality of the dagger and the stronger the enchantment.
At level 2 the NPC mages will have an iron dagger and around level 6 they will start carrying dwarven daggers. Since you may not steal or kill your fellow mages you have to trick the gaurds outside of the gates to assist you. Simply walk up to any of the guards and attack them. When the guards ask you to surrender select "resist arrest".
There will be two guards outside, so you need to make sure to get both of them to follow you. Once you have them in tow, run into the academy and wait for your fellow mages to assist you in killing the guards. As the battles go, the gaurds will usually win and kill all of the mages. If this is the case, you need to finish the guards off yourself. Afterwards, simply loot the bodies.
The main thing is you did not kill your fellow mages, so you won't be blamed for their deaths.
After the first time you do this you will trigger the gaurds and mages to hate each other forever. After hunting in a dungeon or doing a quest, check-in on the guild to see if any new guards or mages are lying around dead.
While the mages increase their level as you do, the guards do not, after a while the gaurds won't stand a chance against the mages. To solve this, wait until morning when the captain of the guard is inspecting the courtyard of the guild. Get him as well as the two guards to follow you into the guild; the three of them tend to be a match for the higher level mages.
Lastly, if the guard only attacks you and won't attack the mages, use an invisibility spell and he will switch targets.
Hint - Fast Travel For The Grossly Obese
After clearing out one of the many dungeons in Oblivion, you may wish to carry out more valuable loot, items, armor and weapons than your current level of Encumbrance will allow. If you're able to, you can cast spells that will temporarily raise the amount you can carry, but if that's not an option for you, a simple potion of feather can be very helpful in a pinch.
Clear out all the enemies, taking note of where all the highly valuable (and sometimes heavy) items you're going to want to carry out with you are. Next, load up as much as you can carry, and drink your feather potion. This will temporarily raise your Encumbrance. Now, quickly run around and grab the other items you want to take. Get outside the dungeon before your potion runs out, and fast-travel wherever you wish.
No matter how far away your destination is, you'll make it, along with all the stuff that you picked up. Travel to a merchant to sell it all, or travel to your home/hideout to stash it for later. When you arrive, you will be over-encumbered, so in order to move, you'll either have to drink another feather potion, or temporarily drop a few things.
I usually fast-travel just inside the gate to the Market District of the Imperial City, where I temporarily drop whatever I can't carry, then run right around the corner to the various shops. I sell everything I don't want to keep, then I return to the gate and pick up the things I dropped. It's a great way to make large sums of cash fairly quickly.
Free Weightless Daedric Weapons
After you've gained access to the Arcane University (to do so you must join the Mages Guild), purchase two cheap bound weapon spells. You can get the Bound Dagger spell from the Discount Spells shop in the Imperial City's Market District. Make the second spell you buy bind a weapon that you want to keep.
Go to the Arcane University's Praxographical Center (northeast corner) and create a spell that does Bound Dagger for one second on self. You can repeatedly use this spell to raise your Conjuration skill above level 25, a level you'll need to achieve in order to get the free weightless Daedric weapons. <P>Once your Conjuration is at level 25 or higher, make a new spell that will cast Bound Dagger and Bound "whatever weapon you want." (If you don't see the option to create a spell that does anything other than Bound Dagger, you'll need to make sure that you can actually cast the other bound weapon spell. If you can't, raise your Conjuration skill even higher.) Make sure that you add the Bound Dagger effect first, then add the second bound weapon effect. Set both effects for a duration of one second. <P>Cast the spell you've just created and wait for the sound of weapons equipping. Immediately go to your menu and you'll see that the second bound weapon appears in your inventory. Simply drop the weapon and you can then pick it up to keep forever. The weapon has no sell value but it's weightless and pretty powerful. This bug can be repeated as many times as you like, giving you access to an infinite number of Daedric weapons.
Hint - Increase Disposition Every Try
If you are trying to get a person to like you that has the persuasion option when you talk to him you can incrase the maximum disposition level a little bit more.
I've tested this trick out myself with some Imperial city gaurds and it works as long as you keep trying with the person until you reach the "Disposition Maxed" message on the persausion menu.
All you need to do is talk to the person you wish to persuade with your weapon DRAWN and then get him to like you through the persuasion ability until the menu says "Disposition Maxed."
When you do that, simply stop talking to the character and put your weapon away, when you then go to the persuasion menu and look at the disposition level you will see it is somewhat higher(I believe the maximum posible disposition you can achive through this secret is ten). The amount you can get from this seems to depend on the NPC's persuasion level and your charcters persuaion level and the NPC may have a grudge with you or a bond with you from things you may have done to help or hurt them or your charcter may have infamy and/or fame, or the guild you belong in and your curent rank in that guild may affect the way this person feels about you.
I must also warn that certain charcters aren't possible to persuade mainly charcters involved with quests, (For example Baurus of the Blades.)
Hint - Mercantile Increase
You can raise most other skills without trouble, except perhaps, for Mercantile. Go to the tents in Kvatch. Equip any weapon and get on horseback. Once this is done, talk to the Orc woman with corn rows and sell the weapon to her. Your weapon will not be sold but you will get 200 gold every time you attempt this. It raises the mercantile skill while you make money. Win-win.
Submitted by rikyyo
Hint - Exploiting The Unicorn
The unicorn offers tranquility. It's also unseasonably warm. If you have a uniorn, go to any city with a stable and stable the unicorn. Lock the unicorn inside while you are outside. Draw your weapon and the unicorn will get mad. A guard will go inside the stable and start attacking the unicorn. Close the gate in after the guard while remaining outside. The unicorn will kill the guard and you can loot the body.
Each guard has a key to his respective city. You can then fast travel to a different city and you can do it again. Some of the stables have a way for the unicorn to get out, so beware. If the unicorn gets one attack in, it will probably kill you. The only way to kill unicorns is with daedric, magic, or silver weapons.
Hint - Sigil Stone Picker
The gates generate a random plane of oblivion along with a random sigil stone. Go through the tower all the way to the top, till you reach the sigil stone. Simply save the game before the stone spawns and you can re-randomize the stone by re-loading the game, if it's not to your liking.
Hint - Sneak Walk Increase (Requires Rufio)
The Inn of Ill Omen is located Northwest of Bravil along the road. In the basement of it is a guy named Rufio. As long as you are reasonably quiet he will sleep forever allowing you to sneak around the room increasing the skill easily. Just put your guy facing a corner and rig the stick to keep walking and you gain a new level roughly every minute (early on). Note that if you killed Rufio as part of the Dark Brotherhood's quest, you won't be able to use this exploit.
Hint - Arena Blindspot
This requires your acrobatics to be fairly high (always jump when travelling to increase it), since you need to jump to a spot that's normally out of reach. The blind spot is not immune to ranged weapons or spells, but for the most part, you can take down enemy combatants with your ranged weapons or spells without a loss.
Naturally, save your game before you attempt this.
As soon as the fight starts, run to the left. There is a gray stone pillar, next to the gate. Just jump on and up onto it, as high as you can. Often your opponent is there attacking you so the force of the attack may actually push you onto the short pillar.
If you do it right, you can stay perched up there, safely out of reach of most melee fighters. You can proceed to destroy your opponents with arrows or other ranged attacks at your disposal.
Hint - This Fight's Freaking Easy
Having trouble with strong monsters or opponents? Work a bit on your Alchemy skill and learn to concoct potions to "Damage Health". Combine such potions with your most potent weapon and hit your enemy a few times, then run off and cackle like a maniac while your quarry dies within minutes. (Repeat as necessary).
Hint - Sneak Walk Increase (Requires Armand)
There is a way for you to get your sneak skill to rise very quickly in the game. When you have the option to join the theives guild by meeting Armand at the Imperial Water Front garden around 11 pm, accept his task. He will offer you the option to buy lockpicks. Don't buy any. Go into sneak mode and go behind him. Not only will you get the lockpicks from him for free, you can also repeatedly pickpocket him to build up your sneak skill and all he'll say is to go ahead, he doesn't need it anyway.
Hint - Free Iorn Arrows
Go to the arena in the Imperial city and watch the blue team archer shoot arrows. Half the time you can go in there, the arrows the archers shoots will be there and you can simply take them without being labelled a thief. Naturally, you may want to save before attempting this.
Stealing From Blind And Mentally Retarded NPCs
I tested this on armor only, but I see no reason why it wouldn't work for any item if it's large enough for your atavism to collide with it.
First off, go to any armor shop that has a piece of armor on display that you want. Jump up onto the shop keep's counter and just run into and knock the armor item off the counter. This is not illegal and noone will even care. Next, keep kicking it by running into it multiple times until you have the item in a corner away from the view of the shop keeper.
The shop owner will actually follow you around the shop while you run about. Get him/her to follow you to the opposite end of the store, then quickly run back to where you placed the armor item. Use the sneak ability (default RIGHT CTRL) and pick it up before they see you. Done.
Submitted by Laerun
Item Spawn Cheat
Drop the console and input player.additem itemIDname integer where itemIDname is the internal name for the item and integer is the number of that item you want. For a complete list of items and their IDnames, <a href="https://faqs.ign.com/articles/697/697918p1.html">download the Excel file (ZIP)</a> from IGN's FAQs site.
<a href="https://faqs.ign.com/articles/697/697918p1.html">Download Item List (XLS)</a>
Submitted by PlanetElderScrolls
World Warping Cheat
Drop the console via the TILDE key and input player.coc locationIDname where locationIDname is the map you wish to go to. For a <a href="https://faqs.ign.com/articles/697/697909p1.html">complete list of location IDs</a>, head for IGN's FAQs site.
<a href="https://faqs.ign.com/articles/697/697909p1.html">View Location ID List</a>
Submitted by PlanetElderScrolls
While playing, drop the developer console via the TILDE key (next to numeric one). You may need to add a -dev or -devuser switch to the command or target line to the game executable via a Windows shortcut. All codes listed here are unverified.
help ... List available console commands
tgm ... Invulnerability
tcl ... Toggle clipping
lock ... Lock highlighted object with integer lock-level
unlock ... Unlock highlighted object
kill ... Kills highlighted entity (kills self if no target is selected)
modpcs , ... Add integer points to skillname skill
modpca , ... Add integer points to attribname attribute
Submitted by planetelderscrolllord
Oblivion:Console Command Tutorial
|Warning: Use console commands with caution! It is easily possible to mess up your game if you modify settings at the console. Even if short term the game functions normally, you may later discover that you have made it impossible to complete a quest and therefore you cannot proceed normally with game play; fixing that problem can then make new glitches pop up elsewhere. Create a permanent saved game before experimenting with the console. If you need to use the console to fix a glitch, try to use the least powerful command possible. It is advisable to use the "Test Hall" for experimentation with console commands—for more information, see below.|
Here's something for those of you who have trouble using, would like to better their understanding of, or would like to learn how to use more of the various console commands. There are literally hundreds, perhaps thousands, of console commands; this obviously won't cover all of these, but it'll do its best to cover the console commands that most people would find useful.
Opening the Console
The console is opened with the tilde (~) key when using the International English keyboard layout; it's left of the 1 key, below the Esc key, and above the Tab key (Or the Key located to the left of the "Z", Depending on your keyboard settings. If it doesn't open the console then you probably have one or more of the following issues:
- You have an infrared remote sensor hooked up to your computer (used for the Windows Media version of Windows). Disconnect it and try again.
- Note that this also works on some Vista computers.
- You have Windows Vista installed. Download and use the Ring of Console mod to access the console. (The mod requires you to have the Oblivion Script Extender (OBSE) installed to work: you can download it here.) If equipping the ring still doesn't work, try hotkeying the ring to a slot. Then activating and deactivating it should bring up the console cursor at the bottom left. (This does not apply to all versions of Windows Vista).
- You're using an international keyboard. Depending on the country your keyboard comes from, the tilde key might not be placed as described, though the key in that location may still open the console; if it does not, then using the above mod should solve the problem.
For Apple Computer Users
If you are using a virtual machine (Parallels Desktop, VMware Fusion, Virtual Box, or similar) on an Apple computer, the key may be mapped differently by default, even if the tilde key appears to work normally in Windows itself. One solution to this proposed in the Parallels forum is to download and install Microsoft Keyboard Layout Creator, a freeware tool that lets you create custom key assignments. This may or may not work for you (see the Discussion tab for further info).
Another alternative is to install a mod such as Change Console Key, which is an Oblivion Script Extender plugin that lets you reassign the console invocation key within Oblivion itself. Assigning key number 34 (which is PageDown in Windows, or usually Fn-DownArrow on the Macbook) seems to work well.
The preceding has been tested on a Macbook Pro Retina running OSX 10.8.2 through 10.9.0, with Windows 7 64-bit running inside Parallels Desktop 8 and 9.
- Console commands are not case-sensitive - they are only capitalized in this guide for clarity.
- In the case of console commands that require IDs, the initial 0s of an ID can be omitted. This means that if an item's ID says 00032564, then you only have to use 32564 in the console command.
- Some items and NPCs will have multiple IDs all sharing a name. This can mean several things for items: it is leveled; it has several different looks shared under a single name, such as bones; or, it has several different types shared under a single name, such as soul gems. For an NPC, it probably means that it is a spawning enemy NPC such as a bandit or a marauder.
- Any IDs that pertain to objects in a mod, be it official or user-made, will not work in commands unless the first two digits in the ID are the mod's load order (including the base Oblivion.esm file) in hex; hex goes from 00 to 09, then from 0A to 0F, then from 10 to 19, then from 1A to 1F, etc. For example, if the mod is the 3rd mod in the list (including Oblivion.esm), then any ID in that mod will start with 2 (02); if it's the 15th in the list, the IDs will start with E (0E); if it's 42nd, they will start with 29. Alternatively, you can manually change the load order of the desired mod to be first to load and work without the hassle of finding the load order. To do this, you'll need a mod manager: you can download one here.
- Pressing the up and down keys while the console command window is open will scroll through the previously entered console command, if there are any. Pressing the page up and page down keys will scroll through the list of previously entered commands, if it's big enough to be cut off.
- The maximum value for the level of anything (character level, attributes, skills, etc.) is 255. You can go above this with spells and enchantments, but when using the console you can't increase anything beyond 255; if you increase it past 255 with an incremental command (such as ModPCS) it will reset to 0.
- If the instructions tell you to click something, have the console open when you click it.
- When the instructions say to type something that means hit enter after you've typed it.
- This guide will make occasional references to "cells." A cell is simply an area; interior areas take up one cell each, while exterior areas may be made up of many cells interconnected.
- An ID is a hex code (an 8-digit code made up of numbers and letters, though they can be shorter with the initial 0s omitted) that the game uses to reference objects, whether they be NPCs, creatures, buildings, flames, anything at all, and most console commands use these references as a parameter to target certain object types.
- There are two types of IDs: reference IDs and base IDs. Most commands use base IDs, but a few use reference IDs. Each command in this guide will specify which it uses.
- If a command parameter is a string, it must be enclosed in quotes " " if it contains any spaces. For example: To rename player to Joe (which contains no spaces), Player.SetFullActorName Joe is OK. However, to rename player to Joe Bloggs (which contains a space), Player.SetFullActorName "Joe Bloggs" must be used. This is because the console treats spaces as parameter separators and Joe Bloggs will be treated as two parameters (error, SetFullActorName takes one parameter only) whereas "Joe Bloggs" is treated as one parameter (no error).
- If you want to write a bat-executable textfile with more than one command, you can use the symbol ";" as a comment indicator. In a large script this can be useful to keep track of what's been added. Everything after the comment symbol will not be executed but it will show in console output.
Finding IDs in the Construction Set (CS)
First, you will of course require the CS, downloadable here. The CS is a tool that is used to edit the world of Oblivion and contains most of the game's data. Once you have your CS installed and running, go into "File" and "Data" - double-click the file Oblivion.esm and click OK (note: if you want to find the ID of something from a mod, you'll also need to load that mod's .esp file). Once the file has loaded, you can use the Object Window to find any ID you want to by browsing the categories on the left, finding the desired object, then looking at its ID. The ID column is the second column from the left (between "EditorID" and "Count") and by default is too small to see any IDs with, so drag it larger from the top of the column. Also, by default the rows are listed in alphabetical order by their Editor ID; to make it easier to find things, click the top of the "Name" column to list the rows in alphabetical order by their name. Now, say, for example, one wanted to find the Xivilai's ID: Go under "Actors - Creatures - Daedra" then find the Xivilai and look at its ID.
Player.AddItem BaseID #
(Only works with item IDs.)
A very commonly used console command. This will add the specified number of the specified item to your character's inventory. The item ID for gold is simply F.
Example: Player.AddItem 6EE68 2; gives the player two Master Mortar and Pestles.
Links: Codes for all items are provided on the various item pages: Ammunition, Armor, Artifacts, Books, Clothing, Generic Magic Apparel, Generic Magic Weapons, Generic Staves, Ingredients, Leveled Items, Miscellaneous Items, Potions, Scrolls, Sigil Stones, Specialty Gear, Staves, Unique Items, Weapons
Other applications: If you click an NPC, creature, or container and type AddItem BaseID # then it will be added to its inventory instead. This is good for people who like to use NPCs to help them fight but want the NPCs to have better equipment.
Player.RemoveItem BaseID #
(Only works with item IDs.)
It will permanently remove the specified number of the specified item from your character's inventory. It could be used for something like removing one of those annoying quest items that the game leaves in your inventory and won't let you remove.
Example: Player.RemoveItem 7E9D 1 removes the Filled Colossal Black Soul Gem from the player's inventory.
Links: Codes for all items are provided on the various item pages: Ammunition, Armor, Artifacts, Books, Clothing, Generic Magic Apparel, Generic Magic Weapons, Generic Staves, Ingredients, Leveled Items, Miscellaneous Items, Potions, Scrolls, Sigil Stones, Specialty Gear, Staves, Unique Items, Weapons
Other applications: You can click an enemy and type RemoveItem BaseID # to remove items from their inventory. You could use it to remove equipment from an enemy, though its use is limited, since you'd need to know exactly what the enemy has.
Player.PlaceAtMe BaseID #
(Only works with NPC, creature, and item IDs.)
If an NPC or creature ID is used, then this will spawn the specified number of the specified NPC or creature next to your character. The NPC or creature will retain all of the AI that the original NPC or creature had, acting just like a clone of it. It has the same schedule, inventory, stats, and will sell the same things if it's a merchant; in most instances, it will also complete designated parts of a quest that the original may have been associated with, but some quests require the original as they identify it by its RefID, which the clone does not share. Possible entertainment value, but limited practical use; the Resurrect command is recommended for bringing back quest-related NPCs and creatures that have died.
If an item ID is used, then this will spawn the specified number of the specified item below your character. It is recommended that you jump before using this command for items, as the items will otherwise likely end up underground. Not much practical use, as Player.AddItem BaseID # has the same result but without requiring you to pick the items up off the ground, but it does allow you to spawn gold coins which otherwise couldn't be placed in the world as you can't drop them from your inventory. (The item ID for gold is simply F.)
Example: Player.PlaceAtMe AED40 5; spawns 5 Adoring Fans next to the player.
Links: Lists of NPC IDs: Named NPCs - Generic NPCs; Lists of creature IDs: Animals - Horses - Undead - Goblins - Monsters - Daedra - Dremora; Codes for all items are provided on the various item pages: Ammunition, Armor, Artifacts, Books, Clothing, Generic Magic Apparel, Generic Magic Weapons, Generic Staves, Ingredients, Leveled Items, Miscellaneous Items, Potions, Scrolls, Sigil Stones, Specialty Gear, Staves, Unique Items, Weapons
- If you click an NPC or creature then type PlaceAtMe BaseID #, you'll spawn that NPC or creature next to the selected object. Could be used for something like spawning a few guards next to an enemy and having them take care of it for you.
- One possible practical use is to have infinite armies of Followers.
- Test your skill in combat against overwhelming numbers of creatures that the game would not pit against you normally.
Notes: Gold coins seem to be the only item that is placed next to the player instead of beneath the player, which removes the need to jump before using it to spawn them.
This will remove your bounty by setting it to 0, but any pursuing guards will still have to find you before they'll stop following you. Don't worry, though, as soon as they get to you they'll just engage you in a normal conversation. If you've already been caught and decided to resist arrest it gets more complicated. Even if you type this command in then yield (holding block and pressing activate on them) they may try to arrest you again, due to the 40-gold bounty for resisting. Keep putting this command in then yielding and they'll eventually stop. If you try this command once the guard has talked to you the game will crash.
Other applications: Putting in another number instead of 0 will set your bounty to that number and make the guards pursue you. Good for if you have an itch to kill some guards or want to go to jail for whatever reason. Can also be used on other NPCs, but the guards will just attack whatever NPC you have put the bounty on.
Will pay your fine and remove all of your stolen items to the nearest Evidence Chest, but will not teleport you to the nearest jail. Only really useful if you've got no stolen items on you, otherwise you'll end up having to head to the nearest jail anyway to steal back your items. Alternatives include dropping your stolen items before using this then picking them back up, or just using Player.PayFineThief (see below).
This is like the above Player.PayFine command, but more effective: it removes your bounty but lets you keep all of your stolen goods. As with Player.PayFine, the bounty gold is still removed from your character, though at half price.
Sets your level to the number specified, but won't count toward any level-ups. This is only any good for if you want to get a better version of a leveled item then set your level back down to what it originally was.
Example: Player.SetLevel 100; sets the player's level to 100.
Other applications: Clicking an NPC or creature and typing SetLevel # will set the NPC or creature's level to the specified number. Useful if you've gone past level 25 and want to cast a level-based spell such as Frenzy or Command on an enemy.
Notes: This command will allow you to increase your level then decrease it without ever changing the internal values, but if you want an actual level-up then use ADVLevel.
(Only works with spell IDs.)
Adds the specified spell to your character. Can be used to add any spell already in the game, even if it's not normally available.
Example: Player.AddSpell A9824; gives the player the spell Open Easy Lock.
Links:A list of spell IDs; A list of leveled-spell IDs.
Other applications: By clicking an NPC or creature and typing AddSpell SpellID you can give the selected NPC or creature a spell. Good for giving follower-NPCs better spells to fight or heal with.
(Only works with spell IDs.)
Removes the specified spell from your character. A very good console command, as there's no other way to remove spells from your character.
Example: Player.RemoveSpell A9824; removes the spell Open Easy Lock.
Links:A list of spell IDs; A list of leveled-spell IDs.
Other applications: You could remove a spell from an enemy by clicking it and using RemoveSpell SpellID. It's of little use, though, because you'd have to find the exact spell that the enemy is using before you can find its ID, which is difficult at best and would require use of the CS.
Player.RemoveSpell RefID-(for custom spell deletion)
(Only works with spell IDs.)
This is a bit more complicated than deleting a normal spell. First, go into your Oblivion directory (by default C:\Program Files\Bethesda Softworks\Oblivion) and find the file LevelUpData_1 - open this in Wordpad (not Notepad). Look for the character you're going to be deleting the spell(s) from, find his/her latest level up, then start scrolling right. You'll eventually come upon spell names. In here, find the spell(s) you're going to delete and write down their ID(s), which are in parentheses to their right. Now that you have the ID(s) you can delete the spell(s) like you'd delete any other spell.
Example: Tricky to do an example since it varies from person to person, but an example ID for a custom spell would be FF01E5B4, so to delete that spell the player would type Player.RemoveSpell FF01E5B4.
This will change your character's size depending on the value; the smallest value is 0.5, the largest is 2, and decimals work up to the hundredths place (second digit). The number isn't necessarily the proportion your size is increased by because a scale of 2 will make your character about 2.5 times bigger. Aside from making the character larger, it also changes your movement speed (presumably by the value of the scale).
Example: Player.SetScale 1.5; makes the character about 2 times larger and increases speed by a factor of 1.5.
Other applications: By clicking an NPC, creature, item, object, etc. and typing SetScale # you can change its size. This seems to work on anything at all: people, creatures, items, structures, you name it.
Several things should be noted about this command:
- Your run/walk speed will change regardless of whether you use the command in first- or third-person view, but the scale will only change for the view you're currently in. In other words, if you use the command while in first-person, you'll still appear as normal in third-person.
- If you scale in first-person then go to third-person, the camera will be placed as though your character's size had changed.
- When you talk to people or go into first-person, you will be at your normal eye level.
- For some reason, the positions of hands, feet, and heads are changed upon death to whatever the NPC started with, lengthening or shortening the attached appendage. This can lead to rubber-corpses with 3-foot long necks and tiny heads, or corpses which appear to be one big wad of clothes and meat. This is undone if the person is scaled, and then the area is reloaded before death. Or you can use the resurrect command, after that the person who has been scaled to a size won't be changed, and will look like a dead giant.
Causes the actor to be rendered with the refraction shader, a value between 0 and 10 changes how much the light is refracted, causing them to look like they were made of glass. The different levels alter how much light is refracted - how clear and glassy the character looks. However, it does not make it harder for NPCs to detect you.
Example: Player.SetActorRefraction 5.
Notes: If using chameleon also it causes some issues if you are trying to turn it off. Just do 'Player.SetAV chameleon 0', 'Player.SetActorRefraction 0' a few times and it should revert.
Player.SetFactionRank BaseID #
(Only works with faction IDs.)
Sets your character to a rank depending on the number specified. 0 is the lowest rank, 9 is the highest (although few factions have that many ranks). Using the value -1 will remove you from the faction, as will setting an invalid rank.
Example: Player.SetFactionRank 2F872 3; sets the player to the Assassin rank in the Dark Brotherhood.
Links:Lists of miscellaneous factions.
Other applications: By clicking an NPC or creature and typing SetFactionRank FactionID #, you can add them to or remove them from the desired faction. There is a "Player Faction" that, when an NPC or creature is added to it, will cause a hostile NPC or creature to become friendly with the player.
Notes: Major and minor faction IDs (more detail in the links):
*The first two digits are replaced by the mod's load order; refer to Note #4.
sets the player to Apprentice in the Mages Guild and provides the player with full access to the Arcane University and the Spellmaking and Enchanting Altars.
(Only works with NPC, creature, and item IDs.)
(For finding NPCs, creatures, and items.)
This command requires that you use the target's RefID. For any unique item in the game, this is a fixed ID number that is the same in any person's game. The easiest way to find this RefID for all unique NPCs is to check the NPC's page on this wiki (refer the "Links" below for a list of NPC pages). For example, the NPC page for Jauffre shows that his RefID is . RefIDs are also documented on the articles for various unique creatures and items (find each page via the search function). (Note that the RefIDs on the wiki will not work for any duplicates you may have created.)
If you want to find the RefID for an undocumented item, there are a few ways to go about this.
- The simple method requires you to have a previous save in which you can find the NPC, creature, or item you are now seeking: load up that save (preferably after making a new save), open the console, click the object and note the ID at the top of the screen, then close the console, load up your most recent save, and input the ID you just found into the command.
- If you have no such save, however, there is still a way to find the ID. You must first make a save using the console command Save Name 1. Once this is done, exit/minimize Oblivion and go into My Computer and into the directory My Documents\My Games\Oblivion\Saves, then find a text file with the name of the save you just made - open it in Notepad. Go into Find, under Edit, and do a search for what you're trying to find - write down the ID (leftmost number) for it/them. Many items and creatures will have more than one of them in-game, so write down the ID for each of them. Also, some items, creatures, and NPCs will not be in this list; it's uncertain how it decides what to save on this list, so just hope that what you want to find is in it. Once you have your ID(s), start up Oblivion again and, using the ID(s) you just wrote down, type this command. You should now be next to the thing you were looking for; if you aren't, and there were more than one of what you were looking for, then put in the next ID until you do find the one you want.
Example: If you wanted to find Jauffre, you would type .
Links:List of unique NPC IDs.
Other applications: If you select an NPC, creature, or item then type MoveTo Player you can move the selected NPC/creature to your character, even if you're no longer in the same cell (assuming you still have the desired NPC/creature selected in the console). An alternative to manually selecting the NPC, creature, or item is using the command, if you know the object's RefID.
Player.RemoveAllItems RefID #
(Only works with NPC and container IDs.)
Removes every non-quest item from the selected NPC or container and moves them to the specified target NPC or container (if one is specified); the number determines whether they retain their ownership flag (1) or become "free loot" (0). This can be used: to destroy all non-quest items in an inventory by clicking the object and typing RemoveAllItems; to move all non-quest items from one inventory to another by clicking the object with the desired items and using the RefID of the object they're to be given to; or to move all non-quest items from the player's inventory to another object's inventory by beginning the command with "Player." and using the RefID of the object they're to be given to.
- RemoveAllItems; destroys all non-quest items in the inventory of the selected object.
- RemoveAllItems 356BA 1; moves all non-quest items from the inventory of the selected object to the container with the RefID 356BA while retaining their ownership flag for the NPC.
- Player.RemoveAllItems 356BA 1; moves non-quest items from the player's inventory to the container with the RefID 356BA while retaining the player's ownership of them.
Notes:Player is the player's equivalent of both a BaseID and a RefID, and can be used in place of one.
(Only works with NPC and container IDs.)
Duplicate every item in one object's (NPC or container) inventory into another object's inventory. The first RefID used is the object which has the items you want to duplicate. However, you can only put anything there if you're duplicating your own inventory, as it won't work if you put the RefID of the object; to duplicate anything else's inventory you'll have to click it. The second RefID is the object that you want the duplicated items you be put into. You need to watch out what you duplicate, though, as quest items aren't exempted from it.
- DuplicateAllItems Player; duplicates everything in the selected NPC or container to the player's inventory.
- Player.DuplicateAllItems 356BA; duplicates all of the player's items to the NPC or container's inventory.
- Player.DuplicateAllItems Player; doubles every item in the player's inventory.
Notes: You can duplicate the items of an inventory into itself by selecting the NPC or container and using its own RefID ("Player" is the player's equivalent of both a BaseID and a RefID).
Player.SetAV ActorValue #
This will set/add to the value specified to the number specified. The values that can be affected by this command include skills, attributes, health, fatigue, and magicka; a full list of recognized values is found at Actor Value Indices. When editing skills and attributes it will set the specified skill or attribute to the number specified. When editing fatigue, health, or magicka it will set the value to the specified number plus its base value; the numbers that can be used depend on your current values for the stats, but the values for each cannot exceed the following: health - 2,147,483,520; magicka - 65,615; fatigue - 65,675.
- Player.SetAV Blade 100; sets the player's Blade skill to 100.
- Player.SetAV Health 1000; with a base health of 100, the player's health is now 1100.
Other applications: By clicking an NPC or creature and typing SetAV Value # you can change the specified value of the select NPC or creature. Good for when you want an NPC to have more health or do more damage, or, alternately, if you want an enemy to have less health or do less damage. Beware when modifying the values of creatures, though, as any changes made will affect every creature of that type.
Notes: The difference between this command and AdvSkill is that if this is used to increase a skill, any major skills changed won't count toward a level-up. You will, however, gain the benefits of skill perks (such as the ability to disarm or stun opponents) though the game won't tell you so.
Also, when modifying a skill with a name containing multiple words, such as Hand to Hand, omit the spaces (i.e. HandToHand).
Player.SetAV ActorValue # -(for more complex actor values)
This one will explain the usage of the more complex actor values. Keep in mind that when changing these actor values it will often take into account any enchantments you have on you, as they're already applying to the actor value. Note that a number between 0 and 100 usually means the effect is in percentages, and a 0 or 1 number will mean it will turn it off (0) or on (1). 0, for most actor values, will remove the effect.
To get started, here are some simple resistance values: ResistParalysis, ResistPoison, ResistMagic, ResistFire, ResistShock, ResistFrost, and ResistNormalWeapons; depending on what number between 0 and 100 you use, these will increase your resistance to the specified effect ("normal weapons" are any weapons that aren't silver, Daedric, or enchanted). There is also the uncommon and unseen ResistWaterDamage value, which will negate a percentage of lava damage dependent upon the number inputted, though strangely it does not affect the damage taken from drowning in water.
Some more simple ones are SpellAbsorbChance, SpellReflectChance, and ReflectDamage; depending on what number between 0 and 100 is used, these will increase the chance of absorbing or reflecting spells and reflecting damage.
The simple on/off effects are WaterWalking and WaterBreathing; they use 0 and 1, and are self-explanatory.
Blindness takes a number between 0 and 100 and affects how well an NPC or creature can visually detect you. At 0, how well the player sneaks is completely dependent on their skill, but as the number increases it becomes easier for the player to sneak around the NPC or creature as they become less capable of seeing the character until, at 100, they can't see at all. They can still hear, however, so the player can still be detected by any noise they make. Blindness also affects an NPC's ability to spot the theft of items, but not attempts to pick his or her pockets.
There are also the values Chameleon and Invisibility; Chameleon takes a number between 0 and 100, while Invisibility takes either 0 or 1. The problem with these is that Chameleon may stick on (NPCs won't notice you) even after you've turn it off, and Invisibility is bugged (if you go through a door you'll freeze - you probably shouldn't use it). Note that if you use either, you won't be able to see the invisibility effect until you go into 3rd-person and back, or vice-versa.
There are two, DetectLifeRange (0 to 100) and NightEyeBonus (0 or 1) that seem to not work at first. You'll need to save the game after you put them in then load that save before you'll get the night eye or detect life effects; the same goes for turning them off again.
AttackBonus and DefendBonus work in much the same ways.
- AttackBonus, as you may guess, will increase the damage of your attack. The AttackBonus number you input here is, although invisible from your stats page, directly added to WeaponRating (see the damage formula for details) of all hits made with weapons; this means that it is subject to the influence of fatigue, sneaking, power attacks, enemy armor ratings and resistances, etc. It also has no effect on unarmed attacks, which includes Hand To Hand and creature attacks.
- DefendBonus, as you also may guess, will increase your defense (a.k.a. armor rating). The DefendBonus number used is added directly to your armor rating, and will allow you to increase your effective armor rating beyond the normal cap of 85; however, the armor rating in the menu will only display up to 85, so if you increase your armor rating beyond that you'll have to keep track of it yourself.
MagickaMultiplier controls your maximum magicka. Each added number is equivalent to 10% of your magicka; the number used can be thought of as the percentage of the player's base magicka they'll be given divided by 10, in that 1 is 10%, 2 is 20%, 10 is 100%, 20 is 200%, etc., with almost no limit to how high it can go (the maximum number allowed is determined by your current magicka, but your magicka cannot exceed 2,147,483,647 with this command).
There are also three values to be used as negative effects on your enemies. Just click the NPC or creature you want affected and put in the command, but you probably don't want to put Player before SetAV unless you intend to paralyze yourself. These are all 0 or 1 values and pretty much self-explanatory: Paralysis, Silence, and StuntedMagicka. Stunted Magicka will stop the enemy's Magicka from recharging, and all three are permanent effects until you turn them off with 0.
Some other values that may be useful, or fun, to try changing on NPCs and creatures are Aggression, Responsibility, and Confidence. Aggression controls how much the NPC or creature wants to kill the things around it, 0 being passive and 100 being bloodthirsty. Responsibility controls how well the NPC will follow the law, 100 being law-abiding and 0 being kleptomaniacal (it obviously does not apply to creatures). Confidence controls how prone the NPC or creature is to fleeing or fighting, 0 being never fighting and 100 being never fleeing (a middling number will make them initially fight but flee if they're dying).
Other applications: You can change the positive actor values of allies and companions with these in the same way you'd change their negative values: by clicking them and putting in the command without the Player at the start. You can also turn many positive values into negative values to be used on your enemies by inputting a negative number instead of a positive number (ex. SetAV ResistMagic -50 will give a 50% weakness to magicka to the selected NPC or creature).
Other Targeted Commands
This is kind of like the Player.PlaceAtMe command, but you don't need to know the ID. Click an NPC or creature then type in the command, and a clone of it will be created; you'll have to repeatedly re-enter the command if you want more than one clone. The clone will share most of its AI, such as its schedule and combat, but it won't have any dialogue and can't be used to complete a quest. It has limited uses beyond entertainment, but has potential as an aid to experiments and tests. Also, for a more practical use, if you want the equipment of a non-essential NPC but killing them would break the quest (for example, Lucien Lachance upon recruitment) then you can create the clone, kill it and take the gear. (Watch out for objects titled "Missing name", as ever)
Other applications: If you click a summoned creature and type in the command, you'll get a real version of that creature rather than another summoned version. This real version will act just like if you'd encountered it in a dungeon, and it will fight you and any NPCs near it. Unfortunately, a copy of a summoned creature will attack anything, including NPCs and other creatures which the creature would usually ignore. For example, a copy of a summoned Spider Daedra will attack any other Daedra that are nearby, including other Spider Daedra that were copied from the same summoned Spider Daedra.
Notes: You can use this to clone yourself, but your clones will have little dialogue and no AI except for combat AI; clones will be included in every guild that the original was in, which means that attacking and/or killing a clone will get you expelled from every guild you're in for attacking another member of them. In some cases (like in the Knights of the Nine plugin) you may be prompted an option to make your clone follow you and help you in combat like another follower. This can potentially crash your game, depending on how many clones you make and whether or not they engage in combat (i.e. trigger their AI).
Lock # and Unlock
Lock and unlock a door or container, respectively.
- Click a door or container that is locked and type Unlock to unlock it (also works on doors and containers that require keys).
- Click a door or container that is unlocked and type Lock # to lock it. The number refers to the difficulty of the lock: 1-7 is Very Easy, 8-20 is Easy, 21-40 is Average, 41-80 is Hard, 81-99 is Very Hard, and 100 Needs a Key (which means the door is unopenable, as there is no key set up for it). The numbers themselves are internal, and they have little meaning within the range of a difficulty level other than the likelihood of the lock opening with an auto-attempt and the speed at which the tumblers rise and fall. Leaving the # blank will fill it with a 0, which won't change the current lock level if there is a lock, and will make it a Very Easy lock if there is not.
- Lock 99; puts a lock with 5 tumblers on the door or container.
- Lock 100 puts a lock on a door or container that can't be opened by any NPC or player unless you have the key that was originally assigned to that door.
Notes: The lock command seems to be of little use as NPCs can use doors and containers whether they're locked or not.
Resurrect and Kill
Resurrect and kill an NPC or creature, respectively.
- Click a corpse then type the Resurrect command to bring the NPC or creature back to life with full health and reset its inventory to the default, removing any items obtained during the game and adding any items lost during the game. It will go about whatever it was last doing like it never died.
- Click a living NPC or creature and type the Kill command to kill it or knock it out, depending on if it's marked as essential or not.
Notes: Adding a 1 to the Resurrect command (i.e. Resurrect 1) will cause the NPC or creature to come back to life and stand itself back up (as opposed to disappearing and reappearing live and standing), offering a more aesthetically-pleasing alternative which also allows the NPC or creature to keep any items they had on them rather than having their inventory reset; however, any equipped and readied weapons and shields will be dropped on death and thus will be not be in the resurrected NPC's inventory. Using this method, the player can place items in the inventory of the dead NPC or creature then resurrect them with the items intact, which can also be used to give NPCs back their dropped weapons and shields.
You can also resurrect NPCs and creatures whose corpses have disappeared by using the command PRID RefID to select the corpse (it may not be visible, but the data's still there) and using Resurrect like normal. (See Player.MoveTo RefID for details on how to find RefIDs.)
Resurrect can be used on a living actor to reset its inventory or simply refresh its animation. This can be useful if a character glitches and gets stuck in an animation.
StartCombat and StopCombat
Force an NPC or creature to initiate combat with another NPC or creature and force an NPC or creature to cease all combat, respectively.
- Click an NPC or creature and type StartCombat Player to make them attack you; you can then kill them without being charged for assault and murder. Good for killing NPCs such as certain Dark Brotherhood targets without picking up a bounty. Alternatively, StartCombat can be used to make two NPCs/creatures fight; you must first select one of the two NPCs/creatures and note the ID that appears at the top, then select the second one and type in StartCombat RefID, using the ID of the first one.
- Click an attacking NPC or creature and type this to stop them from attacking you (or anyone/anything else). Depending on if it's an enemy or a normal NPC, it may immediately begin attacking again; if it's a normal NPC, keep using the command until he or she stops, but if it's an enemy then it will never stop. This is basically a console version of yielding, good for stopping NPCs who are attacking you when they don't like you enough to stop for a yield.
Notes: Warning!, using this command on yourself after death will crash the game, and using "resurrect 1" will revive you; but leave your body on the floor.
Clicking an NPC or creature then typing this command will change their name to the specified name. Unlike most commands, those quotes are actually necessary. Good for renaming a horse or a helper NPC.
Example: SetActorFullName "Dave"; sets the selected NPC or creature's name to Dave.
By clicking a merchant and typing this you can set their barter gold to any number you like. Very handy for getting the most profit out of what you sell, or just selling large numbers of items without needing to split them. The maximum value for barter gold is 65535.
Example: SetBarterGold 10000; sets the selected merchant's gold to 10,000.
Adds the specified number to your "Gold fenced." Useful for the Thieves Guild quests, as you can simply use this command instead of actually going out and fencing things.
Example: ModAmountSoldStolen 500; adds 500 to the player's "Gold fenced."
By clicking a friendly NPC and typing this it will change how they act when you hit them. If the selected NPC is in combat, they will allow you an unlimited number of hits and will never turn on you. If they are out of combat, they will allow you three hits before turning on you. Great for those big fights with lots of guards running around.
Notes: To turn this off, click the NPC again and type SetIgnoreFriendlyHits 0 .
Click a horse, item, door, anything that isn't yours, type this, and it's yours. You could break into someone's house, use this on all of their possessions, and walk away without actually stealing a thing. Or you could walk into a stable, use this on a horse, and you've got yourself a free horse that will follow you. Or, if you aren't trying to cheat, you could use it for troubleshooting.
- You can use this command to "launder" items you've already stolen, but you first must place them on the ground to click them.
- It can be used to force any creature or humanoid to never attack you (not even in retaliation); presumably you are taking ownership of the entity as a "pet". It also sets their disposition towards you at 100.
- Some doors don't clear their trespass sign even when this console command is used.
Gives you ownership of the specified cell, which will allow you to own buildings that aren't actually yours and thus enter them without it being counted a trespassing. You will also gain ownership of all of the items, containers, and beds within the cell not specifically owned by an NPC.
Example: SetCellOwnership ICMarketDistrictAFightingChance; gives the player ownership of A Fighting Chance.
Links: Each Place page provides the code for that location, plus there is the list of interior test cell location codes and the list of exterior test cell location codes.
Notes: Location codes differ from IDs in that they are in string form rather than hex form (i.e. KvatchChapel vs. 0001ECF1).
SetQuestObject BaseID #
(Only works with item IDs.)
Using this, you can remove the "quest item" tag on those pesky quest items that never get removed from your inventory. Or, if you have an item you don't want to accidentally sell or lose then you can use this on it to make it an undroppable quest item. 0 removes the "quest item" tag, 1 adds it.
Example: SetQuestObject 7E9C 0; removes the "quest item" tag from the Colossal Black Soul Gem.
Links: Codes for most non-useful quest-specific items are provided at Miscellaneous Items; enchanted quest-specific items are listed at Leveled Items and Unique Items.
By clicking an Oblivion Gate and typing this, you will destroy that gate. Of course, you won't get the Sigil Stone for the gate, and you won't get the fame that comes with the Sigil Stone, but if you hate Oblivion Gates ruining the scenery and don't feel like running through them then you can just close them with this.
Notes: Occasionally, using this command will cause the weather to be "stuck" in oblivion sky mode; entering FW 38EEE into the console should resolve this.
ModDisposition Player #
You can use this command to modify one NPCs disposition to another NPC, the other NPC probably being you. Click the NPC whose disposition you want to modify and type the command. The number used is the number you wish to add to the NPCs disposition (using a negative number will decrease their disposition).
Example: ModDisposition Player 30; adds 30 to the selected NPCs disposition toward the player (if it was 40, it's now 70).
Other applications: You can modify one NPC's disposition to another NPC by using the form ModDisposition NPC'sID #. First, open the console and click the NPC that you want the other NPC to like/dislike and note the ID that appears at the top next to the name. Now click the NPC whose disposition you want to edit and use the ID you just saw in the NPC'sID section.
By clicking anything at all - NPC, sword, rock, etc. - and typing this it will basically be removed from the world. Be very careful with this one as it has no inhibitors, which means you can disable anything at any time. Useful for removing guards or the like so you can steal with no bounty.
Notes: You can bring the disabled object back with Enable (its data remains so the game still knows it was there), but you need to either still have the disabled object selected in the console or know the RefID so you can use it with the command PRID RefID to select it again. Once you disable an object there is no way to click it again, so if you deselect it and don't know its RefID then there's no way to bring it back. (If you disabled an NPC, creature, or item and deselected it without getting its RefID, then see Player.MoveTo RefID for details on how to find RefIDs.)
Warning: Using this command with the player selected will crash the game.
SetEssential BaseID #
(Only works with NPC and creature IDs.)
Makes the NPC or creature belonging to the ID essential or non-essential depending on the number used (1 for essential, 0 for non-essential). Be careful if you use this on a creature as it will affect every creature of that name.
Example: SetEssential A288 0; removes Countess Millona Umbranox's essential flag.
Links: Lists of NPC IDs: Named NPCs - Generic NPCs; Lists of creature IDs: Animals - Horses - Undead - Goblins - Monsters - Daedra - Dremora.
Notes: Be careful with this one as you can break quests if you make the wrong NPC non-essential at the wrong time, but you can also protect a quest by making a non-essential NPC essential. This will not work correctly if used on the player. The player will fall unconscious, but all controls will be disabled and the player will never regain consciousness. Use ToggleGodMode (tgm) instead.
Not much to this one, it simply removes all collisions (clipping) from the area. NPCs and creatures will fall through stairs, streets, etc., while you'll be free to run through the air and go through any object. Additionally, when an NPC or creature is killed it will be frozen in place until the clipping is turned back on.
Other applications: If you click an NPC or creature and type this it will disable their clipping instead. While they won't fly around, they will go through objects such as buildings, stairs, furniture, etc. If you're riding a horse and want to go through objects you'll have to use this on your horse instead of yourself.
Notes: Type TCL again to turn the clipping back on.
Another simple one. It turns god mode on, which does quite a bit. Your health, magicka, and fatigue will never lower, you can cast any spell regardless of magicka cost, you never run out of arrows, you can breathe underwater and you can carry an unlimited amount without being slowed down or over-encumbered.
Notes: Type TGM again to turn god mode off. If you were above your encumbrance with god mode on then you'll be stuck in place with it off.
This toggles the free-flying camera. With this on, your camera will detach from your character and be able to fly around on its own. It's great for taking screenshots or checking out an area without entering it. Note that with this on you will lose control of your character's movements until you turn it off, however, you can still attack and activate anything directly in front of your character.
Notes: If your view is set to first person then the only thing you'll be able to see of your character is his/her arms. Just hit the 'view change' key (default R) to switch to third person and you'll be able to see your character.
ToggleMapMarkers 1 (TMM 1)
This will mark every location on your map as found and available for fast travel, as well as updating your "Places found" to reflect it.
Other applications: TMM 0 will unmark every location on your map, including cities.
Notes: It won't mark any Oblivion Gate locations that haven't appeared yet. If you do this when you start the game you won't get any Oblivion Gate locations (except the one at Kvatch), and you'll have to type it again once you get to the point in the main quest when Oblivion Gates start appearing.
Remove the HUD (health, magicka, and fatigue bars, compass, etc.). Good to use before taking a screenshot.
Notes: Type TM again to put the HUD back.
Completely disables the AI of all NPCs and creatures. This stops them from moving, talking, fighting, etc. Useful for getting through tough or dangerous places.
Other applications: By clicking an NPC or creature and typing the command it will disable the AI for that character only.
Notes: Type TAI again will turn the AI back on.
This is similar to TAI, except that it only disables the combat AI. NPCs and creatures will still wander and talk as usual, but no matter what you do to them they will not fight (though you'll still get arrested for assaults and murders).
Other applications: By clicking an NPC or creature and typing the command it will disable the combat AI for that character only.
Notes: Type TCAI again to turn the combat AI back on.
This disables the detection AI of all NPCs and creatures. Guards will still follow you if you have a bounty and you can engage in conversations, but when around enemies you can walk around as if you had a 100% Chameleon enchantment on - none of them will ever catch you.
Other applications: By clicking an NPC or creature and typing the command it will disable the detection AI for that character only.
Notes: Type TDetect again to turn the detection AI back on.
Quite simple: it toggles the grass on and off. Great for when that blasted tall grass is hiding a nice Daedric sword from you.
Other applications: Useful for Performance Enhancement when you're playing on a low-end machine.
Notes: Type once to toggle the grass off, type again to toggle the grass on.
Simple: it toggles the trees on and off. Makes it easier to travel around forests, and helps you to see things in the distance when there are a lot of trees in the way.
Notes: Type once to toggle the trees off, type again to toggle the trees on.
AdvancePCSkill SkillName # (AdvSkill SkillName #)
Will add the specified number to the specified skill and count towards your level if it's a major skill.
Example: AdvSkill Blade 100; adds 100 to the player's Blade skill.
Notes: If the number you add to the specified skill would increase the skill beyond 255 then it will loop the skill back to 0 before increasing it further. Inputting a negative number will almost certainly crash the game, so don't try it. Also, when modifying a skill with a name containing multiple words, such as Hand to Hand, omit the spaces (i.e. HandToHand).
Levels you up once and displays the level-up screen so you can increase your attributes. This isn't a substitute for resting as it doesn't set the number of major-skill-levels required to level-up back to 0, but it doesn't leave them as they were, either. It will add 10 to the number of major-skill-levels required to level-up so that you have to make up for the free level. For example, if you needed 4 more major-skill-levels to level-up, then used this command, you now need 14 major-skill-levels before you can start leveling normally again.
This will move you to the target of your currently active quest. Whether it's a location, NPC, creature, etc. doesn't matter, you'll end up wherever your compass was pointing. However, if the quest updates when you get to that point or do something there, then you'll have to use the command again to go to the next quest target.
Notes: It is possible to get stuck inside walls and doors with this command. If this happens you can use the TCL command to get out of there.
CenterOnCell BaseID (CoC BaseID)
(Only works with cell IDs.)
Teleports you to the center of the specified cell. An alternative to fast-travel, as it's instant, but you need to know the ID of the place you're heading to. This is also the only way to get into most of the test cells.
Example: CoC ICMarketDistrictAFightingChance; teleports the player to A Fighting Chance.
Links: Each Place page provides all of the console codes for that location.
Notes: CoC TestingHall will take you to a room filled with doors leading to dozens of test cells and is a great place to check out.
Will complete every quest in the game, including a few test quests that aren't available. Not much purpose to this, other than if you want to see what every quest in the game is and how many there are.
Will give you every spell in the game, including many test spells, any spells added by mods, and some spells run by scripts that were deleted (they do nothing now).
Notes: This will add some interesting spells, such as Wabbajack's effect, Sanguine Rose's effect, and Bound Mythic Dawn Armor.
Forces a save of your current configuration in your ini-file just in case the game doesn't remember them after quitting. Useful if this is caused by mods.
Save Name 1
Makes a save game with the specified name. The name has to all be one word or enclosed in quotation marks.
Example: Save Oblivion 1; makes a save named Oblivion.
Other applications: This is used in a method of finding almost any NPC, creature, or item in the game which is explained below.
Notes: Using this method of saving creates a text file that contains the in-game IDs of almost every NPC, creature, and item in it.
SetPCFame # and SetPCInfamy #
Sets your character's fame and infamy to the specified number, respectively.
Example: SetPCFame 1000; sets the player's fame to 1000.
Shows the ID and current stage of your active quest. Not much use to you on its own, but it can be applied when forcing a quest to update.
Other applications: The information this supplies can be used in SetStage QuestID Stage commands, explained below.
Acts like a full heal. Useful when you're about to die, or an ally is, and you don't have any spells or potions to heal with. Will only work with later updates.
ShowEnchantment and ShowSpellmaking
These will pull up the Enchanting and Spellmaking windows, respectively. This allows you to enchant equipment and make spells no matter where you are, and regardless of if you even have access to any altars.
Similar to the above except that it will close the Oblivion Gate that you're currently inside. Could be handy if you get stuck somewhere inside an Oblivion Gate and can't find your way out or don't feel like going back. It will close the gate and set you back outside of it.
This is used to enable your controls during those cinematics when they're disabled. Occasionally the game will glitch and not enable your controls again - instead of reloading, put in this command and carry on.
SetWeather BaseID (SW BaseID)
(Only works with weather IDs.)
Changes the current weather to the specified weather.
Example: SW 38EF0; changes the weather to cloudy.
Other applications: By putting a 1 at the end of the command (SW WeatherID 1) you can make the selected weather permanent. To reset the weather so that it changes again, type ReleaseWeatherOverride.
Notes: Here are the weather IDs:Paradise - 370CE Clear - 38EEE Cloudy - 38EF0 Default - 15E Fog - 38EEF Overcast - 38EEC Rain - 38EF2 Snow - 38EED Thunderstorm - 38EF1 Oblivion sky - 836D5
Also, note that fast travelling may revert the weather back to normal. In the case that you want the weather to stay as it is everywhere you go you may want to use ForceWeather WeatherID (FW WeatherID) instead. It will immediately change the current weather to the specified weather, rather than have a transition phase, but it will be permanent until you release it with ReleaseWeatherOverride.
ModPCMiscStat StatNum #
This allows you to add to or subtract from your miscellaneous stats such as murders, assaults, items stolen, days in prison, etc. To add to it, use a positive number; to subtract from it, use a negative number.
Example: ModPCMiscStat 4 5000; adds 5000 to the player's 'Largest bounty' stat.
Note: This command has been disabled in the GOTY Edition.
Set MQ00.AllowGatesToReopen to #
Determines whether the random Oblivion Gates will have a chance of reopening every time you enter a cell containing one. Using 0 will not allow gates to reopen, while using 1 will.
Notes: No gates will respawn if the maximum number of open Oblivion Gates has been reached; before and after the main quest the maximum number of gates that can open is set to 0, and throughout the main quest the number is occasionally modified. Refer to the commands below to change this.
Set MQ00.MaxOpenGates to # and Set MQ00.RandomGateChance to #
The first one takes a number between 0 and 90 and sets how many of the possible random Oblivion Gates have a chance of opening; the second one takes a number between 0 and 100 and determines the chance of a random Oblivion Gate opening when you enter a cell containing one. By setting them both to their maximum values (90 for the first and 100 for the second) they combine to guarantee that all 90 possible random Oblivion Gates will spawn no matter what point you are at in the main quest, or even if you haven't started it yet. Conversely, by setting them both to 0 you will stop any more random Oblivion Gates from spawning.
Example:Set MQ00.MaxOpenGates to 60 and Set MQ00.RandomGateChance to 50; allows up to 60 random Oblivion Gates to spawn, with a 50% chance of doing so.
Notes: Certain points in the main quest will change these values so that you'll have to put them in again. These points are: when you take Martin to Weynon Priory (25 gates; 25% chance), when you bring Martin the Mysterium Xarxes (50 gates; 50% chance), when you finish Paradise (20 gates; 25% chance), and when you finish the main quest (0 gates; 0% chance).
SetStage BaseID StageNum
(Only works with quest IDs.)
This command will force a quest to update, which is extremely useful as a lot of times a quest will get bugged and stop you from advancing it for one of many reasons. There are a couple of ways to go about doing this. The first is to use the console command SQT to find your current quest's ID and what stage you're on. Most quests' stages increase by 10 for each part completed, so you can input the quest's ID and stage with this information. For example, if it gave you Dark01Knife for the quest ID and 20 for the quest stage, you'd put in the command SetStage Dark01Knife 30 to update it. The problem, however, is that in some cases the stages don't increase by 10, but instead by a larger or smaller number. That's where the second method comes in, which requires you find the quest's ID and the stage that you want it to update to.
Example: SetStage MQ02 20; forces the player's quest to update to the next part.
Links.:Lists of quests. (IDs can be found in a section at the bottom of each quest's page.)
- It is not possible to undo this command. So, for example, if you type by mistake (instead of MQ02), there is no way to reverse that command and make the game think that you have not started MQ03. In particular, will have no effect. Overall, it is not possible to decrease a quest's stage. So even entering would not change the quest stage (e.g., would still return 20, not 10).
- Internally, the game has flags that keep track of the status of each individual quest stage. So the command does not set a "stage" variable to 20; it actually sets the "stagedone" variable for MQ03 stage 20 to true (or 1). The command just figures out which is the highest numbered stage that has been flagged as done, and returns that number. There is no known way to directly alter the "stagedone" variables, which is why it is impossible to undo a setstage command.
- Some game scripts are based upon the overall quest stage (i.e., the value returned by ); other scripts are based upon whether or not specific stages have been done (i.e., the value returned by ). Therefore, skipping ahead in a quest, for example by entering can have unpredictable effects, because the individual stages of the quest are not marked as complete. Also, there are invariably many other scripts that are supposed to get executed as a quest progresses; skipping ahead in a quest will not cause any of the other scripts to be run. It may subsequently be impossible to ever reproduce the missing events using the console. Therefore indiscriminate use of this command can lead to permanently bugged games. For this reason it's recommended to refer to the list of valid stages for the quest being forced ahead and, when necessary, issue multiple SetStage commands, one for each stage being skipped. This will allow all of the quest's scripts to run as needed.
ShowRaceMenu, ShowBirthsignMenu, and ShowClassMenu
All three of these work in a similar way. The first will pull up the menu that lets you change your race, gender, name, and facial features, the second will let you change your birthsign, and the third will let you change your major attributes and skills. These things are touchy, though, so you need to follow these instructions on using them. First, type in the command but do not close the console window. Make the desired changes to your character, with the console window and race/class/birthsign menu open (do not hit 'Done'), then hit Esc and make a new save - load this new save. You can now close the console window, if it's still open, but at no time before now should you close it or it will revert all of your character's stats in that menu to their default. This method may not work reliably (or it may only work for the ShowRaceMenu command).Your stats will remain untouched as long as you keep the race menu and console open. Also, you need to navigate away from the first page of the menu before saving. Click 'race' and save from there. Load immediately without closing anything. Alternatively you can change your skills using the player.setav command, as long as you have installed the 1.1.511 patch.
Notes: Some people can't save from the menu; if this happens to you then you can make a save through the console with the command Save SaveName 1. Alternately, you can have the console active when you access the escape menu; the Save option should then be available. Also, if you use the ShowClassMenu command to alter your class name, your new class name may not be properly centered in its stat menu box. This effect is only cosmetic, but can be annoying.
SetDebugText # (SDT #)
First you will need to toggle the debug text on with ToggleDebugText (TDT). This can show a variety of different information, some useful and some not, depending on which value it's set to.
Example: SDT 6; displays combat information.
Links:A list of SDT values and the information they display.
Notes: Many of the debug texts will display other NPC's and creature's information if they're selected - just click one. To see your character's information again you can go into third-person and click him/her.
Vampirism and the Console
Becoming a Vampire Using the Console
In addition to the methods found in Vampirism Console Commands of Use section you can use commands listed here. This will even work if you've been previously cured of vampirism and are now immune to it through potion or Vile Lair DLC, although you may have to wait several minutes of real (not in-game) time for changes to kick in. There are 2 methods: one is extremely safe and compatible, another is more intrusive. Only Method 2 is tested and verified to be working in case you cured vampirism already via in-game means. Both should work in case you never been vampire or cured it using console (not by adding cure potion though!). Method 1 is preferable, since it's least likely to cause trouble. Method 2 is for when first one doesn't work for you. It's rather simple, really, just put in a few commands or use bat (recommended).
Method 1 (max safety and compatibility, you only need last 2 lines in case your character have never been vampire before):player.setav Vampirism 0 Set PCVampire to 0 Set vampire.hasdisease to 1 player.addspell 0003DB3D
Method 2 (intrusive)player.setav Vampirism 0 Set PCVampire to 4 Set vampire.hasdisease to -1 player.addspell 0002C2A5 player.addspell 0002C2B0 player.addspell 0002C2B1 player.addspell 0003BEDC player.addspell 0003BEDC player.addspell 0003BED9 player.addspell 0003BEDA player.setfactionrank A319 0
Method 1 will infect you with Porphyric Hemophilia as if you naturally got it from vampire npc, you will have to wait 3 days and rest. This is safest method as it lets game scripts handle vampirism as intended without changing too many variables, setting all the appropriate flags that we know or don't know about. It is 99.9% unlikely to bug your game (unless vampirism altering mods installed). Method 2 will instantly make you a stage 4 vampire, because it is safest method of the intrusive ones (setting stage below 4 has potential to cause infinite nightmare messages bug). You don't need the "vampire disease" (Porphyric Hemophilia) beforehand, but be warned that you'll turn into a vampire at 100% and thus take sun damage, so don't do it out in the sun. Using this method to become a vampire does trigger most other known changes normally associated with becoming a vampire (such as player vampire faction, disease status, but not updating quest or other factions). Method 2 will most likely require you to wait several real time minutes (not in-game time) for game to register changes. Best way to do it is to use commands from method 2 and then drink blood from a sleeping person as you normally would when feeding. If you don't get the message about bloodlust being sated that means you have to simply wait a bit. In a few minutes a delayed message should appear signaling that everything is working and you are free to continue gameplay. If time exceeds 5 real time minutes - something is likely wrong.
Curing Vampirism Using the Console
There are two ways to go about this. Method 1, the simplest, is to give yourself the vampirism cure potion you'd normally get at the end of the vampirism cure quest, using the command Player.AddItem 977E4 1, and drink it. It will grant you immunity to vampirism though, so if you plan getting re-infected you may want to use other method. This may not work due to occasional glitches, which is where the second way comes in. You'll have to use following string of commands to forcibly remove the vampirism and all traces of it.
Method 2:Set vampire.hasdisease to -1 Set PCVampire to -1 player.setfactionrank A319 -1 player.removespell 2C2A5 player.removespell 2C2A4 player.removespell 2C2A2 player.removespell 3DB3A player.removespell 2C2B0 player.removespell 2C2AD player.removespell 2C2AA player.removespell 2C2A8 player.removespell 2C2B1 player.removespell 2C2AE player.removespell 2C2AB player.removespell 2C2A7 player.removespell 3BEDA player.removespell 3BEDB player.removespell 3BEDC player.removespell 3BED9 player.setav Vampirism 0
If you want to opt out of immunity to vampirism simply run or change appropriate lines to:Set vampire.hasdisease to 0 Set PCVampire to 0
Other Uses for the Console
The disposition penalty is based on the value of PCVampire. Therefore using (or 0) will let you interact with NPCs again without removing your powers. You will need to set it back to it's previous value again to progress normally.
After acquiring vampirism you may force a vampire stage progression by using the following console command:Set PCVampire to PCVampire+1
Then exiting the console. This will advance your powers to the next stage (+25%). Entering this command more than once without exiting the console will freeze your vampire progression. Trying to advance by using will break your vampire. Note that Setting PCVampire to a value greater than 4 will freeze your vampire progression at your current stage.
You may add vampire abilities and weaknesses by using . Here is a table of the appropriate FormIDs and associated effects.
|Ability Gained (FormID)||Stat Boost FormID||Skill Boost FormID||Stat/Skill Boost Value|
|Vampirism25 ()||25%||20 %||5 %||0||Hunter's Sight ()||0002C2A8||0002C2A7||+5|
|Vampirism50 (||50%||30 %||10 %||1||Vampire's Seduction ()||0002C2AA||0002C2AB||+10|
|Vampirism75 ()||75%||40 %||15 %||4||Reign of Terror ()||0002C2AD||0002C2AE||+15|
|Vampirism100 ()||100%||50 %||20 %||8||Embrace of Shadows ()||0002C2B0||0002C2B1||+20|
For more information on vampires and vampirism, check out the vampirism page.
Using Batch Files With the bat Command
Oblivion provides a simple batch file mechanism so you can customize your game play quickly and without repeatedly typing console commands.
Example: bat mybatchfile; runs all of the console commands in the file mybatchfile.
To use the feature you:
- Create a text file that contains a list of console commands (one per line).
- Place the file in your Oblivion installation directory.
- Start the game.
- Bring up the console.
- Type followed by the name of your batch file, for example .
Oblivion batch files are lists of console commands that are run one after the other. They have no loops, tests, or other logic and execution doesn't stop if there's a problem with one of the commands. You can create any number of batch files, each with its own purpose.
The following tutorial shows how to create two batch files you might find useful: one that equips battle gear (armor) and the other that equips street clothes. In the process, it shows you how to use both standard, in-game items and custom-enchanted items that you've made with either sigil stones or the enchanting altar.
Before you start, you may want to create a couple of full saves. If you work all the way through the tutorial, you'll use up a sigil stone or a filled soul gem so you might want to have a saved game you can go back to.
For the first part of the tutorial, your character will need the following in his or her inventory:
- Fur Boots
- Gold Trimmed Shoes
For the second part of the tutorial, your character will need:
- A sigil stone (any kind), or
- A filled soul gem, access to an Enchanting Altar at the Arcane University, and enough gold to pay for the resulting enchantment
If you don't have one or more of the above items and don't feel like hunting around in the game for them we can work around the problem, but it will involve using the console to add items to your inventory.
Part 1: Create Two Simple Batch Files
For the first part of the tutorial, let's create our two batch files and test them.
Use a text editor to create two new text files in your Oblivion installation directory (for example, ):war.txt
- The file will equip your character with Fur Boots, and the file will equip your character with Gold Trimmed Shoes.
- Note: Throughout this tutorial we'll use batch files with the Windows extension. This makes it easier to double-click the filename in Windows and open the file in a text editor. However, Oblivion doesn't care if the file has a extension so you can create the files without the filename extension if you wish.
Place the following line in :player.equipitem 24767
- 24767 is the Object ID of Fur Boots.
Place the following line in :player.equipitem 1C888
- 1C888 is the Object ID of Gold Trimmed Shoes.
Save your changes.
Start Oblivion and load a saved game.
Bring up the console (press tilde).
Optional: If your character does not have Fur Boots in his or her inventory, and you don't want to bother trying to find some, type the following:player.additem 24767 1
Optional: If your character does not have Gold Trimmed Shoes in his or her inventory, and you don't want to bother trying to find some, type the following:player.additem 1C888 1
Try out the first batch file. Type:bat war.txt
- You should see the message "Fur Boots was equipped on the player" and your character should now be wearing fur boots.
To use the other batch file, type:bat peace.txt
- You should see the message "Gold Trimmed Shoes was equipped on the player" and your character should now be wearing gold-trimmed shoes.
- If you see the error message "The file filename.txt could not be opened", check to be sure you have the correct spelling of your batch file (including the extension) and that the file is in your Oblivion installation directory.
That's it. You now have two functioning batch files. In the next part of this tutorial, we'll modify one of these files to use a custom-enchanted item.
Part 2: Using Custom Object IDs
In Part 1, we created batch files to equip items that are a standard part of the game: Fur Boots (Object ID 24767) and Gold Trimmed Shoes (Object ID 1C888). You can find the Object IDs for all in-game items on the Oblivion:Items page, including both magical and non-magical items.
However, what if you'd enchanted your Fur Boots using a sigil stone or an Enchanting Altar? How would you find the Object ID of a custom-enchanted item? Those Object IDs are created individually for custom-enchanted items as you play the game. It turns out there's a straightforward way to find all the Object IDs for all of the custom-enchanted items you've ever created in the game.
For the second part of the tutorial, let's build on what we did earlier, but instead of equipping our character with a standard set of Fur Boots, let's custom-enchant those boots and modify the batch file to equip them.
Start Oblivion and load a saved game. (If you're still running Oblivion after working through the earlier tutorial example above, that's fine.)
- Get a sigil stone, or
- Take a filled soul gem to an Arcane University Enchanting Altar.
- If you don't have a spare sigil stone, for the purposes of this tutorial you can add one with . (This is a Descendent sigil stone that enchants a worn item with light for 15ft.)
Enchant the Fur Boots we used in the first part of this tutorial, using either a sigil stone or Enchanting Altar. The exact enchantment doesn't matter, but for this tutorial you should name your enchanted boots:Test Fur Boots
When you've finished enchanting the boots, press "~" to bring up the console.
Use the console command to save the game with an additional text file that will list all of your custom inventory items:save testsave 1
- Note: Depending upon how much data needs to be saved, the speed of your computer, and the number of games you've already saved, this may take a moment or two. Don't worry if the console seems unresponsive for a few seconds.
- Your game is now saved as . The additional option, "1", creates a file called which lists, among many other things, the names and Object IDs of every custom item you've created in the game.
Open the text version of the saved game (e.g., ) using a text editor.
- First, you'll notice that the *.ess.txt file is big. Very big. But, it's organized by categories that have five-letter code names (such as ARMOs for armor, CLOTs for clothing, and so forth). The categories we're most interested in at this point are:
- ARMOs - This section lists all of the pieces of custom-enchanted armor you've made. Your newly-created Test Fur Boots will be in this section.
- CLOTs - This section lists all of the pieces of custom-enchanted clothing and jewelry (rings, necklaces, and amulets) you've made.
- WEAPs - This lists all of the custom-enchanted weapons you've made.
- These categories appear towards the bottom of the file in the order listed above.
- Note: The *.ess.txt file does not list any in-game weapons and armor, only custom-enchanted weapons and armor.
Search for your Test Fur Boots. You'll see an entry for them in the ARMOs category and it will look similar to the following:FF0EF145 340 00000000 0 Test Fur Boots -
- In this example, the Object ID of the "Test Fur Boots" is , but be aware the Object ID for the boots in your game will be different. This Object ID is what we'll use to equip the boots in our batch file .
In the batch file that you created in the first part of the tutorial, replace the Object ID of the fur boots (24767) with the Object ID of your custom-enchanted Test Fur Boots.
- For example, you would change this:
- . . . to this:
- Remember: The Object ID for your specific pair of Test Fur Boots will be different from the example above. Use the Object ID you find in your file.
Save the file.
Start Oblivion and load the save game .
Test your updated batch file by bringing up the console and typing:bat war.txt
- You see the message "Test Fur Boots was equipped on the player" and your character is now be wearing the custom-enchanted boots.
Of course, this is a lot of work to simply equip a pair of boots. Where the batch file starts to pay off is if you want to switch between several different outfits. Use the procedures shown above to add additional Object IDs for both in-game items and custom-enchanted items to your batch files.
Guidelines for Using Commands in Batch Files
Most Oblivion console commands can be run from a batch file. For example:
- Toggle commands work in batch files. These include showing and hiding NPC conversation subtitles (ShowSubtitle), turning on and off grass display (TG), enabling and disabling god mode (TGM), and so forth.
- Targeted commands work fine, as long as you specify the target. For example, you can use in a batch file to add 1000 gold to your inventory. If you want to give the Adoring Fan 1000 gold, use ( being the Reference ID of the Adoring Fan).
- If you do not have OBSE installed and you use a RefID to prefix a targeted command, the RefID prefix must be enclosed within quotes in order for the command to work. e.g.
- PRID (PrintReferenceID) displays the item, NPC.
- Miscellaneous commands, such as AdvLevel, CompleteQuest, FOV, FW, and SW(to name a few) can all be run from batch files.
- The command itself cannot be run from within a batch file.
More Ideas for Batch Files
Batch files are particularly helpful for automating lengthy tasks, such as ridding oneself of vampirism. See Curing Vampirism Using the Console for a list of those commands. You can copy the commands listed on that page into a batch file called, for example, and run that if you need to rid yourself of vampirism.
Note:Batch files have the extension bat, not txt. So when you load a batch file in Oblivion, type bat yourfile.bat
Notes: Dropped or falling items will stop moving. Killing an NPC while collision is toggled off will seem to freeze the creature, leaving it in the exact position it was in when you delivered the killing blow. It will still die, but it will not fall down until the command is off. If you die or get paralyzed while this command is on, your character will fly off opposite the final blow. This may mean flying into the air, or through the floor of the cell/world. This is followed by the usual "load last save?" screen the first time, but doing it again may cause the game to hang or crash.
Example: DuplicateAllItems 000b15e5 ; This would duplicate all items from the TARGETED container/actor/npc to container with the RefID 000b15e5.
WARNING: Any scripted item will be duplicated almost identically: Any script variables will be set to 0 on the duplicate. The duplicate will have a new FormID, meaning if (Original == New) will never be true. More importantly, meaning if any script referenced the original the duplicate will not work. For instance if (player.GetItemCount AmuletOfKings) will never be true if the player has the duplicate. Note that quest items are duplicated as well, so use with care. Many quests assume that a quest item is unique -- creating a second version of it can have undesirable results.
WARNING: Overuse of the placeatme command may result in savegame bloating, which can lead to savegame corruption.
WARNING: Failed use may cause player to get stuck in cinematic mode, NPCs to freeze, and for random dialogue to play.
- In some cases, if this command results in an npc repeatedly starting conversation with you, this may be fixed by using the coc command to move to a different cell.
Only changes body clothes and some dialogue. Face will remain the same (sometimes with Argonians a color change in the face occurs). If the subject has unique dialog then when they talk nothing will be said, only the subtitles (if enabled) will show. If used on the player, they will become headless, but the voice and body will still change.
Altering the value of timescale can cause bugs to occur during various quests (e.g., A Brush with Death, Where Spirits Have Lease). Resetting timescale to the default value of 30 fixes the bugs.
Oblivion: Console Commands - Updated 2021
What are Oblivion Console Commands?
It should be noted that you will not always come across missions or challenges that you can easily overcome. Although there is a way out for all of them, in Oblivion they are not so easy to find. Therefore, over the years certain tricks have been created that allow users to overcome these difficulties and not spend days trying to find their way.
Consequently, the Oblivion Console Commands were created as a series of traps or codes that will allow you to access a world of unique possibilities. For the romantics of video games who maintain the position of passing them without cheating, it could sound like an offense to the quality of the game. But The Elder Scrolls is characterized precisely by offering a level of difficulty so high that it never hurts to have an ally like the commands of each of its deliveries.
How do I activate the Oblivion Console Commands?
Now that we know what makes this game one of those that you have to try as well as the importance of having the Oblivion Console Commands to be able to survive the trip without going through so many problems. The time has come to begin to unravel the secrets of these tricks for our benefit.
In this sense, the first thing we must know is the correct way to execute them. The truth is that it ends up being as simple a process as pressing the tilde or Tab key (this will depend on the configuration of your keyboard).
With this we will be able to open the game console that will appear as a black box in one of the corners of the screen . Usually it always appears on the upper left edge. Once in it, we just have to start writing theOblivion Console Commands that we will present to you below.
The Oblivion Console Commands
As you can see so far, there is no tedious or complicated procedure to be able to enjoy all the Oblivion Console Commands that we will begin to present to you immediately.
Increase the level with the level up screen.
advskill skill X
Forces a skill level to go up X levels.
Complete all stages of the mission.
The selected friend / enemy immediately ceases combat.
Click any human or creature, type “kill”
Teleports the player to an area with all objects, monsters, and NPCs in the game.
Teleports the player to the developer’s proving grounds.
Create a completely identical copy of the lens.
Delete the selected destination if it was a copy created with CreateFullActorCopy.
Drop TypeREF Amount
An item drops the inventory of the selected target.
Copy target items and target ObjREF.
Change the angle of your point of view (default is 75).
Displays the X coordinate of the target in the scene. Y and Z are also valid.
Player.GetPos X or “014” .GetPos X
Use it to find out where you are on the X axis.
hairtint (red / green / blue)
Change hair color.
Console command list.
Lock the selected door or container.
Close a door.
The target looks at the referenced object.
ModDisposition ObjREF Amount
Modify the disposition of the character towards ObjREF.
modpca luck 100
Add 100 points to an attribute (here luck).
modpcs skill 100
Add 100 points to the skill.
Move target to ObjREF.
Teleport to the mission objective.
Cell purge buffer. This will free up used memory.
PlaceAtMe id, number, X, Y
Spawn a creature, npc, or item.
Gives the player the given item and the quantity of the item.
player.AddItem 00000000 X
Gives you X quantity of the item 00000000 (use other hexadecimal combinations for items).
player.additem 0000000F X
Add X amount of gold.
Gives you the spell 00000000 (use other hex combinations for spells).
Delete active mission.
Place another “yourself” near you.
The guards stop attacking you, the reward is paid.
Remove item year.
Remove the specified spell.
Increase (or decrease) the skill or attribute.
Eliminate Bounty in your head.
Change the player’s level to the desired number. Use 1-255.
Advance a specific mission to a specific stage.
Set the angle of the viewpoint (75 by default).
Select yourself as a target.
Add all spells to the player.
Exit the game without using the menus.
Remove all items from the target.
Resurrect target monster / human.
set timescale to X
Set the speed at which time flows, X = 30 is the default.
SetActorFullName “John Doe”
Change the name of the character.
SetAV Aggression 100
The target attacks anyone they don’t like.
SetAV AValue Amount
Create some skill or ability (LightArmor, Aggression, Energy, Confidence, Responsibility).
Set the amount of gold a merchant has to trade.
Set the camera’s field of view (75 by default).
Plant a bounty on the character’s head.
Set item price.
It gives you fame.
It gives you infamy.
SetPos X Value
Set the x coordinate of the target.
Resize the object, where X = 1 is regular .5 to 2 resizes.
Set the item weight to XXX.
Change your gender.
Change your birth sign.
Show the sign selection screen.
Change your class.
Open the class selection screen.
Discover all log entries for the indicated mission (use mission ID).
Open mission log.
Show current quest log.
Reveal completed quest log.
Expose current mission objectives.
Show name / race / appearance selection screen.
Force the spell creation screen.
Change the NPC conversation captions.
Create a window with the full scene graphic of the game.
The character ceases the fight.
The target stops looking.
Substitute combat ai.
Toggle AI detection.
Vary debug display.
Substitute full help.
Toggle fog of war.
God mode (enter without pointing).
Toggle LOD ground.
Hide all menus.
Show the sign selection screen.
Change wireframe mode.
Toggle water radius.
Target deactivates an element of a certain type.
Unlock target object.
Latest recommendations on Oblivion Console Commands
To end our extensive tour of this guide where we present you all the Oblivion Console Commands that are available, we have decided to keep some final recommendations so that you can get the most out of these beneficial tricks.
The first of them is in relation to the protection of your game since it is prudent to make a constant backup of it . Primarily due to the fact that at some point, some of these tricks may fail causing a catastrophic error in the game that will lead you to lose all your progress since the last time you saved it.
Likewise, don’t worry if you enter the Oblivion Console Commands in uppercase or lowercase since the console will not distinguish between one and the other . So we concluded that they are so practical and beneficial tricks that you will always be tempted to use them.
Before you go check this related posts:
However, we recommend that you follow all these tips in order to fully enjoy all Oblivion Console Commands without losing your game. Therefore, the only thing left for us to do in HDGamers is to invite you to start your adventure for The Elder Scrolls today and enjoy an incredible world in every way.
Console commands oblivion
Elder Scrolls IV: Oblivion Tweak Guide
This section contains all the console commands for Oblivion. To activate the in-game console, first check that the bAllowConsole setting in your Oblivion.ini file is set to 1, which it should be by default (See Advanced Tweaking section above). Next, start Oblivion and load up a game. To open or close the console at any time, press the '~' key (the key above TAB). This may vary on some european keyboards, in which case try the ' button, or the button next to 1 to open your console.
While the console is open the game will be paused, your HUD will disappear, and you will notice a thin white horizontal cursor prompt in the bottom left hand corner of the screen. You can type in any of the console commands below in long form or use the short form if one is provided (in brackets). For example, you can either type in togglewireframe or twf and press ENTER, and the command to turn wireframe mode on/off will be executed. See the next page for details of how to use specific useful commands.
Below are all the major console commands for Oblivion. You can also download the full list from here: OblivionCommands.zip (4KB). Note that the descriptions are those that the developers have written with a few minor modifications by me:
AddFaceAnimNote (afan) -
Autosave - Saves current game to your Autosave slot
Bat - Executes batch file [e.g. bat test.txt]
BeginTrace (bt) - Creates a trace file (XBox only)
BetaComment (bc) -
CalcLowPathToPoint (lp2p) -
CenterOnCell (coc) -
CenterOnExterior (coe) -
CenterOnWorld (cow) - [e.g. COW worldname -10 5]
ClearAdaptedLight (cal) - Clears the HDR adapted light texture
ClearScreen (cls) - Clears text from console
CompleteAllQuestStages (caqs) - Sets all quest stages
Disable - The selected NPC or Object will be removed from the game. Use Enable command to add them back
DumpTexturePalette (dtp) - Dump texture palette contents to warning file
Enable - Adds back an NPC or Object removed using the Disable command
EnableFast - EnableFastTravel
FlushNonPersistActors (flush) - Deletes all the actors in High who are not persistant
ForceWeather (fw) - Forces the active weather to the specified type, without transition
FreezeRenderAccumulation (fra) - Only re-render geometry visible during this frame
GetIgnoreFriendlyHits (gifh) -
GetINISetting (getini) -
Help - Shows some help dialog
KillAllActors (killall) -
LoadGame (load) - Loads a saved game [e.g. load
ModPCAttribute (modpca) - Modify an actor value [e.g. modpca luck, 10]
ModPCSkill - (modpcs) - Modify the player's skill [e.g. modpcs blunt, 10]
ModScale - Modify the scale of an object
ModWaterShader (mws) - Modifies water shader settings
MoveToQuestTarget (movetoqt) - Move player to current quest target (optional param: target number)
OutputArchiveProfile (oap) - Output Archive profile info to a file
OutputLocalMapPictures (olmp) - Writes out the current local map
OutputMemContexts (omc) - Output Mem Context info to a file
OutputMemStats (oms) - Output Mem Stats info to a file
PickRefByID (prid) - Select a reference by id for the console
PlayBink - Plays Bink movie file
Player.payfine - Pays off all outstanding bounties
Player.placeatme - Summons an NPC with the stated ID Number
PlayerSpellBook (psb) - Add all spells to player
PlayMagicEffectVisuals (pme) -
PlayMagicShaderVisuals (pms) -
PrintAiList (pai) - Printed Ai Lists
PrintHDRParam (php) - Prints current HDR settings
PrintNPCDialog (pdialog) - Prints NPC dialog
PurgeCellBuffers (pcb) - Forcibly unloads all unattached cells in cell buffers
QuiteGame (qqq) - Exit game without going through menus
Refreshini (refini) - Refresh INI settings from Oblivion.ini file
RefreshShaders - Reload HLSL shaders from disk
ReloadCurrentClimate (rcc) - Reloads values from the current climate
ReloadCurrentWeather (rcw) - Reloads values from the current weather
ReleaseWeatherOverride (rwo) -
ReloadCurrentClimate (rcc) - Reloads values from the current climate
ReloadCurrentWeather (rcw) - Reloads values from the current weather
ResetMemContexts (rmc) - Reset Max Mem Contexts
ResurrectActor (resurrect) - Resurrects the selected NPC
RevertWorld (rw) - Revert the world
RunCellTest (rct) - Runs a cell test
RunMemoryPass (rmp) - Runs a cleanup memory pass
SaveGame (save) - Saves current game with a the
SaveIniFiles (saveini) - Writes all the .ini files
SetActorAlpha (saa) -
SetActorRefraction (sar) -
SetCameraFOV (fov) - Change the camera's field of view (in deg): default 75
SetClipDist - New clip distance
SetDebugText (sdt) - Sets which debug text is shown
SetFog - 2 floats, start and end depths
SetGameSetting (setgs) -
SetGamma (sg) - Sets new gamma ramp
SetHDRParam (shp) - Sets various values for the HDR shader
SetIgnoreFriendlyHits (sifh) -
SetImageSpaceGlow (sisg) -
SetIniSetting (setini) - Sets an .ini value, parameters are "setting:category" value [e.g. "bAllowScreenShot:Display" 1]
SetLightingPasses (slp) - 4 (0/1) values. amb|diff|tex|spec ex: 1010
SetScale - Set the scale of an object
SetSkyParam (ssp) - Sets various values for the sky
SetSTBBColorConstants (sscc) - Show speedtree billboard color tweak constants
SetTargetRefraction (str) - Sets the refractive value of the target
SetTargetRefractionFire (strf) - Sets the refractive fire value of the target
SetTreeMipmapBias (stmb) - Set mipmap LOD bias values for tree billboards
SetWeather (sw) - Sets the active weather to the specified type
SexChange - Selected npc male become female or female becomes male
Show (tst) - Show values of script variables [e.g. show gamedayspassed]
Show1stPerson (s1st) - Show the 1st person Model from 3rd person camera. If in 3rd person it will show both
ShowAnim (sa) - Show Animation and Actor status
ShowBirthSignMenu - Lets you change character birthsign
ShowClassMenu - Lets you change character class
ShowQuestLog (sql) -
ShowFullQuestLog (sfql) - Show all log entries for a single quest
ShowHeadTrackTarget (sheadt)- Show the head track target if set from look function
ShowPivot (sp) - Puts a temporary yellow plus at the pivot point of the selected reference
ShowQuests (sq) - List quests
ShowQuestTargets (sqt) - Show current quest targets
ShowQuestVars (sqv) - Show quest variables. [e.g. svq QuestID]
ShowRaceMenu - Displays character face customization menu
ShowRenderPasses (srp) - display render passes for the next frame
ShowScenegraph (ssg) - Create a window with the full game scene graph
ShowSubSpaces (sss) - Temporarily displays subspaces
ShowSubtitle (srp) - show all dialog subtitles (1 shows always, 0 hides always)
ShowVars (sv) - Show variables on object. [e.g. player->sv]
ShowViewerStrings (svs) -
ShowWhoDetectsPlayer (swdp) -
StartAllQuests (saq) - Starts all quests
StopCombat - Stops combat for current enemy
StopMagicEffectVisuals (sme) -
StopMagicShaderVisuals (sms) -
TakeCover - Forces a actor to move away from the target actor for a period of time
TestAllCells (tac) - Test All Cells (0 - stop, 1 - start, 2 - interiors, 3 - current world)
TestLocalMap (tlm) - Simulates the local map (1 or 0 for FOW on or off)
TestSeenData (tsd) - Visually displays the current seen data
ToggleAI (tai) -
ToggleAiSchedules (tais) -
ToggleBorders (tb) -
ToggleCastShadows (tsh) -
ToggleCellNode (tcn) - Toggle 3D for a Cell child node: 0-Actor, 1-Marker, 2-Land, 3-Water, 4-Static, 5-Active
ToggleCharControllerShape (tccs) - Toggle char controller shape type
ToggleCollision (tcl) -
ToggleCollisionGeometry (tcg) - Show collision geometry
ToggleCombatAI (tcai) - Toggles all Combat AI
ToggleCombatStats (tcs) -
ToggleConversations (tconv) - Toggle conversation stats
ToggleDebugText (tdt) - Show debug numbers on the screen, including FPS
ToggleDetection (tdetect) -
ToggleDetectionStats (tds) - Show the detection stats of the current seletected Ref
ToggleEmotions (temo) - Toggle NPC facial emotions
ToggleFlyCam (tfc) - Toggles the Free Fly camera (UFO cam)
ToggleFogOfWar (tfow) - Turns fog of war on or off
ToggleFullHelp (tfh) - Toggle Full Help
ToggleGodMode (tgm) - Toggle God mode
ToggleGrass (tg) - Toggle grass display
ToggleGrassUpdate (tgu) -
ToggleHDRDebug (thd) - Toggles HDR debug textures
ToggleHighProcess (thighprocess) -
ToggleLeaves (tlv) -
ToggleLiteBrite (tlb) - Toggles lite brite render mode
ToggleLODLand (tll) -
ToggleLowProcess (tlowprocess) -
ToggleMagicStats (tms) -
ToggleMapMarkers (tmm) - Toggle map markers (1 shows all, 0 hides all)
ToggleMaterialGeometry (tmg) - Show material geometry
ToggleMenus (tm) - Hide all the menus. Used for taking screen shots
ToggleMiddleHighProcess (tmhighprocess) -
ToggleMiddleLowProcess (tmlowprocess) -
ToggleOcclusion (tocc) - toggle occlusion query for geometry
TogglePathGrid (tpg) -
TogglePathLine (tpl) -
ToggleRefractionDebug (trd) - Toggles refraction debug render texture
ToggleSafeZone - Display the television 85% safe zone
ToggleScripts (tscr) - Turn Script processing on/off
ToggleShadowVolumes float (tsv) -
ToggleSky (ts) -
ToggleTrees (tt) - Turn trees on/off
ToggleWaterRadius (twr) -
ToggleWaterSystem (tws) - Toggles the water system
ToggleWireframe (twf) - Show the world as wireframe
TriggerHitShader (ths) -
Unlock - unlocks targeted doors or chests
Verbose - Toggle verbose combat/AI messages
WasteMemory (wm) - Allocates some memory (in MB)
WaterDeepColor (deep) - Modifies water deep color
WaterReflectionColor (refl) - Modifies water reflection color
WaterShallowColor (shallow) - Modifies water shallow color
If you know of any genuinely useful commands which are missing from the list above, please Email Me with the command and what it does, and I will update this list to include it. Please make sure to only submit working, tested console commands.
The next page provides more information on how to use the more useful of these commands, as well as how to use batch files for easy execution of multiple console commands.
- Morris jenkins jobs
- Whio weather radar
- Waste management ri jobs
- Dalton clutch kit review
- Radeon r9 360 graphics
- Buy 380 ammo online
Elder Scrolls IV: Oblivion Tweak Guide
Useful Console Commands
As you can see from the previous page, there are a lot of console commands you can use, and I encourage you to experiment as for the most part all of them are fairly safe and won't do any permanent harm. At worst you may have to quit Oblivion or reboot your PC, but they should not permanently alter anything in the game. However, to help you sort out which commands you should use to meet most of your normal needs, below are those commands I would recommend people familiarize themselves with as they come in quite handy while playing Oblivion. Note that the term 'toggle' means that the same command can be used to turn something on or off. For example, use TDT to turn on the FPS counter, and use TDT again to turn it off. The case of the command text is not important - both lower and upper case text work.
Displaying Framerate: To display your Frames Per Second (FPS) at any time, use the TDT command. This command will put a FPS counter in the top right corner of the screen. Note that you can then go through a range of highly informative information pages, such as your current memory usage, which sounds and textures are currently loaded, etc. by repeatedly pressing the SCROLL LOCK key on your keyboard while using TDT.
Getting Unstuck: If you become 'stuck' in a piece of scenery or between objects, you can use the TCL command, which will toggle collision. This will allow you to walk through any object, or even fly by walking straight upwards while collision is disabled. Be careful not to re-enable collision while high in the air or inside another object for obvious reasons.
Modifying Your Character: If you want to modify your character's appearance, class or birthsign just as you did when you first started Oblivion, use the SHOWRACEMENU, SHOWCLASSMENU and/or SHOWBIRTHSIGNMENU commands to bring up the character customization panels. Once finished, press ESC and save your game, and your new character customizations should be saved. Note however that there is the significant chance that your major and minor skills might be reset, or other quirky behavior may occur, so be aware this is a risky command to use! Thanks to Mikea117 for this tip.
Changing Field of View: Some people don't like the default 75 degree field of vision in the game, and prefer something like 90 degrees which is normal for many first person games. Use the FOV command to set a new field of vision, e.g. fov 90. Note that this is reset every time you start Oblivion, and on most transition loads, so you must manually set it each and every time.
Severe Grass Slowdowns: If you're outdoors and you're in a heavily grassy area which is causing serious slowdowns, you can quickly use the TG command to toggle all grass off temporarily and make moving around easier, and toggle it back on later as necessary.
Turning off AI: If you want to turn off the enemy Artificial Intelligence, for example to take a close-up screenshot of a monster, use the TAI command to toggle off the AI. All characters/creatures in the game world will remain motionless, but will continue breathing and sometimes repeating the last action they were doing before being frozen.
God Mode: Enabling 'God Mode' means that your character can't take any damage, use the TGM command to toggle this option.
Wireframe Mode: To see just how complex the Oblivion game world is, and to also see what objects and characters have been loaded up in your immediate area (regardless of whether they're in direct line of sight or not), use the TWF command to toggle Wireframe Mode. As you will see, Oblivion uses a huge amount of polygons to display the detailed objects and characters in the game world, and this explains in part why the game requires so much CPU and GPU grunt.
Removing/Adding Objects or NPCs Quickly: If you want to quickly remove an object or NPC which is bothering you, make sure the Object/NPC is in your view, then open the console, click on the object or NPC with your mouse - note the object/NPC ID number at the top of the screen as you'll need this if you want to enable them again. Now use the DISABLE command to instantly remove that object or NPC. If you want to add them back, use the ENABLE [ID Number] command.
Adding or Resurrecting Dead NPCs: Often during a quest, some glitch or accident may mean an important NPC is killed or disappears. To fix this there are two main methods depending on your problem. If the NPC is missing, you can summon a copy of them in front of you by using the player.placeatme [ID Number] console command - see this List of NPC IDs. If the NPC is dead, open the console, left-click on the NPC to select them, then use the Resurrect command to resurrect them.
Setting Fog: If you want to set a custom fog effect for large outdoor views, or if you want to remove all fog for example, use the SETFOG command. The Setfog command requires both a start range and an endrange for the fog, so try setfog 100 8000 for example and see how that looks. Experiment with other values to see what works best for you. To remove all fog, use setfog 0 0.
Rapid Quit If you want to exit the game quickly without having to answer any prompts, open the console and use the QQQ command - the game will instantly exit without prompting you to save or confirm.
Executing Batch Console Commands
If you want to execute a number of console commands in one go without having to retype them every time you run Oblivion, you can use a Batch file. Go to your \Program Files\Bethesda Softworks\Oblivion directory and create a new text file (right click in an empty area>New>Text Document). Give this file a simple name, like mycommands.txt. Now edit the document with Notepad or Wordpad, and enter all your desired console commands, one per line. For example the contents of mycommands.txt might look like this:
Now close and save this text document. Open Oblivion, and to execute this batch file at any time, open the console and type Bat then press ENTER. For example, to execute mycommands.txt, type:
The contents of the batch file will be implemented - as long as they are correct working commands - all in one go. Create as many separate batch files as you like to do particular things, and execute them as desired.
The next section covers a wide range of important performance tweaks and general performance information.