Разработка
Информация про движек OpenNox.
Информация про движек OpenNox.
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:
racoiaws
OpenNox 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.
image
This 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 wiz01a
In 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 god
To disable:
unset god
Note 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 god
To disable:
cheat god 0
For additionally getting all spells see cheat sage, or set god.
A cheat for getting all class spells, scrolls and/or abilities.
cheat sage
To disable:
cheat sage 0
A cheat for getting all spells.
For getting class spells:
cheat spells
For getting class spells with a specific spell level:
cheat spells 3
To get all spells, even hidden ones:
cheat spells all
A cheat for getting all beat scrolls.
cheat scrolls
To disable:
cheat scrolls 0
Teleport to given coordinates or a waypoint.
For teleporting to coordinates (X, Y):
cheat goto 1000 2000
For teleporting to a waypoint:
cheat goto MyWaypoint
Spawn a given item or monster at the player’s position.
Command accepts IDs returned by the list command.
cheat spawn OblivionOrb
cheat spawn Mimic
It is also possible to specify a number of items to spawn:
cheat spawn RedApple 5
Adds specified amount of gold to all players.
cheat gold 10000
Sets or restores health for the character.
Without arguments, command will restore health to maximum:
cheat health
You can also specify desired health value:
cheat health 999
Sets or restores mana for the character.
Without arguments, command will restore mana to maximum:
cheat mana
You can also specify desired mana value:
cheat mana 999
Removes equipment requirements from all items. In other words, any class can equip and use any armor/weapons.
cheat equip.all
To disable it:
cheat equip.all 0
Allows charming any hostile creatures and NPCs (including scripted ones, humanoids, etc).
cheat charm.all
To disable it:
cheat charm.all 0
The game may become unstable and crash, when using this command!
Remove the limit for the number of summoned creatures.
cheat summon.nolimit
To disable it:
cheat summon.nolimit 0
This 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.