NightMite Posted August 17, 2008 Share Posted August 17, 2008 Can I add a modded item to my inventory with the player.additem cheat? I have opened up the CS to find the id number, but when I type it in the command console, it says not found. I have tried it with several mods to see if it was just that one, but it won’t work with any modded item. Am I missing a step or can I not add mods to my inventory this way? Thanks Link to comment Share on other sites More sharing options...
Sypron Posted August 17, 2008 Share Posted August 17, 2008 Readme. That will fix your conundrum. Link to comment Share on other sites More sharing options...
nosisab Posted August 17, 2008 Share Posted August 17, 2008 Readme. That will fix your conundrum.Good tuto, concise and clear. Is very important to understand the concept of parent object and its "instance" in game. Being the last a particular copy that may be one from several of the same object and each one have it's own ID. Although some scripting functions will deal with those placed instances, others will reference the object itself. And to the OP is this object reference that matters. Says: the AddItem console command doesn't care the instance name the ID will receive while in game. It is aimed to a container (most of times here, the own player) and the reference is aways the same ID the object have in the CS. But now enters the concept of the mod position in the load list. The easier way to find the objectID the item will have in game is using a utility that lists that load order showing the hexadecimal index of each mod. The other way is skipping Oblivion.esm and count all other esm and esp until and including the target one. Use a calculator to change the decimal value found to it's hexa representation and use these 2 hexa characters substituting the 2 first chars found in the CS objectID. Just to show an example of a command with the "instance" as target is the "Disable". It must be aimed to a placed object, noone want to disable ALL instances of that object in game (well, maybe want but the engine will not allow). Edit: While intuition says the RemoveItem should reference a instance, again it refers to the parent object itself, like the additem. The reason is the same, being the container the target, the command will act only in the instances present in the inventory. This is the reason the number of objects being added and removed matters. The removeitem xyz 1 will remove the first instance found, even if existing more than one and someone is a modified object relative to it's parent. Link to comment Share on other sites More sharing options...
NightMite Posted August 18, 2008 Author Share Posted August 18, 2008 Thanks for the replies guys, that helped out allot, but I still have one little problem. When I open the data files in the oblivion launcher, the Oblivion.esm should be the first one right? I remember when I would put mods in, everything would go in the order of when I put it. But now everything is in alphabetical order. It’s not supposed to be like that right? So I think that kind of messed up my count to get the hex number... because it did not work when I tried it. Anyway nosisab, what utility are you talking about that will tell me the mod load order.Thanks again. Link to comment Share on other sites More sharing options...
nosisab Posted August 18, 2008 Share Posted August 18, 2008 Thanks for the replies guys, that helped out allot, but I still have one little problem. When I open the data files in the oblivion launcher, the Oblivion.esm should be the first one right? I remember when I would put mods in, everything would go in the order of when I put it. But now everything is in alphabetical order. It’s not supposed to be like that right? So I think that kind of messed up my count to get the hex number... because it did not work when I tried it. Anyway nosisab, what utility are you talking about that will tell me the mod load order.Thanks again.Wrye's Bash, a must have utility for most users. this one will show the index. But to change the load order OBMM is easier. The Wrye's is essential to generate the bash file FCOM needs among several others niceties. Link to comment Share on other sites More sharing options...
myrmaad Posted August 18, 2008 Share Posted August 18, 2008 Thanks for the replies guys, that helped out allot, but I still have one little problem. When I open the data files in the oblivion launcher, the Oblivion.esm should be the first one right? I remember when I would put mods in, everything would go in the order of when I put it. But now everything is in alphabetical order. It’s not supposed to be like that right? So I think that kind of messed up my count to get the hex number... because it did not work when I tried it. Anyway nosisab, what utility are you talking about that will tell me the mod load order.Thanks again.Wrye's Bash, a must have utility for most users. OBMM handles this with aplomb and for those who don't use Wrye, it's much easier, I think (no need to check against Wrye Bash, I just included that for your edification:) http://i26.photobucket.com/albums/c117/SeaBlossom/otherstuff/oblivion/Image1-2.jpghttp://i26.photobucket.com/albums/c117/SeaBlossom/otherstuff/oblivion/Image2-1.jpghttp://i26.photobucket.com/albums/c117/SeaBlossom/otherstuff/oblivion/Image3-1.jpghttp://i26.photobucket.com/albums/c117/SeaBlossom/otherstuff/oblivion/Image4-1.jpg BTW if someone knows the reason for my COBL errors feel free to enlighten me! It only started when I downloaded version 1.44 Link to comment Share on other sites More sharing options...
Sypron Posted August 18, 2008 Share Posted August 18, 2008 Thanks for the replies guys, that helped out allot, but I still have one little problem. When I open the data files in the oblivion launcher, the Oblivion.esm should be the first one right? I remember when I would put mods in, everything would go in the order of when I put it. But now everything is in alphabetical order. It’s not supposed to be like that right? So I think that kind of messed up my count to get the hex number... because it did not work when I tried it. Anyway nosisab, what utility are you talking about that will tell me the mod load order.Thanks again. Don't confuse yourself; the mod list in the oblivion launcher is not the load order. It is simple a check list of mods. Oblivion.esm will always load first, even if its not the first mod in your data list. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.