Section: CrossFire Game Server Manual (6)
Updated: Feb 04 2004
Index Return to Main Contents


crossedit - A map-editor for the game Crossfire.  


crossedit [-debug] [-pix] [-e <map_level> | <height>x<width>]  


crossedit enables you to design maps for the game Crossfire.  


Enable debug
Use pixmaps instead of fonts.
Specify the level of the map to edit after this argument. Alternatively, if it is a new level, you can specify its size in the format "<height>x<width>"


If you start crossfire with the -e <map-level> option, you will enter the editor and be allowed to change a map. If the level you specified doesn't exist, you will start creating a new (remember to specify the name of the level before clicking on the save button).

To change a map, select items from the list of archetypes by moving the scrollbar with the left and right mouse-button, and then clicking on any item. You can also click on any of the backgrounds displayed above the list of archetypes. After you have selected something, you can put it into the map by pressing the left mousebutton. To put something on top of another thing, use the right mouse button. To remove all items on one spot, first choose the background which is empty (the last one) and then click the left button somewhere on the map. If you use the right instead, only the top item will be deleted. You can do any of these things repeatedly by holding down the button in question and move the mouse around. To scroll the map-window, use the cursor keys or press the middle button on the mouse while pointing on the scrollbars.

To save a map, click on the save button. Check that you have specified the map-name before doing this (in case you started editing on a new map). To load another map, just click in the "Level:" button and type in a new level (followed by return) and then click on the load button. The width and height of a map can be changed by clicking on the respective button and typing in a new number (followed by return). The position that the players enters the map on can be changed by clicking on either of the "start" buttons and then clicking someplace on the map.

To change where an exit-object leads, click on it (after having placed it on the map) with the middle mouse button. Then change "Level:", "X:" and "Y:" by clicking and typing. If it's level is 0, it automatically leads to the next level. If X and Y is 0, the players will start in the default start positions on the next level. Some other items can also be edited in the same fashion, like gates, buttons, handles, holes, teleporters, etc.  


Global objects which can be put on the maps are stored here.
A list of all maps, and their corresponding number is kept here.
The files which contains the background of the maps.
The files which contains the objects of the maps.




Please let me know about any bugs you find in the game. I know there are plenty of them, and some are mentioned on the TODO file which is supplied with the game.  


Copyright (C) 1992 Frank Tore Johansen (

Authors and contributors to this program: (Frank Tore Johansen) (Kjetil Torgrim Homme) (Tyler) (Tony Elmroth) (Dougal Scott) (William) (Geoff Bailey) (Kjetil Wiekhorst J/orgensen) (Cameron Blackwood) (Joseph L. Traub) (Rupert G. Goldie) (Eric A. Anderson)
eneq@Prag.DoCS.UU.SE (Rickard Eneqvist) (Jarkko Sonninen)
kholland@sunlab.cit.cornell.du (Karl Holland) (Mikael Lundgren) (Mikael Olsson)