Jump to content

ID of armour keeps changing?


hucker75

Recommended Posts

I got a mod which included a new piece of armour. A flight helmet, which lets you jetpack like power armour.

 

But the point is I wanted to be able to put it on and take it off easily. On is easy, assign it an in-game hotkey. But for off I had to use a hotkey mod, which lets me assign a key to a console command, in this case player.unequipitem.

 

The problem - the ID of the helmet keeps changing! It didn't initially, but a couple of days later I couldn't remove it with the hotkey. I dropped it and checked the ID and it had changed. So I changed the command accordingly and it still didn't work. So I dropped it again and it had changed again. A random ID each time! I've had ff0ee1bc, ff0ee937, 7200ffca, ff0e9959.

 

Why these completely different IDs?

Link to comment
Share on other sites

Don't drop it. When you do that it changes from an inventory object to an in world object so it's refid changes. When you pick it up it goes back to being inventory and changes again. (The base id doesn't change so it's function (jetpack) doesn't change.)

 

When it is in your inventory use the console, player.showinventory. Find the ID of the helmet in the list and use that one (you might want to put everything but the helmet in a safe container first to keep the inventory list small). That ID should be good until you store the helmet someplace, when again it's refid is likely to change.

Link to comment
Share on other sites

Don't drop it. When you do that it changes from an inventory object to an in world object so it's refid changes. When you pick it up it goes back to being inventory and changes again. (The base id doesn't change so it's function (jetpack) doesn't change.)

 

When it is in your inventory use the console, player.showinventory. Find the ID of the helmet in the list and use that one (you might want to put everything but the helmet in a safe container first to keep the inventory list small). That ID should be good until you store the helmet someplace, when again it's refid is likely to change.

 

Thanks! That works great!

 

I'll add that to find it more easily, drop it then pick it up, then type player.showinventory. Then it will be the last in the list.

Link to comment
Share on other sites

 

Don't drop it. When you do that it changes from an inventory object to an in world object so it's refid changes. When you pick it up it goes back to being inventory and changes again. (The base id doesn't change so it's function (jetpack) doesn't change.)

 

When it is in your inventory use the console, player.showinventory. Find the ID of the helmet in the list and use that one (you might want to put everything but the helmet in a safe container first to keep the inventory list small). That ID should be good until you store the helmet someplace, when again it's refid is likely to change.

 

Thanks! That works great!

 

I'll add that to find it more easily, drop it then pick it up, then type player.showinventory. Then it will be the last in the list.

 

 

I didn't know that, thanks! Never understood how the inventory is sorted under the hood, now I know :)

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...