Neverwinter Nights logo

Infogrames BioWare TSR


Disable all ads!

Neverwinter Nights Console Commands

The console is an area where you can type additional commands during game play.

Player Commands (Instructions for Player Commands)
d10 d12 d20 d4 d8 hidepartynames setchatbuffersize
d100 d2 d3 d6 makesafe showpartynames

Dungeon Master Commands (Instructions for DM Commands)
dm_allspells dm_enablecombatdebugging dm_getfactionreputation dm_getmodulevarfloat
dm_getvarfloat dm_getmodulevarobject dm_getmodulevarstring dm_getmodulevarint
dm_gettime dm_getmodulevarvector dm_getvarint dm_getvarobject
dm_getvarstring dm_getvarvector dm_giveXP dm_givegold
dm_givelevel dm_god dm_heal dm_jumptopoint
dm_modifySTR dm_modifyCHA dm_modifyCON dm_modifyDEX
dm_modifyINT dm_modifyattackbase dm_modifyWIS dm_modifyage
dm_levelup dm_modifysavefortitude dm_modifysavereflex dm_modifysavewill
dm_movetoarea dm_modifyspellresistance dm_runscript dm_setmodulevarint
dm_setCR dm_setfactionreputation dm_setattackbase dm_setvarint
dm_setCHA dm_setfactiondefender dm_settime dm_showarea
dm_setCON dm_setmodulevarfloat dm_setvarstring dm_setage
dm_setDEX dm_setmodulevarvector dm_setvarfloat dm_setfaction
dm_setINT dm_setmodulevarobject dm_setvarvector dm_setvarobject
dm_setSTR dm_setmodulevarstring dm_spawncreature
dm_setWIS dm_setspellresistance dm_setfactionenemy

Player Console Commands

The following console commands can be used at any point during game play. Simply hit the tilde (~) key and type in your command. For example to simulate rolling a 10-sided dice hit the ‘~’ key and type the following:

d10
Note: The ‘~’ key is not part of the actual command.

You will notice that hitting the ‘~’ key only brings up a cursor in the upper left-hand corner of your screen to continue typing.

The usage of each command requires typing the command, followed by zero or more parameters. The parameters do not need to be enclosed in '<' and '>'. These are simply used to indicate which items are parameters. If there is nothing shown enclosed in '<' and '>' following the command, this indicates the command requires no parameters.

For example to simulate rolling 10-sided dice five times, hit the ‘~’ key and type the following:

d10 5
Note: there should be a space between d10 and 5.

d10

Usage: d10 <x>
Where: x is an integer value specifying the number of dice to roll.
Description: This function will simulate rolling the specified number of 10-sided dice and display the result on screen.

d100

Usage: d100 <x>
Where: x is an integer value specifying the number of dice to roll.
Description: This function will simulate rolling the specified number of 100-sided dice and display the result on screen.

d12

Usage: d12 <x>
Where: x is an integer value specifying the number of dice to roll.
Description: This function will simulate rolling the specified number of 12-sided dice and display the result on screen.

d2

Usage: d2 <x>
Where: x is an integer value specifying the number of dice to roll.
Description: This function will simulate rolling the specified number of 2-sided dice and display the result on screen.

d20

Usage: d20 <x>
Where: x is an integer value specifying the number of dice to roll.
Description: This function will simulate rolling the specified number of 20-sided dice and display the result on screen.

d3

Usage: d3 <x>
Where: x is an integer value specifying the number of dice to roll.
Description: This function will simulate rolling the specified number of 3-sided dice and display the result on screen.

d4

Usage: d4 <x>
Where: x is an integer value specifying the number of dice to roll.
Description: This function will simulate rolling the specified number of 4-sided dice and display the result on screen.

d6

Usage: d6 <x>
Where: x is an integer value specifying the number of dice to roll.
Description: This function will simulate rolling the specified number of 6-sided dice and display the result on screen.

d8

Usage: d8 <x>
Where: x is an integer value specifying the number of dice to roll.
Description: This function will simulate rolling the specified number of 8-sided dice and display the result on screen.

makesafe (non-debug)

Usage: makesafe
Description: This function will move the player to a safe location, meaning a valid location in the area (ie. not in walls or on other creatures).

hidepartynames

Usage: hidepartynames
Description: This function will hide the names of party members displayed on the partybar GUI.

showpartynames

Usage: showpartynames
Description: This function will show the names of party members displayed on the partybar GUI.

setchatbuffersize

Usage: setchatbuffersize <x>
Where: x is an integer value indicating how many lines the chat window's buffer should be.
Description: This function will set the buffer size of the chat window buffer.

Dungeon Master Commands

The following list of commands that can be used by the Dungeon Master. To use each command simply hit the ‘~’ key, and type in the command.

