Func_Msgboard: .map File Format Help Needed

News | Forum | People | FAQ | Links | Register | Log in

|  | .map File Format Help Needed

Posted by LLCoolDave [84.157.234.169] on 2006/06/26 05:06:39

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 #1 posted by LLCoolDave [84.157.234.169] on 2006/06/26 05:49:01 I found the specification for the .map file format online at http://www.gamers.org/dEngine/quak... 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: |

Website copyright © 2002-2013 John Fitzgibbons. All posts are copyright their respective authors.