Followed weapon tutorial but getting "compiled script no

Post » Tue Jun 19, 2012 9:10 pm

I followed the creation kit tutorial for adding a custom weapon to the game. I'm talking the simple one where you duplicate an existing weapon, change the damage and crit value, change the ID and name and then save your .esp. It loads in the data files menu, where it is checked, but when in game trying to - player.AddItem DovahkiinSword 1 - I get an error saying that

"Item 'DovahkiinSword' not found for parameter ObjectID

Compiled script not saved"

Did I miss a step?

I also tried it with armor, with and without the quantity, tried using player.equipitem, all with the same result.
User avatar
Breanna Van Dijk
 
Posts: 3384
Joined: Mon Mar 12, 2007 2:18 pm

Post » Wed Jun 20, 2012 4:32 am

When using the console, you have to use an 8-digit hexadecimal code known as a formID instead of an editorID, which is the human-readable ID assigned to an object in the Creation Kit.

To easily find formIDs, which vary slightly depending on your load order, use the http://www.creationkit.com/Help command:
Help "Dovahkiin Sword" 0
(That's assuming that the name of the object is "Dovahkiin Sword")

Cipscis
User avatar
Sarah Bishop
 
Posts: 3387
Joined: Wed Oct 04, 2006 9:59 pm

Post » Wed Jun 20, 2012 4:19 am

I had a similar problem. Using the Help command worked with the tutorial weapon, but I still couldn't find the formID of the tutorial armor. What am I doing wrong?
User avatar
Kim Kay
 
Posts: 3427
Joined: Fri Oct 13, 2006 10:45 am


Return to V - Skyrim