Development
Information about the OpenNox engine.
Information about the OpenNox engine.
By default, Nox and OpenNox start with most commands disabled. This is done to prevent cheating in campaign. Most commands will not work in multiplayer, unless you are a server admin/host.
To enable all commands, open the console (F1 by default) and type:
racoiawsOpenNox does not support original RCON protocol.
Instead, it implements remote console via a builtin SSH server.
To get a list of all available commands, use help.
Here’s the list of the most interesting ones.
Take a screenshot and save it as a PNG image.
imageThis command contains various helpers for debugging.
Available sub-commands:
show bindings - show console bindings (macros).show extents - show names and sizes for all object on the screen.show ai - show AI paths and print all AI decisions to console.show gui - shows or hides graphical user interface.This command list various in-game spells, items, monsters, maps and players.
These commands print item IDs that can be the used with spawn command.
Available sub-commands:
list staffs - list all staffs and wands.list armor - list all armor.list weapons - list all weapons.list food - list all consumables.list monsters - list all monsters and NPCs.list spells - list all spells.list maps - list all maps.list users - list all players.This command switches current game map to the one specified:
load wiz01aIn vanilla Nox, not all maps can usually be loaded. For example, it’s impossible to load campaign maps in multiplayer.
OpenNox allows removing those restrictions via set maps allow.all.
A vanilla cheat for invulnerability, all spells and infinite mana.
set godTo disable:
unset godNote that using this cheat will cause the character to learn all spells up to the maximal level. This cannot be reversed, even if the cheat is disabled. See cheat god if you only need invulnerability and infinite mana.
These commands allow more controls for Nox Quest game mode. See this page for details.
These commands allow more controls for game map loading.
set maps allow.all - disable game mode checks when loading the map; allows loading campaign in multiplayer, etcA cheat for invulnerability and infinite mana.
cheat godTo disable:
cheat god 0For additionally getting all spells see cheat sage, or set god.
A cheat for getting all class spells, scrolls and/or abilities.
cheat sageTo disable:
cheat sage 0A cheat for getting all spells.
For getting class spells:
cheat spellsFor getting class spells with a specific spell level:
cheat spells 3To get all spells, even hidden ones:
cheat spells allA cheat for getting all beat scrolls.
cheat scrollsTo disable:
cheat scrolls 0Teleport to given coordinates or a waypoint.
For teleporting to coordinates (X, Y):
cheat goto 1000 2000For teleporting to a waypoint:
cheat goto MyWaypointSpawn a given item or monster at the player’s position.
Command accepts IDs returned by the list command.
cheat spawn OblivionOrb
cheat spawn MimicIt is also possible to specify a number of items to spawn:
cheat spawn RedApple 5Adds specified amount of gold to all players.
cheat gold 10000Sets or restores health for the character.
Without arguments, command will restore health to maximum:
cheat healthYou can also specify desired health value:
cheat health 999Sets or restores mana for the character.
Without arguments, command will restore mana to maximum:
cheat manaYou can also specify desired mana value:
cheat mana 999Removes equipment requirements from all items. In other words, any class can equip and use any armor/weapons.
cheat equip.allTo disable it:
cheat equip.all 0Allows charming any hostile creatures and NPCs (including scripted ones, humanoids, etc).
cheat charm.allTo disable it:
cheat charm.all 0The game may become unstable and crash, when using this command!
Remove the limit for the number of summoned creatures.
cheat summon.nolimitTo disable it:
cheat summon.nolimit 0This commands runs given LUA code.
For example, to replicate cheat spawn RedApple with LUA:
apple = Nox.ObjectType("RedApple")
p = Nox.Players.host
apple:Create(p)In the console, each line must start with lua command:
lua apple = Nox.ObjectType("RedApple")
lua p = Nox.Players.host
lua apple:Create(p)Notice that variables defined in one lua commands can be used in other ones.
It’s also possible to write a multi-line command in a single line:
apple = Nox.ObjectType("RedApple"); p = Nox.Players.host; apple:Create(p)or
Nox.ObjectType("RedApple"):Create(Nox.Players.host)For more information about LUA scripting, see this page.