You will notice that hitting the ‘~’ key only brings up a cursor in the upper left-hand corner of your screen to continue typing.

Players who wish to use these Dungeon Master commands, hit the ‘~’ key and then type in the following:

DebugMode 1

And then you will have full access to the commands. To shut this ability off, hit the ‘~’ key and then type in:

DebugMode 0

Important Note: Players do not have access to this command if playing on a server that does not allow it.

dm_allspells

Usage: dm_allspells <x>
Where: x is an integer value of either 0 or 1.
Description: This function will enable all spells from all classes to be cast by the player if a value of 1 is specified. Specifying 0 will disable this and the player will only be allowed to cast spells his/her character is permitted according to that character's class/abilities.

dm_enablecombatdebugging

Usage: dm_enablecombatdebugging <x>
Where: x is an integer value of either 0 or 1.
Description: This function will enable and display additional information about how attacks, damage, and saving throws are computed.

dm_getfactionreputation

Usage: dm_getfactionreputation <faction1> <faction2>
Where: faction1 is the name of a faction.
faction2 is the name of a faction.
Description: This function will retrieve the reputation value for how faction2 feels about faction1 and display it.

dm_getmodulevarfloat

Usage: dm_getmodulevarfloat <varname>
Where: varname is the name of the variable to get.
Description: This function will retrieve and display on screen the specified local variable from the module.

dm_getmodulevarint

Usage: dm_getmodulevarint <varname>
Where: varname is the name of the variable to get.
Description: This function will retrieve and display on screen the specified local variable from the module.

dm_getmodulevarobject

Usage: dm_getmodulevarobject <varname>
Where: varname is the name of the variable to get.
Description: This function will retrieve and display on screen the specified local variable from the module.

dm_getmodulevarstring

Usage: dm_getmodulevarstring <varname>
Where: varname is the name of the variable to get.
Description: This function will retrieve and display on screen the specified local variable from the module.

dm_getmodulevarvector

Usage: dm_getmodulevarvector <varname>
Where: varname is the name of the variable to get.
Description: This function will retrieve and display on screen the specified local variable from the module.

dm_gettime

Usage: dm_gettime
Description: This function will display the current game time of the module on screen.

dm_getvarfloat

Usage: dm_getvarfloat <varname>
Where: varname is the name of the variable to get.
Description: This function will activate action target mode. The specified local variable will be retrieved from the target you click and be displayed on screen.

dm_getvarint

Usage: dm_getvarint <varname>
Where: varname is the name of the variable to get.
Description: This function will activate action target mode. The specified local variable will be retrieved from the target you click and be displayed on screen.

dm_getvarobject

Usage: dm_getvarobject <varname>
Where: varname is the name of the variable to get.
Description: This function will activate action target mode. The specified local variable will be retrieved from the target you click and be displayed on screen.

dm_getvarstring

Usage: dm_getvarstring <varname>
Where: varname is the name of the variable to get.
Description: This function will activate action target mode. The specified local variable will be retrieved from the target you click and be displayed on screen.

dm_getvarvector

Usage: dm_getvarvector <varname>
Where: varname is the name of the variable to get.
Description: This function will activate action target mode. The specified local variable will be retrieved from the target you click and be displayed on screen.

dm_giveXP

Usage: dm_giveXP <x>
Where: x is an integer value indicating the amount of experience points to give.
Description: This function will activate action target mode. The target you click will be given the specified amount of experience points.

dm_givegold

Usage: dm_givegold <x>
Where: x is an integer value indicating the amount of gold to give.
Description: This function will activate action target mode. The target you click will be given the specified amount of gold.

dm_givelevel

Usage: dm_givelevel <x>
Where: x is an integer value indicating the number of experience levels to give.
Description: This function will activate action target mode. The target you click will be given enough experience points to advance the specified number of experience levels.

dm_god

Usage: dm_god
Description: This function will make the player invulnerable.

dm_heal

Usage: dm_heal
Description: This function will restore the player back to full hitpoints.

dm_jumptopoint

Usage: dm_jumptopoint <x> <y> <area>
Where: x is a floating point value indicating the x-coordinate in the area you wish to jump to.
y is a floating point value indicating the y-coordinate in the area you wish to jump to.
area is the area tag of the area you wish to jump to.
Description: This function will send the player to the specified x,y coordinate in the area specified.

dm_levelup

Usage: dm_levelup
Description: This function will advance the player by one level of experience.

dm_modifyCHA

Usage: dm_modifyCHA <x>
Where: x is an integer value indicating the amount to adjust the skill by.
Description: This function will activate action target mode. The target you click will have its base Charisma adjusted by the value specified. Positive values will cause an increase, while negative values will cause a decrease.

dm_modifyCON

