How to use mapc


Mapc is a program designed to compile the levels made with Radiant to make them usable in Neverball and Neverputt. All instructions are based upon using command lines. Note that the maximum number of lumps a map can have is 1024. (1.4.0 only)

Base Usage

Be sure the map(s) you want to compile are in the root Neverball directory. Then input the following (be sure you include a .map extension after the name of the file)

mapc [%MAPNAME%] [%MTRL%] 

This will output a file called [%MAPNAME%].sol. Now you can put this in the appropriate directory. Normally, use data for [%MTRL%].

Example

For this example, file easy.map will be used. This file should be in the root directory of Neverball, then, inside the root directory,

mapc easy.map data

Relative Usage

Caution: You may have to use backward slashs if you use Windows.

You can compile maps in another directory other than the root, just add the appropriate relative location. Use .. for parent directory and specify directory name for the name of the directory…

Example

For this example, file easy.map will be used. This file should be in the data directory of Neverball, then, inside the root directory,

mapc data/easy.map data

Or if you are in the data directory:

../mapc easy.map .

Output

This example is based on compiling a very simple map using the R948 compiler.

StartWalledLumpX.sol (10/$0)
  mtrl  vert  edge  side  texc  geom  lump  path  node  body
     4    32    66    24    20    52    10     0     3     1
  item  goal  view  jump  swch  bill  ball  char  indx
     0     0     0     0     0     0     1     0   312

The first number in parenthesis is the number of structural lumps. More structural lumps means the map is more CPU hungry. Having it go too high can cause trouble on older systems. You also need to take the vert into account. These are your vertices, and having it too high can also cause trouble on older systems. Another factor to consider is the indx. Having it so high will literally slow down performance on all systems.

 
mapc.txt · Last modified: 2009/07/17 03:03 by challengespaceyard
 
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki