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

How to add Factions?

The general place to discuss MOD''ing Freelancer!

Post Sat Apr 19, 2003 9:58 pm

How to add Factions?

I was just wondering how I would go about adding in my own faction. I'm making my own system and I'd like to have my own faction patrolling it. So far I've done a little bit to this already:

I added two entries into the nameresources.dll file. These are for the ids_name and ids_short_name in the initialworld.ini. I basically just copied and pasted an existing entry and added it to the end, this is what I have:

[Group
nickname = ge_imp_grp
ids_name = 261803
ids_info = 66207
ids_short_name = 261804
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, 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, fc_lh_grp
rep = 0, fc_lr_grp
rep = 0, fc_lwb_grp
rep = 0, fc_m_grp
rep = 0, fc_ou_grp
rep = 0, fc_rh_grp
rep = 0.91, fc_or_grp
rep = 0, fc_u_grp
rep = 0, fc_x_grp
rep = 0, gd_gm_grp
rep = 0, fc_uk_grp
rep = -0.65, fc_n_grp
rep = 0, fc_ln_grp
rep = 0, fc_kn_grp
rep = 0, fc_rn_grp
rep = 0, fc_ouk_grp
rep = 0, fc_q_grp
rep = 0, fc_f_grp
rep = 0, gd_im_grp
rep = 0, gd_z_grp
rep = 0, gd_bh_grp

I just changed the group name and the IDS numbers. I did the same for empathy.ini:

[RepChangeEffects
group = ge_imp_grp
event = object_destruction, -0.030000
event = random_mission_success, 0.140000
event = random_mission_failure, -0.045000
event = random_mission_abortion, -0.067500
empathy_rate = li_n_grp, 0
empathy_rate = li_lsf_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
empathy_rate = fc_ou_grp, 0
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
empathy_rate = fc_x_grp, 0
empathy_rate = fc_b_grp, 0
empathy_rate = fc_g_grp, 0
empathy_rate = fc_lh_grp, 0
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
empathy_rate = gd_gm_grp, 0
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_q_grp, 0
empathy_rate = fc_f_grp, 0
empathy_rate = gd_im_grp, 0
empathy_rate = gd_z_grp, 0
empathy_rate = gd_bh_grp, 0

I've successfully managed to get a planet to have "Imp Base" in the name (short name for my faction). What I need to know how to do now is set what ships the group uses, and set patrol routes/encounters. I think once I get this all done I can make a tutorial, so everyone can have their own faction

Post Sat Apr 19, 2003 10:10 pm

"Listen very carefully, I shall type this only once:"

faction_prop.ini

Post Fri Apr 25, 2003 6:50 am

that is all very nice, but i think the empathy and initial worlds should have double entries.

you should probably add to each other group in the initialworld.ini and empathy.ini files an entry for your group.

ie: in empathy.ini, for each other groups' section, you should add on:
empathy_rate = my_own_grp, {empathy_rate of you towards them}

it does seem like double referencing to me, but the database has been created in that fashion, and i would simply suggest keeping the formats the same to prevent problems later on. (i don't know how the game accesses this DB, and it might actually end up accessing both entries at different points in the game, and if one of those 2 entries are missing, then it might have a problem)

Edited by - Doug_The_Slug on 25-04-2003 07:52:39

Post Sat Apr 26, 2003 5:15 am

yo thats a great idea i really like that would u mind sending me the tutorial when ur done my email is [email protected] thanx

Mess With the Best Die lIke the Rest

Return to Freelancer General Editing Forum