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

FLModelTool Help

The general place to discuss MOD''ing Freelancer!

Post Tue Nov 28, 2006 7:44 pm

FLModelTool Help

OK, I have looked for an answer but so far have come up empty. I have never used the FLModelTool and am wanting to resize a planet. I have a sur and a cmp already and they work, but I would like to resize it so it is bigger. Can someone point me to a tutorial on how to use the FLModelTool to accomplish this?

I will be using this same sur and cmp to create other planets by renaming them and importing a new texture. Right now, I can do thi all I want, but they are all the same size.

Thank in advance for any help here.

Post Wed Nov 29, 2006 12:39 am

Planets don't use CMP files, they use SPH files. Use the UTF editor to open the SPH file and then edit the planet's radius. Look for Argh's "pretty planet" project for information on how to reskin planets.

Post Wed Nov 29, 2006 4:11 am

The Pretty Planet project does use a CMP file for the planet and that is my question. Do I just need to edit the radius? or do I also need to edit the X Y and Z listings as well?

Post Wed Nov 29, 2006 5:11 am

First off make a new entry for your planet in solararch,

nickname = planet_earth_50000 <-- changed this
ids_name = 60203
ids_info = 60204
type = PLANET
DA_archetype = solar\planets\planet_earth\planet_earth_50000.sph <--and this
material_library = solar\planets\planet_earth.txm
material_library = solar\planets\detailmaps\detailmap_rock01.txm
material_library = solar\planets\detailmaps\detailmap_ocean.txm
material_library = solar\planets\atmosphere.txm
material_library = solar\planets\planet_earth\planet_earth.mat
mass = 1000000
solar_radius = 50000 <--- and this

Make a new sph file by copying any old sph file you have handy then use UTF editor and open this new sph file and find the node called radius, then edit the data in this node as a float array and changed it to 50000.000000.

Next up is the new entry in your relevant system ini file,

nickname = LI06_planet_1
ids_name = 524290
spin = 0.000000, 0.000000, 0.000000
rotate = 0, 0, 0
pos = 394, 0, 0
archetype = planet_earth_50000 <-- note this
atmosphere_range = 50500 <-- and this
burn_color = 255, 222, 160
ids_info = 66069

Then make a new death zone and your done

Post Wed Nov 29, 2006 7:35 am

That info is great and will be used once I learn how to create a texture for the sph and txm files. But, how to I resize a CMP using the FLModelTool?

Post Wed Nov 29, 2006 4:37 pm


Edited by - Rankor on 11/29/2006 4:41:47 PM

Post Wed Nov 29, 2006 6:46 pm

Oh, the pretty planet project uses CMP files? Eh, don't listen to me then, i'm a bumbling idiot

Post Thu Nov 30, 2006 10:30 am

I figured out how to adjust the size in FLModelTool.

Post Fri Dec 01, 2006 5:57 am

well, are you going to tell us?

Post Fri Dec 01, 2006 9:16 am

The total in game radius is the x, y and z. However, the resize button I found does wonders.

Say you have a planet where the X, y, and z is 2000. If you want it to be 4000 in game, you would hit the resize button and enter 2. This changes the values of 2000 to 4000.

If you wanted to make it smaller, say to 1500, you would enter .75 in the resize option.

You can then use the sur resizinf tool to create a sur file for this new sized planet cmp.

Post Fri Dec 01, 2006 6:27 pm

Now if only we could make detailed planet models...

Post Fri Dec 01, 2006 10:17 pm

I'm curious about something here. When you resized the planet, what happened to "planet_death"? Did you resize that too or do you just bounce off the planet?

Yeah, detailed planets. (I guess they'd have to be larger in scale to a degree) .
Go though some atmosphere burn to reach the surface then fly though some scenery and land on your pad. I'd bet the polys would be sort of extreme for the landscaping. But for average buildings, they'd be pretty basic.

Edited by - Rankor on 12/2/2006 2:19:37 AM

Post Sat Dec 02, 2006 7:43 am

When you resize the CMP, you will then need to add the new planet to solararch.ini. Or, modify the existing entry so that the solar radius matches what you changed it to. Then, when you create a planet in a system, you would adjust the atmosphere and damage zone the same way you always have. This always needs to match the planet you added and is set up in solar arch.

Return to Freelancer General Editing Forum