Oblivion Mod talk:Script Functions
Contents
Console Commands[edit]
I don't quite understand everything
"equipitem" definetely works in the console though it's not marked as a console command ...
- scratches head* 82.121.85.7 23:33, 25 June 2008 (EDT)
- Looking at the list, I can see at least a dozen commands that are valid in the console but not marked as such. In fact I have a sneaking suspicion that all of them are valid, but I can't test that right now. –Rpeh•T•C•E• 03:50, 26 June 2008 (EDT)
Setscale[edit]
When using the setscale command in-game, I notice it only works from .5 to 2. Is there any way of exceeding these limits?Dr. Kilereren 16:01, 27 October 2008 (EDT)
SetFactionRank help[edit]
What are all the different factions ingame with ranks? I want to set my character at the top rank of everything. Also, how would the command look? "player.setfactionrank <faction> <rank>?"
-
- Ok so I figured it out, but I can't set my Knights of the Nine faction. I have roughly 16-18 mods installed, but when I type "16000CEE 2" to set myself as the Divine Crusader of the KotN, it gives me the not a faction error. What gives? Daedryon•T•C•E• 07:57, 1 January 2009 (EST)
- Nevermind, it appears the game thinks I have 6 mods installed >.> Daedryon•T•C•E• 08:02, 1 January 2009 (EST)
Vampirism[edit]
I'm using a mod called Companion Share and Recruit ( http://www.tesnexus.com/downloads/file.php?id=3066 ) and I'm going to recruit a non-vampiric NPC. Is there any command/cheat to make them vampires?
- Try using
target.setav vampirism n
on the NPC, wheren
goes from 1-100. It also looks like you can make an NPC a vampire by giving them Porphyric Hemophilia by console or script. See this page. --Imagine 05:58, 10 June 2009 (EDT)
Show NPC's inventory?[edit]
Okay, I've become familiar with Fallout 3's console commands, and now I'm going "backward" to Oblivion and trying to use what I know. I was surprised when the command "showinventory" didn't work. Is there a way to see the inventory of an NPC / container? Thanks in advance! 68.53.137.48 03:15, 30 July 2009 (UTC)
SetEssential[edit]
How exactly do I use this command? I'm not familiar with the "ActorBase" variable. I rather like the Skinned Hound that Ushnar gave me, and I would like to keep him x). Fruckert 04:35, 22 December 2009 (UTC)
- Oh, never mind, I think I understand now. Is that the original ID from the construction set? Like, for Ushnar's Skinned Hound, it would be SE43SkeletalHound? Fruckert 04:39, 22 December 2009 (UTC)
-
- That will work if you are making a script for a mod. The console in-game doesn't recognize those Editor IDs. Instead it needs a so-called FormID. These are given on this site for every item, creature and NPC.
-
- In this particular case Shivering:Skinned Hound provides the required ID: 00072DA4. Thus:
SetEssential 00072DA4 1
makes the dog essential, andSetEssential 00072DA4 0
will make it unessential again. --Timenn-<talk> 11:31, 24 December 2009 (UTC)
- In this particular case Shivering:Skinned Hound provides the required ID: 00072DA4. Thus:
HairTint[edit]
Does anyone know how this one works, or if it should be removed from this list as a console function? I know it uses the R G B color values (can be found here), but nothing I do in the game with the console works.
I have tried (without the quotes):
"HairTint 0 0 0"
"HairTint 100 100 100"
"hairtint 199 199 199"
and nearly every other variation of spelling/integer. I have used player.hairtint, player.sethairtint, and a few others.
It could be that Oblivion only uses some of the color integers, not all of them. Needle in a haystack... anyone know what the colors might be? I'm only guessing here.
Any ideas? Does this just not work in the console, and if not, should we remove it from the list? Morgaledh 21:00, 18 August 2011 (UTC)
Hairtint confirmed non/not useable[edit]
Hairtint command does not work.
E.g. "Hairtint 79 200 162" (without quotation marks) DOES NOT WORK and so far, no cheat code threads or reliable sources have shown that it does.
IT HAS NOT BEEN DEMONSTRATED IN ANY WAY THAT IT WORKS FOR PC
However, if you know how to use hex code or variable "player.con_hairtint" you may be able to preform a hair colour change
•One example given using hexing is the following ; player.con_hairtint ff ff ff / player.con_hairtint 28 28 28 in which, 28 28 28 is pure white hair, and 00 00 00 is jet black, however this is hex coding, and isn't used directly from the console
Setclass help[edit]
I'm trying to use the "setclass" command on an npc, but I don't know the Ids for the class I want (Guard). Any help please? — Unsigned comment by 213.107.185.137 (talk) at 10:54 on October 30, 2011