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

Faction doesnt appear

The general place to discuss MOD''ing Freelancer!

Post Wed Aug 25, 2004 11:18 pm

Faction doesnt appear

First off I'd like to say Hello this is my first time posting here. I have been having a problem getting a custom faction to appear. This is my 7th time starting from scratch and I still can't get the faction to appear. I downloaded the tutorial on new factions and I have followed it as well as reading on the forums here about factions and im beginning to agree with Glock36 about committing suicide before trying to make a custom faction. However, I would still like to know if you guys maybe can spot where I have went wrong. These are the files that I have edited: Initialworld.ini, commodities_per_faction.ini, rmlootinfo.ini, empathy.ini, faction_prop.ini, npcships.ini, loadouts.ini, and mpnewcharacter.fl.
Now for the blocks of code in that order( excluding rmlootinfo and mpnewcharacter.fl):

[Group
nickname = co_om_grp
ids_name = 196893
ids_info = 66219
ids_short_name = 196941
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, 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.91, gd_z_grp
rep = 0, gd_bh_grp
rep = 0.91, co_om_grp

[FactionGood
faction = co_om_grp
MarketGood = commodity_diamonds, 0, 0
MarketGood = commodity_engine_components, 0, 0
MarketGood = commodity_gold, 0, 0
MarketGood = commodity_luxury_consumer_goods, 0, 0
MarketGood = commodity_niobium, 0, 0
MarketGood = commodity_optical_chips, 0, 0
MarketGood = commodity_optronics, 0, 0

Post Wed Aug 25, 2004 11:19 pm

[RepChangeEffects
group = co_om_grp
event = object_destruction, -0.030000
event = random_mission_success, 0.085900
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 = fc_or_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

[FactionProps
affiliation = co_om_grp
legality = lawful
nickname_plurality = singular
jump_preference = any
npc_ship = co_om_fighter_d19
voice = pilot_f_mil_m01
voice = pilot_f_mil_m02
voice = pilot_f_leg_f01
voice = pilot_f_leg_f01a
mc_costume = mc_fc
space_costume = pl_male2_head, sh_male2_body, comm_br_elite
space_costume = pl_male3_head_hat, sh_male2_body, comm_br_guard
space_costume = pl_male6_head, sh_male2_body, comm_br_elite
space_costume = pl_male8_head_hat, sh_male2_body, comm_br_guard
space_costume = ge_male6_head, pi_orillion_body, comm_br_elite
space_costume = sc_scientist2_head_hat, sh_male2_body, comm_br_guard
space_costume = li_newscaster_head_gen_hat, pl_female2_journeyman_body, comm_br_elite_female
space_costume = li_newscaster_head_gen_hat, pl_female2_journeyman_body, comm_br_guard_female
space_costume = rh_newscaster_head_gen_hat, pl_female2_journeyman_body, comm_br_elite_female
space_costume = rh_newscaster_head_gen_hat, pl_female2_journeyman_body, comm_br_guard_female
firstname_male = 226608, 226741
firstname_female = 226808, 226952
lastname = 227008, 227307
rank_desig = 197137, 197138, 197139, 8, 15
formation_desig = 197821, 197828
scan_for_cargo = commodity_cardamine, 2
scan_announce = false
scan_chance = 0.300000
formation = fighters, fighter_guild

[NPCShipArch
nickname = co_om_fighter_d19
loadout = co_om_fighter_loadout01
level = d19
ship_archetype = ge_fighter6
pilot = pilot_military_ace
state_graph = FIGHTER
npc_class = lawful, class_fighter, d19

[Loadout
nickname = co_om_fighter_loadout01
archetype = ge_fighter6
equip = ge_bwe_engine_01
equip = npc_shield02_mark10, HpShield01
equip = infinite_power
equip = ge_s_scanner_02
equip = ge_s_tractor_01
equip = ge_s_thruster_04, HpThruster01
equip = fc_c_gun02_mark03, HpWeapon01
equip = fc_c_gun02_mark03, HpWeapon02
equip = special_gun04, HpWeapon03
equip = special_gun04, HpWeapon04
equip = special_nomad_gun01, HpWeapon05
equip = special_nomad_gun01, HpWeapon06
equip = fc_c_turret01_mark03, HpTurret01
equip = cruise_disruptor01_mark02, HpTorpedo01
cargo = cruise_disruptor01_mark02_ammo, 50
equip = mine01_mark05, HpMine01
cargo = mine01_mark05_ammo, 50
equip = ge_s_cm_03, HpCM01
cargo = ge_s_cm_03_ammo, 50
equip = LargeWhiteSpecial,
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

Post Wed Aug 25, 2004 11:20 pm

I did add the new factions line to the bottom of the other factions in initialworld and empathy. Also for the DLL numbers i kept the liberty navy numbers since I wanted to see if they would even appear before creating my own entries (i have created the DLL entries first before though so I don't think thats the problem). Next I tried to modify the encounter zone around planet Manhattan to test it before creating a system for them:

[zone
nickname = Zone_Li01_001_Planet_Li01_01
pos = -33020, 0, -27925
rotate = 0, 104, 0
shape = SPHERE
size = 7000
comment = Manhattan
sort = 8
toughness = 40
density = 20
repop_time = 10
max_battle_size = 8
pop_type = li_p_grp, base_cluster_law
relief_time = 10
faction_weight = li_p_grp, 12
faction_weight = li_p_grp_prisoners, 4
faction_weight = co_be_grp, 10
faction_weight = co_hsp_grp, 10
faction_weight = co_kt_grp, 10
faction_weight = co_me_grp, 10
faction_weight = co_nws_grp, 10
faction_weight = co_ni_grp, 10
faction_weight = co_os_grp, 4
faction_weight = co_rs_grp, 10
faction_weight = co_shi_grp, 10
faction_weight = co_ss_grp, 10
faction_weight = co_vr_grp, 8
faction_weight = gd_bh_grp, 3
faction_weight = co_om_grp, 12
density_restriction = 4, unlawfuls
encounter = area_defend, 1, 0.070000
faction = li_p_grp, 1.000000
encounter = area_defend, 19, 0.070000
faction = co_om_grp, 1.000000
encounter = area_bh_defend, 1, 0.030000
faction = gd_bh_grp, 1.000000
encounter = area_armored_prisoner, 1, 0.020000
faction = li_p_grp, 1.000000
encounter = area_trade_freighter, 1, 0.090000
faction = co_hsp_grp, 0.260000
faction = co_me_grp, 0.260000
faction = co_ss_grp, 0.260000
faction = co_vr_grp, 0.210000
encounter = area_trade_transport, 1, 0.120000
faction = co_be_grp, 0.100000
faction = co_hsp_grp, 0.100000
faction = co_kt_grp, 0.100000
faction = co_me_grp, 0.100000
faction = co_nws_grp, 0.100000
faction = co_ni_grp, 0.100000
faction = co_rs_grp, 0.100000
faction = co_shi_grp, 0.100000
faction = co_ss_grp, 0.100000
faction = co_vr_grp, 0.080000
encounter = area_trade_armored, 1, 0.020000
faction = co_os_grp, 1.000000
encounter = area_lifter, 1, 0.030000
faction = co_me_grp, 0.500000
faction = co_ss_grp, 0.500000
encounter = area_repair, 1, 0.030000
faction = co_me_grp, 0.500000
faction = co_ss_grp, 0.500000

Granted I don't know what some of the numbers in the encounter zones mean but I did what I thought was right. Also I read that ships can appear in systems even if the parts of the ship isn't in the Archetype section at the beginning of the system so if that isn't the case plz point that out. Sorry to bother you with a question like this that has been asked before but I have looked all over and I am at my wits end with this thing. Thxs in advance for any help you guys might be able to provide.

Post Thu Aug 26, 2004 6:47 am

Hi!
As I made some custom factions and never had any serious problems with them I will try to help you.

At first you should look into the encounter file "area_bh_defend.ini". As the ship of your new faction is a "class_fighter" (look at npc_class in npcships.ini) you should look into this file, which fighters are mentioned there (If there are also class_fighters it is okay, but if there are others make a new encounter file, which only has "class_fighters" in it)!

A question: Do the encounters simply not appear, or does the game crash sometimes?

Last thing: In the zone entry, there is "toughness = 40". In my opinion this has to be toughness = 19, because your ships are also class 19.
You may also choose another zone (don't forget the "toughness = 19" thing). Because around Manhattan, there are so many encounters, that it takes some time for one to appear. So choose another zone with less encounters, and make the following number higher: encounter = area_bh_defend, 1, 0.030000 <-- this last number. It defines, how often your ships will appear,

I hope this helps a bit. If not, sorry, but I'm also not such an experienced modder.

Post Thu Aug 26, 2004 8:22 am

Remove all factions from the encounter zone around manhatten by commenting them out:

;encounter =
; faction =
;encounter =
;faction =
;encounter =

just leaving your new one. Now try again, does it crash? if so, something is obviously wrong with your coding from the start!! Try copying and pasting the rouges info in faction_prop.ini over theirs - leaving only the nickname/ids name as they are originally - and see if they then appear!

Then get fiddling and redoing your empathy.ini and initial_world.ini file if they don't!

Post Thu Aug 26, 2004 11:17 am

Well I have been trying different things and somehow I have managed to get FL to graciously crash back to the desktop whenever I try to start a new game so I guess its time to start from scratch yet again. What I have been trying to make is just a simple faction that is neutral with everyone, flys only one ship (eagle), and is very hard to beat (hence the d19 thing). If I could ever get it to work I could try doing other stuff from there. So if you guys haven't seen any problems in the blocks that I posted I might try using those again. If one of you guys would like to go through the trouble of posting how to do what I have been trying I would greatly appreciate it.

Post Thu Aug 26, 2004 1:48 pm

I have posted "how to do" thing before, and since it was so long, and in such detail, i have no intention of ever doing it again!! Hence - check the thread claiming it has got it all stickied above. Find the link on creation factions - and click on it. Then get reading

Return to Freelancer General Editing Forum