level convert from Unreal?

General talk about the map making process.
Post Reply
User avatar
who123
Private First Class
Private First Class
Posts: 27
Joined: Sat Jul 23, 2005 8:42 pm

level convert from Unreal?

Post by who123 »

i got the game unreal and was wondering if a program could be writen to convert unreal's native level fomat t3d to bzflags bzw code, the t3d code looks much like the mesh code for version 2 of the bzw code.

heres a sample of one of my unreal mesh code thats "example.t3d"

Code: Select all

Begin PolyList
   Begin Polygon
      Origin   +0.000000,+0.000000,+0.000000
      Normal   +0.000000,+0.014061,+0.999901
      TextureU +1.000000,+0.000000,+0.000000
      TextureV +0.000000,+1.000000,+0.000000
      Vertex   +64.000000,+0.000000,+47.203125
      Vertex   +0.000000,+64.000000,+47.062500
      Vertex   +0.000000,+0.000000,+47.203125
   End Polygon
   Begin Polygon
      Origin   +0.000000,+0.000000,+0.000000
      Normal   +0.019527,+0.005468,-0.999794
      TextureU +1.000000,+0.000000,+0.000000
      TextureV +0.000000,+1.000000,+0.000000
      Vertex   +0.000000,+64.000000,+47.062500
      Vertex   +64.000000,+0.000000,+47.203125
      Vertex   +64.000000,+64.000000,+47.257813
   End Polygon
End PolyList
if it is possible it can be a breakthrough in making advance level making much easier for the "end user"

any posibilities?

if anyone doesnt know what unreal is hers the website www.unreal.com (i hink they broke it at the mo)
Image
User avatar
Teppic
Private First Class
Private First Class
Posts: 576
Joined: Mon Mar 07, 2005 10:00 pm
Location: The North Block

Post by Teppic »

That code hasn't defined a texture for the poly, other that that it wouldn't be too hard to convert to bzw. Have to be some advanced vector mathmatics to extract the face normal and redefine the verts in the right order, and rewrite the uv's in the right format attched to the right vert, I'd suggest starting here and here.
Post Reply