"Item not found for parameter ObjectID"

Post » Mon Jun 18, 2012 10:13 am

So I'm making weapons and armour and whenever I try using the console in game with player.equipitem (ID) 1 I get that message, even though the ID is correct and my plugin is saved I get this message. I've got no other mods on to conflict with it and I'm stumped as to why this is happening. Even the wiki says I'm doing everything right but for some reason the ObjectID can't be found.

Any ideas?
User avatar
Mrs shelly Sugarplum
 
Posts: 3440
Joined: Thu Jun 15, 2006 2:16 am

Post » Mon Jun 18, 2012 4:13 am

Just a guess, seeing as you said you're not using other mods.

Try changing the first 2 digits of the ID in the console to 02.
User avatar
suzan
 
Posts: 3329
Joined: Mon Jul 17, 2006 5:32 pm

Post » Sun Jun 17, 2012 9:16 pm

This solution worked for me, but can anyone explain why the name of the new item can't be used (the CK tutorial refers to the new item by name) and why changing the digits to '02' would work? Am I missing some setting somewhere?
User avatar
Sabrina Schwarz
 
Posts: 3538
Joined: Fri Jul 14, 2006 10:02 am

Post » Mon Jun 18, 2012 6:48 am

The prefix refers to the mod order. Vanilla objects are contained in the First file loaded - Skyrim.ESM This means they have prefixes of 00.

The first mod you load will be the 2nd in order, and so all objects of that mod will have the prefix 01. It's all a system to avoid duplicate filenames.
User avatar
Ricky Meehan
 
Posts: 3364
Joined: Wed Jun 27, 2007 5:42 pm

Post » Mon Jun 18, 2012 10:23 am

02 is the Mod Index of your file. 00 is always Skyrim.esm, usually player plugins start at 01 and move up hexadecimally, however Skyrim now has a hidden Update.esm file which loads too. This means player loaded mods start at 02, and progressively increase depending on what mod is loaded in what order (02, 03, 04, 05, 06, 07, 08, 09, A, B etc).

And Object IDs can never be used in the console. You have to use the formIDs.
User avatar
Neil
 
Posts: 3357
Joined: Sat Jul 14, 2007 5:08 am

Post » Mon Jun 18, 2012 1:42 am

Actually now 01 is always the Update.esm so first mod is going to be 02 !! (00 is oblivion.esm)
User avatar
Monika Fiolek
 
Posts: 3472
Joined: Tue Jun 20, 2006 6:57 pm


Return to V - Skyrim