Please note that new user registrations disabled at this time.

how do i spawn an item

This forum is to be used for all discussions pertaining to BioWare's Baldur's Gate II: Shadows of Amn.
Post Reply
User avatar
Mini Me
Posts: 535
Joined: Tue Sep 25, 2001 10:00 pm
Location: England
Contact:

how do i spawn an item

Post 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?
'My pantaloons are full of weasels. Inform the Queen, so that she might shoo them away. Here we go 'round the mulberry bush. Go monkey GO!'-Wanev
Have you ever heard any more inspiring or logical words? I sure haven't.
User avatar
UncleScratchy
Posts: 869
Joined: Thu Jan 31, 2002 11:28 am
Location: Location: PA
Contact:

Post 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.
"The Khajiit mind is not engineered for self-reflection. We simply do what we do and let the world be damned." Quote from the Ahziirr Traajijazeri

"Fusozay Var Var"
User avatar
Mini Me
Posts: 535
Joined: Tue Sep 25, 2001 10:00 pm
Location: England
Contact:

Post by Mini Me »

it tells me MISC47.ITM doesnt exist

i dont really want SK...just want my dear old pants
'My pantaloons are full of weasels. Inform the Queen, so that she might shoo them away. Here we go 'round the mulberry bush. Go monkey GO!'-Wanev
Have you ever heard any more inspiring or logical words? I sure haven't.
User avatar
Baldursgate Fan
Posts: 989
Joined: Fri Jul 13, 2001 11:00 am
Location: Singapore
Contact:

Post 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. :)
User avatar
Baldursgate Fan
Posts: 989
Joined: Fri Jul 13, 2001 11:00 am
Location: Singapore
Contact:

Post by Baldursgate Fan »

Oooooookkkkkkkaayyyyy....

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

The correct CLUA code should be MISC47.
User avatar
VonDondu
Posts: 3185
Joined: Wed Mar 21, 2001 11:00 pm
Location: USA
Contact:

Post 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.
User avatar
Mini Me
Posts: 535
Joined: Tue Sep 25, 2001 10:00 pm
Location: England
Contact:

Post by Mini Me »

thanks for everything guys :)

i finally have my exquisite dwarven lingerie back now!

i may take your advice later about SK...
'My pantaloons are full of weasels. Inform the Queen, so that she might shoo them away. Here we go 'round the mulberry bush. Go monkey GO!'-Wanev
Have you ever heard any more inspiring or logical words? I sure haven't.
User avatar
Mini Me
Posts: 535
Joined: Tue Sep 25, 2001 10:00 pm
Location: England
Contact:

Post 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?
'My pantaloons are full of weasels. Inform the Queen, so that she might shoo them away. Here we go 'round the mulberry bush. Go monkey GO!'-Wanev
Have you ever heard any more inspiring or logical words? I sure haven't.
Post Reply