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** - Changing Server Starting Ship/Money/Base

Here you find the different tutorials on editing and MODing Freelancer

Post Sun Oct 31, 2004 7:53 am

**Tutorial** - Changing Server Starting Ship/Money/Base

Updated to make it a complete thing.

Useful links:
Beginners forum thread - explains how to decrypt files etc.
Server admins mod - does it all for you with FLMM


Edited by - Chips on 2/6/2005 4:41:01 AM

Post Sun Oct 31, 2004 7:54 am

To change the starting point, you will need the server to be stopped. If you are
going to unlock all the jumpgates - then you will need to do a player wipe!

Now - to change the starting base, and the starting money:

Go to the folder:
<pre><font size=1 face=Courier> Freelancer\Data\Characters\ </font></pre>

There you should see a file called:
<pre><font size=1 face=Courier>Newcharacter.ini </font></pre>

If you haven't used the SDK - then to decrypt and open it, follow this short
introduction:
here

Once you open it up - you see this:
<pre><font size=1 face=Courier>[Pilot
nickname = trent
body = trent
comm = trent
voice = trent_voice
body.anim = Sc_MLBODY_STND_000LV_A_31
thumb = interface\intro\objects\MULTI_blackdragonmale.3db
comm.anim = Sc_comm_body_unfold_female, Sc_headCOM </font></pre>
<pre><font size=1 face=Courier>
[Package
nickname = ge_fighter
strid_name = 11051
strid_desc = 11551
ship = ge_fighter
loadout = MP_ge_fighter
money = 2000 </font></pre>
<pre><font size=1 face=Courier>
[Faction
nickname = new_player
rep_group = co_ic_grp
base = Li01_01_base -
Package = ge_fighter
Pilot = trent </font></pre>

DO NOT touch the first part - [Pilot
What you are interested in is the Base and Money right?
That will be in these parts - check for BOLD text

<pre><font size=1 face=Courier>
[Package
nickname = ge_fighter
strid_name = 11051
strid_desc = 11551
ship = ge_fighter
loadout = MP_ge_fighter
money = 2000 </font></pre>
<pre><font size=1 face=Courier>
[Faction
nickname = new_player
rep_group = co_ic_grp
base = Li01_01_base -
Package = ge_fighter
Pilot = trent </font></pre>


So money is straight forward and simple - change it to what you like. Remember,
too much though, and no-one will actually have to play!

The bases - well - to change those you need to know what they are!

See below for base list!

Bretonia
br01_01_base - Planet New London
br01_02_base - Southampton Shipyard
br01_03_base - Battleship Suffolk
br01_04_base - Waterloo Station
br01_05_base - Canterbury Station
br01_06_base - Thames Outpost
br01_07_base - Kensington Shipping Platform
br01_08_base - Trafalgar Base
br02_01_base - BPA Newgate
br02_02_base - Birmingham Station
br02_03_base - Sheffield Station
br02_04_base - Liverpool Border Station
br02_05_base - Kingston Border Station
br03_01_base - Planet Cambridge
br03_02_base - Cambridge Research Station
br03_03_base - Battleship Norfolk
br03_04_base - Cardiff Mining Facility
br04_01_base - Planet Leeds
br04_02_base - Stokes Mining Station
br04_03_base - Battleship York
br04_04_base - Glasgow Outpost
br04_05_base - LD-14
br04_06_base - Durham Border Station
br05_01_base - Battleship Hood
br05_02_base - Mining Station Glorious
br05_03_base - Graves Station
br05_04_base - Battleship Essex
br05_05_base - Arranmore Base
br06_01_base - Luxury Liner Shetland
br06_02_base - Aberdeen Border Station
br06_03_base - Islay Base
br06_04_base - Perth Station

BorderWorld Space
bw01_01_base - Planet Sprague (Crashes in Multiplayer when you launch)
bw01_02_base - Freeport 1
bw01_03_base - Rugen Station
bw01_04_base - Douglas Station
bw01_05_base - Baxter Research Station (Crashes in Multiplayer when you launch)
bw02_01_base - Cadiz Base
bw02_02_base - Ronneburg Base
bw03_01_base - Freistadt Base
bw03_02_base - Breisen Mining Facility
bw03_03_base - Elbich Mining Facility
bw04_01_base - Solarius Station
bw04_02_base - Freital Base
bw05_01_base - Gas Miner Naha
bw05_02_base - Helgoland Station
bw05_03_base - Yanagi Depot
bw06_01_base - Planet Kurile
bw06_02_base - Atka Research Station
bw07_01_base - Luxury Liner Hawaii
bw07_02_base - Gas Miner Ogashawa
bw08_01_base - Cali Base
bw08_02_base - Tau-31 Gate Construction Site
bw08_03_base - Java Station
bw09_01_base - Nago Station
bw09_02_base - Shinkaku Station
bw09_03_base - Freeport 6
bw10_01_base - Planet Harris
bw10_02_base - Holman Outpost

Edge Worlds
ew01_01_base - Freeport 10
ew01_02_base - Falkland Base
ew02_01_base - Ruiz Base
ew03_01_base - Leon Base
ew03_02_base - Freeport 5
ew04_01_base - Freeport 9
ew06_01_base - Planet Primus (Hehe, this is THE planet of the Apes)
ew06_02_base - Planet Gammu (Robot planet?)

Omicron Alpha
hi01_01_base - Planet Malta

Omicron Beta
hi02_01_base - Planet Crete
hi02_02_base - Tripoli Shipyard


Independent Space
iw01_01_base - Pacifica Base
iw01_02_base - Freeport 2
iw02_01_base - Barrow Base
iw02_02_base - Dawson Base
iw03_01_base - Freeport 4
iw03_02_base - Mactan Base
iw04_01_base - Planet Curacao
iw04_02_base - Montezuma Base
iw05_01_base - Ames Research Station
iw05_02_base - Nome Base
iw06_01_base - Leiden Base
iw06_02_base - Padua Base

Kusari Space
ku01_01_base - Planet New Tokyo
ku01_02_base - Narita Outpost
ku01_03_base - Yokohama Shipyard
ku01_04_base - Roppongi Station
ku01_05_base - Shinagawa Station
ku01_06_base - Shinjuku Station
ku01_07_base - Kabukicho Depot
ku02_01_base - Fuchu Prison
ku02_02_base - Battleship Myoko
ku02_03_base - Deshima Station
ku02_04_base - Planet Junyo
ku02_05_base - Ohashi Border Station
ku03_01_base - Planet Kyushu
ku03_02_base - Tsushima Depot
ku03_03_base - Battleship Nagumo
ku03_04_base - Nansei Research Complex
ku03_05_base - Kagoshima Depot
ku04_01_base - Planet Honshu
ku04_02_base - Osaka Storage Facility
ku04_03_base - Yukawa Shipyard
ku04_04_base - Kansai Research Station
ku04_05_base - Aomori Station
ku04_06_base - Akita Border Station
ku05_01_base - Battleship Matsumoto
ku05_02_base - Ainu Depot
ku05_03_base - Chugoku Gate Construction Site
ku05_04_base - Sapporo Station
ku06_01_base - Kyoto Base
ku07_01_base - Ryuku Base
ku07_02_base - Unknown (Possibly Tekagi's Arch?)

Liberty Space
li01_01_base - Planet Manhattan
li01_02_base - Planet Pittsburgh
li01_03_base - Battleship Missouri
li01_04_base - Unknown (Benford Station?)
li01_05_base - Unknown (I can't even begin to guess)
li01_06_base - Trenton Outpost
li01_07_base - Norfolk Shipyard
li01_08_base - Newark Station
li01_09_base - West Point Military Academy
li01_10_base - Detroit Munitions
li01_11_base - Fort Bush
li01_12_base - Buffalo Base
li01_13_base - Rochester Base
li01_14_base - Baltimore Shipyard
li01_15_base - Battleship Osiris (Crashes in Multiplayer when you launch)
li02_01_base - Planet Los Angeles
li02_02_base - California Minor
li02_03_base - Battleship Yukon
li02_04_base - Willard Research Station
li02_05_base - San Diego Border Station
li02_06_base - Alcatraz Depot
li03_01_base - Planet Denver
li03_02_base - Battleship Rio Grande
li03_03_base - Ouray Base
li03_04_base - Pueblo Station
li04_01_base - Planet Houston
li04_02_base - LPI Huntsville
li04_03_base - Battleship Mississippi
li04_04_base - Beaumont Base
li04_05_base - LPI Sugarland
li04_06_base - Battleship Osiris (Crashes in Multiplayer when you launch)
li05_01_base - Prison Station Mitchell

Rheinland Space
rh01_01_base - Planet New Berlin
rh01_02_base - Oder Shipyard
rh01_03_base - The Ring
rh01_04_base - Bonn Station
rh01_05_base - Dortmund Station
rh01_06_base - Essen Station
rh01_07_base - Brandenburg Border Station
rh01_08_base - Kreuzberg Depot
rh02_01_base - Planet Hamburg
rh02_02_base - Battleship Westfalen
rh02_03_base - Vierlande Prison
rh02_04_base - Alster Shipyard
rh02_05_base - Altona Station
rh02_06_base - Lubeck Border Station
rh02_07_base - Battleship Osiris (Crashes in Multiplayer when you launch)
rh03_01_base - Planet Stuttgart
rh03_02_base - Planet Baden Baden
rh03_03_base - Freiburg Station
rh03_04_base - Ulm Border Station
rh03_05_base - Konstanz Border Station
rh03_06_base - Darmstadt Depot
rh04_01_base - Planet Holstein
rh04_02_base - Mainz Storage Facility
rh04_03_base - Mannheim Station
rh04_04_base - Fulda Border Station
rh04_05_base - Bruchsal Base
rh05_01_base - Leipzig Station
rh05_02_base - Bautzen Station
rh05_03_base - Pirna Border station
rh05_04_base - Vogtland Base

Singleplayer only
st01_01_base - Planet Toledo
st01_02_base - Battleship Osiris (Crashes in Multiplayer when you launch)
st02_01_base - Battleship Osiris (Crashes in Multiplayer when you launch)
st03b_01_base - Lair

Post Sun Oct 31, 2004 7:55 am

Once you have changed the starting money, and the starting base in that file, save the file up, and then boot up the server. Any new player should start off on the base of choice with money of choice.

Post Mon Jan 31, 2005 2:07 pm

TO CHANGE STARTING SHIPS...

Follow this applying to your own ship/ships though!

1) Choose ship (yes - the nickname of the ship as per your shiparch.ini file)
2) Create a loadout for it in the loadouts.ini file - call your loadout something like this:
player_shipname - ie player_patriot or player_titan

The easiest way to do this is search the loadouts.ini file for the shiparch.ini nickname of the ship your after - so for a eagle, you search for ge_fighter6

Here is one - its from the GMG:

[Loadout
nickname = gd_gm_ge_fighter6_loadout01
archetype = ge_fighter6
equip = ge_bwe_engine_01
equip = npc_shield01_mark09, HpShield01
equip = infinite_power
equip = ge_s_scanner_02
equip = ge_s_tractor_01
equip = ge_s_thruster_01, HpThruster01
equip = armor_scale_2
equip = gd_gm_gun01_mark04, HpWeapon01
equip = gd_gm_gun01_mark04, HpWeapon02
equip = gd_gm_gun01_mark03, HpWeapon03
equip = gd_gm_gun01_mark02, HpWeapon04
equip = gd_gm_gun01_mark02, HpWeapon05
equip = missile01_mark03, HpWeapon06
cargo = missile01_mark03_ammo, 20
equip = gd_gm_turret01_mark03, HpTurret01
equip = cruise_disruptor01_mark01, HpTorpedo01
cargo = cruise_disruptor01_mark01_ammo, 5
equip = mine01_mark01, HpMine01
cargo = mine01_mark01_ammo, 20
equip = ge_s_cm_01, HpCM01
cargo = ge_s_cm_01_ammo, 20
equip = LargeWhiteSpecial, HpHeadlight
equip = SlowSmallOrange, HpRunningLight01
equip = SlowSmallOrange, HpRunningLight02
equip = SlowSmallOrange, HpRunningLight03
equip = SlowSmallOrange, HpRunningLight04
equip = SlowSmallOrange, HpRunningLight05
equip = SlowSmallOrange, HpRunningLight06
equip = SlowSmallOrange, HpRunningLight07
equip = SlowSmallOrange, HpRunningLight08
equip = SlowSmallOrange, HpRunningLight09
equip = SlowSmallOrange, HpRunningLight10
equip = contrail01, HpContrail01
equip = contrail01, HpContrail02
equip = contrail01, HpContrail03
equip = contrail01, HpContrail04
equip = DockingLightRedSmall, HpDockLight01
equip = DockingLightRedSmall, HpDockLight02


So copy that to the TOP of the file, and rename it to give this

[Loadout
nickname = player_eagle
archetype = ge_fighter6
equip = ge_bwe_engine_01
equip = npc_shield01_mark09, HpShield01
equip = infinite_power
equip = ge_s_scanner_02
equip = ge_s_tractor_01
equip = ge_s_thruster_01, HpThruster01
equip = armor_scale_2
equip = gd_gm_gun01_mark04, HpWeapon01
equip = gd_gm_gun01_mark04, HpWeapon02
equip = gd_gm_gun01_mark03, HpWeapon03
equip = gd_gm_gun01_mark02, HpWeapon04
equip = gd_gm_gun01_mark02, HpWeapon05
equip = missile01_mark03, HpWeapon06
cargo = missile01_mark03_ammo, 20
equip = gd_gm_turret01_mark03, HpTurret01
equip = cruise_disruptor01_mark01, HpTorpedo01
cargo = cruise_disruptor01_mark01_ammo, 5
equip = mine01_mark01, HpMine01
cargo = mine01_mark01_ammo, 20
equip = ge_s_cm_01, HpCM01
cargo = ge_s_cm_01_ammo, 20
equip = LargeWhiteSpecial, HpHeadlight
equip = SlowSmallOrange, HpRunningLight01
equip = SlowSmallOrange, HpRunningLight02
equip = SlowSmallOrange, HpRunningLight03
equip = SlowSmallOrange, HpRunningLight04
equip = SlowSmallOrange, HpRunningLight05
equip = SlowSmallOrange, HpRunningLight06
equip = SlowSmallOrange, HpRunningLight07
equip = SlowSmallOrange, HpRunningLight08
equip = SlowSmallOrange, HpRunningLight09
equip = SlowSmallOrange, HpRunningLight10
equip = contrail01, HpContrail01
equip = contrail01, HpContrail02
equip = contrail01, HpContrail03
equip = contrail01, HpContrail04
equip = DockingLightRedSmall, HpDockLight01
equip = DockingLightRedSmall, HpDockLight02


Now - because this will be the players START ship - you NEED to change a few things! The main one is this:
POWER UNIT! All NPC's have infinite - which is NOT good.
To find out what to mount, search the goods.ini file for the nickname of your chosen ship (in this case its an eagle - so thats ge_fighter6) - and you will find this:

[Good
nickname = gf6_hull
category = shiphull
ship = ge_fighter6
price = 505000
ids_name = 12015
item_icon = Equipment\models\commodities\nn_icons\cv_heavy.3db


This is just the HULL of the ship (ie the ship itself) - not what we are looking for - however, you HAD to look for this to find what we ARE looking for! Copy the nickname gf6_hull and then search the file for that instead. Yes - it will pull this up again, but the next entry will be this:

[Good
nickname = gf6_package
category = ship
hull = gf6_hull
addon = ge_gf6_engine_01, internal, 1
addon = ge_fighter6_power01, internal, 1
addon = ge_s_scanner_01, internal, 1
addon = ge_s_tractor_01, internal, 1
addon = shield01_mark07_hf, HpShield01, 1
addon = LargeWhiteSpecial, HpHeadlight, 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, 1
addon = contrail01, HpContrail02, 1
addon = DockingLightRedSmall, HpDockLight01, 1
addon = DockingLightRedSmall, HpDockLight02, 1


Now you can see what the player ship comes with when you buy it - so transfer the stuff like the engines, power supply etc over to the loadouts.ini part you made:

[Loadout
nickname = player_eagle
archetype = ge_fighter6
equip = ge_gf6_engine_01
equip = shield01_mark07_hf, HpShield01
equip = ge_fighter6_power01
equip = ge_s_scanner_02
equip = ge_s_tractor_01
equip = ge_s_thruster_01, HpThruster01
equip = LargeWhiteSpecial, HpHeadlight
equip = SlowSmallOrange, HpRunningLight01
equip = SlowSmallOrange, HpRunningLight02
equip = SlowSmallOrange, HpRunningLight03
equip = SlowSmallOrange, HpRunningLight04
equip = SlowSmallOrange, HpRunningLight05
equip = SlowSmallOrange, HpRunningLight06
equip = SlowSmallOrange, HpRunningLight07
equip = SlowSmallOrange, HpRunningLight08
equip = SlowSmallOrange, HpRunningLight09
equip = SlowSmallOrange, HpRunningLight10
equip = contrail01, HpContrail01
equip = contrail01, HpContrail02
equip = contrail01, HpContrail03
equip = contrail01, HpContrail04
equip = DockingLightRedSmall, HpDockLight01
equip = DockingLightRedSmall, HpDockLight02


As you will note - only THREE items were changed - the shield, the power and the Engine. I removed all weapons, mines, missiles, counter measures, thrusters etc - as the players don't really need those (well - they can have a thruster I guess) Now save the file - you have a 'player loadout'. If you want to give them guns - you can

Now - this part of the newcharacter.ini file:

[Package
nickname = ge_fighter
strid_name = 11051
strid_desc = 11551
ship = ge_fighter
loadout = MP_ge_fighter
money = 2000

The important parts are the ship = and the loadout =

IF you search the loadouts.ini file for the loadout there - you will find it, and it also names the ship as ge_fighter (correlates with above).
Since you have your NEW loadout pointing towards a NEW ship - you have to change THIS to make it change ingame

[Package
nickname = ge_fighter
strid_name = 11051
strid_desc = 11551
ship = ge_fighter6
loadout = player_eagle
money = 2000

Note - SHIP MUST EQUAL THE NICKNAME OF THE SHIPARCH.INI NICKNAME FOR THE SHIP!. THE LOADOUT NAME MUST EQUAL THE LOADOUT YOU MADE FOR THE EXACT SAME SHIP IN THE LOADOUTS.INI FILE!

I put that in bold because you would not believe how many complaints people make because I didn't spell stuff out for them

Save and your good to go

Post Sun Feb 06, 2005 4:41 am

*nudge*

Post Mon Feb 14, 2005 2:45 pm

Reading this has made my day!
Ive been looking how 2 do this in laymans terms for what seems an age.
You know what im gonna ask next...something a bit wierd. Is it possible to get the server to start every player from MY single player file, with my amount of credits etc?? I imagine it involves some clever little bit of script, if it can be done at all. What I mean is, as my location in single player changes, and my ship and money, is it possible 2 get that to correlate with the player start files in MP??
I can bet thats kinda involved, and I dont mind if you wish to flame/laugh/shout/cry/other (delete as appropriate), but if you could help, I'd be very pleased! (I wouldve asked for it to plunder the client side sp files, but some of my friends (like me) do a little too-much editing, and this way were all equal) Would also appreciate being shown what to write, and where to paste it. Many thanks Chips

Post Wed Feb 23, 2005 3:53 am

Stupid question, maybe.

Background:

I've edited the newcharacter.ini file on my server to change the amount of starting cash from 2000 to 25000.

Unfortunately, it doesn't work.

New players still start with 2000 credits.

I've installed the 1.3 SDK, which only made it easier to edit the file. Didn't change the result.

I'm running WTS World 2.5.3 mod, FLMM and IFLSO mark.v.

I've tried editing the newcharacter.ini file before activating the mod, and after activating the mod.

As best I can tell, FLServer never even looks at newcharacter.ini, because it shows players starting on Manhattan, and WTS starts players at West Point Academy.

So the questions boil down to:

Am I doing something wrong?
If so, where do I need to make my edits?

Or is WTS world doing these changes in the .dll perhaps?

Thanks,

Cybe

Post Wed Feb 23, 2005 6:17 pm

Nevermind. I found the answer I was looking for here:

http://www.lancersreactor.com/t/forum/t ... lse&S=True

Note to self: Search harder...

Post Wed Jul 20, 2005 5:21 am

Many thanks for your server admin mod which I've just discovered. Brilliant - just what I was looking for!

Post Mon Dec 12, 2005 4:24 am

I have not only changed the starting ship to the Piranha, but I now made the NPC's call me 'Bounty Hunter Alpha 1-1, and not 'Freelancer Alpha 1-1'...

Return to Freelancer Editing Tutorial Forum