3d forums home Resources for 3d artists

You know this file?

Posted: December 08, 2009
MasterMinder
Hi,
I am just trying to mod a game, called Air Traffic Controler 3.
I now hav nearly complete knowledge about the data structure, but there is one kind of files which I dont know.

The ending is *.pvm and it is a kind of 3d model, but I dont know what kind it exactly is. So I need your help.

Code:

Information("Pegasus3D","TechnoBrain CO.,LTD.","5.0")
Comment("")
Layer("JA0000"){
   Group(8)
   Layer("shadow"){
      Attribute("NoFog","ZNoCalc")
      Blend(180)
      Mode("TEXTURE1")
      Group(5)
      Stage("SUTRACT","@a300shadow.bmp",0,"CLAMP","LINEAR","YFACE",[0,0],-90,[56,56])
      Face(0,1,2)
      Face(0,2,3)
      Vertex([28,0.00002,-28],[0,1,0],[0,1])
      Vertex([-28,0.00002,-28],[0,1,0],[1,1])
      Vertex([-28,0.00002,28],[0,1,0],[1,0])
      Vertex([28,0.00002,28],[0,1,0],[0,0])
   }
   Layer("Level1"){
      Group(8)
   }
   Layer("body"){
      Group(8)
      Layer("cockpit"){
         Range(0,2000)
         Group(8)
         Layer("01cockpit"){
            Range(0,2000)
            Material(#00646464,#00000000,0,#00646464,#00000000)
            Mode("TEXTURE1")
            Group(8)
            Stage("NORMAL_SHADE","a300reda.bmp",0,"REPEAT","LINEAR","ZFACE",[11.52,-30.47],-90,[20,20])
            Face(0,1,2)
            Face(2,3,0)
            Vertex([-1.4632,6.4616,-24.546],[0,0,-1],[2.04427,-0.00284])
            Vertex([-0.9176,7.2924,-24.546],[0,0,-1],[2.00273,-0.03012])
            Vertex([0.9176,7.2924,-24.546],[0,0,-1],[2.00273,-0.12188])
            Vertex([1.4632,6.4616,-24.546],[0,0,-1],[2.04427,-0.14916])
         }

...


Its only a part of the code from one of the *.pvm files.

THX for your answers.
Posted: January 07, 2010
Algomorph
I believe this is simply the game's native 3D format. It looks simple enough to convert to and from.

What I recommend doing is thoroughly going through the OBJ Wavefront file specification (Google it). After that, write a short script in whatever programming language you know to convert this file to and from OBJ format.

Most, if not all, decent 3D applications export/import OBJ format, so you will then be able to edit the geometry directly in 3D editors.