Handy Console Commands for Testing/Debuging

This forum is for all those who are or want to create content for the Realms of Trinity world.
AGhost_7
Posts: 2574

Handy Console Commands for Testing/Debuging

Post#1 » Sat May 17, 2014 1:31 pm

DebugMode

Arguments: 1 for activating it and 0 for turning it off.

Details: You're going to need to turn this one on to get all feature working? Also displays where the triggers are placed.


dm_enablecombatdebugging

Arguments: 1 for activating it and 0 for turning it off.

Details: This command will enable and display additional information about how attacks, damage, and saving throws are computed. Extremely reliable and offers a good deal of details for better details on what is going on behind the scenes.


dm_getvarint

Arguments: The string value of the variable's name.

Details: Fetches the local variable on the target object and prints it to the console. Mind you, I usually just put prints in my code, but it can come in handy.


dm_getvarstring

Arguments: The string value of the variable's name.

Details: Same as the above but for string local variables.


dm_getvarfloat

Arguments: The string value of the variable's name.

Details: Same as the above but for float local variables.


dm_giveXP

Arguments: the amount of XP that you want to give.

Details: Make sure to have your character selected, otherwise it doesn't seem to work.


dm_givegold

Arguments: The amount of gold that you want to give.

Details: Handy when you need to identify gear and you don't have any gold...


dm_jumptopoint

Arguments: The x and y location to go to along with the tag of the area.

Example: dm_jumptopoint 100 100 trinity

Details: I haven't ever used this before, but I figured it could be useful for destructive testing?


dm_movetoarea

Arguments: Just the tag of the area.

Details: Same as the above...


Source: http://gameofthrones.net/resources/57-technical-documentation/495-nwn2-console-commands.html

Return to “Content Contributor's Corner”

Who is online

Users browsing this forum: No registered users and 1 guest

cron