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

Planet Models

The general place to discuss MOD''ing Freelancer!

Post Fri Feb 20, 2004 4:49 am

Planet Models

I have been attempting to edit a planet model to make it larger. I used UTF-edit and opened planet_earth_3000.sph and changed the radius to 6000 (twice the original sides. I have also changed the solarradius in solararch.ini. I have then created a new system with just one planet with the correct sized atmosphere and damage zone etc.

The problem is that when I go into that system, the planet is there, along with it's atmosphere etc. and its the right size, but it's invisible. I think it has something to do with the textures but I'm not entirely sure.

Any help with this would be duly appreciated

There is no objective truth other than schplurg,
Everything is relative to schplurg

Post Fri Feb 20, 2004 7:21 am

It will be textures. There will be a problem with that i imagine. However, can you do us a favour? When you do get textures working, can you remove the damage zone and fly into it. Do you bounce off or do you fly through it until you hit its original size (sur files you see, am wondering if they are linked to the actual reference points, and in so, if you increase the size of the planet - DOES the sur file increase too.........or not.

Post Fri Feb 20, 2004 9:10 am

Yeh sure, I'd be happy to help

I know it has something to do with the textures, but I'm not entirely sure what

EDIT:
@Chips: Even though I havent sorted out the textures yet, I tried out the flying into a planet thing, using the Navmap as a guide to where the planet should be. I bounced off it. Hope this helps

There is no objective truth other than schplurg,
Everything is relative to schplurg

Edited by - pSYCHO on 2/20/2004 9:46:42 AM

Post Fri Feb 20, 2004 7:48 pm

psycho,

must be an LOD problems, if not, check out the fix and cons in the cmp file that might fix the problem.


---------------- E·N·D O·F M·E·S·S·A·G·E ... ----------------

Post Sat Feb 21, 2004 1:29 am

firebase, its a planet, it has no cmp file, just a sph file.

There is no objective truth other than schplurg,
Everything is relative to schplurg

Post Sat Feb 21, 2004 5:40 am

Actually, the dynamic LOD may be finding something to make invisible, such as the textures themselves, not the model. If a model has no textures, it simply isn't drawn and thus reserves memory - so if the textures for the planet aren't drawn because the planet is too far away, then it would appear invisible.
Just try buggering about with the LOD, you might find something.

+++++++++MESSAGE ENDS+++++++++++

Post Sat Feb 21, 2004 7:40 am

im having trouble because i cant actually seem to find an LODrange, in solararch it just says:

[Solar
nickname = planet_earth_3000
ids_name = 60203
ids_info = 60204
type = PLANET
DA_archetype = solar\planets\planet_earth\planet_earth_3000.sph
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 = 6000
shape_name = NNM_SM_MEDIUM_FOREST_MOON

so unless it has no LODranges...

There is no objective truth other than schplurg,
Everything is relative to schplurg

Post Sat Feb 21, 2004 12:34 pm

i worked it out!!!

i was editing a previous sph file, i just copied an old one, edited it, added stuff in solararch etc and it works!!!!!!!!!!

There is no objective truth other than schplurg,
Everything is relative to schplurg

Post Sat Feb 21, 2004 2:23 pm

I does!!! Maybe you should post step by step instructions on how you did it, it would be helpfull

Post Sat Feb 21, 2004 3:25 pm

And I'm interested to know how you scaled up your solar without blurring the textures on it.

Post Sun Feb 22, 2004 4:25 am

Ok, here is what I did, I will also post this in the tutorial forum. The textures are of slightly worse quality, but not too bad:
Screenshot1
Screenshot2
Screenshot3

Firstly, I opened up the folder that holds the kind of planet i wanted to enlarge (in this case data\solars\planets\planet_earth\') I then copied the existing sph file (planet_earth_3000.sph) and renamed it using the radius of the planet i wanted to create (i was making a planet of radius 50000, so i named it 'planet_earth_50000.sph'.

Next I used utf-edit to open this new file and found the node called radius, I then edited the data in this node as a float array and changed it to 50000.000000.

Then I opened solararch.ini and made a copy of the 'planet_earth_3000' entry and changed it:

[Solar
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
shape_name = NNM_SM_MEDIUM_FOREST_MOON

I then created a new system and added this:

[Object
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

This planet hasnt yet got a death zone yet for testing purposes

There is no objective truth other than schplurg,
Everything is relative to schplurg

Edited by - pSYCHO on 2/22/2004 4:33:51 AM

Return to Freelancer General Editing Forum