Page 1 of 1

how do i spawn an item

Posted: Tue Aug 19, 2003 12:12 pm
by Mini Me
i made a booboo and lost the golden panties somewhere...no idea where (or how!) so i need to know how to spawn them in...

does turning debug mode on work or will i have to download SK/CLUA? debug worked on NWN when i missed a quest item

either way, does anyone know the code for the panties, or how to find it out?

Posted: Tue Aug 19, 2003 12:50 pm
by UncleScratchy
Originally posted by Mini Me
i made a booboo and lost the golden panties somewhere...no idea where (or how!) so i need to know how to spawn them in...

does turning debug mode on work or will i have to download SK/CLUA? debug worked on NWN when i missed a quest item

either way, does anyone know the code for the panties, or how to find it out?


You don't have to download anything to use CLUA Console commands but yes, you do need to turn on the Debug Mode. Here's how to do it for BG2 (I don't know if its enabled differently for NWN or not):

1. Open your Baldur.ini file which is in your root directory using a text editor such as Windows notepad. You may want to copy it first to another directory so you will have the original in case something goes wrong.
2. Look for the heading called [Program Options]
3. Insert a line called Debug Mode=1
This will tell the game you want to turn on the cheating system
4. Save the file and restart Baldur's Gate II.
5. When you are back playing the game again. Press CRTL+SPACE. You now should see a dialogue box allowing you to type in words.
CLUAConsole:SetCurrentXP(" **** ")
CLUAConsole:AddGold(" **** ")
CLUAConsole:ExploreArea()
CLUAConsole:MoveToArea(" AREA ")
CLUAConsole:CreateCreature(" CODE ")
CLUAConsole:EnableCheatKeys()
CLUAConsole:CreateItem(" ITEM ")
CLUAConsole:CreateItem(" ITEM ", **** ) More than one (Ex. ("AROW01",100)

The code for the golden pantaloons is MISC47.ITM

Far easier and useful is to download Shadowkeeper. It lets you search and sort through the available inventory items, change character attributes, fix globals for stuck quests, change the looks of the characteravatars (useful if you don't like the default avatars for dualed/or MC chars), etc. There was a very recent post by Coot that gives the link to the SK download site.

Posted: Tue Aug 19, 2003 1:01 pm
by Mini Me
it tells me MISC47.ITM doesnt exist

i dont really want SK...just want my dear old pants

Posted: Tue Aug 19, 2003 1:08 pm
by Baldursgate Fan
Hi Mini Me:

i made a booboo and lost the golden panties somewhere


I like the way you say pantaloons. :p :D :D :D :p

If you had not downloaded SK, you can do so here. Give it a spin. You will love it. :)

Posted: Tue Aug 19, 2003 1:11 pm
by Baldursgate Fan
Oooooookkkkkkkaayyyyy....

I pressed "Send" on my previous post before seeing your reply.

The correct CLUA code should be MISC47.

Posted: Tue Aug 19, 2003 2:46 pm
by VonDondu
Originally posted by UncleScratchy
The code for the golden pantaloons is MISC47.ITM...
To be more specific, that is the file name that corresponds to the item. (You can extract individual item files from the ITEMS.BIF file and edit them with the proper tools, if you like.) If you want to spawn an item or look it up in ShadowKeeper, then for our purposes, the item code is simply "MISC47".

The correct CLUAConsole command is:

CLUAConsole:CreateItem("MISC47")

I like ShadowKeeper and I have used it quite a bit, but in my opinion, if an action can be performed by using the CLUAConsole commands, it's a lot easier to use the console (once you get the hang of it) than it is to exit the game and edit the saved game file with ShadowKeeper. But you just can't beat the search functions that are available in ShadowKeeper--it's the easiest way to find item codes.

Posted: Wed Aug 20, 2003 2:08 am
by Mini Me
thanks for everything guys :)

i finally have my exquisite dwarven lingerie back now!

i may take your advice later about SK...

Posted: Wed Aug 20, 2003 6:29 am
by Mini Me
yaaaaarrrrrgh yoshimo had them all along!
its annoying as i thought i had removed all his items beforehand
o well i have 2 now...in case i soil one pair?