Usage: dm_modifyCON <x>
Where: x is an integer value indicating the amount to adjust the skill by.
Description: This function will activate action target mode. The target you click will have its base Constitution adjusted by the value specified. Positive values will cause an increase, while negative values will cause a decrease.

dm_modifyDEX

Usage: dm_modifyDEX <x>
Where: x is an integer value indicating the amount to adjust the skill by.
Description: This function will activate action target mode. The target you click will have its base Dexterity adjusted by the value specified. Positive values will cause an increase, while negative values will cause a decrease.

dm_modifyINT

Usage: dm_modifyINT <x>
Where: x is an integer value indicating the amount to adjust the skill by.
Description: This function will activate action target mode. The target you click will have its base Intelligence adjusted by the value specified. Positive values will cause an increase, while negative values will cause a decrease.

dm_modifySTR

Usage: dm_modifySTR <x>
Where: x is an integer value indicating the amount to adjust the skill by.
Description: This function will activate action target mode. The target you click will have its base Strength adjusted by the value specified. Positive values will cause an increase, while negative values will cause a decrease.

dm_modifyWIS

Usage: dm_modifyWIS <x>
Where: x is an integer value indicating the amount to adjust the skill by.
Description: This function will activate action target mode. The target you click will have its base Wisdom adjusted by the value specified. Positive values will cause an increase, while negative values will cause a decrease.

dm_modifyage

Usage: dm_modifyage <x>
Where: x is an integer value indicating the amount to adjust the age by.
Description: This function will activate action target mode. The target you click will have its age adjusted by the value specified. Positive values will cause an increase, while negative values will cause a decrease.

dm_modifyattackbase

Usage: dm_modifyattackbase <x>
Where: x is an integer value indicating the amount to adjust the base attack bonus by.
Description: This function will activate action target mode. The target you click will have its base attack bonus adjusted by the value specified. Positive values will cause an increase, while negative values will cause a decrease.

dm_modifysavefortitude

Usage: dm_modifysavefortitude <x>
Where: x is an integer value indicating the amount to adjust the save value by.
Description: This function will activate action target mode. The target you click will have its fortitude save value adjusted by the value specified. Positive values will cause an increase, while negative values will cause a decrease.

dm_modifysavereflex

Usage: dm_modifysavereflex <x>
Where: x is an integer value indicating the amount to adjust the save value by.
Description: This function will activate action target mode. The target you click will have its reflex save value adjusted by the value specified. Positive values will cause an increase, while negative values will cause a decrease.

dm_modifysavewill

Usage: dm_modifysavewill <x>
Where: x is an integer value indicating the amount to adjust the save value by.
Description: This function will activate action target mode. The target you click will have its will save value adjusted by the value specified. Positive values will cause an increase, while negative values will cause a decrease.

dm_modifyspellresistance

Usage: dm_modifyspellresistance <x>
Where: x is an integer value indicating the amount to adjust the spell resistance by.
Description: This function will activate action target mode. The target you click will have its spell resistance adjusted by the value specified. Positive values will cause an increase, while negative values will cause a decrease.

dm_movetoarea

Usage: dm_movetoarea <area>
Where: area is the area tag of the area to move to.
Description: This function will move the player to the specified area.

dm_runscript

Usage: dm_runscript <script>
Where: script is the name of the script to run.
Description: This function will run the specified script.

dm_setCHA

Usage: dm_setCHA <x>
Where: x is an integer value indicating the value to set the ability score to.
Description: This function will activate action target mode. The target you click will have its base Charisma set to the value specified.

dm_setCON

Usage: dm_setCON <x>
Where: x is an integer value indicating the value to set the ability score to.
Description: This function will activate action target mode. The target you click will have its base Constitution set to the value specified.

dm_setDEX

Usage: dm_setDEX <x>
Where: x is an integer value indicating the value to set the ability score to.
Description: This function will activate action target mode. The target you click will have its base Dexterity set to the value specified.

dm_setINT

Usage: dm_setINT <x>
Where: x is an integer value indicating the value to set the ability score to.
Description: This function will activate action target mode. The target you click will have its base Intelligence set to the value specified.

dm_setSTR

Usage: dm_setSTR <x>
Where: x is an integer value indicating the value to set the ability score to.
Description: This function will activate action target mode. The target you click will have its base Strength set to the value specified.

dm_setWIS

Usage: dm_setWIS <x>
Where: x is an integer value indicating the value to set the ability score to.
Description: This function will activate action target mode. The target you click will have its base Wisdom set to the value specified.

dm_setCR

Usage: dm_setCR <x>
Where: x is an integer value indicating the challenge rating.
Description: This function will activate action target mode. The target you click will have its challenge rating set to the value specified.

dm_setage

