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

Orbiting Planets Trouble

The general place to discuss MOD''ing Freelancer!

Post Tue Jan 09, 2007 11:57 am

Orbiting Planets Trouble

OK, I can get the moon to orbit the Earth. I am now trying to get the moons of Mars to Orbit Mars. WHen I put the code in, the moon and Earth still work, however, mars will now have the Earth's moon revolving around it and not the moons of Mars. Here is the code. Maybe you ship builders can explain this to me as I am not real good at hard points. Earth has a hard point called HPMOUNT01. Mars has 2 hardpoints called HPMOUNT01 and HPMOUNT02. Each of the moons have a hardpoint called SPCONNECT01.

Keep in mind Earth and the moon work, it is just Mars that is not. It has the Earth;s moon orbiting it and not the moons it is supposed to. Here is the code in the files if you can help me out.

equipment/select_equip.ini

[CargoPod
nickname = custom_lunareal_01
DA_archetype = solar\planets\Earth\LunaReal.cmp
material_library = solar\planets\Earth\LunaReal.mat
LODranges = 0, 999999
HP_child = SpConnect01
hit_pts = 1000000
mass = 2000
explosion_arch = explosion_large_debris

[CargoPod
nickname = custom_phobos_01
DA_archetype = solar\planets\Mars\Phobos.cmp
material_library = solar\planets\Mars\Phobos.mat
LODranges = 0, 999999
HP_child = SpConnect01
hit_pts = 1000000
mass = 2000
explosion_arch = explosion_large_debris

[CargoPod
nickname = custom_deimos_01
DA_archetype = solar\planets\Mars\Deimos.cmp
material_library = solar\planets\Mars\Deimos.mat
LODranges = 0, 999999
HP_child = SpConnect01
hit_pts = 1000000
mass = 2000
explosion_arch = explosion_large_debris



solar/SolarArch.ini

[Solar
nickname = planet_Earth_15k
ids_name = 60203
ids_info = 60204
type = PLANET
DA_archetype = solar\planets\Earth\TerraReal.cmp
material_library = solar\planets\Earth\TerraReal.mat
hit_pts = 1000000000000
mass = 1000000
solar_radius = 16300
shape_name = NNM_SM_MEDIUM_FOREST_MOON
LODranges = 0, 1000000
loadout = orb_earth_loadout_01

[Solar
nickname = planet_MarsReal_13k
ids_name = 60203
ids_info = 60204
type = PLANET
DA_archetype = solar\planets\Mars\MarsReal.cmp
material_library = solar\planets\Mars\MarsReal.mat
mass = 1000000
solar_radius = 14209
shape_name = NNM_SM_MEDIUM_ROCKY_MOON
LODranges = 0, 100000000000
hit_pts = 1000000000000
loadout = orb_mars_loadout_01




solar/loadouts.ini

[Loadout
nickname = orb_earth_loadout_01
equip = custom_lunareal_01, HpMount01

[Loadout
nickname = orb_mars_loadout_01
equip = custom_phobos_01, HpMount01
equip = custom_deimos_01, HpMount02

Requiem: A Total FL Conversion Mod .
http://mod.pff-clan.us

Post Tue Jan 09, 2007 1:38 pm

*Sigh* CRC conflict in your models.

You already know that "nicknames" in the INI's need to be unique ie no two the same (equipment and thier goods entries being the only exception iirc). Well internal names in the CMP,3DB and MAT files are the same, in Milkshape the names in the Group list and the Material list need to be unique to that model and unique to your mod. If not you get a CRC conflict where you get either a mesh sawp or a texture swap or both, which is exactly what you've got.

**shuffles of with a new headache**

Post Tue Jan 09, 2007 1:56 pm

Thanks, but they are different. I can put them in as planets just fine and they all show up as themselves as they should.

I learned the hardway about the 3db's in the cmp files needing to be unique.

Before I started working on the orbiting planets, I had everything in as just moons (planets) and they work very well. Just when trying to get them orbiting, the Earths moon show up as orbiting Mars. Only one though even though I have both programed in.

Requiem: A Total FL Conversion Mod .
http://mod.pff-clan.us

Post Tue Jan 09, 2007 3:47 pm

could be a mistake in the systems ini file, can you post those entries too?
maybe there is a another loadout defined in there.

Post Tue Jan 09, 2007 6:16 pm

Here is the system ini file.

[SystemInfo
name = Li01
space_color = 0, 0, 0
local_faction = li_n_grp

[TexturePanels
file = universe\heavens\shapes.ini

[Dust
spacedust = Dust

[Asteroids
file = solar\asteroids\Li01_astroidbelt_01.ini
zone = Zone_Li01_astroidbelt_01

[Music
space = music_li_space
danger = music_li_danger
battle = music_li_battle

[Ambient
color = 0, 0, 0

[Background
basic_stars = solar\starsphere\starsphere_stars_basic.cmp
complex_stars = solar\starsphere\starsphere_li01_stars.cmp
nebulae = solar\starsphere\starsphere_li01.cmp

[LightSource
nickname = Li01_system_light_01
pos = 1609, 0, -2145
color = 243, 243, 243
range = 150000
type = DIRECTIONAL
atten_curve = DYNAMIC_DIRECTION

[Object
nickname = Sun_Li01
ids_name = 261008
pos = 1609, 0, -2145
ambient_color = 255, 255, 255
Archetype = sun_2000
ids_info = 66162
star = med_white_sun
atmosphere_range = 11000
burn_color = 160, 222, 245

[zone
nickname = Sun_Li01_death
pos = 1609, 0, -2145
shape = SPHERE
size = 5000
damage = 100000
sort = 99.500000
density = 0
relief_time = 0

[Object
nickname = Li01_01
ids_name = 196766
pos = -37554, -10000, 70816
ambient_color = 255, 0, 0
Archetype = planet_Earth_15k
loadout = orb_earth_loadout_01
ids_info = 65759
spin = 0.000000, 0.035000, 0.000000
atmosphere_range = 16800
burn_color = 160, 222, 245
base = Li01_02_Base
reputation = li_n_grp
visit = 1
rotate = 0, 0, 0

[zone
nickname = Zone_Li01_Manhattan_death
pos = -37554, -10000, 70816
shape = SPHERE
size = 15150
damage = 5000
sort = 99.500000
density = 0
relief_time = 0
population_additive = false

[zone
nickname = Zone_Li01_001_Planet_Li01_01_atmosphere_burn
pos = -37554, -10000, 70816
shape = SPHERE
size = 16350
edge_fraction = 0.070000
spacedust = atmosphere_gray
spacedust_maxparticles = 250
sort = 99

[Object
nickname = Li01_02_dock_ring
ids_name = 458871
archetype = dock_megadock
ids_info = 66141
behavior = NOTHING
pilot = pilot_solar_easy
dock_with = Li01_02_Base
pos = -35439, -10000, 54415
rotate = 0, 165, 0
reputation = li_n_grp
difficulty_level = 9
space_costume = , worm
voice = pilot_f_mil_m02a
reputation = li_n_grp

[Object
nickname = Li01_planet_1
ids_name = 458761
spin = 0.000000, 0.032000, 0.000000
rotate = 0, 0, 0
pos = 114808, 33000, -2682
archetype = planet_MarsReal_13k
loadout = orb_earth_loadout_01
atmosphere_range = 14709
burn_color = 255, 222, 160
ids_info = 66069

[zone
nickname = Li01_planet_1_death
pos = 114808, 33000, -2682
shape = SPHERE
size = 14459
damage = 5000
sort = 99.500000
density = 0
relief_time = 0

[Object
nickname = Li01_to_RE01_hole
ids_name = 524407
pos = 1072, 0, -127684
rotate = 0, 140, 0
archetype = jumphole_orange
msg_id_prefix = gcs_refer_system_RE01
jump_effect = jump_effect_hole
ids_info = 66146
visit = 0
goto = RE01, RE01_to_Li01_hole, gate_tunnel_bretonia

[zone
nickname = Zone_Li01_to_RE01_hole
pos = 1073, 0, -127683
shape = SPHERE
size = 1000
property_flags = 131072
visit = 128
sort = 0

[Object
nickname = Li01_planet_5
ids_name = 458760
spin = 0.000000, 0.002000, 0.000000
rotate = 0, 0, 0
pos = -35408, -35000, -38090
archetype = planet_Venus_10k
atmosphere_range = 10500
burn_color = 255, 222, 160
ids_info = 66069

[zone
nickname = Li01_planet_5_death
pos = -35408, -35000, -38090
shape = SPHERE
size = 10250
damage = 5000
sort = 99.500000
density = 0
relief_time = 0

[Object
nickname = Li01_planet_6
ids_name = 458764
spin = 0.000000, 0.003000, 0.000000
rotate = 0, 0, 0
pos = 3218, 10000, -2682
archetype = planet_mercury_1015
atmosphere_range = 1215
burn_color = 255, 222, 160
ids_info = 66069

[zone
nickname = Li01_planet_6_death
pos = 3218, 10000, -2682
shape = SPHERE
size = 1115
damage = 50
sort = 99.500000
density = 0
relief_time = 0

[Object
nickname = Li01_to_LI02_hole
ids_name = 524408
pos = 8519, 0, -119781
rotate = 0, 140, 0
archetype = jumphole_green
msg_id_prefix = gcs_refer_system_LI02
jump_effect = jump_effect_hole
ids_info = 66146
visit = 0
goto = LI02, LI02_to_Li01_hole, gate_tunnel_bretonia

[zone
nickname = Zone_Li01_to_LI02_hole
pos = 8520, 0, -119780
shape = SPHERE
size = 1000
property_flags = 131072
visit = 128
sort = 0

[Zone
nickname = Zone_Li01_astroidbelt_01
ids_name = 458758
pos = 74035, 0, 83692
rotate = 0, 34, 0
shape = ELLIPSOID
size = 124465, 41309, 41309
property_flags = 130
ids_info = 0
visit = 36
spacedust = debrisdust
spacedust_maxparticles = 50
comment = New Field
sort = 20
toughness = 6
density = 5
repop_time = 20
max_battle_size = 4
pop_type = nonlootable_ast_field
relief_time = 35

[Object
nickname = Li01_planet_7
ids_name = 458759
spin = 0.000000, 0.035000, 0.000000
rotate = 0, 0, 0
pos = 64914, 21500, 100859
archetype = planet_desormed_4000
atmosphere_range = 4100
burn_color = 255, 222, 160
ids_info = 66069

[zone
nickname = Li01_planet_7_death
pos = 64914, 21500, 100859
shape = SPHERE
size = 4050
damage = 500
sort = 99.500000
density = 0
relief_time = 0


Requiem: A Total FL Conversion Mod .
http://mod.pff-clan.us

Post Wed Jan 10, 2007 3:46 am

My mistake I miss read your post, I thought you had said both of Mars moons had changed. Very nice call by RimShot as that's exactly what you've done, your using Earth's loadout on Mars.

**shuffles of with a new headache**

Post Wed Jan 10, 2007 4:39 am

Duh, Now that I look at it again for the 100th time, I see that. Guess sometimes it helps to get another set of eyed looking at it. Thanks.

Requiem: A Total FL Conversion Mod .
http://mod.pff-clan.us

Post Wed Jan 10, 2007 5:27 am

Lt. Commander fadius I do the samething from time to time and it is great to have TLR forums to ask these questions.

With Lt. Commander RimShot & Lt. Colonel Bejaymac here to help it is always a good thing. Thank you to both of you for all your help here at TLR.





"When the government violates the people's rights, insurrection is, for the people and for each portion of the people, the most sacred of rights and the most indispensable of duties."



Edited by - FlyByU on 1/10/2007 5:27:55 AM

Post Wed Jan 10, 2007 11:13 am

shame this place aint as "active" as it used to be, but meh, still got the few ppl around to help with this sort of thing

Post Sat Feb 17, 2007 12:47 am

Very instresting. Haven't tried making planets orbit.

Return to Freelancer General Editing Forum