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

Missions with new factions

The general place to discuss MOD''ing Freelancer!

Post Thu Aug 19, 2004 3:10 am

Missions with new factions

I've made a new faction with a new base, but I'm having trouble getting my new faction to offer missions, missions don't come up on the job board nor are they offered by the npcs.
I've been messing round with the mbases.ini file and got rumours, bribes etc. working ok for my faction. When I added another faction (bretonia police) I got bretonia police missions on the job board and the bretonia police npcs offered missions too, so it's just with the new faction that missions don't show up.
Can anyone help me out?

Post Thu Aug 19, 2004 7:52 am

Hi and welcome to lancersreactor!

Did you add your faction to the initialworld.ini and the empathy_rate.ini? There it is defined, which faction is an enemy of your new faction. And without an enemy, your faction is not able to give you missions against an enemy.

If you add a new faction in a mod, you need to start a new game to make their reputations towards the other factions work. If you use an old savegame from the original Freelancer version or another mod the new faction will be neutral to everyone. So if you used an old savegame, start a new game (activate OpenSP 1.1, because otherwise you would have to play the story again). Then it should work, and your faction should give you missions against their enemies.

If you already started a new game and it does not work, please post all the entries you made for your new faction. Then I can look into it and maybe find the problem.

I hope this helps!

Post Thu Aug 19, 2004 9:01 am

I've entered my faction in the empathy.ini, initialworld.ini and faction_ props.ini files. The new base is in the Cambridge system, so there should be missions against the corsairs and molly's, as these are both set as enemies.
I've been testing my mod by making my own server and joining it. I just tried it in single player starting a new game using openSP like you suggested but I had the same problem.
I've posted the entries from empathy.ini and initialworld.ini below.
Are there any other files that might have an affect?

