Jump to content

How to spawn item's created by mods using the additem command?


rahaney

Recommended Posts

Hi all,

 

I'm pretty good at using the console and at spawning regular items but new items created by mods are another matter.

 

I've gone into the GECK and hovered my mouse over the target item thereby getting an id but inputting it gives me nothing when in-game.

 

Even if i already have one of them,drop it, click on it in the console to get another id - the additem command still doesn't work.

 

I believe there are 2 types of code (base & ref?) but for the life of me can't see how to find the correct one to use in this situation.

 

Have i just missed it?

 

Cheers all,

 

R

 

PS. I am aware that the correct format of the command is "player.additem [id] [number]" before anyone thinks i don't ;)

Link to comment
Share on other sites

The BaseID is the mould, the refID is the specific item you are seeing. There are many assault rifle refIDs, but only one BaseID.

 

To call additem or placeatme, you want the BaseID. To get the baseID, either search for it on the geck, or put the object on a container and call showinventory on the container, or get fose and call getbaseobject on the item.

Link to comment
Share on other sites

The BaseID is the mould, the refID is the specific item you are seeing. There are many assault rifle refIDs, but only one BaseID.

 

To call additem or placeatme, you want the BaseID. To get the baseID, either search for it on the geck, or put the object on a container and call showinventory on the container, or get fose and call getbaseobject on the item.

 

Thanks, worked a treat :D

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

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