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

Original Freelancer Errors Found

The general place to discuss MOD''ing Freelancer!

Post Mon Sep 01, 2003 8:05 am

Original Freelancer Errors Found

There are two persistent yellow archtype errors seen on the server console when developing
a mod in a LAN environment that have plagued us from the birth of Freelancer. In other words,
they were there to begin with.

I have discovered their source at last, mostly by accident and partly due to working previously
on this problem with Reynen and the TNG mod. So some of the credit goes to him.

The problems are in solararch.ini and loadouts_special.ini. They may also be in some of the
individual system ini files as well, but I have only confirmed that this works in the New York system.
The nature of the solution makes it obvious that if you are seeing these errors in a certain system that
contains a base that looks like a battleship, you should check that system ini file to make sure the
call for that base is correct.

If someone else has already discovered how to fix these, I am unaware of it and will
gladly not claim credit for it. But I just found it tonight.

The problem is this:

solararch.ini calls a moving ship loadout as a loadout in two static solar objects,
specifically 2 calls to loadout = l_dreadnought.

loadouts_special.ini declares specific loadouts for BASES that look like Battleships and
these have an "_01" at the end. They also have engines listed in them and this is the
problem. To solve the problem do the following:

Step one is to remove the equip = "whatever_engine" from the BASE battleship declarations
that are meant to be used with static solar objects. These decs are used in the individual
system ini files, such as LI01.ini, etc. where the system contains a base that looks like a battleship.
The Dreadnought loadout is used also in solararch.ini as previously stated.

Step two is to replace the 2 Solar Object loadout declarations in solararch.ini with the
proper static loadouts from loadouts_special.ini.

See examples below

Problems solved. Thank You Microsoft.

From loadouts_special.ini

[Loadout;This is a declaration to be used with a static solar object
;A base that looks like a dreadnought!
nickname = rm_l_dreadnought_li_01; <---NOTE the "_01" on the end
archetype = li_dreadnought
equip = infinite_power
;ENGINE, SCANNER, TRACTOR, AND SFX REMOVED FROM THIS EXAMPLE
;compare it with a standard file to see the differences
equip = li_battleship_turret01, HpTurret_L1_01
equip = li_battleship_turret01, HpTurret_L2_01
equip = li_battleship_turret03, HpTurret_L3_01
equip = li_battleship_turret04, HpTurret_L4_01
equip = li_battleship_turret04, HpTurret_L4_02
equip = li_battleship_flak_turret01, HpTurret_L4_03
equip = li_battleship_flak_turret01, HpTurret_L4_04
equip = li_battleship_turret04, HpTurret_L4_05
equip = li_battleship_turret04, HpTurret_L4_06
equip = li_battleship_turret04, HpTurret_L4_07
equip = SlowLargeBlue, HpRunningLight15
equip = SlowLargeBlue, HpRunningLight17
equip = SlowLargeBlue, HpRunningLight33
equip = SlowLargeBlue, HpRunningLight09
equip = SlowLargeBlue, HpRunningLight11
equip = SlowLargeBlue, HpRunningLight34

From solararch.ini, there are TWO objects which use the li_dreadnought loadout in error.
This is one of them:

[Solar;This is A static solar object. A Station that looks like the Dreadnought!
nickname = l_dreadnought
type = STATION
DA_archetype = ships\liberty\li_dreadnought\li_dreadnought.cmp
material_library = ships\liberty\li_capships.mat
material_library = fx\envmapbasic.mat
envmap_material = envmapbasic
LODranges = 0, 600, 800, 1200, 2000, 3000, 6000, 20000
surface_hit_effects = 0, small_hull_hit
mass = 100000.000000
loadout = rm_l_dreadnought_li_01; <----- Substituted this for loadout = li_dreadnought
docking_sphere = berth, HpDockMountA, 10, Sc_open baydoor
docking_sphere = moor_medium, HpDockMountB, 675.000000
docking_sphere = moor_large, HpDockMountC, 675.000000
docking_camera = 0
solar_radius = 400
shape_name = NAV_smallstation
hit_pts = 999999961690316250000000000000000000.000000

From LI01.ini, the Battleship Missouri, which looks like a Dreadnought!

[Object;Battleship Missouri
nickname = Li01_03
ids_name = 196768
pos = 48523, 50, 6690
Archetype = l_dreadnought
ids_info = 65747
base = Li01_03_base
dock_with = Li01_03_base
voice = atc_leg_m01
space_costume = li_captain_head, li_male_elite_body
reputation = li_n_grp
behavior = NOTHING
difficulty_level = 3
loadout = li_dreadnought_li_01; <-----here the correct call is used
;but it throws an exception to the console because an engine is equipped in this loadout by mistake.
pilot = pilot_solar_hard
visit = 1;mark this as revisited so you won't have to revisit this problem. LOL.


Thank You. Glock 36.

Post Tue Sep 02, 2003 7:10 am

that's a great help Glock


Working hard to earn... but too lazy to do something...

Return to Freelancer General Editing Forum