The Freelancer Community Site by Team [RIP] » Board index » The FLC Public Forums » Freelancer Tutorials




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: market_ships.ini help
 Post Posted: Sat Nov 14, 2009 1:43 am 
Offline
Member
Member

Joined: Sat Nov 14, 2009 1:28 am
Posts: 3
hi i need some help you know all those ships in the original fl game? the ones flying around in space like

ge_train, Train (Civilian Transport)
ge_large_train, Large Train (Civilian Transport)
ge_transport, Transport (Civilian Transport)
ge_large_transport, Large Transport (Civilian Transport)
ge_prison, Prison Liner (Civilian Transport)
ge_lifter, Heavy Lifter (Civilian Transport)
ge_liner, Luxury Liner (Civilian Transport)
ge_miner, Mining Ship (Civilian Transport)
ge_repair, Repair Ship (Civilian Transport)
ge_armored, Armored Transport (Civilian Transport)

how do i make them into a package so i can but them ingame?


Top 
 Profile E-mail  
 
 Post subject:
 Post Posted: Sat Nov 14, 2009 4:25 am 
Offline
Site Admin
Site Admin
User avatar

Joined: Sun Jan 06, 2008 4:53 pm
Posts: 1031
Tons of things need to be, sadly. Here is the start, maybe others can fill in the gaps.

To make a package, first they have to be declared in goods.ini (not sure how much exists in vanilla, you can cross-reference)

Here is the ge_train entries:

[Good]
nickname = ge_train_hull
category = shiphull
ship = ge_train
price = 7900
ids_name = 12002
item_icon = EQUIPMENT\MODELS\COMMODITIES\NN_ICONS\li_freighter.3db
[Good]
nickname = ge_train_package
category = ship
hull = ge_train_hull
addon = ge_lf_engine_01, internal, 1
addon = li_fighter_power01, internal, 1
addon = ge_s_scanner_01, internal, 1
addon = ge_s_tractor_01, internal, 1
;addon = shield01_mark01_lf, HpShield01, 1
;addon = LargeWhiteSpecial, HpHeadlight, 1
addon = SlowSmallBlue, HpRunningLight01, 1
addon = SlowSmallBlue, HpRunningLight02, 1
addon = SlowSmallBlue, HpRunningLight03, 1
addon = SlowSmallBlue, HpRunningLight04, 1
addon = DockingLightRedSmall, HpDockLight01, 1
addon = DockingLightRedSmall, HpDockLight02, 1

----------------

Then goto market_ships.ini and make it sellable at a base:

marketgood = ge_train_package, 1, -1, 1, 1, 0, 1, 1

----------------

Then goto shiparch.ini and declare it. Below is the vanilla entry, but you will need to modify this heavily since in vanilla it was never meant to be flown by players:

[Ship]
ids_name = 237055
ids_info = 66609
nickname = ge_train
LODranges = 0, 300, 450, 750, 950, 4500
msg_id_prefix = gcs_refer_shiparch_ctransport
mission_property = can_use_med_moors
type = TRANSPORT
DA_archetype = SHIPS\UTILITY\FREIGHT_TRAIN\freight_trainx2.3db
material_library = SHIPS\UTILITY\utility_misc.mat
material_library = FX\envmapbasic.mat
envmap_material = envmapbasic
linear_drag = 1.000000
mass = 500.000000
hold_size = 1000000
explosion_arch = explosion_cap_ship1
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
hp_type = hp_turret, HpTurret01, HpTurret02, HpTurret03, HpTurret04, HpTurret05, HpTurret06
hp_type = hp_cargo_pod, HpCargo01, HpCargo02, HpCargo03, HpCargo04
steering_torque = 190000.000000, 190000.000000, 90000.000000
angular_drag = 900000.000000, 900000.000000, 900000.000000
rotation_inertia = 600000.000000, 600000.000000, 600000.000000
nudge_force = 150000.000000
HP_bay_surface = HpCargo01
HP_bay_external = HpCargo02
HP_tractor_source = HpTractor_Source
num_exhaust_nozzles = 2
fuse = train_transport_death_fuse, 0.000000, 1
fuse = intermed_damage_train01, 0.000000, 2625
fuse = intermed_damage_train02, 0.000000, 1313
hit_pts = 10500

