News | Forum | People | FAQ | Links | Search | Register | Log in
.map File Format Help Needed
Okay, I'm currently working on some sort of Editor for SDA, and I'm trying to import .map files, but I'm having some trouble understanding how brushes are defined in that format.

The following should be a block that defines one primitive if i can tell correctly. At first I thought that each part in a bracket defines a point, and the three points in a line specify the edgepoints of a polygon. However, somehow most of those points seem to have two coordinates that are either 65535 or -65535 or some other numbers that just don't seem to correspond to reasonable worldcoordinates, and I can't seem to make sense of it otherwise, so I'd appretiate some help on this. The part behind the brackets seems to specify the texture in some sort of way, but that doesn't matter to me, all I want to be able to draw at the end is those 2d views (top, left, front etc.) like in Worldcraft or similar Editors.

{
( 1248 65535 65535 ) ( 1248 -65535 65535 ) ( 1248 65535 -65535 ) tech04_1 0 0 0 1.000000 1.000000
( 1376 -65535 65535 ) ( 1376 65535 65535 ) ( 1376 65535 -65535 ) tech04_1 0 0 0 1.000000 1.000000
( 65535 1744 65535 ) ( -65535 1744 65535 ) ( -65535 1744 -65535 ) tech04_1 0 0 180 1.000000 1.000000
( 65535 -65535 -448 ) ( 65535 65535 -448 ) ( -65535 -65535 -448 ) sfloor4_2 0 0 0 1.000000 1.000000
( 65535 65535 -432 ) ( 65535 -65535 -432 ) ( -65535 -65535 -432 ) sfloor4_2 0 0 0 1.000000 1.000000
( 65535 -58504 29532 ) ( 65535 58728 -29084 ) ( -65535 -58504 29532 ) tech04_1 0 0 90 1.000000 1.000000
}

I hope somebody can help me out on this one.
Ah, Forget About It 
I found the specification for the .map file format online at http://www.gamers.org/dEngine/quake/QDP/qmapspec.html, it seems to be intersection of planes, how is one supposed to figure that out. This Thread can be deleted if you want to. 
Post A Reply:
Name:
Title:
Body:
message
question
exclamation
idea
flame
noflame
error
skull
beer
moon
pent
rocket
sheep
pacman
pig
cheese
worldcraft
gauntlet
crate
pitfall
pimp
smile
cool
sad
frown
oi
yay
tongue
evil
wink
neutral
q1
q2
q3
ut
hl
cs
doom
dkt
serious
cube
Website copyright © 2002-2017 John Fitzgibbons. All posts are copyright their respective authors.