Empathy.ini
[RepChangeEffects
group = en_dvr_grp
event = object_destruction, 0.0
event = random_mission_success, 0.1
event = random_mission_failure, 0.0
event = random_missin_abortion, -0.1
empathy_rate = li_lsf_grp, 0
empathy_rate = li_n_grp, 0
empathy_rate = li_p_grp, 0
empathy_rate = br_n_grp, 0
empathy_rate = br_p_grp, 0
empathy_rate = ku_n_grp, 0
empathy_rate = ku_p_grp, 0
empathy_rate = rh_n_grp, 0
empathy_rate = rh_p_grp, 0
empathy_rate = co_shi_grp, 0
empathy_rate = co_khc_grp, 0
empathy_rate = co_kt_grp, 0
empathy_rate = br_m_grp, 0
empathy_rate = co_me_grp, 0
empathy_rate = co_be_grp, 0
empathy_rate = co_rs_grp, 0
empathy_rate = co_vr_grp, 0
empathy_rate = co_ni_grp, 0
empathy_rate = rh_m_grp, 0
empathy_rate = co_ti_grp, 0
empathy_rate = co_ic_grp, 0
empathy_rate = co_ss_grp, 0
empathy_rate = co_hsp_grp, 0
empathy_rate = co_alg_grp, 0
empathy_rate = co_os_grp, 0
empathy_rate = co_nws_grp, 0
empathy_rate = fc_c_grp, -0.2
empathy_rate = fc_ou_grp, -0.2
empathy_rate = fc_rh_grp, 0
empathy_rate = fc_bd_grp, 0
empathy_rate = fc_j_grp, 0
empathy_rate = fc_h_grp, 0
empathy_rate = fc_m_grp, -0.2
empathy_rate = fc_x_grp, -0.1
empathy_rate = fc_b_grp, 0
empathy_rate = fc_g_grp, 0
empathy_rate = fc_lh_grp, -0.1
empathy_rate = fc_u_grp, 0
empathy_rate = fc_gc_grp, 0
empathy_rate = fc_lwb_grp, 0
empathy_rate = fc_fa_grp, 0
empathy_rate = fc_lr_grp, -0.1
empathy_rate = fc_or_grp, 0
empathy_rate = gd_gm_grp, 0.1
empathy_rate = fc_uk_grp, 0
empathy_rate = fc_n_grp, 0
empathy_rate = fc_ln_grp, 0
empathy_rate = fc_kn_grp, 0
empathy_rate = fc_rn_grp, 0
empathy_rate = fc_ouk_grp, 0
empathy_rate = fc_g_grp, 0
empathy_rate = fc_f_grp, 0
empathy_rate = gd_im_grp, 0
empathy_rate = gd_z_grp, 0.1
empathy_rate = gd_bh_grp, 0.1

InitialWorld.ini
[Group
Nickname = en_dvr_grp
ids_name = 460000
ids_info = 460000
ids_short_name = 460001
rep = 0, li_n_grp
rep = 0, li_lsf_grp
rep = 0, li_p_grp
rep = 0, br_n_grp
rep = 0, br_p_grp
rep = 0, ku_n_grp
rep = 0, ku_p_grp
rep = 0, rh_n_grp
rep = 0, rh_p_grp
rep = 0, co_alg_grp
rep = 0, co_be_grp
rep = 0, br_m_grp
rep = 0, co_nws_grp
rep = 0, co_hsp_grp
rep = 0, co_ic_grp
rep = 0, co_khc_grp
rep = 0, co_kt_grp
rep = 0, rh_m_grp
rep = 0, co_me_grp
rep = 0, co_ni_grp
rep = 0, co_os_grp
rep = 0, co_rs_grp
rep = 0, co_shi_grp
rep = 0, co_ss_grp
rep = 0, co_ti_grp
rep = 0, co_vr_grp
rep = 0, fc_bd_grp
rep = 0, fc_b_grp
rep = -0.65, fc_c_grp
rep = 0, fc_fa_grp
rep = 0, fc_g_grp
rep = 0, fc_gc_grp
rep = 0, fc_h_grp
rep = 0, fc_j_grp
rep = -0.65, fc_lh_grp
rep = -0.65, fc_lr_grp
rep = 0, fc_lwb_grp
rep = -0.65, fc_m_grp
rep = -0.65, fc_ou_grp
rep = 0, fc_rh_grp
rep = 0, fc_or_grp
rep = 0, fc_u_grp
rep = -0.65, fc_x_grp
rep = 0.65, gd_gm_grp
rep = 0, fc_uk_grp
rep = -0.65, fc_n_grp
rep = 0, fc_ln_grp
rep = 0, fc_ku_grp
rep = 0, fc_rh_grp
rep = 0, fc_ouk_grp
rep = 0, fc_q_grp
rep = 0, fc_f_grp
rep = 0, gd_im_grp
rep = 0.65, gd_z_grp
rep = 0.65, gd_bh_grp
rep = 0.91, en_dvr_grp

Post Thu Aug 19, 2004 1:23 pm

Hi again!

These two files look okay. I can't find any mistakes in them, but please post all entries you made for your new faction in any file. Then I can maybe find the mistake. You should have entries in the following files:

- empathy.ini and initialworld.ini (You already posted these)
- faction_props.ini
- newplayer.fl
- mpnewcharacter.fl

Sorry, forgot something.
Please post also your mbases.ini entry (The base, on which your new faction should offer the missions). Thanks

Edited by - Black Eagle on 8/19/2004 2:25:30 PM

Post Thu Aug 19, 2004 2:03 pm

I haven't changed anything in the newplayer.fl and mpnewcharacter.fl files (are these to do with how my rep will start with the faction?)
For the faction_props.ini I just copied the zoners and changed the bits I needed to for my faction.

Faction_prop.ini
[FactionProps
affiliation = en_dvr_grp
legality = lawful
nickname_plurality = singular
msg_id_prefix = gcs_refer_faction_en_dvr
jump_preference = any
npc_ship = gd_z_ge_fighter2_d1-6
npc_ship = gd_z_ge_fighter2_d7
npc_ship = gd_z_ge_fighter4_d8
npc_ship = gd_z_ge_fighter4_d9
npc_ship = gd_z_ge_fighter4_d10
npc_ship = gd_z_ge_fighter4_d11
npc_ship = gd_z_ge_fighter5_d12
npc_ship = gd_z_ge_fighter5_d13
npc_ship = gd_z_ge_fighter5_d14
npc_ship = gd_z_ge_fighter6_d15
npc_ship = gd_z_ge_fighter6_d16-19
npc_ship = gd_z_bw_freighter_d1-6
npc_ship = gd_z_bw_freighter_d7
npc_ship = gd_z_bw_freighter_d8
npc_ship = gd_z_bw_freighter_d9
npc_ship = gd_z_bw_freighter_d10
npc_ship = gd_z_bw_freighter_d11
npc_ship = gd_z_bw_freighter_d12
npc_ship = gd_z_bw_freighter_d13
npc_ship = gd_z_bw_freighter_d14
npc_ship = gd_z_bw_freighter_d15
npc_ship = gd_z_bw_freighter_d16-19
voice = pilot_f_ill_m01
voice = pilot_f_ill_m02
mc_costume = mc_gd
space_costume = pl_male3_head_hat, pl_male1_peasant_body, comm_br_darcy
space_costume = pl_male5_head, pl_male1_peasant_body, comm_br_elite
space_costume = pl_male8_head_hat, pl_male1_peasant_body, comm_br_darcy
space_costume = ge_male3_head, pl_male1_peasant_body, comm_br_elite
space_costume = ge_male6_head, pl_male1_peasant_body, comm_br_darcy
space_costume = sc_scientist2_head_hat, pl_male1_peasant_body, comm_br_elite
firstname_male = 226608, 226741
lastname = 227008, 227307
rank_desig = 197140, 197140, 197140, 10, 15
formation_desig = 197821, 197828
formation = fighters, fighter_guild
formation = freighters, freighter_guild
formation = freighters2, freighter2_guild

Mbases.ini
[MBase
nickname = Br03_05_Base
local_faction = en_dvr_grp
diff = 2
msg_id_prefix = gcs_refer_base_Br03_05_Base
[MVendor
num_offers = 2, 4
[BaseFaction
faction = en_dvr_grp
weight = 100
offers_missions = true
mission_type = DestroyMission, 0.400000, 0.700000, 100
npc = br0305_002_f
npc = br0305_003_m
npc = br0305_004_m
npc = br0305_005_f
[GF_NPC
nickname = br0305_fix_bartender
body = ku_male_elite_body
head = li_captain_head
lefthand = benchmark_male_hand_left
righthand = benchmark_male_hand_right
individual_name = 460500
affiliation = en_dvr_grp
voice = rvp111
bribe = en_dvr_grp, 10000, 16100
rumor = base_0_rank, mission_end, 1, 460501
[GF_NPC
nickname = br0305_fix_trader
body = ku_male_elite_body
head = rh_sales_head
lefthand = benchmark_male_hand_left
righthand = benchmark_male_hand_right
individual_name = 460511
affiliation = en_dvr_grp
voice = rvp101
[GF_NPC
nickname = br0305_fix_weaponsdealer
body = ku_male_elite_body
head = rh_wilham_head
lefthand = benchmark_male_hand_left
righthand = benchmark_male_hand_right
individual_name = 460510
affiliation = en_dvr_grp
voice = rvp101
[GF_NPC
nickname = br0305_fix_ship
body = ku_male_elite_body
head = ge_male1_head
lefthand = benchmark_male_hand_left
righthand = benchmark_male_hand_right
individual_name = 460512
affiliation = en_dvr_grp
voice = rvp140
[GF_NPC
nickname = br0305_005_f
body = ku_female_elite_body
head = pl_female6_head
lefthand = benchmark_female_hand_left
righthand = benchmark_female_hand_right
individual_name = 460520
affiliation = en_dvr_grp
voice = rvp546
misn = DestroyMission, 0.205130, 0.657740
room = bar
[GF_NPC
nickname = br0305_004_m
body = ku_male_elite_body
head = pl_male6_head
lefthand = benchmark_male_hand_left
righthand = benchmark_male_hand_right
individual_name = 460530
affiliation = en_dvr_grp
voice = rvp140
misn = DestroyMission, 0.205130, 0.657740
room = bar
[GF_NPC
nickname = br0305_003_m
body = ku_male_elite_body
head = pl_male7_head
lefthand = benchmark_male_hand_left
righthand = benchmark_male_hand_right
individual_name = 460540
affiliation = en_dvr_grp
voice = rvp101
misn = DestroyMission, 0.205130, 0.657740
room = bar
[GF_NPC
nickname = br0305_002_f
body = ku_female_elite_body
head = rh_newscaster_head_gen
lefthand = benchmark_female_hand_left
righthand = benchmark_female_hand_right
individual_name = 460550
affiliation = en_dvr_grp
voice = rvp511
misn = DestroyMission, 0.205130, 0.657740
room = bar
[MRoom
nickname = bar
character_density = 5
fixture = br0305_fix_bartender, Zs/NPC/Bartender/01/A/Stand, scripts\vendors\li_host_fidget.thn, bartender
[MRoom
nickname = Deck
character_density = 2
fixture = br0305_fix_trader, Zs/NPC/Trader/01/A/Stand, scripts\vendors\li_commtrader_fidget.thn, trader
fixture = br0305_fix_weaponsdealer, Zs/NPC/Equipment/01/A/Stand, scripts\vendors\li_equipdealer_fidget.thn, Equipment
[MRoom
nickname = Shipdealer
character_density = 2
fixture = br0305_fix_ship, Zs/NPC/Shipdealer/01/A/Stand, scripts\vendors\li_shipdealer_fidget.thn, ShipDealer

Thanks for helping me out

Post Fri Aug 20, 2004 10:14 am

Hi!

Yes, the newplayer.fl and mpnewcharacter.fl entries are for how your rep starts with the factions.

For me the files look okay, except of one entry in the mbases.ini.

[MBase
nickname = Br03_05_Base
local_faction = en_dvr_grp
diff = 2 <-- I think this should be a bit higher, because it is something about the difficulty of your faction and as they offer very difficult missions you should choose a higher difficulty (In my opinion you should change it to 19)

All the other lines seem to be okay. If you are using this entries (try to change the difficulty, as I said) everything should work.

If it doesn't, you have to wait for a more experienced modder than me.
You can also try to rewrite all the entries. Maybe we both missed a small mistake.

I hope I could help you

One thing: try to copy the line "mission_type = xxxxxx" from another base, if you wrote it yourself (If it is copied from another base, forget this). I say this, because the thing with the mission type is not as easy as it looks.

Edited by - Black Eagle on 8/20/2004 11:16:21 AM

Post Fri Aug 20, 2004 10:18 am

How can we edit those FL files?

Post Fri Aug 20, 2004 11:59 am

Caid: The mpnewcharacter.ini is not coded. Simply open it with Notepad or something like this. For the newplayer.fl you need a tool to decode. There are several tools. I used the "FLSaveEditor". You can download it here on Lancersreactor.

Post Sat Aug 21, 2004 12:27 am

More a question than a solution, but of course you know that you must change every entry in the empathy.ini file for a new faction to work, not just the one for the new faction. That is there should be a reference to it at the bottom of all the various group's entries.
Edited by - JustSomeGuy on 8/21/2004 1:30:44 AM

Edited by - JustSomeGuy on 8/21/2004 1:38:16 AM

Post Sat Aug 21, 2004 2:46 am

Good idea, JSG ;D

Post Sat Aug 21, 2004 8:49 am

The mission type I used is just copied from one of the other bases in Cambridge, the research station I think, and there the diff is set to 5. So I tried setting the diff for my faction to 5, as well as trying several other numbers for it but it made no difference.
In empathy.ini the faction is added to the end of the list for all the other factions. i've checked empathy.ini, initialworld.ini, factionprops.ini and mbases.ini loads of times but i can see no reason why it won't work.
I've tried adding the faction and npcs to other bases but they don't offer missions there either. I also made another new faction and still had the same problem.
Are there any other files which I might have to add things to or change?

Post Sat Aug 21, 2004 11:50 am

Err just a note, i`m mostly noob, but if your adding new factions. You have to watch out for openSp. The initial world is only part of it, inside m13 there`s the part where it dictates the relationship to the player for each faction.
I`ve tried modifying these, but it does crash abit.. This is probably just my bad skills, and it probably is the way to do it. You can also chane the location and loadout of the startup ship..

Post Sat Aug 21, 2004 1:22 pm

I've managed to sort it out now, I had to add my faction to several places in the vignetteparams.ini file in the random missions folder (I searched through all the ini's in the freelancer folder looking for any that might have had something to do with factions).
Thanks Black Eagle for the time you spent trying to figure out what I'd done wrong.

Post Sat Aug 21, 2004 2:44 pm

Oh man, I was stupid! I totally forgot this file, sorry.

Good to know that you solved the problem, keep on modding, I'm waiting for your mod!

Return to Freelancer General Editing Forum