How to work with the coded names of .3db models within a .CMP? (like door1_lod1021001100449.3db)
-
(Let us take jump_gatel.cmp as an example; there are such lines in other .CMP as well.)
So, inside the .CMP of the jumpgate all the references to the constituent .3db parts, all have their filename ending in 021001100449 (door1_lod1021001100449.3db etc.)
I presume that this is a coded rendition of (or, at least, a reference to) the .CMP filename (in this case jump_gatel
[olist]* Is my presumption correct? EDIT probably not.
* Is there a way to render/calculate such a coded rendition? Let’s say I want to have a jumpgate clone called alt_jump_gatel.cmp, what would the 021001100449 to be replaced with?[/olist]EDIT Now, this is weird… In my old files I find that I succesfully cloned all the ships used by DSE, in order to give them dedicated textures… The .3db node names were apparently not a problem then. So, in case of the jumpgate, am I overseeing anything? Does FLModelCloner screw up the animation and/or moving parts (there don’t seem to be any weird alterations compared with the original jumpgate .CMP though, but the cloned jumpgate is invisible, and doesn’t work: docking moves your ship to the center of the Star System, and then wait for nothing to happen)
-
The only reason for that number is to give every node a unique name. Those nodes will be later used globally by Freelancer. Once there are two nodes with the same name, Freelancer will pick “randomly” one of both nodes.
So if you clone a ship, you must change node names to be not the same as the original ones. This number is one way to do it. It could be a timestamp, for example. -
Skotty. wrote:
The only reason for that number is to give every node a unique name. Those nodes will be later used globally by Freelancer. Once there are two nodes with the same name, Freelancer will pick “randomly” one of both nodes.
So if you clone a ship, you must change node names to be not the same as the original ones. This number is one way to do it. It could be a timestamp, for example.Thanks!
So, nothing magically about this?? it might as well be ‘peanutbutter1138’, as long as it is unique for each model?
Hmm… So, why did the cloning of the jumpgate not work? Wait - maybe Win10 again. I’ll try tonight (have to sleep right now" nightshift ahead).
-
DwnUndr wrote:
For the invisible part, be sure to run it through FlModelTool as well as making a sur for it. Lacking either makes it invisible.I did that — but under Win10; I hope to have some time during my work this night and try it on my Win7 laptop.
I made a .sur as well (simply a renamed version of the vanilla jumpgate .sur, as there were no alterations in size).
Actually there is a third thing, I used 32 bit tga textures once, invisible as well. Convert to 24 bit.
Thanks. The images that I changed, while having a .tga extension, would not be opened by P’shop, so I figured they were .dds files, and treated them accordingly. Btw I did not change all the textures, and the unaltered ones where invisible as well.