So to enable the CLUAConsole for BG2EE
enqenq
Member Posts: 499
Whaddyahavetodo? I'm gonna be spamming for the Neera romance variable after each and every conversation with her, so I need it
0
Comments
'Program Options', 'Debug Mode', '1',
underneath the "INSERT INTO options ROWS (" heading in the Baldur.ini file (should be located in My Documents\Baldur's Gate II - Enhanced Edition).
CLUAConsole:GetGlobal("NeeraRomanceActive","GLOBAL")
just says there's no such variable. Possibly because I haven't recruited her yet, but still.
The spacing is very important.
There is another thread here that has someone using a box to make it easy to copy/paste the line you add to baldurs.ini file. It makes it very easy to add it and have the proper spacing.
http://forum.baldursgate.com/discussion/24300/clua-console-for-bg2ee
Check and make sure read only is unchecked
I then installed the patches and Dragonspear and it isn't anymore.
I checked the ini file and found that it was read only. It didn't matter that it was since debug mode was 1.
However, it is now writeable just in case I need to change it later.
It appears that the patch has screwed things up somewhat. Any ideas how to rectify things?
By the way, people have been saying: don't use notepad for editing the ini file. I would suggest wordpad, though other programs such as notepad++ work equally well, probably textpad too but haven't checked with that one as it isn't on my current computer.
2.0 changed how you need to enable Debug Mode:
First, you need to edit "Baldur.lua", not "Baldur.ini". Actually, if you still have a Baldur.ini file, you may as well delete it.
Second, instead of the lines included in the description, you need to add the following line. It's position doesn't matter:
SetPrivateProfileString('Program Options','Debug Mode','1')
https://forums.beamdog.com/discussion/comment/728149/#Comment_728149