Important Message

You are browsing the archived Lancers Reactor forums. You cannot register or login.
The content may be outdated and links may not be functional.


To get the latest in Freelancer news, mods, modding and downloads, go to
The-Starport

Destructable ship

The general place to discuss MOD''ing Freelancer!

Post Wed Feb 09, 2005 2:58 pm

Destructable ship

I'm shure this question got answerd before but i dint find it. Yes even with search, or maybe Im blind but.

I hered and saw that it is possible to create a ship with destructable components.

until now I Know.

What the sur file is responsible for, and that for every component in the cmp file is also a component in the sur file with the same name.

If I watch a sur file as text I see a lot of stuff in the header I dont understand, the the name of the components: root, starwing, HP.....

then the Faces, each defined by three vertices

then the x,y,z components of all the vertices

----Now is it possible to create a custom sure file by changing these parameters this way that the sur file fits my ship?
And if yes, which parameters are important, and which one is responsible for what?

And now the Cmp file

If I watch this stuff with the utf editor

I see a VMesh lirary with different LOD's
with VMeshData

the Animation stuff, whitch I dont care right now

the cmpnd stuff where I can chance the name of the components of the ship, of corse I also have tho chance the 3db filenames below.

ant then I get to the 3db files which contains Multilevel
I think this are the different LOD's from above.
The switch 2 thing, I think is the Parameter that tells the game at which distance whitch LOD is to be used.

and then there are the different VMeshPart---->VMeshRef

Thats teh stuff I found out

Now what is the VMeshRef and VMeshData?
How do I have to create tehm for a destructebel ship, I can export different groups in MS and then I get different 3db's with different VMeshRef's.

but if I whatch a ship created this way with several groups in the HardCMP I just see the root. the first exportet group of MS

What do I have to know there?

and is there something tricky about the components that should replace the componets that felt apart. I have to define them In the Ini's and there Position is defindet bi the DP-dmg-.... hardpoint.

But how do I create a 3db file? Just export a CMp and take the 3db out or what?

And sry for my english, I hope its understandable.

Edited by - Achilleux on 2/9/2005 2:59:26 PM

Post Wed Feb 09, 2005 5:08 pm

hi mate!

well, i`m not the man for this -i only tried once out of curiosity and failed ..
but i gave the hint to someone who was asking for this before,
get this tool: VMeshconv07b
it comes with a readme that should help you out ..

good luck all the way

Post Thu Feb 10, 2005 8:57 am

I already fount this programm and tried to follow the instructions given in the read me. But it didnt work, the programm started, opening a command window for half a second and then close the window and nothing happend.

Post Thu Feb 10, 2005 10:03 am

hmm, it worked for me .. but i didn`t get there, did something wrong when i tried ..

Post Fri Feb 11, 2005 1:12 pm

have to say I was kind of stupid, read the f.. manual grrml

I read the readme of the meshconverter again and yes now the meshconverter does what's explained in the readme.

But I still got the problem that my ship has 19 Groups in Milkshape, so the meshconverter gives me 19 Files. But I want my ship to consist of 5 Parts.
yes I will read again and maybe I'll find the solution.

But I still got the problem with the sur files that the hitbox of the ship doesn't fit the ship and the names of the components in the sur are also different.
So If someone nows somthing about the relations between the cmp and sur file. I'm very thankfull.

Post Sat Feb 12, 2005 12:40 am

Regroup your groups in MS3D, if at ALL possible.

Or tell Meshconverter that your model consists of 5 sets of parts... and then define each part hierarchically. The only problem being that MS3D's assignments as to what is the "top" listing in the Groups is what the CMP Exporter uses to assign the various VMeshrefs... so if you weren't super-careful about what stuff is in what order... you're going to have a bumpy road getting everything to work like it should.

Post Sat Feb 12, 2005 7:59 am

to export the model out of MS3d ist not the problem the first 15 groups are the root, but I can't group them together because they use different matterials and thextures.

and in the end comes the topfin the wings and the waponshold group.

ant to export them works. that the right component ist in the right Mesh but the Vmesdata is just the first group and not the whole ship.

But i will find out even if it is a bumpy road.

Edited by - Achilleux on 2/12/2005 8:00:55 AM

Return to Freelancer General Editing Forum