Freelancer CMP Exporter V0.3
beta test version
--------------- Credits
Mario Brito - Author of the original CMP exporter & VMesh guide.
redeye at Lancers Reactor - Ships/Weapons with multiple components tutorial.
Harrier - Weapons cmp tutorial used to configure output
Mete Ciragan - Milkshape 3D, SDK and samples
Rick York - CSmartEdit and CLinkSlider classes used for the floating point edit control
------------- Operating Details
Dialog 1 - File option Buttons
a) Create a new CMP file
---------------------
Select file or enter new name in file dialog
NOTE: existing file will be replaced
b) Update Existing CMP File
------------------------
Select existing file name to be updated in the file dialog.
The data from the model will be added or updated in the CMP file.
Existing data in the "Cmpnd->Part_XXXX_lod1->Object Name" node will not be replaced.
This is for multiple part models that use Fix data & .sur files from original
Freelancer models. If no data is present, the part name will be used.
==========================================================================================
Dialog 2 - Model options
Level Of Detail: Default = Level 0
Select extension name of VMeshLibrary name. eg "MyFighter.lod0.vms"
Adds Multilevel->Levelx node under the partname_lod1.3db node for VMeshRef data.
NOTE: Separate Milkshape model must be created for each level of detail
Update : level 3 added
Orientation: default = Upside Down
Select orientation of model being exported.
a) Upside down with front of ship pointing down in top view.
Bottom of ship is seen in top view.
b) Back To front with front of ship pointing up in top view.
Top of ship is in top view.
Scale Down: Default = 92.00000
Select scale down value to export model with.
As a rule of thumb, I compare the model created against the Anubis,
which is just over 1 grid long at full zoom out.
Another option is to import the pilot model and try various scale up's until
the proprtions look right.
Update : scale changed to floating point.
Number Of Groups: Default = 1 (Maximum quantity is 18)
The default value of 1 wil export model as original exporter - modified
to use scale, Orientation & Level Of Detail.
2 or more groups will display the appropriate number of text boxes to
enter the mesh quantities in each group.
The first mesh name in each group will be used for the xxx_lod1.3db node etc.
NOTE: All hardpoint meshes should be after the model meshes in the Milkshape3d list.
Model Type: Default = Ship
Cockpits and weapons support added for testing.
Field of view - Defaults : FOVX = 0.645772, FOVY = 0.514412, ZNEAR = 0.050000, ZFAR = 5.000000
Used for cockpit view settings. The default values should be ok for standard cockpits.
Smaller cockpits should use FOVX = 0.475011, 0.368131, ZNEAR = 0.100000, ZFAR = 3.000000.
Experimentation may be required to find the best settings.
Based on several 3D graphics books the variables are
FOVX & FOVY are the width and height of the viewport (field of view)
ZNEAR & ZFAR are used to draw objects/triangles within the two values. Anything outside
the two values is not displayed or clipped.
Settings.
Model settings can be saved and loaded to save time re-entering all options.
The settings file should be saved with the extension .ces (CMP Exporter Settings).
Binary data is saved to the file in the following format
UPDATED
{
int Scale; // converted to float in the extra entries
int Orientation;
int LevelOfDetail;
int NumberOfGroups;
int GroupQuantities[MAX_CMP_GROUPS];
// The following entries are extra
short ModelType;
float fov_x;
float fov_y;
float Znear;
float Zfar;
float fpScale;
int reserved[RESERVE_QTY]; // 20 slots reserved
}
The old settings files can be loaded as normal, but should be resaved using a new name
if version 2.1 of the exporter is still in use.
==========================================================================================
Dialog 3 - TreeView
Displays generated nodes as original exporter
==========================================================================================
Hardpoints
----------
Hardpoint positions are calculated using the triangle coordinates and VMeshRef bounding box.
If a hardpoint cannot be connected to a part (wing, fin etc) it will be added to the first
mesh in the list - should be the fuselage in the model.
example - HpMount is outside any of the bounding boxes, added in main model meshes.
There is an allowance for hardpoint meshes to be slightly outside the bounding box, such
as running lights and contrails.
HpTurret hardpoints will be set at a 360 degree rotation. All other revolute hardpoints
will be set at approximately 45 degrees.
==========================================================================================
Possible additions
Control to select fix or Rev data for import.
control to set min/max angle of HpWeapon01 etc.
==========================================================================================
Please post bug reports etc. on Lancers Reactor general editing forum.
or send by email to colsnby@aol.com
Colin Sanby
没有合适的资源?快使用搜索试试~ 我知道了~
MilkShape3D的CMP格式导出插件
共45个文件
dds:19个
ms3d:8个
ces:7个
4星 · 超过85%的资源 需积分: 9 15 下载量 198 浏览量
2010-04-05
23:55:15
上传
评论 1
收藏 855KB ZIP 举报
温馨提示
MilkShape3D的CMP格式导出插件,用来导出freelancer的cmp格式模型文件。
资源推荐
资源详情
资源评论
收起资源包目录
msCMPExporterV0_3_beta.zip (45个子文件)
MilkshapeModels
Valiant
ValiantxLod2.ms3d 73KB
ValiantxForSur.ms3d 61KB
ValiantX2.ssf 218B
ValiantLod2.ces 192B
ValiantLod0.ces 192B
Cockpit
ValiantCocpit.ces 148B
va_CockpitX.ms3d 10KB
Materials
Va_Cockpit2.dds 43KB
HpMat.tga 49KB
ValiantxLod0.ms3d 102KB
ValiantLod1.ces 192B
ValiantxLod1.ms3d 93KB
Materials
Va_Cockpit2.dds 43KB
Va_VWpnPlate2.dds 11KB
HpMat.tga 49KB
Va_Grille02.dds 11KB
Va_Valiant.dds 43KB
Va_Intake.dds 11KB
Va_StarFin.dds 43KB
Va_PortFin.dds 43KB
Va_Cockpit.dds 43KB
Va_WeaponPlate02.dds 11KB
Va_Metal01.dds 11KB
Va_PortWing.dds 43KB
Va_StarWing.dds 43KB
Va_Glass.tga 65KB
Va_Metal03.dds 11KB
Firestone
ax_FirestoneLod1.ces 192B
ax_FirestoneLod2.ces 192B
FirestoneLod0.ms3d 51KB
FirestoneLod1.ms3d 45KB
ax_FirestoneLod0.ces 192B
FirestoneLod2.ms3d 38KB
Materials
Firestone1.bmp 478KB
TurntableSteel.dds 43KB
Hp_Mat.tga 65KB
RedMetal.dds 43KB
StainlessSteel2.dds 43KB
FirestoneGun01.dds 43KB
BlueMetal.dds 43KB
CMPExporter
ReadmeV0.3.txt 5KB
msCMPExporterV3.dll 232KB
Contents.txt 561B
VCRuntimeFiles
msvcr71.dll 340KB
msvcp71.dll 488KB
共 45 条
- 1
资源评论
- GINYINGIN2014-06-13请问PHP文件怎么用,谢谢
- bearben2012-08-07稀有资源不错,最好插件齐全一点,cmp导入/导出,tex的等等
Flashalang
- 粉丝: 5
- 资源: 17
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功