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

Ship Editing Help please!

The general place to discuss MOD''ing Freelancer!

Post Fri Mar 25, 2005 5:16 pm

Ship Editing Help please!

I was editing the Eagle, with shiparch.ini to get its HP numnber higher and to make all hardpoints lvl10, so I mod and then when I replace shiparch with my modded version the game crashed on start and i had to reinstall. What did I do wrong? The tutorials seem to say what everything does but not how to get it to work.

Post Fri Mar 25, 2005 5:27 pm

First off... if you're going to add Hardpoints... use HardCMP. It's much more reliable than any other method.

Secondly... a crash that's so bad that you need to delete the save games is very often related to a missing Archetype object. Go download FLSpit... and run it on your mod the next time it crashes.

Thirdly... if you're still having problems the second time around... put up your ship's modified shiparch.ini entry for us to see... it'll make it much easier to figure out what might be wrong- half the time, it's just a typo

Post Fri Mar 25, 2005 8:18 pm

Thanks. But I'm not trying to add hardpoints, just upgrade them.

Here is the new shiparch entry:

[Ship
ids_name = 237019
ids_info = 66539
ids_info1 = 66540
ids_info2 = 66608
ids_info3 = 66541
ship_class = 3
nickname = ge_fighter6
LODranges = 0, 60, 100, 1000
msg_id_prefix = gcs_refer_shiparch_hfighter
mission_property = can_use_berths
type = FIGHTER
DA_archetype = ships\civilian\cv_vheavy_fighter\cv_vheavy_fighter.cmp
material_library = ships\civilian\cv_ships.mat
material_library = fx\envmapbasic.mat
envmap_material = envmapbasic
cockpit = cockpits\civilian\civilian_vheavy.ini
pilot_mesh = generic_pilot
nanobot_limit = 63
shield_battery_limit = 63
mass = 150.000000
hold_size = 90
linear_drag = 1.000000
fuse = intermed_damage_smallship01, 0.000000, 2475
fuse = intermed_damage_smallship02, 0.000000, 1238
fuse = intermed_damage_smallship03, 0.000000, 825
max_bank_angle = 30
camera_offset = 13, 42
camera_angular_acceleration = 0.030000
camera_horizontal_turn_angle = 20
camera_vertical_turn_up_angle = 5
camera_vertical_turn_down_angle = 30
camera_turn_look_ahead_slerp_amount = 1.000000
hit_pts = 10600
explosion_arch = explosion_cv_fighter
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
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
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
HP_tractor_source = HpTractor_Source
num_exhaust_nozzles = 2
shield_link = cv_fighter6_shield01, HpMount, HpShield01
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_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
hp_type = hp_thruster, HpThruster01
hp_type = hp_mine_dropper, HpMine01
hp_type = hp_countermeasure_dropper, HpCM01
hp_type = hp_turret_special_10, HpTurret01
hp_type = hp_turret_special_9, HpTurret01
hp_type = hp_turret_special_8, HpTurret01
hp_type = hp_turret_special_7, HpTurret01
hp_type = hp_turret_special_6, HpTurret01
hp_type = hp_turret_special_5, HpTurret01
hp_type = hp_turret_special_4, HpTurret01
hp_type = hp_turret_special_3, HpTurret01
hp_type = hp_turret_special_2, HpTurret01
hp_type = hp_turret_special_1, HpTurret01
hp_type = hp_torpedo_special_1, HpTorpedo01
hp_type = hp_torpedo_special_2, HpTorpedo01


Edited by - reagan64 on 3/26/2005 9:03:57 AM

Post Sat Mar 26, 2005 9:50 am

It looks ok, but did you add an extra entry or modify the original one? If you added a complete entry it will need a new unique nickname.

Post Sat Mar 26, 2005 11:54 am

Modified the original.

Post Sat Mar 26, 2005 6:06 pm

I`ve just gone through comparing your file with SDK and couldn`t see anything that would cause a crash. Are you sure that this is the problem?
Another reason for having a crash before starting is a good for sale that isn`t in the proper file or is named wrong. Just an idea..

Post Sat Mar 26, 2005 6:38 pm

I've looked through your file, and I don't see anything unusual, nor any typos.

My suspicion would be that the goof is elsewhere. Run FLSpit after your crash, and let's see the output from that...

Post Sun Mar 27, 2005 2:03 am

yeah, I was about to say use FlSpit - very useful. You could also try DataStorm to search for errors, but I find that rarely finds alot of them (well, thats probably just my mods ).
If FlSpit doesn't help you, just remove all the files from your mod, and add them in one at a time until the crash happens again - then check the file(s) you had just added.

_____________________________
I feel a new generation of modding coming - Look at them, Warriors of the Sky (Argh & Crew), The Sol Mod (Mephistopheles)...Total Conversions, to the highest quality...

Post Mon Mar 28, 2005 7:38 pm

I agree, nothing wrong above

Glock36
"No Comment"

Post Tue Mar 29, 2005 3:08 pm

The only file I modified was shiparch.ini.

Post Tue Mar 29, 2005 10:59 pm

Perhaps it something silly (I've done it many time before, lol), like a misspelled DATA directory...make sure theres nothing in your mods folder except a readme, script, data file - and inside that the ships file, with that file inside.

Post Wed Mar 30, 2005 2:46 pm

The only file in the folder is shiparch.ini. I didn't make a script because I don't know how.

Post Wed Mar 30, 2005 8:19 pm

You could just keep a copy of your original shiparch and copy the new one manually into the directory. As long as its backed up, you can always go back to the original.

Post Thu Mar 31, 2005 11:40 am

That's exactly what I did.

Post Thu Mar 31, 2005 12:19 pm

1) Are you using the SDK or the compressed origionals.For modding always use the SDK,its so much easier than the old method.

2) Do you "save" or "save as",this is a mistake most of us noobs make.You should always "save as" then change the file type to "all files". <-done this myself twice

3) Always mod in Mod Manager,if you cockup your mod & freelancer crashes,FLMM saves you from having to uninstall Freelancer.

Check your shiparch.ini file does it's icon look the same as the other ini files ie a text doc. with a cog on it. If not then you've done No.2 above.
If your using the SDK then try reinstalling them they should overwrite the files & stop Freelancer from crashing.


*edit* When you say that its the only file in the folder do you mean "my mod folder\shiparch.ini", if so then thats your problem it should be "my mod folder\data\ships\shiparch.ini"


Edited by - Bejaymac on 3/31/2005 1:27:52 PM

Return to Freelancer General Editing Forum