I recommend notepad++. regular notepad kinda sucks. I'm guessing you used regular notepad. At any rate, to test it open your game and try some of the key combinations. ctrl-y or ctrl-j for example
Thx. I forgot about my notepad++. It works, I mean the console opens but the website you pointed my to is currently suspended. Have you got any other source of console commands?
Console Commands CLUAConsole:ExploreArea() Set current area to fully explored
CLUAConsole:SetCurrentXP("[Number]") Set XP for selected characters Example - CLUAConsole:SetCurrentXP("1000") will give the current character/party 1000 experience points.
CLUAConsole:AddGold("[Number]") Sets the party gold Example - CLUAConsole:AddGold("1000") will give the party 1000 gold.
CLUAConsole:CreateItem("[Item name]") Creates an item in the leaders inventory Example - CLUAConsole:CreateItem("SW1H01") will create a long sword.
CLUAConsole:CreateItem("[item]", [number]) sets the amount of charges that an item will have upon spawning it- if the item has charges anyway. Example - CLUAConsole:CreateItem("POTN08", 10) will create 10 potions of cure light wounds. CLUAConsole:CreateItem("amul17", 50) to get a Greenstone Amulet with 50 charges CLUAConsole:CreateItem("scrl75",99) 99 Identify Scrolls
CLUAConsole:CreateCreature("[CRE FILE]") Spawn a creature Example - CLUAConsole:CreateCreature("GIBBER") will create a gibberling using GIBBER.CRE
CLUAConsole:MoveToArea("[Area Name]") Move selected characters to an area Example - CLUAConsole:MoveToArea("AR2300") will move the player to the Friendly Arms Inn.
Cheat Keys: X - Show [x,y] coordinates of mouse and current area in the Dialog window.
CTRL + J : teleports selected party members to position under cursor CTRL + Q : auto-recruit creature under cursor into party CTRL + R : insta-restores any creature under cursor- also removes any effects CTRL + Y : insta-kills creature under cursor
@MasonMarxx You must have made a typo or some other mistake when typing your command into the console, because that message is what you get when enter an invalid command. What exactly did you type?
@MasonMarxx Sorry, I meant you must have made a mistake when you were typing in a command into the console while playing the game. What you entered into the .ini looks right, and if you are able to call up the console in-game with cntrl+space, then I think that means that you edited the .ini correctly.
So when you tried to use the console in-game, what did you type in?
@MasonMarxx Ah, the problem is the square/triangle brackets. You only need the outer round brackets. Also, when entering numerical values (like gold, XP, etc.), you don't need quotation marks (although it still works). You do need quotation marks when entering a non-numerical operand, like an item code.
For example: To add 5000 gold: CLUAConsole:AddGold(5000) To create a bastard sword: CLUAConsole:CreateItem("sw1h01")
Okay, I know this is a pretty old post... I think, but I have a little issue. I'm one of those people that HAS to finish all the quest in the game. I'm serious. I wiki all of them in all the games I play. So, I picked up Baldur's Gate EE cause I remember watching my uncle play it and I love playing the older games and tabletops. Anyway, so I'm at the beginning, and I ran into the Firebead's Scroll quest. Now I know this quest got bugged with the last update, I and know certain future quests are going to be bugged to, so I use console commands as work arounds. Here's the thing, I added the debug line, and all the little cheats work... Except for the actual code entry screen. Now I did a 'demo' play of Baldur's Gate just to get the hang of it, and the console code sytem worked. But I started a new character with the same edited .ini file and now it wont work. What's even stranger is that when I try it, my pause and unpause options go a little crazy, as in they don't work unless I press the icon and then i can use the spacebar again. Note: The game is from Steam, but disconnected from it. Any suggestions?
hi everybody, i hope somebody can help me. i'm playing bg2 ee on my mac and can't seem to get the console mode running. i open the .ini file. in there are multiple lines with 'program options' so i added a further line with " 'Program Options' , 'Debug Mode', '1', but i still cant get the console mode running with ctrl and space.
other question: can i set my xp cap to 40? want to try to get my fighter/ mage to level 40/40
i have tried soo many times to get this working and ether nothing happens in game, or it has a problem starting the game, this is what the .ini file looks like have i put this in correctly ? or how should i put it in, the game doesnt seem to start up at all when its in the file like this any help?
I know this thread is old but I have to ask the same questions as everybody else. So Im sure that I put the parameters in correctly and typed in the proper phrase, "'Debug Mode', '1'," because I have read this particular thread at least 100 times trying to figure out what exactly it is that Im doing wrong. Can anyone assist me with the problem? Thanks in advance.
@CaloNord ive copied your file into mine. but once i'm in the game i cannot open the the console. playing on a mac using the apple keyboard. when i click 'spacebar' + 'ctrl' nothing happens. can anybody help? all i want is to get yoshimo back into my party. i sided with bodhi, so yoshimo is no longer in the copper coronet.
Ugh. Ok clearly this is a user problem. i edit the .ini file no problem. I open the console and no matter what I type I get a bunch of seemingly error text, starting with "Name: AR0900" and all ending in "Entry Point: x=4075, y=90, Scriptname=Exit0400" I tried creating items, adding gold, xp, etc. nothing but the text above. But I was able to kill an npc I put my cursor on with a cntrl+y. I've copied and pasted the example text from these forums, I've typed it in all myself, nothing happens. so for example I type in "C:CreateItem("SW1H01")" and I get all the text i above, but no sword.
Hi Im New to this of editing the baldur ini file Im using textedit on my mac but I do not understand how to add a new line under the program options can anyone please Help me thank you
I used the ini file posted here and even that doesn't work! Did they disable this in the newest version or something? As I said I downloaded the file posted here and it simply won't work. cntrl+space and nothing.
Comments
'Program Options', 'Debug Mode', '1',
Press CTRL+Space to bring up the console in game
Here's a reference of what you can do:
http://iesdp.gibberlings3.net/appendices/clua/bg2.htm
CLUAConsole:ExploreArea() Set current area to fully explored
CLUAConsole:SetCurrentXP("[Number]") Set XP for selected characters
Example - CLUAConsole:SetCurrentXP("1000") will give the current character/party 1000 experience points.
CLUAConsole:AddGold("[Number]") Sets the party gold
Example - CLUAConsole:AddGold("1000") will give the party 1000 gold.
CLUAConsole:CreateItem("[Item name]") Creates an item in the leaders inventory
Example - CLUAConsole:CreateItem("SW1H01") will create a long sword.
CLUAConsole:CreateItem("[item]", [number]) sets the amount of charges that an item will have upon spawning it- if the item has charges anyway.
Example -
CLUAConsole:CreateItem("POTN08", 10) will create 10 potions of cure light wounds.
CLUAConsole:CreateItem("amul17", 50) to get a Greenstone Amulet with 50 charges
CLUAConsole:CreateItem("scrl75",99) 99 Identify Scrolls
CLUAConsole:CreateCreature("[CRE FILE]") Spawn a creature
Example - CLUAConsole:CreateCreature("GIBBER") will create a gibberling using GIBBER.CRE
CLUAConsole:MoveToArea("[Area Name]") Move selected characters to an area
Example - CLUAConsole:MoveToArea("AR2300") will move the player to the Friendly Arms Inn.
Cheat Keys:
X - Show [x,y] coordinates of mouse and current area in the Dialog window.
CTRL + J : teleports selected party members to position under cursor
CTRL + Q : auto-recruit creature under cursor into party
CTRL + R : insta-restores any creature under cursor- also removes any effects
CTRL + Y : insta-kills creature under cursor
lua: call expression not a function
Active Stack:
Active Stack:
any suggestions?
You must have made a typo or some other mistake when typing your command into the console, because that message is what you get when enter an invalid command. What exactly did you type?
Thanks for the quick reply. I wrote:
'Program Options', 'Debug Mode', '1',
I "tabbed" it into line with the rest of the code and between Program Options and Debug Mode there is 1 "tab" and 1 "tab between Debug Mode and '1'
Hope that helps.
Sorry, I meant you must have made a mistake when you were typing in a command into the console while playing the game. What you entered into the .ini looks right, and if you are able to call up the console in-game with cntrl+space, then I think that means that you edited the .ini correctly.
So when you tried to use the console in-game, what did you type in?
I tried this CLUAConsole:AddGold("[5000]")
And this CLUAConsole:AddGold("<5000>")
Any idea?
Cheers for the assistance as well
Ah, the problem is the square/triangle brackets. You only need the outer round brackets. Also, when entering numerical values (like gold, XP, etc.), you don't need quotation marks (although it still works). You do need quotation marks when entering a non-numerical operand, like an item code.
For example:
To add 5000 gold: CLUAConsole:AddGold(5000)
To create a bastard sword: CLUAConsole:CreateItem("sw1h01")
http://forum.baldursgate.com/discussion/8317/general-bgee-customization/p1
Brackets are just for clarifying a resource, do not include brackets in the console
Note: The game is from Steam, but disconnected from it.
Any suggestions?
other question: can i set my xp cap to 40? want to try to get my fighter/ mage to level 40/40
Back up your original first!
can anybody PLZ help me!
'Program Options', 'Debug Mode', '1'
CREATE TABLE options (
section string,
name string,
value string
);
INSERT INTO options ROWS (
'Fonts', 'ko_KR', 'UNBOM',
'Fonts', 'zh_CN', 'SIMSUN',
'Fonts', 'ja_JP', 'MSGOTHIC',
'Fonts', 'ru_RU', 'PERMIAN',
'Fonts', 'uk_UA', 'PERMIAN',
'Window', 'Full Screen', '1',
'Graphics', 'version', '4.0.0 - Build 9.18.10.3234 - build XXXX',
'Graphics', 'renderer', 'Intel(R) HD Graphics 4400',
'Graphics', 'vendor', 'Intel',
'MOVIES', 'LOGO', '1',
'Window', 'Maximized', '0'
);
Please tell me what I did wrong.
'Program Options', 'Debug Mode', '1' should be placed after ROWS ( and before );.
I tried creating items, adding gold, xp, etc. nothing but the text above. But I was able to kill an npc I put my cursor on with a cntrl+y.
I've copied and pasted the example text from these forums, I've typed it in all myself, nothing happens.
so for example I type in "C:CreateItem("SW1H01")" and I get all the text i above, but no sword.
what am I doing wrong?
Thanks.