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 ** Adding a Warp Drive

Here you find the different tutorials on editing and MODing Freelancer

Post Sat Jun 28, 2003 4:50 am

** Tutorial ** Adding a Warp Drive

Here is a way that I found of adding a warp drive to your ship. This lets you travel at 990 kps that is separate from your engine speed, thrusters, and cruise speed. It will double your cruise speed so I have set mine down to 200 in the game.

After making the changes, to Warp just press the Z key (kill engines)
Press it again to slow down to normal speed (or any key that starts your engines)

This works because FL kills the first engine and changes the physics of your ship, not sure if it is the drag or mass. The second engine (your regular engine will continue to power the ship with the physics change. By giving this warp drive engine enough power for 1kps, it only adds 1 to your normal speed.

OK here are the ini entries for MP:

data/equipment/engine_equip.ini

copy this one already there:
[Engine
nickname = ge_gf1_engine_01
ids_name = 263671
ids_info = 264671
volume = 0.000000
mass = 10
max_force = 48000
linear_drag = 599
power_usage = 0
reverse_fraction = 0.200000
flame_effect = gf_li_smallengine01_fire
trail_effect = gf_li_smallengine01_trail
trail_effect_player = gf_li_smallengine01_playtrail
cruise_charge_time = 5
cruise_power_usage = 20
character_start_sound = engine_ci_fighter_start
character_loop_sound = engine_ci_fighter_loop
character_pitch_range = 10, 65
rumble_sound = rumble_ci_fighter
rumble_atten_range = -5, 0
rumble_pitch_range = -25, 25
engine_kill_sound = engine_ci_fighter_kill
cruise_start_sound = engine_ci_cruise_start
cruise_loop_sound = engine_ci_cruise_loop
cruise_stop_sound = engine_ci_cruise_stop
cruise_disrupt_sound = cruise_disrupt
cruise_backfire_sound = cruise_backfire
indestructible = false
outside_cone_attenuation = -3
inside_sound_cone = 60
outside_sound_cone = 180

Paste it back in to same ini file and change it to:
changing nickname and max_force from 48000 to 600

[Engine
nickname = my_warp_engine_01
ids_name = 263671
ids_info = 264671
volume = 0.000000
mass = 10
max_force = 600
linear_drag = 599
power_usage = 0
reverse_fraction = 0.200000
flame_effect = gf_li_smallengine01_fire
trail_effect = gf_li_smallengine01_trail
trail_effect_player = gf_li_smallengine01_playtrail
cruise_charge_time = 5
cruise_power_usage = 20
character_start_sound = engine_ci_fighter_start
character_loop_sound = engine_ci_fighter_loop
character_pitch_range = 10, 65
rumble_sound = rumble_ci_fighter
rumble_atten_range = -5, 0
rumble_pitch_range = -25, 25
engine_kill_sound = engine_ci_fighter_kill
cruise_start_sound = engine_ci_cruise_start
cruise_loop_sound = engine_ci_cruise_loop
cruise_stop_sound = engine_ci_cruise_stop
cruise_disrupt_sound = cruise_disrupt
cruise_backfire_sound = cruise_backfire
indestructible = false
outside_cone_attenuation = -3
inside_sound_cone = 60
outside_sound_cone = 180

Now go to data/ship/loadouts.ini and change this(this is the starting ship):
added equip = my_warp_engine_01

[Loadout
nickname = MP_ge_fighter
archetype = ge_fighter
equip = my_warp_engine_01
equip = ge_gf1_engine_01
equip = shield01_mark01_lf, HpShield01
equip = ge_fighter_power01
equip = ge_s_scanner_01
equip = ge_s_tractor_01
equip = ge_s_thruster_01, HpThruster01
equip = li_gun01_mark01, HpWeapon01
equip = li_gun01_mark01, HpWeapon02
equip = LargeWhiteSpecial, HpHeadlight
equip = SlowSmallOrange, HpRunningLight01
equip = SlowSmallOrange, HpRunningLight02
equip = SlowSmallOrange, HpRunningLight05
equip = contrail01, HpContrail01
equip = contrail01, HpContrail02
equip = DockingLightRedSmall, HpDockLight01
equip = DockingLightRedSmall, HpDockLight02
cargo = ge_s_battery_01, 3
cargo = ge_s_repair_01, 3

That will give your starting ship warp drive. Make sure the warp drive is the first engine.

To give the other ships that you buy warp drive do this to the packages in the data/equipment/goods.ini (this one adds it to the liberty defender)

See the first addon that was added to the package

[Good
nickname = le_package
category = ship
hull = le_hull
addon = my_warp_engine_01, internal, 1
addon = ge_le_engine_01, internal, 1
addon = li_elite_power01, internal, 1
addon = ge_s_scanner_01, internal, 1
addon = ge_s_tractor_01, internal, 1
addon = shield01_mark02_hf, HpShield01, 1
addon = LargeWhiteSpecial, HpHeadlight, 1
addon = SlowSmallBlue, HpRunningLight01, 1
addon = SlowSmallBlue, HpRunningLight02, 1
addon = SlowSmallBlue, HpRunningLight03, 1
addon = SlowSmallBlue, HpRunningLight04, 1
addon = contrail01, HpContrail01, 1
addon = contrail01, HpContrail02, 1
addon = DockingLightRedSmall, HpDockLight01, 1
addon = DockingLightRedSmall, HpDockLight02, 1

Hope this helps everyone get around better.

Cronas



Edited by - Cronas on 28-06-2003 14:42:13

Post Sat Jun 28, 2003 8:53 am

Hello,

Excellent work! I had been using the X-button for a similar extra booster (got that from this forum: you sacrfice your ability to fly backwards to the ability to fy fast forward) but this might be better.

It takes some practice to fly though. Sometimes it seems to be locked into a certain direction, and sometimes (just after cruising) it didn't seem te work for a certain period. Also, I think it would be nice to slow it down a bit, because otherwise the cruise has no function anymore (the warp engine seemed to havethe same speed as the cruise engine).

Btw, equip_engine.ini doesn't exist; that should be engine_equip.ini

Post Sat Jun 28, 2003 1:52 pm

Thanks Hans for catching that mistake. I've edited it to corrrect it.

I think you've made some other changes to your ships or engines. Here's what I get after a new install with just these changes and:
constants.ini file:
CRUISING_SPEED = 200

my ship cruises at 279
warp speed is 990

Warp speed is limited by the ANOM_LIMITS_MAX_VELOCITY in the constants.ini under [PhySysConsts.
You could drop this lower if you wanted to warp slower (e.g. 700)

Post Fri Jul 04, 2003 1:54 pm

Hee Cronas,

Sorry for not responding earlier; my modem died (believe it or not: it was while I was responding to your previous post)

I had indeed already added the ANOM_LIMITS_MAX_VELOCITY and the CRUISING_SPEED line to constants.ini before I installed the wapr engine.

Would there be a way to make the warp engine slower than the cruise? Otherwise the whole purpose of cruising would be lost. Because you cannot use your weapons in cruise, it would be appropriate that the cruise is faster than the warp drive, instead of the other way around.

Post Fri Aug 15, 2003 3:40 am

how the hell di u stumble on to this???

max_force is only 600 and u go faster than 900???????

he, i dont need the warp drive anyway
kinda funny how my cruise speed says 300
and i know i am not going 300

sticks and stones may break my bones but whips and chains excite me!

Post Mon Aug 18, 2003 8:21 pm

Hi i've tried this but when i load a char from a server the game crashes.
What did i do wrong?

Post Wed Aug 20, 2003 11:46 am

Bunny you can't play a MP game with a mod UNLESS all the players (or the server? I'm not quite sure) are running the same mod... got the same problem sometime ago... I think this is because of cheat protection...

Post Thu Aug 21, 2003 6:24 pm

Bunny - if you are that happy bunny friend on calgary - good!! glad it crashed you - as you are the most annoying, lag causing pker i have ever met - who just spams the system chat for no reason other than boredom. BTW - you cannot add something like that to MP unless the server has the same mod - otherwise the patch detects that you are running something that isn't 'normal' and will boot you.

Post Sat Apr 21, 2007 10:28 pm

Would it be possible to only put this type of thing on a certain ship or group of ships and give it a charge time?

Also.. I don't understand how it switches.

Post Thu Jun 07, 2007 4:08 pm

Sweet, really sweet. But, is it possible to eliminate the ability to turn with this? And is it possible to eliminate weps, and give it a charge time, or something to stop people flying from one side of the universe to the other? I ask, because it fits almost exactly with a thing I wanted to do - Give each Battleship a warpdrive, then they dont need to spend half-an-hour docking with a tradelane

Post Fri Jun 08, 2007 8:05 am

GRAVEDIGGING! You know, Stealth.Raven.HX, you may have set a new record: three and a half years. This thing was dead, in the ground, and rotting. <sigh> Oh the humanity.

MK

Post Fri Jun 08, 2007 9:19 am

Tutorials can't be gravedigged since there will always be someone wanting to ask a question in later time as you can see. SUPPORT THE QUESTIONS!

Anyway no there is no way to stop from shooting the weapons and the way he does warping by pushing z, you wouldn't be able to move around other than forward with z unless you used your thruster. No you can't give it a charge time since it's not using the real warp drive, it's just hitting z and zooming away. Not really the best thing.

Post Fri Jun 08, 2007 10:55 am


GRAVEDIGGING! You know, Stealth.Raven.HX, you may have set a new record: three and a half years. This thing was dead, in the ground, and rotting. <sigh> Oh the humanity.

MK


The person asked a question, and it's pertinent.

Please don't troll people asking questions in future, let them be.

Post Sun Jun 10, 2007 8:22 am

Just a comment made to be funny, nothing personal. Since I have nothing to contribute to this thread, I shall post no more.

Come to think of it, if one is having trouble getting this to work, I remember that Freeworlds 1.66 has this on one of their admin ships... looking at their files could help.

Anyway, sorry about the previous post. Just trying to be a comic, and failing. Ah well, it's my lot in life.

MK

Post Sun Jun 10, 2007 10:54 am

You've got to use smilies to convey humour when talking to folks who don't know what you're like

Return to Freelancer Editing Tutorial Forum