What's the use of map_*.qc files?

These files are the waypoints of some maps for Frogbot. You can find these in 'Maps' page. When you've downloaded these (I expect you to have the Frogbot source and compilers too), follow these steps to support the new map:

Note: If you want to only add waypoints to Frogbot, it is better and more efficient to use ZeCyber's CompileUtil program. But if you plan to add something more to Frogbot + map waypoins, go on and read this tutorial.

1) Now put your map_levelname.qc in the source directory. The directory structure has to look like this e.g. : c:\quake\frogbot\src.
2) Put the precc and proqcc programs there too (you can find these in '.Qc' page.)
3) Download this
batch-file and put it in your source directory also.
4) In the source dir open the file preprogs.src, if it doesn't excist run the bat file first. In that file insert the line "map_levelname.qc" (without the qoutes). To keep it orderly put it on the end between all the other map_levelnames.qc . Save the file.
5) Open marker.qc and find the structure LoadMarkers ( in wordpad press pgdown 11 times ). It should look something like this:

void() map_dm6;
void() map_dm4;
void() map_ztndm3;

after these lines add: void() map_levelname; Scroll up to the section that looks like this :

sprint(" is not a supported map.\n");
sprint("The list of supported maps is:\n");
sprint("dm4, dm6, ztndm3.\n");

You should include the map name after the 'ztndm3'. Although it is not necesarry, it might be useful. Scroll down to the section that looks like this:

if (mapname == "dm6") map_dm6();
else if (mapname == "dm4") map_dm4();
else if (mapname == "ztndm3") map_ztndm3();

after these lines add: else if (mapname == "levelname") map_levelname();Save and close the file.
6) Now if I haven't forgotten anything, run the batch file , and the compiling begins.If you've put the soource in c:\quake\frogbot\src there now will be a new progs.dat in the c:\quake\frogbot directory.
7) Start quake and the frogbot, start the level, add some bots, and get slaughtered.
8) Pay a visit to
http://www.telefragged.com/metro and thank Robert Field for the great bot .

Justice

The author of this page is Andrius 'Wrecker' Jovaisa. Page is made using Frontpage Express by Microsoft, and some .html code added with Notepad. Best viewed in 800x600 resolution with small fonts or 1024x768 with small fonts. Site was created in 26th of October, 1998. Page is hosted by Botepidemic, which is hosted by Telefragged - the best Quake/II/IIIarena news site on the net!