Hosting and domain costs until October 2024 have been generously sponsored by dumptruck_ds. Thank you!
Difference between revisions of "Quake Map Format"
From Quake Wiki
(Created page with "The Quake .map Format is a plain text file which contains definitions of brushes and entities to be used by QBSP and it's related compiling tools to c...") |
|||
Line 17: | Line 17: | ||
"origin" "0 128 64" | "origin" "0 128 64" | ||
"light" "255" | "light" "255" | ||
+ | } | ||
+ | ==A simple map== | ||
+ | { | ||
+ | "sounds" "1" | ||
+ | "classname" "worldspawn" | ||
+ | "wad" "/gfx/base.wad" | ||
+ | "worldtype" "0" | ||
+ | { | ||
+ | ( 128 0 0 ) ( 128 1 0 ) ( 128 0 1 ) GROUND1_6 0 0 0 1.0 1.0 | ||
+ | ( 256 0 0 ) ( 256 0 1 ) ( 256 1 0 ) GROUND1_6 0 0 0 1.0 1.0 | ||
+ | ( 0 128 0 ) ( 0 128 1 ) ( 1 128 0 ) GROUND1_6 0 0 0 1.0 1.0 | ||
+ | ( 0 384 0 ) ( 1 384 0 ) ( 0 384 1 ) GROUND1_6 0 0 0 1.0 1.0 | ||
+ | ( 0 0 64 ) ( 1 0 64 ) ( 0 1 64 ) GROUND1_6 0 0 0 1.0 1.0 | ||
+ | ( 0 0 128 ) ( 0 1 128 ) ( 1 0 128 ) GROUND1_6 0 0 0 1.0 1.0 | ||
+ | } | ||
+ | } | ||
+ | { | ||
+ | "classname" "info_player_start" | ||
+ | "origin" "256 384 160" | ||
} | } |
Revision as of 17:59, 26 March 2013
The Quake .map Format is a plain text file which contains definitions of brushes and entities to be used by QBSP and it's related compiling tools to create a .bsp file used by Quake as levels. They are generally created by level editing software.
Structure
{ entity { brush (optional) } }
Brush definition
( 128 0 0 ) ( 128 1 0 ) ( 128 0 1 ) GROUND1_6 0 0 0 1.0 1.0
Entity definition
{ "classname" "light" "origin" "0 128 64" "light" "255" }
A simple map
{ "sounds" "1" "classname" "worldspawn" "wad" "/gfx/base.wad" "worldtype" "0" { ( 128 0 0 ) ( 128 1 0 ) ( 128 0 1 ) GROUND1_6 0 0 0 1.0 1.0 ( 256 0 0 ) ( 256 0 1 ) ( 256 1 0 ) GROUND1_6 0 0 0 1.0 1.0 ( 0 128 0 ) ( 0 128 1 ) ( 1 128 0 ) GROUND1_6 0 0 0 1.0 1.0 ( 0 384 0 ) ( 1 384 0 ) ( 0 384 1 ) GROUND1_6 0 0 0 1.0 1.0 ( 0 0 64 ) ( 1 0 64 ) ( 0 1 64 ) GROUND1_6 0 0 0 1.0 1.0 ( 0 0 128 ) ( 0 1 128 ) ( 1 0 128 ) GROUND1_6 0 0 0 1.0 1.0 } } { "classname" "info_player_start" "origin" "256 384 160" }