It was born out of a need to create race courses easily, but the goal became a feature-rich, generic map editor that scripters can easily extend to use in their own gamemodes.
- Install the JC2-MP server.
- Install this script into the server's scripts directory.
- Install the latest racing script. It shouldn't require any settings tweaks.
Every control is listed on screen, you should have no problems. Look at the existing racing courses if you need help or inspiration. Have fun creating!
Documentation will be added eventually, but feel free to use the Racing script as an example. See:
- MapEditor/client/MapTypes/cMapTypeRacing.lua
- MapEditor/client/Objects/
- Racing/server/sCourse.lua
- Racing/server/sRacerBase.lua
Note, however, that the map editor API is currently rough and will certainly go through at least a small rewrite in the future.
- Inputs and outputs on objects. Connect the OnActivate checkpoint output to an explosion effect's Play input to make fireworks when people enter checkpoints.
- Moving objects. Create elevators, ceiling crushers, or a submarine that moves in a path around the map.
- Selecting objects is finicky.
- Lack of buttons for many functions, only keys.
- Modelviewer's selection of tagged and named models is limited.
- There is no fancy multi-player editor support and likely never will be.
- It's meant to run on a local server, not on a public server. If anyone asks for a /mapeditor command they will be tased.
You can import maps from the old Racing version using the client console command loadoldcourse.