Results 1 to 15 of 15

Maya CM Export Issues

  1. #1

    Maya CM Export Issues

    Okay, since CFHod doesn't understand them and Maya 5 can't export them, I'm at a loss as to how I reliably get working CM's in my ships.

    Has anyone EVER gotten reliable CM's for their mods? EVER?

    -Stefan-

  2. #2
    Devil's Advocate Zatch's Avatar
    Join Date
    Feb 2004
    Location
    CA, USA
    Collision meshes? Copy and paste your hull mesh, rename it CM_HULL. Tadaa.
    ~

  3. #3
    And it works for you all the time? It never works for me! It either gives me the "No CM found" error or simply ignores it and uses an auto colbox.



    -Stefan-

  4. #4
    trick to getting reliable cms is as follows

    only have one CM mesh per ship
    never have open geometry or subobjects in the CM
    make sure the CM is as few tris as possible
    I also put it into the CM group in the relationship editor
    I additional make sure it is named CM_HULL
    make sure no shader is assigned to them


    everything in warlords is done this way
    }  UAnÄ E¯ò5ëQÎÑ̦KœàŠàÌD9É\·fÒªêÌãë}߉aIûš »f ŒC{ŽXِdÃWoæ£ÑÆ>‰"‚n›˜q|]t¢'ÿïà'È‚táÅïÍ#wŸ›b§ëkÄrk\L(#TÙ† ™'#)A9C«
    â‰Ö8/—ñûÇ}؝N:/öÿ55cRÖßü!=å˜ÆÇE된𩛌}D«÷î!¸äÒs>åIG’Ì?%Çädªí޹šjñª>Ìd~x»\³öG÷±ÙSûtûPK   ŽpÎ2:Gwå —1984
    http://warlords.swrebellion.com/

  5. #5
    Devil's Advocate Zatch's Avatar
    Join Date
    Feb 2004
    Location
    CA, USA
    It may have something to do with the version of Maya being used. I'm using Maya 5 and haven't had issues, no idea about the newer versions as I don't intend to upgrade.

  6. #6
    had very few issues with 3 or 5 myself

  7. #7
    I also put it into the CM group in the relationship editor
    How do I do this? I see the window>relationship editors menu, but what do I do from there?

    make sure no shader is assigned to them
    So no Lambert1 shader? Just go into hypershader and delete any shaders attached?

    -Stefan-

  8. #8
    Devil's Advocate Zatch's Avatar
    Join Date
    Feb 2004
    Location
    CA, USA
    The default shading group should be applied (Lambert.) He's referring to the HW2Shader, which should not be applied to non-renderable objects such as the CM.

  9. #9
    Ah ok, just wanted to make sure.

    -Stefan-

  10. #10
    Okay, since CFHod doesn't understand them
    CFHodEd *completely* supports Collision Meshes. All you have to do is to create one (on a per joint basis, ie, for root, you'll have Root_CM) and select it, then push the "Import" button. It'll import from OBJ, and if it has more than one part, then it will be appended into the first part. In other words, CFHodEd will handle multi-part OBJs for you.

  11. #11
    however it will not prevent intersecting geomtry which causes all sorts of issues in game, the point being multiple objects in the obj that are not connected by edges and faces, multiple individual CMs are buggy as well because of the larger bounding box.

  12. #12
    I tried using CFhod, 4E, but it ignored 'em. And I did double-check to make sure I actually exported the vertex normals too (Blender doesn't, by default).

    Yet to try with all of EJ's tips, will try that soon.

    -Stefan-

  13. #13
    but it ignored 'em.
    CFHodEd or HW2? Please elaborate.

  14. #14
    CFhod imported them, had them named and assigned apparently correctly, however on starting up HW2 and testing them out the game didn't seem to realize they were there and used the autogen'd colboxes that Maya had given the HOD instead, when I originally exported it.

    -Stefan-

  15. #15
    autogen'd colboxes that Maya had given the HOD instead
    If you're talking about the thing said in the art pipeline pdf, (the plugins create a box instead, if no CM is available) then let me tell you that's loosely said. There isn't actually a collision mesh (it may be a BSRM[Battle Scar Ref Mesh] bounding box instead, which isn't considered as geometry, it's two vectors, for min-max extents).
    Talking about BSRMS, I've observed that, somethimes, instead of having the actual geometry present (which is in the corresponing Multi-mesh), it has Collision Mesh data instead. Try replacing BSRM data with CM. (keep CM as is, don't remove it)
    Basically, if the CM is present\HW2 detects it, then it uses CM for the hyperspace effect. Otherwise, it uses the main mesh itself (multi-mesh). You could try replacing the CM with another shape, like sphere, to test if the CM is being used by HW2. Ofcourse, the unit should be able to hyperspace, so you'll have to temporary enable that, to see whether the CM is being ignored or not.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Posting Permissions

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