Tweak guides has a full list of debug commands posted on their fantastic NWN2 TweakGuide section.
The command console in Neverwinter Nights 2 allows users to apply various tweaks or changes to the game 'on the fly' while playing. To open and close the console, press the '~' key (or the key above TAB and/or below ESC) on your keyboard. To implement a console command, simply type its name along with any parameters required. Importantly, for many commands to work, you will need to first enable debug mode by entering the following into the console then pressing ENTER:
DebugMode 1
Note that console commands are case sensitive, so entering debugmode 1 for example won't work, it needs to be exactly as shown, i.e. DebugMode 1. The full list of console commands is provided further below in alphabetical order, however I provide full descriptions for the most useful commands first:
showfps - Toggles the frames per second (fps) display on/off.
trees - Toggles the rendering of all trees on/off. Useful for temporarily improving FPS in outdoor areas.
renderwater - Toggles the rendering of water on/off. Useful for temporary FPS boost in areas with water.
rain [0,1] - Toggles rain effects on if set to 1, off if set to 0.
daynight - Toggles the day/night cycle.
wireframe - Toggles wireframe mode on/off, useful for seeing the amount of detail actually being rendered/calculated in any area, even if it's not directly visible on screen.
gfxoptions - Brings up a special Graphics Options dialog box with a multitude of graphics-related settings you can change, including shadow intensity, toggling the day/night cycle, toggling rain on/off and altering the Bloom lighting parameters.
rs kr_roster_edit - Opens the NWN2 Companion Roster Editor, with a proper interface for adding, removing and altering various parameters for companions.
SetSTR, SetDEX, SetCON, SetINT, SetWIS, SetCHA [Value] - Right-click select a target, and use these commands to alter the relevant attribute to the value you wish. For example, right-click select your own character and use SetSTR 18 to give him/her 18 Strength.
givefeat [ID or all] - Select a character then use this command with the appropriate feat ID/name to give them that feat, or use 'all' to give them every feat.
giveitem [ID] [Number of items] - Select a character then use this command to give a particular item to the character, along with how many of that item to give. The list of ID tags for items can be found by launching the NWN2 Toolset, going to the Plugins menu item, selecting 'Universal Blueprint Changer', then selecting Items in the new dialog box and finding the appropriate name under the Tag column.
givespell [iD] - Select a character then use this command to give a particular spell to the character. The spell IDs can be found by launching the NWN2 Toolset, going to the View>2DA File menu option, then selecting the Spells file and using the number under the Name column.
givexp [value] - Select a character then use this command to give them the specified number of experience points.
dm_givegold [value] - Right-click select a character then use this command to give them the specified amount in gold pieces.
dm_god - Enables God mode, meaning you can't be killed.
The following are all the 181 console commands for Neverwinter Nights 2. Aside from DebugMode needing to be enabled for most of them to work, remember that many of them require you to either be the active character, or right-click select a particular character to apply a command successfully.
aabboxes
ambient
anim_blend
animation
animglod
animlod
anims
attachcamera
auditfeats
auditspells
automemorize
axes
base
blurradius
border
bugreport
c2
c3
camera_debug
camera_debug_full
camera_debug_los
capsules
clientstats
creatures
cutscene
cutscene_override
daynight
daynightscale
daytime
debugcam
DebugMode
debugtext
depthbatch
depthbatchindex
diffuse
DirShadowDepthBias
DirShadowSlopeScaleDepthBias
dm_givegold
dm_god
dm_jumptopoint
dropshadows
dumpmemory
dumptextures
emo_blend
EnableCombatDebugging
envshadows
exportchar
ffxbase
flicker_lights
fog
frecam
frusta
full
gfxoptions
givefeat
giveitem
givespell
givexp
glowintens
glows
hiliteintens
hilitethresh
hookpoints
irolltwenties
island
killgui
lights
loadgame
loc
loggameeffects
logrunscript
logserverai
lokkat
memstats
minimapsave
mipfilter
mousepick
mousepos
NetProfile
NetProfileReport
normals
obb_all
obb_cdoor
obb_sdoor
obb_water
obboxes
occlusion
partyadd
partyremove
paths
pbn
perception
physics
playbyname
PointShadowDepthBias
pointshadows
PointShadowSlopeScaleDepthBias
polymorph
portraitsave
possesscompanion
printactions
printcombatdata
printcreatures
printeffects
printfactiontable
printfeats
printglobalvars
printlevelstats
printlistenexpressions
printlocalvars
printperception
printrepository
printreputation
printscripts
profiling
rain
ReigidPointShadowZBias
removefeat
renderpc
renderwater
resetlevels
resetpackage
resetstats
resourcestats
RigidDirShadowZBias
rosteradd
rs
runscript
savedaynightstage
savegame
sceneintens
scriptprofiling
SelfDirShadowDepthBias
SelfDirShadowSlopeScaleDepthBias
SelfPointShadowDepthBias
SelfPointShadowSlopeScaleDepthBias
serverstats
SetCHA
SetCON
SetDEX
SetINT
setstatsdepth
SetSTR
SetWIS
shadowmap
shadows
showattacks
showcomments
showfps
showscriptcalls
showstats
showtriggerevents
skels
SkinDirShadowZBias
SkinPointShadowBias
sky
snow
softshadows
solid
specular
spheres
stats
surface
surfaceonly
takedamage
TerrainDirShadowDepthBias
TerrainDirShadowSlopeScaleDepthBias
TerrainDirShadowZBias
texfilter
textborder
tint
toggleserver
trees
unpolymorph
usebehavior
usescriptset
verifymemory
voiceover
wami
waterreflections
wireframe
Head over to the Tweak Guide for more information: http://www.tweakguides.com/NWN2_1.html
Recent comments
2 years 19 weeks ago
2 years 19 weeks ago
2 years 19 weeks ago
2 years 25 weeks ago
2 years 26 weeks ago
2 years 42 weeks ago
2 years 42 weeks ago
2 years 47 weeks ago
2 years 47 weeks ago
2 years 50 weeks ago