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

Need help creating a new ship

The general place to discuss MOD''ing Freelancer!

Post Fri Jul 09, 2004 4:14 am

Need help creating a new ship

I need help creating a new ship, using either the Anubis or Eagle model (whichever one has the most amount of hardpoints). This includes creating IDS, making it buy/sell-able, creating an infocard, etc. I'd like a step-by-step walkthrough if possible.

TIA!

BTW
In case you're wondering, I'm able to:

Alter hit points of the hull
Change speed of the afterburners
Alter a ship's power supply/drain/recharge
Alter amount of nanobots/shield batteries carried
Alter a ship's cargo space
Change faction responses to attacks (I've made it so that if one kills a member of the Xenos, one will become friendly to ALL factions (including Nomads) excluding the Xenos themselves)

Right now I'm using a Titan with 20000 HP, 1500 nanobots/shield batteries, 1,000,000 cargo space, suffers no power drain when using uber-powerful weaponry, and can go around 1000 using the afterburners. I have discovered downsides though... without creating a new ship, ALL ships of the altered type will have the same stats, I.E. you change your Titan to have 1,000,000 armor, so do all Titans (that caused quite a problem for me...)

"My word is my honor. My honor is my life."
-- Raphael Griffinhart, Death Incarnate, the Final Warrior

Post Fri Jul 09, 2004 4:19 am

Chips has a thread stickyed above that contains tools to do the modding, and the Tutural forum contains one for the "how to" part. Just a little reading needed. These were posted so folks could find out how to make their own, without having to ask. Welcome to TLR.

Post Fri Jul 09, 2004 7:11 am

Thanks, but now I have a problem. I've done everything (I think) and then I go to Stutgartt (or whatever) to buy my new ship. Yes, I disabled one of the ships, added mine, etc. However, when I go to buy a ship, I crash to desktop. WTF is going on? Here's what I have for the base (BTW, I forgot which one I took out... I think it was the Banshee, but I'm not sure, nor can I tell because I can't get to buy a new ship...) :

base = Rh03_01_base
marketgood = gf1_package, 0, -1, 0, 0, 1, 1, 1
marketgood = gf2_package, 4, -1, 0, 0, 1, 1, 1
marketgood = gf4_package, 13, -1, 0, 0, 1, 1, 1
marketgood = gf5_package, 24, -1, 0, 0, 1, 1, 1
marketgood = gf6_package, 30, -1, 0, 0, 1, 1, 1
marketgood = bwf_package, 4, -1, 0, 0, 1, 1, 1
marketgood = bwe_package, 20, -1, 0, 0, 1, 1, 1
marketgood = bwe2_package, 30, -1, 0, 0, 1, 1, 1
marketgood = bwfr_package, 10, -1, 0, 0, 1, 1, 1
marketgood = cof_package, 8, -1, 0, 0, 1, 1, 1
marketgood = coe_package, 28, -1, 0, 0, 1, 1, 1
marketgood = coe2_package, 32, -1, 0, 0, 1, 1, 1
marketgood = lf_package, 1, -1, 0, 0, 1, 1, 1
marketgood = le_package, 2, -1, 0, 0, 1, 1, 1
marketgood = lfr_package, 1, -1, 0, 0, 1, 1, 1
marketgood = bf_package, 6, -1, 0, 0, 1, 1, 1
marketgood = be_package, 8, -1, 0, 0, 1, 1, 1
marketgood = bfr_package, 4, -1, 0, 0, 1, 1, 1
marketgood = kf_package, 10, -1, 0, 0, 1, 1, 1
marketgood = ke_package, 13, -1, 0, 0, 1, 1, 1
marketgood = kfr_package, 10, -1, 0, 0, 1, 1, 1
marketgood = rf_package, 20, -1, 1, 1, 0, 1, 1
marketgood = re_package, 22, -1, 0, 0, 1, 1, 1
marketgood = rfr_package, 20, -1, 1, 1, 0, 1, 1
marketgood = pf_package, 2, -1, 0, 0, 1, 1, 1
marketgood = pe_package, 13, -1, 0, 0, 1, 1, 1
marketgood = pfr_package, 4, -1, 0, 0, 1, 1, 1
marketgood = bhf_package, 4, -1, 0, 0, 1, 1, 1
marketgood = bhe_package, 13, -1, 0, 0, 1, 1, 1
marketgood = bhe2_package, 26, -1, 0, 0, 1, 1, 1
marketgood = oe_package, 16, -1, 0, 0, 1, 1, 1
marketgood = yourship_package, 16, -1, 1, 1, 0, 1, 1 <---- My ship that I added

Here's my ship package from goods.ini:

nickname = yourship_package
category = ship
hull = yourship_hull
addon = yourship_engine_01, internal, 1
addon = yourship_power01, internal, 1
addon = ge_s_scanner_01, internal, 1
addon = ge_s_tractor_01, internal, 1
addon = order_shield, HpShield01, 1
addon = LargeWhiteSpecial, HpHeadlight, 1
addon = SlowSmallYellow, HpRunningLight01, 1
addon = SlowSmallYellow, HpRunningLight02, 1
addon = SlowSmallYellow, HpRunningLight03, 1
addon = SlowSmallYellow, HpRunningLight04, 1
addon = SlowSmallYellow, HpRunningLight05, 1
addon = SlowSmallYellow, HpRunningLight06, 1
addon = contrail01, HpContrail02, 1
addon = contrail01, HpContrail03, 1
addon = DockingLightRedSmall, HpDockLight01, 1
addon = DockingLightRedSmall, HpDockLight02, 1

Here's my ship hull from goods.ini:

nickname = yourship_hull
category = shiphull
ship = yourship
price = 100000000
ids_name = 12019
item_icon = Equipment\models\commodities\nn_icons\or_fighter.3db

Here's my ship from shiparch:

ids_name = 237042
ids_info = 66613
nickname = or_elite_msn01
LODranges = 0, 75, 150, 1000
msg_id_prefix = gcs_refer_shiparch_Ordhf
mission_property = can_use_berths
type = FIGHTER
DA_archetype = ships\order\or_elite\or_elite.cmp
material_library = Ships\order\or_ships.mat
material_library = fx\envmapbasic.mat
envmap_material = envmapbasic
cockpit = cockpits\liberty\or_elite.ini
pilot_mesh = generic_pilot
mass = 100.000000
hold_size = 600
linear_drag = 4.500000
fuse = intermed_damage_smallship01, 0.000000, 600
fuse = intermed_damage_smallship02, 0.000000, 400
fuse = intermed_damage_smallship03, 0.000000, 200
max_bank_angle = 30
camera_offset = 12, 46
camera_angular_acceleration = 0.050000
camera_horizontal_turn_angle = 17
camera_vertical_turn_up_angle = 5
camera_vertical_turn_down_angle = 25
camera_turn_look_ahead_slerp_amount = 1.000000
hit_pts = 4200
explosion_arch = explosion_li_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
steering_torque = 43000.000000, 43000.000000, 183000.000000
angular_drag = 41000.000000, 41000.000000, 141000.000000
rotation_inertia = 8400.000000, 8400.000000, 8400.000000
nudge_force = 10000.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 = 3
shield_link = or_elite_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, HpTorpedo02
hp_type = hp_torpedo_special_2, HpTorpedo01, HpTorpedo02

(I don't feel that it's necessary to add collison group, etc.)

Should I have altered my shiparch file? The Complete Freelancer Ship Creating Tutorial I downloaded didn't state anything about the shiparch file needing to be altered other than if one wanted to add HardPoints, HP, Nanobots/Shield Batteries, etc.

"My word is my honor. My honor is my life."
-- Raphael Griffinhart, Death Incarnate, the Final Warrior

Edited by - Final Warrior on 7/9/2004 8:12:16 AM

Post Fri Jul 09, 2004 7:23 am

Try knocking off one of those zeros in your price.
Also you wrote:

Here's my ship hull from goods.ini:

nickname = yourship_hull
category = shiphull
ship = yourship <----it's not pointing at your shiparch entry
price = 100000000
ids_name = 12019
item_icon = Equipment\models\commodities\nn_icons\or_fighter.3db

Here's my ship from shiparch:

ids_name = 237042
ids_info = 66613
nickname = or_elite_msn01 <------Ships that take out the Donau in mission 1

That's not your shiparch entry.

Post Fri Jul 09, 2004 7:37 am

yeah kaegogi is right. you have to change the nick name of that entry to yourship

Post Fri Jul 09, 2004 11:32 pm

Sorry, I copied the wrong ship. Here's my actual ship from shiparch.

[Ship
ids_name = 197687
ids_info = 66700
ids_info1 = 66615
ids_info2 = 66701
ids_info3 = 66702
ship_class = 3
nickname = yourship
LODranges = 0, 75, 150, 1000
msg_id_prefix = gcs_refer_shiparch_Ordhf
mission_property = can_use_berths
type = FIGHTER
DA_archetype = ships\order\or_elite\or_elite.cmp
material_library = Ships\order\or_ships.mat
material_library = fx\envmapbasic.mat
envmap_material = envmapbasic
cockpit = cockpits\liberty\or_elite.ini
pilot_mesh = generic_pilot
nanobot_limit = 2000
shield_battery_limit = 2000
mass = 150.000000
hold_size = 1000000
linear_drag = 1.000000
fuse = intermed_damage_smallship01, 0.000000, 1050
fuse = intermed_damage_smallship02, 0.000000, 525
fuse = intermed_damage_smallship03, 0.000000, 350
max_bank_angle = 30
camera_offset = 12, 46
camera_angular_acceleration = 0.050000
camera_horizontal_turn_angle = 17
camera_vertical_turn_up_angle = 5
camera_vertical_turn_down_angle = 25
camera_turn_look_ahead_slerp_amount = 1.000000
hit_pts = 1000000
explosion_arch = explosion_li_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
steering_torque = 43000.000000, 43000.000000, 230000.000000
angular_drag = 41000.000000, 41000.000000, 141000.000000
rotation_inertia = 8400.000000, 8400.000000, 8400.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 = 3
shield_link = or_elite_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

It's overpowered, but that's why I have the cost at 100 million credits.

I repriced the ship to 1 million credits, and now it works. Thanks for the help everyone.

EDIT:
When I click Select Ship, the game CTDs. Help, anyone? I have enough credits (around 999,000,000 thanks to a modified Titan,a couple missions, and 1,000,000 units of Luxury Consumer Goods sold at a major profit...). I have no idea as to what the problem is...

EDIT:
Changed price to 800,000, but it still CTDs when I click Select Ship.

Edited by - Final Warrior on 7/10/2004 12:40:59 AM

Post Sat Jul 10, 2004 12:27 am

addon = yourship_engine_01, internal, 1
addon = yourship_power01, internal, 1

Have you created these? If so try replacing them with original equipment and see if it works then. Keep replacing equipment until it stops crashing, then you know what's causing the error - assuming it is the equipment of course.

Post Sun Jul 11, 2004 3:56 am

W00t, I figured out the problem. Apparently I had yourship_power01 as my power plant, but I forgot to make an actual yourship_power01. I just modified the Anubis' power plant. If anyone knows the original values for the Anubis' power plant, then could you post it for me? Thanks.

That's about it, I can now use my new ship, the Invincible.

I'm probably going to have to balance her out before she's open to public use.

EDIT:
Does one need to have the CollisionGroup and Simple thingys for the ship? If so, how does one make them?

EDIT:
I saved the game, turned of the PC, etc. However, now when I load up the game and load my savegame, the game STDs at the load screen. WTF is going on now?

"My word is my honor. My honor is my life."
-- Raphael Griffinhart, Death Incarnate, the Final Warrior

Edited by - Final Warrior on 7/11/2004 7:26:50 AM

Edited by - Final Warrior on 7/11/2004 6:25:39 PM

Post Sun Jul 11, 2004 5:30 pm

I changed backed up my files and then changed all the yourship entries to invincible but the game won't even get to the main menu now. Help, anyone?

Post Sun Jul 11, 2004 8:15 pm

Post Sun Jul 11, 2004 11:45 pm

hey finalwarrior,
try the post above and also make ur own attempt, thats the only way you can improve on what you do. send me the files and i will help to my ebilities.

ittan

Post Mon Jul 12, 2004 1:18 am

None of that stuff really helped me...

Ittan, I'll send the files ASAP.

"My word is my honor. My honor is my life."
-- Raphael Griffinhart, Death Incarnate, the Final Warrior

Post Mon Jul 12, 2004 11:25 pm

I can't send the files because I'm not at my computer (am in Sydney Australia).

I think the problem maybe because I gave all of the things regarding my ship unique IDS, or because I backed up the entire DATA folder and the Freelancer folder located in My Documents\Games.

Could eitheer of the above be the problem(s)?

"My word is my honor. My honor is my life."
-- Raphael Griffinhart, Death Incarnate, the Final Warrior

Post Sun Jul 18, 2004 8:25 am

Use "The complete Freelancer editing & creating Tutorial", downloadable on
LancersReactor

Post Thu Aug 19, 2004 8:27 pm

Or you could get the SDK and just re-install all the ini files

(This site is best viewed with your eyes open)

Return to Freelancer General Editing Forum