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

**Tutorial** - Large Train

Here you find the different tutorials on editing and MODing Freelancer

Post Mon Mar 17, 2003 8:03 am

**Tutorial** - Large Train

1.add to shiparch.ini

[Ship
ids_name = 237056
ids_info = 66610
nickname = my_ltrain_ship
LODranges = 0, 300, 450, 750, 950, 4500
msg_id_prefix = gcs_refer_shiparch_ctransport
mission_property = can_use_berths
type = FREIGHTER
DA_archetype = ships\utility\freight_train\freight_trainx3.3db
material_library = ships\utility\utility_misc.mat
material_library = fx\envmapbasic.mat
envmap_material = envmapbasic
linear_drag = 1.000000
mass = 1000.000000
hold_size = 1000000
cockpit = cockpits\liberty\my_ltrain.ini
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, HpCargo05, HpCargo06
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
bay_door_anim = Sc_rh_freighter
bay_doors_open_snd = cargo_doors_open
bay_doors_close_snd = cargo_doors_close
HP_bay_surface = HpCargo01
HP_bay_external = HpCargo02
HP_tractor_source = HpTractor_Source
num_exhaust_nozzles = 2
nanobots_limit = 100
shield_limit = 100
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
max_bank_angle = 15
camera_offset = 35, 150
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
shield_link = l_freighter_shield01, HpMount, HpEngine01
hp_type = hp_freighter_shield_special_10, HpEngine01
hp_type = hp_freighter_shield_special_9, HpEngine01
hp_type = hp_freighter_shield_special_8, HpEngine01
hp_type = hp_freighter_shield_special_7, HpEngine01
hp_type = hp_freighter_shield_special_6, HpEngine01
hp_type = hp_freighter_shield_special_5, HpEngine01
hp_type = hp_freighter_shield_special_4, HpEngine01
hp_type = hp_freighter_shield_special_3, HpEngine01
hp_type = hp_freighter_shield_special_2, HpEngine01
hp_type = hp_freighter_shield_special_1, HpEngine01

2.add to goods.ini

[Good
nickname = my_ltrain
category = shiphull
ship = my_ltrain_ship
price = 1
ids_name = 237056
item_icon = Equipment\models\commodities\nn_icons\bw_freighter.3db

[Good
nickname = my_ltrain_package
category = ship
hull = my_ltrain
addon = ge_s_scanner_02
addon = infinite_power
addon = ge_s_tractor_01
addon = ge_t_engine_01
addon = sfx_rumble_ut_large
addon = SlowMediumWhite, HpRunningLight01
addon = SlowMediumWhite, HpRunningLight02
addon = SlowMediumWhite, HpRunningLight03
addon = SlowMediumWhite, HpRunningLight04
addon = SlowMediumWhite, HpRunningLight05
addon = SlowMediumWhite, HpRunningLight06
addon = SlowMediumWhite, HpRunningLight07
addon = SlowMediumWhite, HpRunningLight08
addon = SlowMediumWhite, HpRunningLight09
addon = SlowMediumWhite, HpRunningLight10
addon = SlowMediumWhite, HpRunningLight11
addon = SlowMediumWhite, HpRunningLight12
addon = SlowMediumWhite, HpRunningLight13
addon = SlowMediumWhite, HpRunningLight14
addon = SlowMediumWhite, HpRunningLight15
addon = SlowMediumWhite, HpRunningLight16
addon = SlowMediumWhite, HpRunningLight17
addon = SlowMediumWhite, HpRunningLight18
addon = SlowMediumWhite, HpRunningLight19
addon = DockingLightRed, HpDockLight01
addon = DockingLightRed, HpDockLight02
addon = DockingLightRed, HpDockLight03
addon = co_train_turret01_mark03, HpTurret01
addon = co_train_turret01_mark03, HpTurret02
addon = co_train_turret01_mark02, HpTurret03
addon = co_train_turret01_mark02, HpTurret04
addon = co_train_turret01_mark01, HpTurret05
addon = co_train_turret01_mark01, HpTurret06

3. in cockpits\liberty\ folder create my_ltrain.ini with these settings :

[Cockpit
mesh = cockpits\liberty\models\li_elite_cockpit.cmp
int_brightness = 0.500000
head_turn = 30, 10


[CockpitCamera

[TurretCamera
tether = 0.000000, 40, 350
yaw_rotate_speed = 2.000000
pitch_rotate_speed = 1.500000
accel_speed = 5

4. in market_ships.ini find the base good in li01 and replace the whole header :

[BaseGood
base = Li01_01_base
marketgood = gf1_package, 0, -1, 0, 0, 1, 1, 1
marketgood = my_ltrain_package, 0, -1, 1, 1, 0, 1, 1
marketgood = gf2_package, 4, -1, 1, 1, 0, 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, 0, 0, 1, 1, 1
marketgood = re_package, 22, -1, 0, 0, 1, 1, 1
marketgood = rfr_package, 20, -1, 0, 0, 1, 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

5.lastly open ur weapon_good.ini and set the price to minimum for :

co_train_turret01_mark03
co_train_turret01_mark02
co_train_turret01_mark01

(just to get the feel with different guns)

Enjoy it!!!have fun!!!!

U can dock to planets,not to stations....

if u try to change the string can_use_berths in can_use_med_moors and try to dock in a station with moors u will dock with the moor but u cant access to station;moreover u cant dock to planets if u put can_use_med_moors and the docking ring voice will tell u ur ship is to big too dock....
what does that mean?someone who programmed the game thought that someone else would change these settings and tried to block or in the first time the big ships were planned to be used by players and then cut off???hm i dont know.... what do u guys think???



Edited by - Chips on 10/31/2004 8:03:40 AM

Post Mon Mar 24, 2003 9:36 pm

First of all, thanks for the nice tutorial. Starting to get the hang of modding myself, though I'm not quite there yet.

Second, this reply is rather late... so sue me.

Third... it doesn't work. When I pay a visit to the shipdealer, all three "floatspots" are empty... and when I talk to the guy, the menu appears briefly and then IMMEDIATELY disappears again. Can you or anyone else help me out here?

Edited by - Nephilim on 24-03-2003 21:37:07

Post Mon Mar 24, 2003 10:26 pm

Never mind, problem solved. You need to remove one of the following lines (each represents one of the three default ships available for purchase at Manhattan):

marketgood = lf_package, 1, -1, 0, 0, 1, 1, 1 <<== Starflier
marketgood = le_package, 2, -1, 0, 0, 1, 1, 1 <<== Patriot
marketgood = lfr_package, 1, -1, 0, 0, 1, 1, 1 <<== Rhino

Post Wed Mar 26, 2003 9:29 am

i've got another prob: i can dismount the turrets, but cannot remount them. also, they dont use energy while fireing and i cannot buy any type of them. and third, there should be a limitation to the nanobots and the shield bats ( im fliying around with over 25k of each....)

nevertheless, good work

Post Wed Mar 26, 2003 1:15 pm

for nanobots u have to add to shiparch.ini
nanobot_limit = 100
shield_battery_limit = 100

if u go to goods.ini u will see that i added the turrets without putting hitpoints,but u probably didnt even look at it....

if u know how to mod its easy...if u dont know how to mod tell me what u'll like to have on large train and when i have some time i'll make it!

c ya

Post Wed Mar 26, 2003 4:03 pm

ok...i DONT know how to mod (otherwise, i would have changed it myself ). ermmm...what was your question?....

Post Wed Mar 26, 2003 4:03 pm

im lazy, can you make this a mod?

Post Wed Mar 26, 2003 5:01 pm

ok guys...ill do some changes later cause i have some work to do...
this is what i'll make :
ill add a level 10 shield u can buy;
weapons that u can mount and unmount;
fix some stuff so it becomes the final mod with no need to fix anything else;
fix the mooring problem


later!!

Post Wed Mar 26, 2003 7:59 pm

i uploaded it on file repository

http://freelancer.solutionvii.com/?view+uploads

Edited by - SoulForge on 26-03-2003 21:28:55

Edited by - SoulForge on 26-03-2003 21:43:50

Post Thu Mar 27, 2003 6:32 am

Expanding on your idea a little .. i took it upon myslef to make both the Large train and the small train available for purchase at Norfolk Ship Yard in LIberty
this is great because manhattan can stay as it should be.. and im utilising a station that doesnt normally sell ships... it looks a little cluttered with the osiris and the two trains and sure the shipdealer is standing inside the bow of one of the ships.. but no crashes it works like a charm


- All we see or seem, is but a dream within a dream. -

Post Thu Mar 27, 2003 10:41 am

yokai, dled it and will install it later. hope it works, i know my luck *g*. we'll see....

thx for ur work

Post Fri Mar 28, 2003 1:23 am

maybe im just stupid, but i looked at the repository, and did not find the mod manager mod for the large train at the repository

here is where i looked: http://freelancer.solutionvii.com/
it wasnt in mods...is it somewhere else?

Post Fri Mar 28, 2003 3:03 am

soulforge, i took your mod and made it compatible with my mod manager. (all i did was create a file called large_train.flm and inside the file is one line that says "modname=large_train"

I put the .zip up on my site to help. So if you guys want it, you can download it here

If you want to install the mod using the mod manager FLEDmm then you can download that there as well. Just unzip soulforge's mod into your <<freelancer>> directory and run the mod manager.

hope this helps. Nice work on the train soulforge. it's fun to fly that ship around.



www.ejoop.com/pcgames/fled' Target=_Blank>FLED: Freelancer Editing

Post Fri Mar 28, 2003 9:58 am

guess things are down over there:

Microsoft OLE DB Provider for ODBC Drivers error '80004005'

[MySQL[ODBC 3.51 DriverCan't connect to MySQL server on '65.115.131.175' (10060)

/includes/adserver.asp, line 6

ah well, ill try again later, was looking for a mod that would use IGx89's FLMM, but man those prepped mods are few and far apart, surprising considering how well his mod manager works

Post Fri Mar 28, 2003 3:44 pm

edcheese check your email!!!

Return to Freelancer Editing Tutorial Forum