Results 1 to 2 of 2

Thread: Weapon model error

  1. #1
    Lieutenant Loveboy's Avatar
    Join Date
    Nov 2012
    Posts
    546
    Thanks
    229
    Thanked 72 Times in 46 Posts

    Weapon model error

    Hi Guys, i have a weapon model, want to make it in asset manager to xmodel, but i getting this error:

    Model.xmodel_export : Expecting 'TRI'

    What is this?

  2. #2
    Brigadier General
    Join Date
    Oct 2012
    Posts
    994
    Thanks
    20
    Thanked 588 Times in 388 Posts
    Quote Originally Posted by Loveboy View Post
    Hi Guys, i have a weapon model, want to make it in asset manager to xmodel, but i getting this error:

    Model.xmodel_export : Expecting 'TRI'

    What is this?
    TRI is the header for certain types of vertices. Example:

    PHP Code:
    TRI 0 0 0 0
    VERT 1
    NORMAL 0 
    -0.707107 -0.707107
    COLOR 
    -1.000000 -1.000000 -1.000000 -1.000000
    UV 1 0.252092 0.399811
    VERT 2
    NORMAL 0 
    -0.707107 -1
    COLOR 
    -1.000000 -1.000000 -1.000000 -1.000000
    UV 1 0.059529 0.695736
    VERT 0
    NORMAL 0 
    -0.707107 -0.707107
    COLOR 
    -1.000000 -1.000000 -1.000000 -1.000000
    UV 1 0.252092 0.695736

    TRI 0 0 0 0
    VERT 3
    NORMAL 0 0 
    -1
    COLOR 
    -1.000000 -1.000000 -1.000000 -1.000000
    UV 1 0.059529 0.399811
    VERT 2
    NORMAL 0 
    -0.707107 -1
    COLOR 
    -1.000000 -1.000000 -1.000000 -1.000000
    UV 1 0.059529 0.695736
    VERT 1
    NORMAL 0 
    -0.707107 -0.707107
    COLOR 
    -1.000000 -1.000000 -1.000000 -1.000000
    UV 1 0.252092 0.399811 
    It looks like the exporter truncated (i.e. cut off) some of the code for your model, and so the compiler is telling you that code is missing. Try exporting the model again, and manually checking that the vertice code gets exported as well.

  3. The Following User Says Thank You to Tally For This Useful Post:

    Loveboy (4th July 2013)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •