Freelancer Community Network
Reminder: Internet Explorer 6 or below are NOT supported.
HomeHome
ForumForum
WikiWiki
DownloadsDownloads
ForgeForge
Multiplayer Connection Tutorial
Collapse/Expand Random Image
Collapse/Expand Login
Username:

Password:

Remember me



Lost Password?

Register now!
Collapse/Expand Chat
Collapse/Expand Who's Online
116 user(s) are online (89 user(s) are browsing Forum)

Members: 0
Guests: 116

more...
Collapse/Expand Donations
Monthly costs: -30€
Income (ads): +5€
Donations (last month): +0€

Current balance: 55€
(last updated 04/2021)

Please make a donation if you want to help keeping The-Starport online:

Thanks!
Collapse/Expand Links
Collapse/Expand Advertisement
There are currently 13 users playing Freelancer on 39 servers.
September. 29, 2023

Browsing this Thread:   1 Anonymous Users



 Bottom   Previous Topic   Next Topic  Register To Post

(1) 2 3 4 ... 7 »


CMP Import/export dll

Joined:
2009/9/3 7:07
Group:
Registered Users
Posts: 29
Offline
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

Posted on: 2011/10/2 8:54
Top
Re: CMP Import/export dll
Just can't stay away
Joined:
2010/8/25 22:40
From Romania
Group:
Registered Users
Posts: 196
Offline
I think all people here are more or less interested on it, otherwise they wouldn`t be in this forum .
Everyone wants a better CMP exporter with 18+ parts.
Good Job for making that tool.

Posted on: 2011/10/2 9:14
Top
Re: CMP Import/export dll
Starport Staff
Joined:
2008/10/25 17:58
From On my way back
Group:
Registered Users
Starport Staff
FLServer Admins
Posts: 365
Offline
Hi P1p3r, good to see you're still working on Freelancer, any and all tools for modding the game are always welcome.

Posted on: 2011/10/2 13:32
~Insert Cool Text Description Here~
Top
Re: CMP Import/export dll

Joined:
2009/9/3 7:07
Group:
Registered Users
Posts: 29
Offline
I'm uploading the two dlls and some notes. If there any questions, let me know and I will answer best as I can.

Attach file:


zip msProject.zip Size: 79.67 KB; Hits: 850

Posted on: 2011/10/3 0:44
Top
Re: CMP Import/export dll
Home away from home
Joined:
2008/6/2 10:17
Group:
Registered Users
$$$ Supporters $$$
Senior Members
Posts: 1847
Offline
Very many thanks, as always, P1p3r.

I will try to put them to the test asap.

Posted on: 2011/10/3 11:35
"C" for "Caterpillar"... "Cool"... "Cheesey"!
Top
Re: CMP Import/export dll
Just can't stay away
Joined:
2010/8/25 22:40
From Romania
Group:
Registered Users
Posts: 196
Offline
Thank you !
Tested with a model base with 24 groups.
Problems are only 4 texture files (can be edited with a hex editor on the vmesh data and also when closing exporter ms3d crash .

Posted on: 2011/10/3 15:10
Top
Re: CMP Import/export dll

Joined:
2009/9/3 7:07
Group:
Registered Users
Posts: 29
Offline
Hello cata,

Could you send me your model and textures that were causing the problem? I'll try to duplicate the problem and find a solution.

Posted on: 2011/10/7 21:32
Top
Re: CMP Import/export dll
Just can't stay away
Joined:
2010/8/25 22:40
From Romania
Group:
Registered Users
Posts: 196
Offline
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.

Posted on: 2011/10/8 8:35
Top
Re: CMP Import/export dll

Joined:
2009/9/3 7:07
Group:
Registered Users
Posts: 29
Offline
@cata123

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,



Posted on: 2011/10/8 12:00
Top
Re: CMP Import/export dll
Just can't stay away
Joined:
2010/8/25 22:40
From Romania
Group:
Registered Users
Posts: 196
Offline
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/project ... ory/changes/UTFEditor.exe

Posted on: 2011/10/8 14:38
Top
Re: CMP Import/export dll
Starport Staff
Joined:
2008/10/25 17:58
From On my way back
Group:
Registered Users
Starport Staff
FLServer Admins
Posts: 365
Offline
@P1p3r

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?

Posted on: 2011/10/8 16:12
~Insert Cool Text Description Here~
Top
Re: CMP Import/export dll
Home away from home
Joined:
2010/6/13 10:58
From France
Group:
Registered Users
$$$ Supporters $$$
Senior Members
Posts: 510
Offline
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?

Posted on: 2011/10/8 17:30
Top
Re: CMP Import/export dll
Home away from home
Joined:
2010/6/13 10:58
From France
Group:
Registered Users
$$$ Supporters $$$
Senior Members
Posts: 510
Offline
Please could you tell me how doing LODs? I don't know how!!

Posted on: 2011/10/8 19:55
Top
Re: CMP Import/export dll

Joined:
2009/9/3 7:07
Group:
Registered Users
Posts: 29
Offline
@Freestalker.fr

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

Posted on: 2011/10/8 21:37
Top
Re: CMP Import/export dll
Home away from home
Joined:
2010/6/13 10:58
From France
Group:
Registered Users
$$$ Supporters $$$
Senior Members
Posts: 510
Offline
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. -_-'

Posted on: 2011/10/8 22:17
Top
(1) 2 3 4 ... 7 »