Jump to content


Photo

CLUA Console codes


  • Please log in to reply
1 reply to this topic

#1 dorotea

dorotea

    witch extraordinaire

  • Modder
  • 1927 posts

Posted 13 August 2005 - 08:40 AM

How to use CLUAConsole.

************************************************************************
- Go to your Baldur's gate 2 directory, and open the file Baldur.ini (a notepad
file with a gold cog).

You now have two options:
- Scroll down to the "Game Options" heading and add the line: "Cheats=1" (case
sensitive) underneath.

- Now go in game, opening any saved game. Press CTRL and SPACE BAR at the same time. A text box will pop up at the bottom. Type:

"CLUAConsole:EnableCheatKeys(1);" into the box and press ENTER. Now Type the
line "CLUAConsole:". Any of the commands below may be used after the colon.

OR

- Under the "Program Options" heading add the line: "Debug Mode=1" (case
sensitive) underneath. Save. Now open BG2 and load any saved game. Press CTRL
and SPACE BAR at the same time. A text box will appear. Now Type the line
"CLUAConsole:". Any of the commands below may be used after the colon.
COMMANDS

**************************************************************************
CLUAConsole:CreateCreature("xxxxxxxx")

NOT AVAILABLE FOR ICEWIND DALE, HEART OF WINTER OR TRIALS OF THE LUREMASTER

Creates a Creature, centre screen, into the game. xxxxxxxx is the creature
filename, which may only be up to 8 letters long.

MoveToArea("AR####")
Moves the entire party to the specified area file. Although I give the example
"AR####" that is for only the in-game areas. Custom made areas put together by
people here at TeamBG or elsewhere may not use the "AR" part. #### is always
four numbers.

SetCurrentXP(##)
Sets the party's experience to the number specified. Simple as that.


SetGlobal("name","YYYYYY",#)
This changes the chosen Global. YYYYYY is GLOBAL, LOCALS or an area filename
(AR####). "name" is name of the Global and # is the number to set the Global
too.
eg. for BG2:

CLUAConsole:SetGlobal("TeamBG","GLOBAL",1)

AddGold(####)
Adds #### gold to the party's total. #### are of course numbers.

ExploreArea()
Removes all unexplored (black) areas from the map.

SetWeather(#)
Use one of the following 3 settings for #:
0 - No Weather 1 - Rain 2 - Snow

AddSpell("xxxxxxxx")
Where xxxxxxxx is a spell file code

Note: the cursor must be over the person who you want to get the spell and the
spell will be memorized in all empty slots and added to the spell book
************************************************************************

The simplest way to ease your way through the game is to target creature with
mouse pointer and use Cltr-Y key to instant-kill it. Cltr-R key will heal and
resurrect any party member or enemy targeted with the mouse pointer.

Edited by dorotea, 23 September 2005 - 09:47 AM.

Freedom cannot be equated with goodness, virtue, or perfection. Freedom has its own unique self-contained nature; freedom is freedom ? not universal goodness. Any confusion or deliberate equalization of freedom with goodness and excellence is in itself negation of freedom, and acceptance of the path of restraint and enforcement.

Nikolai Berdyaev - Christian Existentialist, Philosopher of Freedom.


The Longer Road mod
Redemption mod
Bitter Grey Ashes


#2 SimDing0

SimDing0

    GROUP ICON

  • Member
  • 1654 posts

Posted 23 September 2005 - 03:15 AM

This changes the chosen Global. YYYYYY is GLOBAL, LOCAL or an area filename (AR####).

"LOCAL" here should be "LOCALS".
Repeating cycle of pubes / no pubes.

A Comprehensive Listing of IE Mods