Extensions:2.6/Py/Scripts/Import-Export/Call of Duty IO

提供: wiki
移動先: 案内検索
Blender-CoD
Export to Call of Duty's intermediate plaintext formats
UI location Export
Usage Export models to *.XMODEL_EXPORT and animations to *.XANIM_EXPORT for Call of Duty. Also supports *.NT_EXPORT
Version 0.3.5 Author(s) CoDEmanX and Flybynyt
Blender 2.63 License GNU General Public License v2 (GPL v2)


Executable information
File name io_scene_cod
Current version download http://code.google.com/p/blender-cod/downloads/


Links http://code.google.com/p/blender-cod/
Release Log http://code.google.com/p/blender-cod/source/list


Summary

Blendercod export menu.png

Getting new 3D content into Call of Duty games can be expensive, because the official mod tools only include plugins for the commercial 3d modelling software Maya by Autodesk (former Alias). With this addon, you can do it for free!

Blender-CoD adds support for the intermediate plaintext formats XMODEL_EXPORT v5/v6 and XANIM_EXPORT v3, which can be compiled to binary xmodels and xanims using the mod tools. All CoD titles are supported for export (Blender -> Asset Manager -> Call of Duty):

  • XMODEL_EXPORT v5 (vCoD, CoD:UO)
  • XMODEL_EXPORT v6 (CoD2-CoD7)
  • XANIM_EXPORT v3 (all)
  • NT_EXPORT (CoD5, CoD7)


Features

Blendercod export panel cropped.png

Meshes to xmodel

  • XMODEL_EXPORT v5/v6
  • Supports mesh export with automatic triangulation
  • Armature export (bones)
  • Vertex colors (v6 only, optionally: use color as alpha)
  • Mesh modifiers except Armature (optional)
  • Armature animation (poses) to xmodel sequences ("Pose animation")
  • Adjustable minimum bone weight (optional)
  • Vertex clean-up (optional)
  • User Interface: File > Export > CoD Xmodel (.XMODEL_EXPORT)

Armature animation to xanim

  • XANIM_EXPORT v3
  • Supports armature animation export
  • Frame range and framerate can be specified
  • User Interface: File > Export > CoD Xanim (.XANIM_EXPORT)

Timeline markers to notetracks

  • NT_EXPORT
  • Supports different kinds of Notetrack export (for all CoD titles)
  • Minds frame range settings


Known bugs

  • Bone rotations are assumed to be exported incorrectly (needs some sort of matrix processing)
  • Uses the first Armature it finds, doesn't support multiple Armature modifiers
  • XMODEL_EXPORT import is highly experimental, v6 only, Armature bone roll angles are possibly wrong


SVN

Source code in contrib SVN:

https://svn.blender.org/svnroot/bf-extensions/contrib/py/scripts/addons/io_scene_cod/



--CoDEmanX 15:08, 25 June 2012 (CEST)