Important MessageYou are browsing the archived Lancers Reactor forums. You cannot register or login. |
Edit ships, make them buyable/pilotable
The general place to discuss MOD''ing Freelancer!
43 posts
• Page 1 of 3 • 1, 2, 3
is there a way to do this? I wouldn't mind if I could make more of the ships pilotable. My friend wants to spice up the server. It would be great if we could add in some more ships. Maybe some ones that are already coded in, but not buyable. Like the armored transport, damn that thing looks sexy!
I haven't fully worked it out yet, but i had a bit of a poke around and made the armored transport flyable and buyable, though it will need a bit of work to get the camera, weapon slots and equipment working correctly, plus it moves a bit weird. here's a bit of a run down of what i did.
First i opened the goods.ini file and added this to it.
[Good
nickname = MyShip
category = shiphull
ship = ge_armored
price = 10
ids_name = 12018
item_icon = Equipment\models\commodities\nn_icons\bw_freighter.3db
[Good
nickname = My_Package
category = ship
hull = MyShip
addon = ge_s_scanner_02
addon = ge_gf1_engine_01, internal, 1
addon = ge_fighter_power01, internal, 1
addon = contrail01, HpContrail01
addon = contrail01, HpContrail02
addon = DockingLightRedSmall, HpDockLight01
addon = DockingLightRedSmall, HpDockLight02
The first part i just copyed from another ship in the file and just renamed a few things.
nickname = Myship
Just links the ship to the package.
ship = ge_armored
This is the nickname of the ship in the shiparch.ini file
the rest of the stuff i got from the loadouts_utility.ini this is what it looked like.
[Loadout
nickname = ge_armored
archetype = ge_armored
equip = ge_s_scanner_02
equip = infinite_power
equip = ge_s_tractor_01
equip = sfx_rumble_ut_large
equip = li_turret01_mark01, HpTurret01
equip = li_turret01_mark01, HpTurret02
equip = li_turret01_mark01, HpTurret03
equip = li_turret01_mark01, HpTurret04
equip = li_turret01_mark01, HpTurret05
equip = li_turret01_mark01, HpTurret06
equip = li_turret01_mark01, HpTurret07
equip = li_turret01_mark01, HpTurret08
equip = li_turret01_mark01, HpTurret09
equip = contrail01, HpContrail01
equip = contrail01, HpContrail02
equip = DockingLightRedSmall, HpDockLight01
equip = DockingLightRedSmall, HpDockLight02
equip = ge_tl_engine_01
and i changed it to this when i added to the goods.ini file
[Good
nickname = My_Package
category = ship
hull = MyShip
addon = ge_s_scanner_02
addon = ge_gf1_engine_01, internal, 1
addon = ge_fighter_power01, internal, 1
addon = contrail01, HpContrail01
addon = contrail01, HpContrail02
addon = DockingLightRedSmall, HpDockLight01
addon = DockingLightRedSmall, HpDockLight02
bascicly to look like the other stuff in that file. but i did change the engine and the powerplant from
infinite_power
ge_tl_engine_01
to
ge_gf1_engine_01, internal, 1
ge_fighter_power01, internal, 1
think that's the starflier engine, and finally added the ship to buy at manhattan by putting this under Li01_01_base in the market_ships.ini file.
marketgood = My_Package, 1, -1, 1, 1, 0, 1, 1
oh and i removed one of the other ships to buy, i think it can only display 3.
bit to lazy to fully fix this though, but maybe someone else might. Hope that helps.
First i opened the goods.ini file and added this to it.
[Good
nickname = MyShip
category = shiphull
ship = ge_armored
price = 10
ids_name = 12018
item_icon = Equipment\models\commodities\nn_icons\bw_freighter.3db
[Good
nickname = My_Package
category = ship
hull = MyShip
addon = ge_s_scanner_02
addon = ge_gf1_engine_01, internal, 1
addon = ge_fighter_power01, internal, 1
addon = contrail01, HpContrail01
addon = contrail01, HpContrail02
addon = DockingLightRedSmall, HpDockLight01
addon = DockingLightRedSmall, HpDockLight02
The first part i just copyed from another ship in the file and just renamed a few things.
nickname = Myship
Just links the ship to the package.
ship = ge_armored
This is the nickname of the ship in the shiparch.ini file
the rest of the stuff i got from the loadouts_utility.ini this is what it looked like.
[Loadout
nickname = ge_armored
archetype = ge_armored
equip = ge_s_scanner_02
equip = infinite_power
equip = ge_s_tractor_01
equip = sfx_rumble_ut_large
equip = li_turret01_mark01, HpTurret01
equip = li_turret01_mark01, HpTurret02
equip = li_turret01_mark01, HpTurret03
equip = li_turret01_mark01, HpTurret04
equip = li_turret01_mark01, HpTurret05
equip = li_turret01_mark01, HpTurret06
equip = li_turret01_mark01, HpTurret07
equip = li_turret01_mark01, HpTurret08
equip = li_turret01_mark01, HpTurret09
equip = contrail01, HpContrail01
equip = contrail01, HpContrail02
equip = DockingLightRedSmall, HpDockLight01
equip = DockingLightRedSmall, HpDockLight02
equip = ge_tl_engine_01
and i changed it to this when i added to the goods.ini file
[Good
nickname = My_Package
category = ship
hull = MyShip
addon = ge_s_scanner_02
addon = ge_gf1_engine_01, internal, 1
addon = ge_fighter_power01, internal, 1
addon = contrail01, HpContrail01
addon = contrail01, HpContrail02
addon = DockingLightRedSmall, HpDockLight01
addon = DockingLightRedSmall, HpDockLight02
bascicly to look like the other stuff in that file. but i did change the engine and the powerplant from
infinite_power
ge_tl_engine_01
to
ge_gf1_engine_01, internal, 1
ge_fighter_power01, internal, 1
think that's the starflier engine, and finally added the ship to buy at manhattan by putting this under Li01_01_base in the market_ships.ini file.
marketgood = My_Package, 1, -1, 1, 1, 0, 1, 1
oh and i removed one of the other ships to buy, i think it can only display 3.
bit to lazy to fully fix this though, but maybe someone else might. Hope that helps.
If i remember i tryed it with 4 of the regular ships, i thought it may list more than were displayed but didn't seem to, i might be wrong though.
Anyway i just removed the patriot from the list of buyable ship's just in case.
Just tested it again seems to take the 3 dearest ships and display them. Oh and another thing don't use the dreadnought, she don't quite squeeze through the planets docking ring .
Tried it again, don't know how it picks the three ships, might have to do with the order they are listed in the market_ships.ini.
Edited by - Knight79 on 02-03-2003 15:39:25
Edited by - Knight79 on 02-03-2003 17:29:31
Anyway i just removed the patriot from the list of buyable ship's just in case.
Just tested it again seems to take the 3 dearest ships and display them. Oh and another thing don't use the dreadnought, she don't quite squeeze through the planets docking ring .
Tried it again, don't know how it picks the three ships, might have to do with the order they are listed in the market_ships.ini.
Edited by - Knight79 on 02-03-2003 15:39:25
Edited by - Knight79 on 02-03-2003 17:29:31
Ok i thought i'd give this problem a bit more of a look. I managed to solve all the poblems above. With freighter cockpit, the liberty one, don't know if there's a better suited one in the full version, running lights working, 9 turrets, 2 shield generater's (after all it is an ARMORED transport), no thruster, you can remove a shield Hardpoint and make it a thruster i guess, CM dropper, MINES. Had to add the last two to the engine hard points, ran out of others, no main guns.
This is what you need to put in to the file's to get a flyable buyable armored transport.
This goes into the goods.ini file, watch out for that closing bracket after GOOD, doesn't show up.
[Good
nickname = MyShip
category = shiphull
ship = my_armored
price = 10
ids_name = 12018
item_icon = Equipment\models\commodities\nn_icons\bw_freighter.3db
This also goes into the goods.ini file
[Good
nickname = my_package
category = ship
hull = MyShip
addon = ge_s_scanner_02
addon = ge_s_tractor_01
addon = ge_gf1_engine_01, internal, 1
addon = ge_fighter_power01, internal, 1
addon = LargeWhiteSpecial, HpHeadlight01, 1
addon = SlowSmallOrange, HpRunningLight01, 1
addon = SlowSmallOrange, HpRunningLight02, 1
addon = SlowSmallOrange, HpRunningLight03, 1
addon = SlowSmallOrange, HpRunningLight04, 1
addon = SlowSmallOrange, HpRunningLight05, 1
addon = SlowSmallOrange, HpRunningLight06, 1
addon = SlowSmallOrange, HpRunningLight07, 1
addon = SlowSmallOrange, HpRunningLight08, 1
addon = SlowSmallOrange, HpRunningLight09, 1
addon = SlowSmallOrange, HpRunningLight10, 1
addon = contrail01, HpContrail01
addon = contrail01, HpContrail02
addon = DockingLightRedSmall, HpDockLight01
addon = DockingLightRedSmall, HpDockLight02
And this goes into the shiparch.ini file, watch the closing bracket after SHIP.
[Ship
ids_name = 237001
ids_info = 66493
nickname = my_armored
LODranges = 0, 200, 300, 2000
msg_id_prefix = gcs_refer_shiparch_atransport
mission_property = can_use_berths
type = FREIGHTER
DA_archetype = ships\utility\transport_armored\transport_armored.cmp
material_library = ships\utility\utility_misc.mat
material_library = fx\envmapbasic.mat
envmap_material = envmapbasic
linear_drag = 1.000000
cockpit = cockpits\liberty\l_freighter.ini
pilot_mesh = generic_pilot
nanobot_limit = 10
shield_battery_limit = 10
mass = 300.000000
hold_size = 200
explosion_arch = explosion_ge_atransport
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 = 50000.000000, 50000.000000, 50000.000000
angular_drag = 100000.000000, 100000.000000, 100000.000000
rotation_inertia = 60000.000000, 60000.000000, 60000.000000
nudge_force = 150000.000000
bay_door_anim = Sc_open
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
hit_pts = 2600
camera_offset = 8, 45
camera_angular_acceleration = 0.035000
camera_horizontal_turn_angle = 20
camera_vertical_turn_up_angle = 5
camera_vertical_turn_down_angle = 20
camera_turn_look_ahead_slerp_amount = 1.000000
shield_link = l_freighter_shield01, HpMount, DpPort_sheild, DpStar_sheild
hp_type = hp_freighter_shield_special_3, DpPort_sheild, DpStar_sheild
hp_type = hp_freighter_shield_special_2, DpPort_sheild, DpStar_sheild
hp_type = hp_freighter_shield_special_1, DpPort_sheild, DpStar_sheild
;hp_type = hp_thruster, HpThruster01
hp_type = hp_mine_dropper, HpEngine01
hp_type = hp_countermeasure_dropper, HpEngine02
hp_type = hp_turret_special_3, HpTurret01, HpTurret02, HpTurret03, HpTurret04, HpTurret05, HpTurret06, HpTurret07, HpTurret08, HpTurret09
hp_type = hp_turret_special_2, HpTurret01, HpTurret02, HpTurret03, HpTurret04, HpTurret05, HpTurret06, HpTurret07, HpTurret08, HpTurret09
hp_type = hp_turret_special_1, HpTurret01, HpTurret02, HpTurret03, HpTurret04, HpTurret05, HpTurret06, HpTurret07, HpTurret08, HpTurret09
fuse = intermed_atransport01, 0.000000, 650
fuse = intermed_atransport01, 0.000000, 325
fuse = intermed_atransport01, 0.000000, 217
And lastly under Li01_01_base in the market_ships.ini file.
marketgood = My_Package, 1, -1, 1, 1, 0, 1, 1
if it doesn't show up in manhattan to buy, check if you have more that 3 ship's buyable.
Hope you can get it working.
Edited by - Knight79 on 02-03-2003 17:26:26
Edited by - Knight79 on 02-03-2003 17:32:20
This is what you need to put in to the file's to get a flyable buyable armored transport.
This goes into the goods.ini file, watch out for that closing bracket after GOOD, doesn't show up.
[Good
nickname = MyShip
category = shiphull
ship = my_armored
price = 10
ids_name = 12018
item_icon = Equipment\models\commodities\nn_icons\bw_freighter.3db
This also goes into the goods.ini file
[Good
nickname = my_package
category = ship
hull = MyShip
addon = ge_s_scanner_02
addon = ge_s_tractor_01
addon = ge_gf1_engine_01, internal, 1
addon = ge_fighter_power01, internal, 1
addon = LargeWhiteSpecial, HpHeadlight01, 1
addon = SlowSmallOrange, HpRunningLight01, 1
addon = SlowSmallOrange, HpRunningLight02, 1
addon = SlowSmallOrange, HpRunningLight03, 1
addon = SlowSmallOrange, HpRunningLight04, 1
addon = SlowSmallOrange, HpRunningLight05, 1
addon = SlowSmallOrange, HpRunningLight06, 1
addon = SlowSmallOrange, HpRunningLight07, 1
addon = SlowSmallOrange, HpRunningLight08, 1
addon = SlowSmallOrange, HpRunningLight09, 1
addon = SlowSmallOrange, HpRunningLight10, 1
addon = contrail01, HpContrail01
addon = contrail01, HpContrail02
addon = DockingLightRedSmall, HpDockLight01
addon = DockingLightRedSmall, HpDockLight02
And this goes into the shiparch.ini file, watch the closing bracket after SHIP.
[Ship
ids_name = 237001
ids_info = 66493
nickname = my_armored
LODranges = 0, 200, 300, 2000
msg_id_prefix = gcs_refer_shiparch_atransport
mission_property = can_use_berths
type = FREIGHTER
DA_archetype = ships\utility\transport_armored\transport_armored.cmp
material_library = ships\utility\utility_misc.mat
material_library = fx\envmapbasic.mat
envmap_material = envmapbasic
linear_drag = 1.000000
cockpit = cockpits\liberty\l_freighter.ini
pilot_mesh = generic_pilot
nanobot_limit = 10
shield_battery_limit = 10
mass = 300.000000
hold_size = 200
explosion_arch = explosion_ge_atransport
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 = 50000.000000, 50000.000000, 50000.000000
angular_drag = 100000.000000, 100000.000000, 100000.000000
rotation_inertia = 60000.000000, 60000.000000, 60000.000000
nudge_force = 150000.000000
bay_door_anim = Sc_open
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
hit_pts = 2600
camera_offset = 8, 45
camera_angular_acceleration = 0.035000
camera_horizontal_turn_angle = 20
camera_vertical_turn_up_angle = 5
camera_vertical_turn_down_angle = 20
camera_turn_look_ahead_slerp_amount = 1.000000
shield_link = l_freighter_shield01, HpMount, DpPort_sheild, DpStar_sheild
hp_type = hp_freighter_shield_special_3, DpPort_sheild, DpStar_sheild
hp_type = hp_freighter_shield_special_2, DpPort_sheild, DpStar_sheild
hp_type = hp_freighter_shield_special_1, DpPort_sheild, DpStar_sheild
;hp_type = hp_thruster, HpThruster01
hp_type = hp_mine_dropper, HpEngine01
hp_type = hp_countermeasure_dropper, HpEngine02
hp_type = hp_turret_special_3, HpTurret01, HpTurret02, HpTurret03, HpTurret04, HpTurret05, HpTurret06, HpTurret07, HpTurret08, HpTurret09
hp_type = hp_turret_special_2, HpTurret01, HpTurret02, HpTurret03, HpTurret04, HpTurret05, HpTurret06, HpTurret07, HpTurret08, HpTurret09
hp_type = hp_turret_special_1, HpTurret01, HpTurret02, HpTurret03, HpTurret04, HpTurret05, HpTurret06, HpTurret07, HpTurret08, HpTurret09
fuse = intermed_atransport01, 0.000000, 650
fuse = intermed_atransport01, 0.000000, 325
fuse = intermed_atransport01, 0.000000, 217
And lastly under Li01_01_base in the market_ships.ini file.
marketgood = My_Package, 1, -1, 1, 1, 0, 1, 1
if it doesn't show up in manhattan to buy, check if you have more that 3 ship's buyable.
Hope you can get it working.
Edited by - Knight79 on 02-03-2003 17:26:26
Edited by - Knight79 on 02-03-2003 17:32:20
Well, after alot of trying I cant get it to work.
Could you Email me your modified files to try?
[email protected]
Thanks in advance
Decca
ps. I even tried
[BaseGood
base = Br01_01_base
marketgood = My_Package, 1, -1, 1, 1, 0, 1, 1
by itself..no go.
Edited by - Decca on 02-03-2003 18:59:38
Could you Email me your modified files to try?
[email protected]
Thanks in advance
Decca
ps. I even tried
[BaseGood
base = Br01_01_base
marketgood = My_Package, 1, -1, 1, 1, 0, 1, 1
by itself..no go.
Edited by - Decca on 02-03-2003 18:59:38
i finaly found out how to get it work and may i say it works great nice job!!!
bot now!! i wanted to try a cruiser
so i looked at how you did it with those lines
looked some lines up changed them (iam not stupid i can read)
maked everthing seperately put them in and save them
and nothings changed :S not even a error or something NOTHING....
really ****ty
P.S. knight79 your code works fine in multiplayer!
bot now!! i wanted to try a cruiser
so i looked at how you did it with those lines
looked some lines up changed them (iam not stupid i can read)
maked everthing seperately put them in and save them
and nothings changed :S not even a error or something NOTHING....
really ****ty
P.S. knight79 your code works fine in multiplayer!
43 posts
• Page 1 of 3 • 1, 2, 3
Return to Freelancer General Editing Forum