CMP Import/export dll
-
Hello everyone,
I’ve recently updated my CMPImporter to work with an Exporter I have been working on. The exporter will export Multipart models, add wire mesh data, and do LODs. Doesn’t do SUR files because I do not know enough about sur files to implement it.
I use the exporter for destructable parts, resizing, and hardpointing.If anyone is interested let me know I will upload or email it.
Regards P1p3r -
Hi P1p3r, good to see you’re still working on Freelancer, any and all tools for modding the game are always welcome.
-
Very many thanks, as always, P1p3r.
I will try to put them to the test asap.
-
Tested again .
My fault i didn`t put settings correctly, it gives full mat file sepparately or inside cmp and works fine.
However, i found some issues :- When open with hardCMP model is messed up .
- When open with latest UTF editor (the one with model view) it gives the “Exception when loading a meshgroup error”
It is important because when trying to hardpoint model i need Hard CMP or that UTF to view.
Ingame the model is working good.
-
Exporting was one feature I was actually hoping to get input about. I find it much easier to move triangles around in milkshape as oppose to hardCMP.
If you could try hardpointing with exporter and let me know what you think. Good , bad or otherwise, It would be much appreciated.
I would have to play around with hardCMP to figure out why the meshes aren’t being loaded correctly.
In the meantime, to add a hardpoint, I simply duplicate HpMount, or create a triangle in top view. Then I place it over the part I want it attached to. Rotate it to point in the direction I want the barrel to point to. Give it a name, and the the exporter will place it flush onto the surface of the mesh. Hardpoints are oriented from the center of the triangle to the second point.
If you import a cmp model using the new importer, you’ll see the naming convention I used.
i.e.: **HpWeapon01
the first asterisk tells the exporter to place the hardpoint onto the surface of the mesh.
the second asterisk tells the exporter this is a revolute hardpoint
i.e. ! HpRunningLight01
the exclamation tells the exporter not to move the hardpoint
the space tells the exporter this is a fixed hardpoint.It must be late, I think I’m babbling. Check out the notes file. It has more detail.
Do you happen to have a link to the UTF viewer? I can’t seem to find it.
Later,
-
Ok i`ll see with the hardpoints . I hate to add triangles to Hp-s since my first model ship, hard cmp was the fastest way.
And the messed up model on HardCmp appears also when splicing cmp-s to obtain models > 10k polys.
Anyway the UTF editor is on the forge , latest is compiled by FriendlyFire - http://forge.the-starport.net/projects/utfeditor/repository/changes/UTFEditor.exe -
Getting a crash when I try to export a standard model, as a test I imported the rh_freighter with your new importer (works fine, nice).
MS3D crashes on choosing export from the drop down menu, doesn’t get to the window.
Sounds like an incompatibility error, i’m using 1.8.4 on Xp Sp3 what version are you building on?
-
At P1P3r : I’ve tested the importer, nice work, I like the merge option and all the others! But the exporter needs to be more flexible… It could be good to tick boxes than choose in menus, it could be more intuitiv, if you see what I say. Though I didn’t try more than a minute, I will try the exporter more this evening. Like that I would see the things you could change if it is really difficult. If you don’t want, could you make a fast tutorial?
-
Please could you tell me how doing LODs? I don’t know how!!
-
1. Export Model for the High Detail LOD.
2. Don’t change the filename.
3. In Milkshape, I use the DirectX Mesh Tools. to reduce the poly count.
4. Go back to export dialog. In the Export Menu, put a check mark on LOD. or click on the multi doc icon. If you want to add WireData click on the far left icon.
5. click export.Just repeat steps 2 to 5 for more LODs
-
Thank you, it works! In fact don’t change anythings! That was the only thing I didn’t understand. I’m sorry to have argue you… That was a mistake. -_-’
-
Hi P1p3r,
I’ve tried the importer and, for whatever reason, it does not pick up the .mat file within the folder regardless of it trying to find automatically or not. I’m unable to select it manually. Would it have to do with the version of my MS? It’s 1.8.2.
Unfortunately, this causes a fatal error within the importer and it MS crashes. Your older version works just fine, though.