Battle EDitor Commands

BED Console Commands
bedstart
Starts the battle editor.
bedstop
Stops the battle editor.
mapfilepath <path>
Sets or displays map file path.
With no arguments, command displays current map file path.
<path> changes current map file path to one specified.
NOTE: <path> should be full path from anadata root. EXP: battle/mymap
bedsave [<filename>[.bed]]

Saves the current battle script.
string = path/filename
If no string is specified saves as currently loaded .BED or

bedload [<filename>[.bed]] | <number>

Loads a battlescript.
filename = path/filename | number = battle # to load for current map.
If no load filename | number is specified and a battle script is currently loaded, reloads current .BED.

bedtemp [<filename>[.bed]]
Load a BED Template.
filename = template name located in /battle/templates/
bedselectentity <string>
Select by entity name (doesn't work?).
string = entity name
bednew
Creates a new node.
(Bound to NUMPAD 0)
beddelete
Deletes currently selected node.
(Bound to NUMPAD .)
bedradius <int>
Sets battle cylinder radius (Doesn't work?).
int = radius
bedaddradius <int>
Adds to current battle cylinder radius (Doesn't work?).
int = radius to add
bedselectnext
Select the next entity.
bedselectuid <UID>
Select by UID.
uid = UID of the node to select
bedtoggleall
Toggles all nodes on.
For viewing node paths?
bedvolume <radius> |& [<height>] |& [<x>|&<y>|&<z>] | <0>
Changes battle cylinder stats.
No arguments shows current battle cylinder stats and help.
<radius> = change battle cylinder radius.
<height> = change battle cylinder height. must be proceeded by a <radius>.
<x> = change cylinder x plane location. must be proceeded by <radius> & <height>.
<y> = change cylinder y plane location. must be proceeded by <radius>, <height>, & <x>.
<z> = change cylinder z plane location. must be proceeded by all previous arguments.
<0> to disable battle volume display.
NOTE
: Once display is turned off it cannot be turned back on without reloading .BED file.
bedvoladj <r|h|x|y|z > < +value | -value>
|
bedvoladj <center | default>
Adjusts battle cylinder volume.
<center> = center cylinder to current camera location.
<default> = resize battle cylinder to default battle size.
<r> <+value | -value> increases or decreases battle cylinder radius.
<h> <+value | -value> increases or decreases battle cylinder height.
<x|y|z> <+value |-value> moves battle cylinder in x|y|z plane by +value|-value units.
bedrotate <degrees>
Rotates the currently selected node.
degrees = degrees to rotate the node.
NOTE: x plane only!
bedrotate 15 (Bound to NUMPAD /)
bedroate -15 (Bound to NUMPAD -)
bedmoveaway <units>
Moves the currently selected node a specified number of units to the away.
NOTE: Directional away is based on current viewpoint.
units = number of units to move
bedmoveaway 5 (Bound to I)
bedmoveaway -5 (Bound to K)
bedmoveright <units>
Moves the currently selected node a specified number of units to the right.
NOTE: Directional right is based on current viewpoint.
units = number of units to move.
bedmoveright -5 (Bound to J)
bedmoveright 5 (Bound to L)
bedincrement <*value|/value|+value|-value>
Unknown.
bedmousemove
Allows currently selected node movement using mouse (Bound to SPACE).
bedsetmanagermove
Sets relative mode (Bound to R).
bedclearmanagermove
Unsets relative mode.
NOTE: you can just retype bedsetmanagermove to unset as well.
bedsnap <gridsize>
Sets gridsize snapping.
gridsize = interger grid size to snap node omovements too.
bedsetkey <keyname> <value>
Adds a key and a value to currently selected node.
keyname = stringname of the key. value = string or interger value of keyname
bedkillkey <keyname>
Deletes a key.
keyname = stringname of key on node to delete
bedclass <key>
Sets current node's classname.
key = classname. Usually an entity specified in entity.dat
bedalistadd
Adds to currently selected node's alist.
Usage: Unknown
bedclearalist
Clears currently selected node's alist.
bedsetmove
Unknown.
bedclearmove
Unknown.
battlestart <int>

Starts a battle # on currently loaded map.
int = battle #

battlewin
Automatically win the currently running battle.
battlerotateselect
 
battleselect <uid>?
 
battlecancel
Cancel the currently running battle (doesn't work?).
battleclick
 
battlenextplayer
 
forceattack <0|1|attack script name>
Force attack 0(Miss) | 1(Beat) | attack script name(Magic | special attackl)?
NOTE: attack script name must be a valid script in /scripts/monster/. See GDB/Enemy Creation.
deadmode
Sets player to 1 HP non attackable.
battlequeue
Shows all player commands in queue.
battledump
Shows battle information.
Format:
UID Entity # xyz position Link # Desync xyz position
UID Entity #
replaceguy <nodelabel> <gdbname>
 
btest
 
setcharactertalk
 
browse
Opens a dialog to browse for a filename to load.
NOTE: crashes Anachronox on my machine!
spawnactivecharacters
 
dumpaniminfo
 
killparty
Kills the party? Doesn't work.
applyeffect sdflkj <p || m> <effectname>
 
infobartest <command>
where command (and arguments) is/are:
startup - initialize the infobar DO THIS FIRST!!!
base "<text>" - set the base text
temp "<text>" - add a temp string
shutdown - stop the infobar system
normal_3d_rmb_callback
 
getgun
Supposed to give you a gun for battle testing. Seems the GDB was removed with final release of Anachronox.
Use #window 1:86(/gameflow/global99.ape)
henrik_test
Spits out some average random number?
setpartylevel <level>
Change party level.
level = Level to change too.
applylevelconfiguration <string>
Applies the level configuration for current .map specified in /objects/levels.gdb.
clamppartyleveltominimum <level>
Sets some minimum party level.
bedyaw <degrees>
Rotates the currently selected node.
degrees = degrees to rotate the node in the x plane.
NOTE: Same as bedrotate?
bedpitch <degrees>
Rotates the currently selected node.
degrees = degrees to rotate the node in the y plane.
bedroll <degrees>
Rotates the currently selected node.
degrees = degrees to rotate the node in the z plane.
bedscale <uniform scalar> | <valuex> <valuey> <valuez>
Scales the currently selected .md2
<uniform scalar> = scale model in all planes.
<valuex> = scale model in x plane only. exp: <90x> ; increases model size by 90 units in the x plane.
<valuey> = scale model in y plane only. exp: <-90x> ; decreases model size by 90 units in the y plane.
<valuez> = scale model in z plane only.
bedmovex <x-axis units>
Moves node a number of units in the x plane.
<x-axis units> = number of units to move
bedmovey <y-axis units>
Moves node a number of units in the y plane.
<y-axis units> = number of units to move
bedmovez <z-axis units>
Moves node a number of units in the z plane.
<z-axis units> = number of units to move
bedincrement <*n or /n or +n or -n>
 
rca
 
rcf
 
approachfortalk
 
enablepickup <uid>
 
pickup <uid>
 
fireflare
 
physicsoverride
 

bed_animatecylinder

makes the battle cylinder colors rotate cyclonically in the x plane.
addbattle <name> <repeat 1/0>
 
resetbattle <name || *>
 
caminit <explore|anox|mario|cylinder |firstperson>
 

 


Mouse and Keyboard Controls
NUMMPAD /
bedrotate 15
NUMPAD -
bedrotate -15
NUMPAD 0
bednew
NUMPAD .
beddelete
I
bedmoveaway 5
K
bedmoveaway -5
J
bedmoveright -5
L
bedmoveright 5
T
bedscale -.05
Y
bedscale +.05
HOME
bedselectentity ++
END
bedselectentity --
Left Mouse Button
 
CTRL
bedselectentity 0 (doesn't work?)
Q
bedselectnext
R
relative mode
F12
bedsave
F6
sensitivity 0 Kills 3d mouse movement to select 2d screen options
F7
sensitivity 2;m_pitch 0.1;m_yaw 0.1 restores 3d mouse movement.
NOTE: If you cannot restore 3d movement, click anywhere on screen where no element exists to deselect current 2d element, then invoke.
TAB
bedsnap 32
Right Mouse Button
 
Middle Mouse Button
 
SPACE
togglemousemove
F1
togglecam
N
Toggle noclip

 


Alias's
togglecam_on
caminit cylinder
togglecam_off
camkill
togglecam
togglecam_on
mousemove_on
bedmousemove; sensitivity 0
mousemove_off
bedmousemove; sensitivity 2
togglecam
togglecam_on
togglemousemove
mousemove_off
togglemousemove
mousemove_on
togglemousemove
mousemove_on
togglecam
togglecam_off

 



Battle/APE Commands
battlestart <int>

Starts a battle # on currently loaded map.
int = battle #

battlewin
Automatically win the currently running battle.
battlerotateselect
 
battleselect <uid>?
 
battlecancel
Cancel the currently running battle (doesn't work?).
battleclick
 
battlenextplayer
 
forceattack <0|1|attack script name>
Force attack 0(Miss) | 1(Beat) | attack script name(Magic | special attackl)?
NOTE: attack script name must be a valid script in /scripts/monster/. See GDB/Enemy Creation.
deadmode
Sets player to 1 HP non attackable.
battlequeue
Shows all player commands in queue.
battledump
Shows battle information.
Format:
UID Entity # xyz position Link # Desync xyz position
UID Entity #
replaceguy <nodelabel> <gdbname>
 
btest
 
setcharactertalk
 
browse
Opens a dialog to browse for a filename to load.
NOTE: crashes Anachronox on my machine!
spawnactivecharacters
 
dumpaniminfo
 
killparty
Kills the party? Doesn't work.
applyeffect sdflkj <p || m> <effectname>
 
infobartest <command>
where command (and arguments) is/are:
startup - initialize the infobar DO THIS FIRST!!!
base "<text>" - set the base text
temp "<text>" - add a temp string
shutdown - stop the infobar system
normal_3d_rmb_callback
 
getgun
Supposed to give you a gun for battle testing. Seems the GDB was removed with final release of Anachronox.
Use #window 1:86(/gameflow/global99.ape)
henrik_test
Spits out some average random number?
setpartylevel <level>
Change party level.
level = Level to change too.
applylevelconfiguration <string>
Applies the level configuration for current .map specified in /objects/levels.gdb.
clamppartyleveltominimum <level>
Sets some minimum party level.
rca
 
rcf
 
approachfortalk
 
enablepickup <uid>
 
pickup <uid>
 
fireflare
 
physicsoverride
 
resetbattle <name || *>
 
caminit <explore|anox|mario|cylinder |firstperson>
 

 

 

Currently all camera commands are basically unknown

 


Battle_manager Keys?: volumeheight | volumeradius

 

 

CAM

u_e_cam_fardist
cam_fardist
u_e_cam_lift
cam_lift
u_e_cam_lagfactor
cam_lagfactor
u_e_cam_fwddist
cam_fwddist

invisible hit counter