_________________
http://FreelancerCommunity.net
http://UnderVerse.us


Top 
 Profile  
 
 Post subject:
 Post Posted: Mon Nov 16, 2009 4:56 pm 
Offline
Member
Member
User avatar

Joined: Mon Jan 07, 2008 5:56 pm
Posts: 253
To give you an idea of what is involved this is the ge_train from MU.

The sections ive highlighted in red are coding requied to make the cargopods lootable but only works if you are using FLAC.

You will most likely find you need to edit the hardpoints in the cmp for the ships you want to make pilotable, and for that id recommend copying the originals and renaming them slightly, because if you dont any change you make to the originals will also effect the npc's using those ships and can lead to all sorts of issues.

[Ship]
ids_name = 242463
ids_info = 242464
ids_info1 = 242465
ids_info2 = 66608
ids_info3 = 242466
nickname = freighttrain
LODranges = 0, 99999
msg_id_prefix = gcs_refer_shiparch_ctransport
mission_property = can_use_berths
type = FREIGHTER
ship_class = 2
DA_archetype = ships\utility\freight_train\freight_trainx4.cmp
material_library = ships\utility\utility_misc.mat
material_library = fx\envmapbasic.mat
envmap_material = envmapbasic
cockpit = cockpits\liberty\player_li_cruiser.ini
linear_drag = 5.000000
nanobot_limit = 600
shield_battery_limit = 100
max_bank_angle = 5
camera_offset = 40, 200
camera_angular_acceleration = 0.050000
camera_horizontal_turn_angle = 10
camera_vertical_turn_up_angle = 5
camera_vertical_turn_down_angle = 12
camera_turn_look_ahead_slerp_amount = 1.000000
mass = 5000.000000
hold_size = 6000
explosion_arch = explosion_cap_ship1
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
shield_link = capship_shield, HpMount, HpEngine01, HpShield01
hp_type = hp_freighter_shield_special_10, HpShield01
hp_type = hp_freighter_shield_special_9, HpShield01
hp_type = hp_freighter_shield_special_8, HpShield01
hp_type = hp_freighter_shield_special_7, HpShield01
hp_type = hp_freighter_shield_special_6, HpShield01
hp_type = hp_freighter_shield_special_5, HpShield01
hp_type = hp_freighter_shield_special_4, HpShield01
hp_type = hp_freighter_shield_special_3, HpShield01
hp_type = hp_freighter_shield_special_2, HpShield01
hp_type = hp_freighter_shield_special_1, HpShield01
hp_type = hp_turret_special_1, HpTurret01, HpTurret02, HpTurret03, HpTurret04, HpTurret05, HpTurret06
hp_type = hp_cargo_pod, HpCargo01, HpCargo02, HpCargo03, HpCargo04, HpCargo05, HpCargo06, HpCargo07, HpCargo08
hp_type = hp_countermeasure_dropper, HpCM01, HpCM02
hp_type = hp_mine_dropper, HpMine01
steering_torque = 1001900032.000000, 1001900032.000000, 1001900032.000000
angular_drag = 10200000000.000000, 10200000000.000000, 10200000000.000000
rotation_inertia = 10000000512.000000, 10000000512.000000, 10000000512.000000
nudge_force = 100000.000000
strafe_force = 450000
strafe_power_usage = 2
bay_door_anim = Sc_open baydoor
bay_doors_open_snd = hanger_doors_opening
bay_doors_close_snd = hanger_doors_closing
HP_tractor_source = HpTractor_Source
num_exhaust_nozzles = 2
fuse = train_transport_death_fuse, 0.000000, 1
fuse = intermed_damage_train01, 0.000000, 2625
fuse = intermed_damage_train02, 0.000000, 1313
hit_pts = 150000
fuse = drop_cargo_fuse, 0.000000, 1
auto_add_pods = true
lootable_pods = true
loot_bonus_per_unit = 1250

_________________
Image


Top 
 Profile  
 
Display posts from previous:  Sort by  
 
Post new topic Reply to topic  [ 3 posts ] 

The Freelancer Community Site by Team [RIP] » Board index » The FLC Public Forums » Freelancer Tutorials


Who is online

Users browsing this forum: No registered users and 1 guest

 
 

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron