Finding the Base ID for a Mod Created Item

Post » Sun Feb 06, 2011 11:42 am

I play with http://www.tesnexus.com/downloads/file.php?id=24079 mod. This adds two items to General Stores (i) Well key and (ii) Bed roll.

Bed roll enables two "Lesser Power" spells Open bedroll and close bedroll, allows you to camp out.

Well key adds one lesser power Get Water. If you cast this while close enough to one of the stock wells in Cyrodil (though not any of the ones added by other mods), it "summons" a "potion" called "Water" into your inventory. Over time, the mod causes your character to develop a "disease" "Dehydration" (as well as hunger, and sleep deprivation). Drinking the water (or the other beverages that come in Cyrodil) alleviates your thirst. Drinking 3 to 6 of this potions each day will keep you from suffering the ill effects of thirs. Sleeping and eating take care of hunger and sleep deprivation, duh . . . .

Anyway, the mod is not without flaws, most notably: (i) you have to wait till it calculates you are tired, you cannot just sleep anytime you want, and second and important for this question: (ii) the only way to get "Water" potions is one by one by repeatedly casting the Get Water spell while standing at a well.

Instead of having to sit here holding down my 'C' key for 2.5 minutes in order to pull up 50 or 60 bottles of water from a well, I'd like to use the

additem

But I cannot figure out what the BaseID for the "Water" potion item is in Tyler's mod. Nor can I find it in any of the files. The RefID for the instance of water that I drop doesn't work.

Can anyone help?
User avatar
Steve Smith
 
Posts: 3540
Joined: Sat Jun 30, 2007 10:47 am

Post » Sun Feb 06, 2011 1:50 am

If you have OBSE:

Open the console with the tilde (~) key.

Click on the object in question with your mouse. The object's name will be at the top of the screen after that.

Type getbaseobject, and press Enter. The hexadecimal code printed in the console is the base object's form ID.

Alternately, you can use RefScope or FormID Finder to do this task for you.
User avatar
Ashley Tamen
 
Posts: 3477
Joined: Sun Apr 08, 2007 6:17 am

Post » Sun Feb 06, 2011 3:41 am

Thanks Khettienna!

That works perfect :) The water's base id is 4c0046a4

The only mistake I, as a console noob, made at first was that I was not selecting my character first before doing the additem command ;) which of couse gave an error. Got it working now though!

Very handy. Now I can even "get water" out of wells added by mods too (e.g., Rumare Revive).

Cheers!! :celebration:
User avatar
Lory Da Costa
 
Posts: 3463
Joined: Fri Dec 15, 2006 12:30 pm


Return to IV - Oblivion