Box Models

From SynQ

Jump to: navigation, search

Image:brushmodels.jpg

Box models are the health boxes and ammo boxes, technically these are called "brush models". They are square, are actually "maps", do not receive lighting from the map and, like all the other maps, the source was released under the GPL.

In Quake, weapons and armor are true models and just about anything that looks like a rectangle is a brush model (mini-map).

[edit] Retexturing Brush Models

image:boxes1.png

Brush models are mostly in pak0.pak (use Pakscape to explore) in the maps folder.

Brush models are actually maps and the sources were GPL'd like the rest of the Quake map sources. You compile them just like a map with qbsp or another map compiler. They have the texture inside, just like a map.

And after compiling them, you light them just like a map! Did you ever notice that health boxes/ammo boxes and such are fully visible even in the darkest parts of a map and are unaffected by shadows?

Brush models have their own lighting. In fact, this is one of the reasons that using an .md3 replacement model for brush models can be annoying because an .md3 is treated by the engines as a regular model and can be obscured in shadows.

Like maps, brush models are inherently limited to the 256 color Quake palette and the textures must be put in a WAD file for compiling using TexMex or another WAD editor.

And like maps, you can use 24-bit replacement textures put in c:\quake\id1\textures in newer engines to have better looking and higher resolution brush models. To find out the names, you can use bsp2wad to extract the texture names, but really it would just be easier to download, for example, this replacement set (it is a pk3, Pakscape can open it) which is already in .tga format to look at the names.

Like maps, brush models can have animated textures in them and, in fact, many of them do. Textures beginning with a +0somename are the start of a sequence where the next one is +1somename and so forth.

[edit] List of the brush models

  • B_BATT0.MAP - Small cells box for lightning gun
  • B_BATT1.MAP - Large cells box for lightning gun
  • B_BH10.MAP - "Rotten" health box that gives you 15 health
  • B_BH100.MAP - Mega health
  • B_BH25.MAP - Regular health box
  • B_EXBOX2.MAP - Little exploding box like on E2M1 (pak1.pak!)
  • B_EXPLOB.MAP - Big exploding box like on E1M1
  • B_NAIL0.MAP - Small nails box (25 nails?)
  • B_NAIL1.MAP - Larger nails box (50 nails? 40?)
  • B_ROCK0.MAP - Small rockets box (5 rockets)
  • B_ROCK1.MAP - Large rockets box (10 rockets)
  • B_SHELL0.MAP - Small shotgun shells box (25 shells)
  • B_SHELL1.MAP - Large shotgun shells box (50 shells)
Personal tools