
Baldurs Gate?
#1
Posted 07 February 2010 - 09:44 AM
Activating the Console (BG2 / BG2:ToB)
Enable
Open the Baldur.ini file (located in the BG2 installaion directory).
Find the line [Program Options] and add the text Debug Mode=1 underneath.
Access
Create a new game / load a save game.
Press ctrl and space together.
CLUA commands can be entered in the editing area that appears at the bottom of the screen.
Commands must be prefixed with CLUAConsole:
What does a ini file look like?
/Ztartrax
#2
Posted 07 February 2010 - 10:01 AM
I Ride for the King!
a.k.a. Chev
#3
Posted 07 February 2010 - 10:12 AM
Do you see a file named Baldur.ini in the folder where bgmain.exe is located? Open that file with notepad.
No thats the problem, I can find bgmain.exe and more but no file named ini.
I can find: baldur (config), baldur (textdocument), Baldur.err, Baldurs Gate 2 manual, bgate2.mpi, and some BG2 patchfiles but none ini file...:/
/Z
#4
Posted 07 February 2010 - 10:38 AM
Do you see a file named Baldur.ini in the folder where bgmain.exe is located? Open that file with notepad.
Think I found it, the Baldurs Gate Textdocument. There is [Program Options] just as Mr Mikkola wrote.
#5
Posted 07 February 2010 - 10:52 AM
You should note that the file extension is .ini, it maybe marked as Textdocument by the Windows, but it's a %&/(¤#¤%&&%& .ini file never the less... unless you opened the .log file, part of the window should look like this(when you don't have any mods etc random files there to clutter the view):Think I found it, the Baldurs Gate Textdocument. There is [Program Options] just as Mr Mikkola wrote.

Then again, if you haven't run the game at all before you started to poke it with a stick, the configuration files(the .ini's) are never made, and you need to make a new install just for this &%/¤#.
Now, could you please keep all this in a one thread, so the Mega Mod held forums first page is not cluttered full of your 6+ threads! So keep it in this.
Edited by Jarno Mikkola, 07 February 2010 - 10:56 AM.
Deactivated account. The user today is known as The Imp.
#6
Posted 07 February 2010 - 11:03 AM
You should note that the file extension is .ini, it maybe marked as Textdocument by the Windows, but it's a %&/(¤#¤%&&%& .ini file never the less... unless you opened the .log file, part of the window should look like this(when you don't have any mods etc random files there to clutter the view):Think I found it, the Baldurs Gate Textdocument. There is [Program Options] just as Mr Mikkola wrote.
Then again, if you haven't run the game at all before you started to poke it with a stick, the configuration files(the .ini's) are never made, and you need to make a new install just for this &%/¤#.
Now, could you please keep all this in a one thread, so the Mega Mod held forums first page is not cluttered full of your 6+ threads! So keep it in this.
Thanx for the help. I found it as a Textdocument and wrote Debug Mode=1 right below [Program Options] and now I have loaded the game again, I press ctrl+space for typing CluaConsole: MoveToArea ("0020") just as you told me, CluaConsole is no problem but how the heck do I write : (its just .) or > (nothing happens at that key), or )?
Hoppefully this is my last question if I get this right after this..

/Ztartrax
#8
Posted 07 February 2010 - 11:12 AM
You should note that the file extension is .ini, it maybe marked as Textdocument by the Windows, but it's a %&/(¤#¤%&&%& .ini file never the less... unless you opened the .log file, part of the window should look like this(when you don't have any mods etc random files there to clutter the view):Think I found it, the Baldurs Gate Textdocument. There is [Program Options] just as Mr Mikkola wrote.
Then again, if you haven't run the game at all before you started to poke it with a stick, the configuration files(the .ini's) are never made, and you need to make a new install just for this &%/¤#.
Now, could you please keep all this in a one thread, so the Mega Mod held forums first page is not cluttered full of your 6+ threads! So keep it in this.
Thanx for the help. I found it as a Textdocument and wrote Debug Mode=1 right below [Program Options] and now I have loaded the game again, I press ctrl+space for typing CluaConsole: MoveToArea ("ar0020") just as you told me, CluaConsole is no problem but how the heck do I write : (its just .) or > (nothing happens at that key), or )?
Hoppefully this is my last question if I get this right after this..
/Ztartrax
I have found everything exept how do to " in that mode...CluaConsole: MoveToArea (ar0020) is what It looks like now, cant find the "...

#9
Posted 07 February 2010 - 11:23 AM
You should note that the file extension is .ini, it maybe marked as Textdocument by the Windows, but it's a %&/(¤#¤%&&%& .ini file never the less... unless you opened the .log file, part of the window should look like this(when you don't have any mods etc random files there to clutter the view):Think I found it, the Baldurs Gate Textdocument. There is [Program Options] just as Mr Mikkola wrote.
Then again, if you haven't run the game at all before you started to poke it with a stick, the configuration files(the .ini's) are never made, and you need to make a new install just for this &%/¤#.
Now, could you please keep all this in a one thread, so the Mega Mod held forums first page is not cluttered full of your 6+ threads! So keep it in this.
Thanx for the help. I found it as a Textdocument and wrote Debug Mode=1 right below [Program Options] and now I have loaded the game again, I press ctrl+space for typing CluaConsole: MoveToArea ("ar0020") just as you told me, CluaConsole is no problem but how the heck do I write : (its just .) or > (nothing happens at that key), or )?
Hoppefully this is my last question if I get this right after this..
/Ztartrax
I have found everything exept how do to " in that mode...CluaConsole: MoveToArea (ar0020) is what It looks like now, cant find the "...
So now I have written: CluaConsole: MoveToArea ("ar0020") and Enter and then it comes up: Active Stack:
What does active stack means?
#10
Posted 07 February 2010 - 11:25 AM
For me it's behind the Shift + Ä buttons. The Scandinavian keyboard.I have found everything exept how do to " in that mode...CluaConsole: MoveToArea (ar0020) is what It looks like now, cant find the "...
And you need to change the lua to LUA and delete the spaces... So the end result is:
CLUAConsole:MoveToArea("ar0020")
The command is not valid.What does active stack means?
Edited by Jarno Mikkola, 07 February 2010 - 11:29 AM.
Deactivated account. The user today is known as The Imp.
#11
Posted 07 February 2010 - 11:29 AM

CLUAConsole: MoveToArea ("ar0020")see?? CLUAConsole, not CluaConsole

Oooooh, lightning fast imp-ninja!!!

Edited by Lollorian, 07 February 2010 - 11:30 AM.
"I am the smiley addict, yellow and round, this is my grin when I'm usually around
.
When there's trouble brewing, see me post, cuz it's usually a wall o' yellow and your eyes are toast!!!"
BWP GUIDE - BWP FIXES - impFAQ - NPC LIST - KIT LIST - AREA LIST
GitHub Links : BWP Fixpack | Lolfixer | BWP Trimpack | RezMod
#12
Posted 07 February 2010 - 11:38 AM

THANX!
/Z