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

Weapons swap

The general place to discuss MOD''ing Freelancer!

Post Fri Oct 10, 2003 9:11 pm

Weapons swap

i need a easy way to swap HP on a ship. see i added the capship enc mod and i fell in love, so i want to make a torpedo boat buy swapping the gun HP's on the humpback and replace them with torp lanchers. help?

Damn the torpedos! Full speed ahead!
Listen up you primitive screwheads,-this-is-my-BOOMSTICK!

Post Fri Oct 10, 2003 10:26 pm

well in goods i believe if u put the line like

addon = Sunslayernick, HpWeapon01, 1

i think it will work itll have them when u buy your ship, but

1. your prices will go up because of the sunslayer cost
2. if you unmount the torps you cant remount

i think it hsould work but not positive just try it and see what happens. i feel it should work because alot of time i have seen people loading turrets on to ships where the hpmount is only turret no lvl 1 or 2 or etc

Mess With the Best Die lIke the Rest
Check out my Freelancer Website FLPoliceclan.tripod.com
AIM SN - SuBZeRo69069 (feel free to IM me if you need any Modding help)

Post Fri Oct 10, 2003 10:30 pm

OKay - well - open up your shiparch.ini file. Then - you can do several things - but personally i would copy and paste the humpy entry to the bottom of the shiparch.ini file, and give it a new nickname. - like torpedo_boat
So nickname = torpedo boat.
Next - go to where all the turrets are stated for each class like this:
Example:

hp_type = hp_turret_special_7, HpTurret02, HpTurret03, HpTurret04
hp_type = hp_turret_special_6, HpTurret01, HpTurret02, HpTurret03, HpTurret04, HpTurret05, HpTurret06
hp_type = hp_turret_special_5, HpTurret01, HpTurret02, HpTurret03, HpTurret04, HpTurret05, HpTurret06
hp_type = hp_turret_special_4, HpTurret01, HpTurret02, HpTurret03, HpTurret04, HpTurret05, HpTurret06
hp_type = hp_turret_special_3, HpTurret01, HpTurret02, HpTurret03, HpTurret04, HpTurret05, HpTurret06
hp_type = hp_turret_special_2, HpTurret01, HpTurret02, HpTurret03, HpTurret04, HpTurret05, HpTurret06
hp_type = hp_turret_special_1, HpTurret01, HpTurret02, HpTurret03, HpTurret04, HpTurret05, HpTurret06

Now - delete all but two - so you are left with this:
hp_type = hp_turret_special_2, HpTurret01, HpTurret02, HpTurret03, HpTurret04, HpTurret05, HpTurret06
hp_type = hp_turret_special_1, HpTurret01, HpTurret02, HpTurret03, HpTurret04, HpTurret05, HpTurret06

Then just change the hp_type = hp_turret_special_2 and 1 to be these instead:
hp_type = hp_torpedo_special_1
hp_type = hp_torpedo_special_2

Whilst keeping the statements for the weapons afterwards, so you should end up like this:

hp_type = hp_torpedo_special_1, HpTurret01, HpTurret02, HpTurret03, HpTurret04, HpTurret05, HpTurret06
hp_type = hp_torpedo_special_2, HpTurret01, HpTurret02, HpTurret03, HpTurret04, HpTurret05, HpTurret06

Now then - save the file off, go to the goods.ini file and create a new package and hull by copying the old one to the bottom of the file, like this:

[Good
nickname = rfr_hull
category = shiphull
ship = rh_freighter
price = 380000
ids_name = 12011
item_icon = Equipment\models\commodities\nn_icons\rh_freighter.3db

[Good
nickname = rfr_package
category = ship
hull = rfr_hull
addon = ge_rfr_engine_01, internal, 1
addon = rh_freighter_power01, internal, 1
addon = ge_s_scanner_01, internal, 1
addon = ge_s_tractor_01, internal, 1
addon = shield01_mark05_fr, 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 = SlowSmallYellow, HpRunningLight07, 1
addon = contrail01, HpContrail01, 1
addon = contrail01, HpContrail02, 1
addon = DockingLightRedSmall, HpDockLight01, 1
addon = DockingLightRedSmall, HpDockLight02, 1


Rename the parts for your purposes:torpedo_boat, so you get this;

[Good
nickname = torpedo_boat_hull
category = shiphull
ship = torpedo_boat
price = 10
ids_name = 12011
item_icon = Equipment\models\commodities\nn_icons\rh_freighter.3db

[Good
nickname = torpedo_boat_package
category = ship
hull = torpedo_boat_hull
addon = ge_rfr_engine_01, internal, 1
addon = rh_freighter_power01, internal, 1
addon = ge_s_scanner_01, internal, 1
addon = ge_s_tractor_01, internal, 1
addon = shield01_mark05_fr, 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 = SlowSmallYellow, HpRunningLight07, 1
addon = contrail01, HpContrail01, 1
addon = contrail01, HpContrail02, 1
addon = DockingLightRedSmall, HpDockLight01, 1
addon = DockingLightRedSmall, HpDockLight02, 1



Next - set your ship to sell - open the market_ships.ini file and find your base.
then add that package instead of one that is already sold there.


Example used here is the bretonian ship - but yours will be different
marketgood = be_package, 8, -1, 1, 1, 0, 1, 1

You are looking for something like that because it sells there okay - so change it round a bit to give your package ie:
marketgood = torpedo_boat_package, 8, -1, 1, 1, 0, 1, 1

and you are set. Make sure you get those numbers correct else the ship aint selling, and make sure yo udon't have three being identical and all..........

Return to Freelancer General Editing Forum