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

Game crashes when adding ships

This is where you can ask for help and post your knowledge on error messages from using the various tools that describe error messages in MODs such as DataStorm the Freelancer MOD Scanner the server console and FLSpit.

Post Sat Apr 01, 2006 5:45 pm

Game crashes when adding ships

Hello all!
I recently downloaded Archedyne's Federation ship pack v2.0, and I wanted to add some more Star Trek ships to it. So I downloaded Solurus 1.3, WTS 2.0, and Mysteries of the Nebula so I could get some more ships. I got 3 of the ships I added to work, but when I tried to get the Romulan Warbird, it crashed as soon as I clicked on the ship. Now it seems that only the first three ships I added work. Please find something wrong with my code! BTW: I did remember to also move the cmp's, mat's, sur's, and 3db's. I also changed the DA_Archetype paths in each file.
[Ship
ids_name = 524444
ids_info = 524446
ids_info1 = 524445
ids_info2 = 66608
ids_info3 = 524447
nickname = warbird
ship_class = 3
type = FIGHTER
;fuse = drop_cargo_fuse, 0.000000, 1
mission_property = can_use_med_moors
LODranges = 0, 4000
msg_id_prefix = gcs_refer_shiparch_Kushf
DA_archetype = Ships\startrek\warbird\warbird.cmp
material_library = Ships\startrek\warbird\warbird.mat
material_library = fx\envmapbasic.mat
envmap_material = envmapbasic
cockpit = Cockpits\Corsair\bw_elite2.ini
max_bank_angle = 30
camera_offset = 7.536000, 33.491001
camera_angular_acceleration = 0.050000
camera_horizontal_turn_angle = 23
camera_vertical_turn_up_angle = 5
camera_vertical_turn_down_angle = 30
camera_turn_look_ahead_slerp_amount = 1.000000
pilot_mesh = generic_pilot
nanobot_limit = 150
shield_battery_limit = 150
hit_pts = 208000
hold_size = 3200
explosion_arch = explosion_ku_elite
surface_hit_effects = 0, small_hull_hit_light01, small_hull_hit_light02, small_hull_hit_light03
surface_hit_effects = 150, small_hull_hit_medium01, small_hull_hit_medium02, small_hull_hit_medium03
surface_hit_effects = 300, small_hull_hit_heavy01, small_hull_hit_heavy02, small_hull_hit_heavy03
bay_door_anim = Sc_open baydoor
bay_doors_open_snd = cargo_doors_open
bay_doors_close_snd = cargo_doors_close
HP_bay_surface = HpBayDoor01
HP_bay_external = HpBayDoor02
num_exhaust_nozzles = 2
shield_link = l_elite_shield01, HpMount, HpShield01
hp_type = hp_thruster, HpThruster01
hp_type = hp_mine_dropper, HpMine01
hp_type = hp_countermeasure_dropper, HpCM01
hp_type = hp_torpedo_special_1, HpTorpedo01, HpTorpedo02
hp_type = hp_torpedo_special_2, HpTorpedo01, HpTorpedo02
HP_tractor_source = HpTractor_Source
fuse = intermed_damage_smallship01, 0.000000, 900
fuse = intermed_damage_smallship02, 0.000000, 450
fuse = intermed_damage_smallship03, 0.000000, 300
hp_type = hp_gun_special_10, HpWeapon01, HpWeapon02, HpWeapon03, HpWeapon04, HpWeapon05, HpWeapon06
hp_type = hp_gun_special_9, HpWeapon01, HpWeapon02, HpWeapon03, HpWeapon04, HpWeapon05, HpWeapon06
hp_type = hp_gun_special_8, HpWeapon01, HpWeapon02, HpWeapon03, HpWeapon04, HpWeapon05, HpWeapon06
hp_type = hp_gun_special_7, HpWeapon01, HpWeapon02, HpWeapon03, HpWeapon04, HpWeapon05, HpWeapon06
hp_type = hp_gun_special_6, HpWeapon01, HpWeapon02, HpWeapon03, HpWeapon04, HpWeapon05, HpWeapon06
hp_type = hp_gun_special_5, HpWeapon01, HpWeapon02, HpWeapon03, HpWeapon04, HpWeapon05, HpWeapon06
hp_type = hp_gun_special_4, HpWeapon01, HpWeapon02, HpWeapon03, HpWeapon04, HpWeapon05, HpWeapon06
hp_type = hp_gun_special_3, HpWeapon01, HpWeapon02, HpWeapon03, HpWeapon04, HpWeapon05, HpWeapon06
hp_type = hp_gun_special_2, HpWeapon01, HpWeapon02, HpWeapon03, HpWeapon04, HpWeapon05, HpWeapon06
hp_type = hp_gun_special_1, HpWeapon01, HpWeapon02, HpWeapon03, HpWeapon04, HpWeapon05, HpWeapon06
hp_type = hp_turret_special_10, HpTurret01, HpTurret02, HpTurret03, HpTurret04
hp_type = hp_turret_special_9, HpTurret01, HpTurret02, HpTurret03, HpTurret04
hp_type = hp_turret_special_8, HpTurret01, HpTurret02, HpTurret03, HpTurret04
hp_type = hp_turret_special_7, HpTurret01, HpTurret02, HpTurret03, HpTurret04
hp_type = hp_turret_special_6, HpTurret01, HpTurret02, HpTurret03, HpTurret04
hp_type = hp_turret_special_5, HpTurret01, HpTurret02, HpTurret03, HpTurret04
hp_type = hp_turret_special_4, HpTurret01, HpTurret02, HpTurret03, HpTurret04
hp_type = hp_turret_special_3, HpTurret01, HpTurret02, HpTurret03, HpTurret04
hp_type = hp_turret_special_2, HpTurret01, HpTurret02, HpTurret03, HpTurret04
hp_type = hp_turret_special_1, HpTurret01, HpTurret02, HpTurret03, HpTurret04
hp_type = hp_elite_shield_special_10, HpShield01
hp_type = hp_elite_shield_special_9, HpShield01
hp_type = hp_elite_shield_special_8, HpShield01
hp_type = hp_elite_shield_special_7, HpShield01
hp_type = hp_elite_shield_special_6, HpShield01
hp_type = hp_elite_shield_special_5, HpShield01
hp_type = hp_elite_shield_special_4, HpShield01
hp_type = hp_elite_shield_special_3, HpShield01
hp_type = hp_elite_shield_special_2, HpShield01
hp_type = hp_elite_shield_special_1, HpShield01
linear_drag = 1.000000
mass = 250
steering_torque = 55000.000000, 55000.000000, 48000.000000
angular_drag = 41000.000000, 41000.000000, 35000.000000
rotation_inertia = 8400.000000, 8400.000000, 1000.000000
nudge_force = 30000.000000
strafe_force = 20000
strafe_power_usage = 2

What's your favorite letter?
Mine is the squiggly! (erm, tilde)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Post Sat Apr 01, 2006 6:09 pm

>, you may want to consider creating a name, rather than a symbol.

Adding a ship has several things, not just the ship in ShipArch. Check the other things needed, as in effect, weps, see what is in the goods file and that you have those things needed.

I learned to pull ships as well, trying them out. You can't miss ANY thing or it crashes. Test it, subing for a ship on Manhatten.



[Ship
ids_name = 0 ;GENERATESTRRES("D'Daridex - Romulan Warbird"
ids_info = 0 ;GENERATEXMLRES("<xml><RDL><PUSH/><TEXT/><PARA/><TRA data="1" mask="1" def="-2"/><JUST loc="center"/><TEXT>Stats</TEXT><PARA/><TRA data="0" mask="1" def="-1"/><JUST loc="left"/><TEXT/><PARA/><TEXT>Guns/Turrets: 6/2</TEXT><PARA/><TEXT>Armor: 14500</TEXT><PARA/><TEXT>Cargo Holds: 110</TEXT><PARA/><TEXT>Max Batteries/NanoBots: 125/125</TEXT><PARA/><TEXT>Optimal Weapon Class: 8</TEXT><PARA/><TEXT>Max. Weapon Class: 10</TEXT><PARA/><TEXT>Additional Equipment: M, CM, CD/T</TEXT><PARA/><PARA/><POP/></RDL></xml>"
ids_info1 = 0 ;GENERATEXMLRES("<xml><RDL><PUSH/><TRA data="1" mask="1" def="-2"/><JUST loc="center"/><TEXT>"D'Daridex" Romulan Warbird</TEXT><PARA/><TRA data="0" mask="1" def="-1"/><JUST loc="left"/><TEXT></TEXT><PARA/><TEXT>The largest and most powerful of Romulan spacecraft, first detected in late 2364 by the Federation in the first Romulan meeting in 53 years. Nearly twice the length overall of a Galaxy-class Federation starship, this vessel used an artificial quantum singularity to power its warp-drive system.</TEXT><PARA/><TEXT></TEXT><PARA/><TEXT>Decks are lettered and sections numbered; some quarters are on C deck; Launch Bay 3 is on Deck E, Section 25. It carries at least three shuttlecraft areas, known as "Launching Bays." Even through a cloak, warp signature may be detected at speeds above warp 6.</TEXT><PARA/><POP/></RDL></xml>"
ids_info2 = 0 ;GENERATEXMLRES("<xml><RDL><PUSH/><TRA data='1' mask='1' def='-2'/><TEXT>Stats</TEXT><PARA/><TRA data='0' mask='1' def='-1'/><TEXT/><PARA/><TEXT>Gun/Turret Mounts:</TEXT><PARA/><TEXT>Armor:</TEXT><PARA/><TEXT>Cargo Space:</TEXT><PARA/><TEXT>Max Batteries/NanoBots:</TEXT><PARA/><TEXT>Optimal Weapon Class:</TEXT><PARA/><TEXT>Max. Weapon Class:</TEXT><PARA/><TEXT>Additional Equipment: </TEXT><PARA/><POP/></RDL></xml>"
ids_info3 = 0 ;GENERATEXMLRES("<xml><RDL><PUSH/><TEXT/><PARA/><TEXT/><PARA/><TEXT>6/2</TEXT><PARA/><TEXT>14500</TEXT><PARA/><TEXT>110</TEXT><PARA/><TEXT>125/125</TEXT><PARA/><TEXT>8</TEXT><PARA/><TEXT>10</TEXT><PARA/><TEXT>M, CM, CD/T</TEXT><PARA/><POP/></RDL></xml>"
nickname = Warbird
ship_class = 3
type = FIGHTER
fuse = drop_cargo_fuse, 0.000000, 1
mission_property = can_use_berths
LODranges = 0, 2000
msg_id_prefix = gcs_refer_shiparch_Kushf
DA_archetype = Ships\Startrek\warbird\Warbird.cmp
material_library = Ships\Startrek\warbird\Warbird.mat
material_library = fx\envmapbasic.mat
envmap_material = envmapbasic
cockpit = Cockpits\Corsair\bw_elite2.ini
max_bank_angle = 35
camera_offset = 7.536000, 33.491001
camera_angular_acceleration = 0.050000
camera_horizontal_turn_angle = 23
camera_vertical_turn_up_angle = 5
camera_vertical_turn_down_angle = 30
camera_turn_look_ahead_slerp_amount = 1.000000
pilot_mesh = generic_pilot
nanobot_limit = 125
shield_battery_limit = 125
hit_pts = 14500
hold_size = 110
explosion_arch = explosion_ku_elite
surface_hit_effects = 0, small_hull_hit_light01, small_hull_hit_light02, small_hull_hit_light03
surface_hit_effects = 150, small_hull_hit_medium01, small_hull_hit_medium02, small_hull_hit_medium03
surface_hit_effects = 300, small_hull_hit_heavy01, small_hull_hit_heavy02, small_hull_hit_heavy03
bay_door_anim = Sc_open baydoor
bay_doors_open_snd = cargo_doors_open
bay_doors_close_snd = cargo_doors_close
HP_bay_surface = HpBayDoor01
HP_bay_external = HpBayDoor02
num_exhaust_nozzles = 2
shield_link = l_elite_shield01, HpMount, HpEngine01, HpShield01
hp_type = hp_thruster, HpThruster01
hp_type = hp_mine_dropper, HpMine01
hp_type = hp_countermeasure_dropper, HpCM01
hp_type = hp_torpedo_special_1, HpTorpedo01, HpTorpedo02
HP_tractor_source = HpTractor_Source
fuse = intermed_damage_smallship01, 0.000000, 900
fuse = intermed_damage_smallship02, 0.000000, 450
fuse = intermed_damage_smallship03, 0.000000, 300
hp_type = hp_gun_special_10, HpWeapon01, HpWeapon02, HpWeapon03, HpWeapon04, HpWeapon05, HpWeapon06
hp_type = hp_gun_special_9, HpWeapon01, HpWeapon02, HpWeapon03, HpWeapon04, HpWeapon05, HpWeapon06
hp_type = hp_gun_special_8, HpWeapon01, HpWeapon02, HpWeapon03, HpWeapon04, HpWeapon05, HpWeapon06
hp_type = hp_gun_special_7, HpWeapon01, HpWeapon02, HpWeapon03, HpWeapon04, HpWeapon05, HpWeapon06
hp_type = hp_gun_special_6, HpWeapon01, HpWeapon02, HpWeapon03, HpWeapon04, HpWeapon05, HpWeapon06
hp_type = hp_gun_special_5, HpWeapon01, HpWeapon02, HpWeapon03, HpWeapon04, HpWeapon05, HpWeapon06
hp_type = hp_gun_special_4, HpWeapon01, HpWeapon02, HpWeapon03, HpWeapon04, HpWeapon05, HpWeapon06
hp_type = hp_gun_special_3, HpWeapon01, HpWeapon02, HpWeapon03, HpWeapon04, HpWeapon05, HpWeapon06
hp_type = hp_gun_special_2, HpWeapon01, HpWeapon02, HpWeapon03, HpWeapon04, HpWeapon05, HpWeapon06
hp_type = hp_gun_special_1, HpWeapon01, HpWeapon02, HpWeapon03, HpWeapon04, HpWeapon05, HpWeapon06
hp_type = hp_turret_special_9, HpTurret01, HpTurret02, HpTurret03, HpTurret04
hp_type = hp_turret_special_8, HpTurret01, HpTurret02, HpTurret03, HpTurret04
hp_type = hp_turret_special_7, HpTurret01, HpTurret02, HpTurret03, HpTurret04
hp_type = hp_turret_special_6, HpTurret01, HpTurret02, HpTurret03, HpTurret04
hp_type = hp_turret_special_5, HpTurret01, HpTurret02, HpTurret03, HpTurret04
hp_type = hp_turret_special_4, HpTurret01, HpTurret02, HpTurret03, HpTurret04
hp_type = hp_turret_special_3, HpTurret01, HpTurret02, HpTurret03, HpTurret04
hp_type = hp_turret_special_2, HpTurret01, HpTurret02, HpTurret03, HpTurret04
hp_type = hp_turret_special_1, HpTurret01, HpTurret02, HpTurret03, HpTurret04
hp_type = hp_elite_shield_special_10, HpShield01
hp_type = hp_elite_shield_special_9, HpShield01
hp_type = hp_elite_shield_special_8, HpShield01
hp_type = hp_elite_shield_special_7, HpShield01
hp_type = hp_elite_shield_special_6, HpShield01
hp_type = hp_elite_shield_special_5, HpShield01
hp_type = hp_elite_shield_special_4, HpShield01
hp_type = hp_elite_shield_special_3, HpShield01
hp_type = hp_elite_shield_special_2, HpShield01
hp_type = hp_elite_shield_special_1, HpShield01
linear_drag = 1
mass = 250
steering_torque = 43000, 43000, 58000
angular_drag = 41000, 41000, 41000
rotation_inertia = 8400, 8400, 8400
nudge_force = 30000
strafe_force = 53000
strafe_power_usage = 2


<data file="DATA\EQUIPMENT\goods.ini" method="append">
<source>
[Good
nickname = Warbird_hull
category = shiphull
ship = Warbird
price = 852123
ids_name = 0 ;GENERATESTRRES("D'Daridex - Romulan Warbird"
item_icon = Ships\Startrek\warbird\Warbird.3db

[Good
nickname = Warbird_package
category = ship
hull = Warbird_hull
addon = ge_s_tractor_01, internal, 1
addon = ge_nf_engine_01, internal, 1 ; Nomad Fighter Engine
addon = bw_elite2_power01, internal, 1 ; Sabre Power Generator
addon = ge_s_scanner_01, internal, 1 ; Standard Scanner
addon = shield01_mark09_hf, HpShield01, 1 ; Champion H. F. Shield (Class 9 Graviton)
addon = ge_s_thruster_03, HpThruster01, 1 ; Heavy Thruster
addon = ge_s_cm_01, HpCM01, 1 ; Countermeasure Dropper
addon = fc_c_turret01_mark03, HpTurret01, 1 ; Salamanca Turret (Class 9)
addon = fc_c_turret01_mark03, HpTurret02, 1 ; Salamanca Turret (Class 9)
addon = fc_c_turret01_mark03, HpTurret03, 1 ; Salamanca Turret (Class 9)
addon = fc_c_turret01_mark03, HpTurret04, 1 ; Salamanca Turret (Class 9)
addon = special_nomad_gun02, HpWeapon01, 1 ; Nomad Energy Cannon (Class 10)
addon = special_nomad_gun02, HpWeapon02, 1 ; Nomad Energy Cannon (Class 10)
addon = special_nomad_gun02, HpWeapon03, 1 ; Nomad Energy Cannon (Class 10)
addon = special_nomad_gun02, HpWeapon04, 1 ; Nomad Energy Cannon (Class 10)
addon = special_nomad_gun02, HpWeapon05, 1 ; Nomad Energy Cannon (Class 10)
addon = special_nomad_gun02, HpWeapon06, 1 ; Nomad Energy Cannon (Class 10)
addon = torpedo01_mark02, HpTorpedo01, 1 ; Sunslayer Torpedo Launcher
addon = torpedo01_mark02, HpTorpedo02, 1 ; Sunslayer Torpedo Launcher
addon = mine02_mark05, HpMine01, 1 ; Ripper Mine Dropper
addon = contrail01, HpContrail01, 1 ; Contrail
addon = contrail01, HpContrail02, 1 ; Contrail
addon = SlowSmallGreen, HpRunningLight01, 1 ; Slow Small Orange
addon = SlowSmallGreen, HpRunningLight02, 1 ; Slow Small Orange
addon = SlowSmallGreen, HpRunningLight03, 1 ; Slow Small Orange
addon = SlowSmallGreen, HpRunningLight04, 1 ; Slow Small Orange
addon = DockingLightRedSmall, HpDockLight01, 1 ; Docking HpDockLight Red Small
addon = DockingLightRedSmall, HpDockLight02, 1 ; Docking HpDockLight Red Small
addon = LargeWhiteSpecial, HpHeadlight01, 1 ; Large White Special

[mShipProps
archetype_id = Warbird
prop = can_use_berths

there is a lot to check. This one is from ver 2.3.

Post Sat Apr 01, 2006 6:19 pm

Thank you Finalday for responding so quickly. About the stuff in goods.ini: that was the other place I looked, and I can't see anyplace that would cause a crash. the unique weapons all work, so I don't think those are the problem. but here is my other code anyway.
[Good
nickname = warbird_hull
category = shiphull
ship = warbird
price = 10
ids_name = 524444
item_icon = Ships\startrek\warbird.3db

[Good
nickname = warbird_package
category = ship
hull = warbird_hull
addon = wbird_shield, HpShield01
addon = ge_s_tractor_01, internal, 1
addon = ge_coe2_engine_01, internal, 1
addon = ge_s_thruster_04, HpThruster01, 1
addon = k_power, internal, 1
addon = k_disruptor, HpWeapon01
addon = k_disruptor, HpWeapon02
addon = k_disruptor, HpWeapon03
addon = k_disruptor, HpWeapon04
addon = k_disruptor, HpWeapon05
addon = k_disrupror, HpWeapon06
addon = k_phaserturret, HpTurret01
addon = k_phaserturret, HpTurret02
addon = k_phaserturret, HpTurret03
addon = k_phaserturret, HpTurret04
addon = photon_torpedo01, HpTorpedo01
addon = photon_torpedo01, HpTorpedo02
addon = ge_s_scanner_01, internal, 1
addon = contrail01, HpContrail01, 1
addon = contrail01, HpContrail02, 1
addon = SlowSmallGreen, HpRunningLight01, 1
addon = SlowSmallGreen, HpRunningLight02, 1
addon = SlowSmallGreen, HpRunningLight03, 1
addon = SlowSmallGreen, HpRunningLight04, 1
addon = DockingLightRedSmall, HpDockLight01, 1
addon = DockingLightRedSmall, HpDockLight02, 1
addon = LargeWhiteSpecial, HpHeadlight01, 1

and for market_ships.ini:

[BaseGood
base = Li01_14_base
marketgood = saber_package, 1, -1, 1, 1, 0, 1, 1
marketgood = steamrunner_package, 1, -1, 1, 1, 0, 1, 1
marketgood = voyager_package, 1, -1, 1, 1, 0, 1, 1
[BaseGood
base = Li01_07_base
marketgood = akira_package, 1, -1, 1, 1, 0, 1, 1
marketgood = PeregrinePolice_package, 1, -1, 1, 1, 0, 1, 1
marketgood = enterprise_e_package, 1, -1, 1, 1, 0, 1, 1

[BaseGood
base = Li01_09_base
marketgood = defiant_package, 1, -1, 1, 1, 0, 1, 1
marketgood = runabout_package, 1, -1, 1, 1, 0, 1, 1
marketgood = kdread_package, 1, -1, 1, 1, 0, 1, 1

[BaseGood
base = Li01_03_base
marketgood = brel_package, 1, -1, 1, 1, 0, 1, 1
marketgood = gryphon_package, 1, -1, 1, 1, 0, 1, 1

[BaseGood
base = Li01_02_base
marketgood = warbird_package, 1, -1, 1, 1, 0, 1, 1

oh and, about the name: it was supposed to be Xen()morph, where the X was the greaterthan-lessthan symbols. Didn't think it would not include the other stuff!

Post Sat Apr 01, 2006 6:56 pm

Oh and, BTW, I have been having the same problem with the Achilles, Galaxy, and K'tinga ships that I added. I did not, however, have a problem adding the Peregrine, Klingon Dreadnought, and Klingon Bird of Prey. Weird? Perhaps something is wrong with my cmp's...

Post Sun Apr 02, 2006 2:39 am

Maybe it's all the periperhal equipment you've added? Your goods.ini entry shows a lot of custom additions - weapons, power plants, engines etc. Any one of those could cause the errors. Simply put ORIGINAL ships engine/power plant and scaner in (and only those, forget guns/equipment/lights) and see if you can buy it.

Post Sun Apr 02, 2006 6:38 am

Thank you - I'll try that. The really strange thing is that I got the warbird to work only once, and when I moved it to another station, it started crashing again. But you're right, all the ships that seem to crash have over 6 weapons attached to them, the Bird of Prey only has 3, the peregrine only has 5, and the dreadnought has well, lots, but it works too. The three that don't work have upwards of 8 weapons.

EDIT: Just tried it and it works perfectly, unfortunately, I put a 300,000 credit shield on it, and that is a lot more than my openSp starts me with, but everything seems to be fine. Thank you Finalday and Chips!

Edited by - Xen()morph on 4/2/2006 7:50:48 AM

Post Sun Apr 02, 2006 7:27 am

I have another question regarding the Achilles starship...
-My mat path is correct and the mat file is there, but the ship is invisible!
I'm not sure what to do, but I'll look around. Any help would be most appreciated!

EDIT: Scratch that, it is only invisible in the shipdealer.

Edited by - Xen()morph on 4/2/2006 8:41:27 AM

Post Mon Apr 03, 2006 12:23 am

It could be "LOD" ranges as defined in the shiparch.ini file. Custom ships only have one level of detail range (never met one with more than one) so if your LOD is like this:


LODranges = 0, 60, 120, 1000

Then you won't see the ship until you are within "60 feet" of it (or whatever the game distance actually is).
To be safe, shove the range at:
LODranges = 0, 3000

Post Mon Apr 03, 2006 9:10 am

Yeah, that's it, cause when I moved it to a different spot in the ship dealer, it is visible.

What's your favorite letter?
Mine is the squiggly! (erm, tilde)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Return to Mod Errors Board