home *** CD-ROM | disk | FTP | other *** search
- ******************************
- * Makebrush v0.3 *
- ******************************
- * (c) by Lars Bensmann *
- ******************************
-
- Introduction
- ------------
-
- This utility is for everyone who wants to try making a Quake MAP-file.
- It will make the most difficult part way easier. You don't have to care
- about those numbers in the brushes anymore.
-
-
- How does it work?
- -----------------
-
- Well, it's really easy.
- Just type:
-
- makebrush [option] [texture] (Linux version)
- makeb [option] [texture] (DOS version)
-
- Makebrush will then ask you how many points your object has. Just enter
- the correct value and then enter the coordinates from all the corner
- points of your object.
-
- Because cubes and planes are pretty common in level design, makebrush has
- to special modes to handle them (Of course can you use the regular mode for
- those as well if you like typing).
-
-
- Defining cubes
- --------------
-
- Enter '1' to the first question to define a cube. You need to know one point
- of your cube with all 3 neighboring points.
-
- +---------+ So if you enter P1 as you first point, the next points
- /| /| need to be P2, P3, and P4 (order is not important for
- P4 / | / | the last three points).
- +--+------+ +
- | / P3 | / Actually, you can define cubes in the plane mode pretty
- |/ |/ simple as well. So have a look which mode you like
- +---------+ better.
- P1 P2
-
-
- Defining planes
- ---------------
-
- Now let's get to the plane mode. Typing '2' at the beginning will put makebrush
- into the plane enter mode.
-
- In plane mode you can define any shapes that have the same thickness at every
- point (including cubes). First of all you have to tell makebrush how many
- corners the 2D plane has and then you have to enter a vector for the thickness.
- Because it is a vector, you are not restricted to horizontal planes.
-
- After this, you just have enter all the corner points of the 2D plane.
-
-
- And what happens now?
- ---------------------
-
- About 0.1 sec after entering the last value you will see your brush on
- the screen (if you entered points that make sense, e.g. if all points
- were on the same plane you had a pretty flat 3D-object or entering
- the same point more than once is also a pretty stupid thing to do.)
-
- If you specified 'texture' on the command line your brush will have the
- right texture already. If you didn't specify it, the field will default
- to 'BRICKA2_2'.
-
- I wrote this utility under Linux, so I just cut and paste the brush into
- my MAP-file. Maybe you can use it the same way in a Win95 DOS-box, but
- at least for all DOS users it is a little more complicated (for more
- information look at option '-q').
-
-
- Options
- -------
-
- Makebrush knows a few options entered from the command line:
-
- -h Gives you a pretty help screen
- -v# Set verbose mode: 0 Quiet mode
- 1 Regular mode
- 2 Debugging information
- 3 Who wants to read all this?
- -q Quiet mode (same as -v0)
-
- The Quiet mode is especially useful for DOS users, because 'makebrush'
- won't print any information except the actual brush. If you send the output
- of 'makebrush' to a file ('makeb /q [texture] > FILENAME') you get a file
- you can directly import in your MAP-file.
- The only problem with this mode is that you won't be prompted to enter any
- information. But after using 'makebrush' a couple of times in the regular
- mode, it shouldn't be a problem to enter the information blindly.
-
-
- Can I have the source code?
- ---------------------------
-
- If there should be interest in the source code, just mail me
- (lars@b-man.ruhr.de). But be warned: The source code isn't documented at
- all and it was a pretty quick and dirty hack.
-
-
- Thanks
- ------
- This whole thing was just made possible by the great Quake MAP Specs from
- Nicholas Dwarkanath. If you're interested in making a MAP-file get
- the latest version from http://www.infi.net/~nichd/qmapspec.html.
-
-
- Bugs
- ----
- Well, this program isn't too user-friendly, but it should do it's work.
- So please don't tell me that you cannot get back to correct your last entry
- or whatever, but if you find anything that produces wrong results, please
- tell me (lars@b-man.ruhr.de).
- When trying to generate larger brushes, I sometimes got an errors from
- 'QBSP' (AddBrushPlane: numbrushfaces == MAX_FACES). Well, I thought maybe
- the object has to many faces, but I got this error even on an object with
- just seven planes. And my object with the most faces that compiled correctly
- had 9 planes. If anybody has an idea if this is a limitation of the
- Quake engine or QBSP or a bug in makebrush, please tell me.
-
-
- History
- -------
-
- 0.1 First release
-
- 0.2 Added command line switches
-
- 0.3 Added cube and plane mode
-
-
- Legal stuff
- -----------
-
- I don't promise this program will do anything useful. It may work for you or
- it may not. It works for me that's all I can tell you.
-
-