Usage: dm_setage <x>
Where: x is an integer value indicating the value to set the age to.
Description: This function will activate action target mode. The target you click will have its age set to the value specified.

dm_setattackbase

Usage: dm_setattackbase <x>
Where: x is an integer value indicating the value to set the base attack bonus to.
Description: This function will activate action target mode. The target you click will have its base attack bonus set to the value specified.

dm_setfaction

Usage: dm_setfaction <x>
Where: x is the name of the faction to set the target to.
Description: This function will activate action target mode. The target you click will have its faction set to the one specified.

dm_setfactiondefender

Usage: dm_setfactiondefender
Description: This function will activate action target mode. The target you click will have its faction set to be a defender.

dm_setfactionenemy

Usage: dm_setfactionenemy
Description: This function will activate action target mode. The target you click will have its faction set to be an enemy.

dm_setfactionreputation

Usage: dm_setfactionreputation <faction1> <faction2>
Where: faction1 is the name of a faction.
faction2 is the name of a faction.
Description: This function will set the reputation value for how faction2 feels about faction1.

dm_setmodulevarfloat

Usage: dm_setmodulevarfloat <varname> <value>
Where: varname is the name of the variable to set.
value is a floating point value that varname will be set to.
Description: This function will set a local variable on the module with the specified name and value.

dm_setmodulevarint

Usage: dm_setmodulevarint <varname> <value>
Where: varname is the name of the variable to set.
value is an integer value that varname will be set to.
Description: This function will set a local variable on the module with the specified name and value.

dm_setmodulevarobject

Usage: dm_setmodulevarobject <varname> <value>
Where: varname is the name of the variable to set.
value is an object id value that varname will be set to.
Description: This function will set a local variable on the module with the specified name and value.

dm_setmodulevarstring

Usage: dm_setmodulevarstring <varname> <value>
Where: varname is the name of the variable to set.
value is a string that varname will be set to.
Description: This function will set a local variable on the module with the specified name and value.

dm_setmodulevarvector

Usage: dm_setmodulevarvector <varname> <x> <y> <z>
Where: varname is the name of the variable to set.
x is a floating point value indicating the x component of the vector.
y is a floating point value indicating the y component of the vector.
z is a floating point value indicating the z component of the vector.
Description: This function will set a local variable on the module with the specified name and value.

dm_setspellresistance

Usage: dm_setspellresistance <x>
Where: x is an integer value indicating the value to set the spell resistance to.
Description: This function will activate action target mode. The target you click will have its spell resistance set to the value specified.

dm_settime

Usage: dm_settime <h> <m> <s> <ms>
Where: h is the hour to set the time to.
m is the minutes to set the time to.
s is the seconds to set the time to.
ms is the milliseconds to set the time to.
Description: This function will set the game time in the module to the specified hour, minute, second, and millisecond.

dm_setvarfloat

Usage: dm_setvarfloat <varname> <value>
Where: varname is the name of the variable to set.
value is a floating point value that varname will be set to.
Description: This function will activate action target mode. The target you click will have a local variable set with the specified name and value.

dm_setvarint

Usage: dm_setvarint <varname> <value>
Where: varname is the name of the variable to set.
value is an integer value that varname will be set to.
Description: This function will activate action target mode. The target you click will have a local variable set with the specified name and value.

dm_setvarobject

Usage: dm_setvarobject <varname> <value>
Where: varname is the name of the variable to set.
value is an object id that varname will be set to.
Description: This function will activate action target mode. The target you click will have a local variable set with the specified name and value.

dm_setvarstring

Usage: dm_setvarstring <varname> <value>
Where: varname is the name of the variable to set.
value is a string that varname will be set to.
Description: This function will activate action target mode. The target you click will have a local variable set with the specified name and value.

dm_setvarvector

Usage: dm_setvarvector <varname> <x> <y> <z>
Where: varname is the name of the variable to set.
x is a floating point value indicating the x component of the vector.
y is a floating point value indicating the y component of the vector.
z is a floating point value indicating the z component of the vector.
Description: This function will activate action target mode. The target you click will have a local variable set with the specified name and value.

dm_showarea

Usage: dm_showarea
Description: This function will reveal all the tiles in the current area by removing the 'fog of war'.

dm_spawncreature

Usage: dm_spawncreature <creature>
Where: creature is the creature tag of the creature to spawn in.
Description: This function will effectively cause the player to summon the specified creature.


Amazon.com
Amazon.ca
Amazon.co.uk
Sorcerer's Place is a project run entirely by fans and for fans. Maintaining Sorcerer's Place and a stable environment for all our hosted sites requires a substantial amount of our time and funds on a regular basis, so please consider supporting us to keep the site up & running smoothly. Thank you!

Disable all ads!