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

Patrol Route n encounters with Brand new factions

The general place to discuss MOD''ing Freelancer!

Post Wed Aug 11, 2004 10:07 am

Patrol Route n encounters with Brand new factions

Ive made a new faction and i put it in the zone that has
comment = manhatten
under area_defend but i never see them. the code is somewhat like this if i remember
blah blah blha
area_defend
li_p_grp = 1.000000
si_mi_grp = 1.000000 <------------ new faction


is there a reason why they wont show up?

_____________________________________________________________


Ahh... sweet simplicity point, click, own.

[EFS Aravis+$_Capt On 24/7 Eagle Utopia

The Republic Mod

Post Wed Aug 11, 2004 11:03 am

@Aravis

Are you sure that you have add the new faction to intialworld.ini, empathy.ini and faction_prop.ini ? Also in faction_prop.ini the NPC ships must be defined or linked to a existing party (like liberty rouges). In npcships.ini are the details for new ships and their loadouts.

Did the new faction show up in the rep menu ?

eisfuerst

Post Wed Aug 11, 2004 11:35 am

It has to be linked ? it cant be brand new, out of the box, connected to nothing?


_____________________________________________________________


Ahh... sweet simplicity point, click, own.

[EFS Aravis+$_Capt On 24/7 Eagle Utopia

The Republic Mod

Post Wed Aug 11, 2004 12:10 pm

@Aravis

Youd add a entry to faction_prop.ini like this:

[FactionProps<---closing brakcet!
affiliation = my_new_grp ;new group name
legality = unlawful
nickname_plurality = singular
msg_id_prefix = gcs_refer_faction_li_n ;not important
jump_preference = jumphole
npc_ship = gd_bh_bh_fighter_d1 ; that's the imnportant part...
npc_ship = gd_bh_bh_fighter_d2 ; here you define the ships used for different
npc_ship = gd_bh_bh_fighter_d3 ; diffcult levels
npc_ship = gd_bh_bh_fighter_d4
npc_ship = gd_bh_bh_fighter_d5
npc_ship = gd_bh_bh_fighter_d6
voice = pilot_f_mil_m01
voice = pilot_f_leg_f01
scan_for_cargo = commodity_alien_artifacts, 1
scan_for_cargo = commodity_cardamine, 2
scan_announce = false
scan_chance = 0.500000

the easiesr way would be to reference a existing party for your new faction. So you must not define new npcships and loadouts. First try to edit the faction_prop.ini and add something like the following:

npc_ship = fc_lr_pi_fighter_d1
npc_ship = fc_lr_pi_fighter_d2
npc_ship = fc_lr_pi_fighter_d3
npc_ship = fc_lr_pi_fighter_d4
npc_ship = fc_lr_pi_fighter_d5
npc_ship = fc_lr_pi_fighter_d6
npc_ship = fc_lr_pi_elite_d7
npc_ship = fc_lr_pi_elite_d8
npc_ship = fc_lr_pi_elite_d9
npc_ship = fc_lr_pi_elite_d10
npc_ship = fc_lr_pi_elite_d11-19

This will definbe exact the same ships for your faction as the liberty rouges use.
If your encounter request a difficult level of 3, the following ships (npcships.ini= should be spawned:

[NPCShipArch
nickname = fc_lr_pi_fighter_d3 N the defined nickname
loadout = fc_lr_pi_fighter_loadout01 ; the loadout of the fighters /(oadout.ini)
level = d3 ; level requirement = 3
ship_archetype = pi_fighter ; pirate fighter ship
pilot = pilot_pirate_ace ; pilot qualification
state_graph = FIGHTER
npc_class = unlawful, class_fighter, d3 ; used for unlawful encounters, fighter class with difficult = 3

If this should work ... you could start defining custom ships and loutouts for your new faction.

eisfuerst

Post Wed Aug 11, 2004 1:24 pm

I know but its all setup they just wont show up in my encounters heres my inis.

Faction_prop.ini

[FactionProps
affiliation = si_mi_grp
legality = lawful
nickname_plurality = singular
msg_id_prefix = bizah
jump_preference = jumpgate
voice = pilot_f_mil_m01
voice = pilot_f_mil_m02
voice = pilot_f_leg_f01
voice = pilot_f_leg_f01a
npc_ship = si_mi_valk19
npc_ship = si_mi_drag19
npc_ship = si_mi_crus19
npc_ship = si_mi_defe19
mc_costume = mc_li
space_costume = li_captain_head, li_scrote_body, comm_ge_generic2
space_costume = li_rockford_head, li_scrote_body, comm_li_hatcher
space_costume = li_sales_head_hat, li_scrote_body, comm_ge_generic2
space_costume = ge_male4_head, li_scrote_body, comm_li_hatcher
space_costume = pl_male2_head, li_scrote_body, comm_ge_generic2
space_costume = ge_male3_head, li_scrote_body, comm_li_hatcher
space_costume = li_newscaster_head_gen_hat, li_hatcher_body, comm_ge_generic2_female
space_costume = li_newscaster_head_gen_hat, li_hatcher_body, comm_li_hatcher_female
space_costume = br_newscaster_head_gen_hat, li_hatcher_body, comm_ge_generic2_female
space_costume = br_newscaster_head_gen_hat, li_hatcher_body, comm_li_hatcher_female
space_costume = pl_female2_head, li_hatcher_body, comm_ge_generic2_female
space_costume = pl_female2_head, li_hatcher_body, comm_li_hatcher_female
firstname_male = 226608, 226741
firstname_female = 226808, 226952
lastname = 227008, 227307
rank_desig = 197005, 197006, 197007, 3, 4
formation_desig = 197808, 197820
formation = fighters, fighter_guild

npcships.ini

[npcshiparch
nickname = si_mi_defe19
loadout = si_mi_defe
level = d19
ship_archetype = Li_Elite
pilot = pilot_police_ace
state_graph = fighter
npc_class = lawful, class_fighter, d1, d2, d3, d4, d5, d6, d7, d8, d9, d10, d11, d12, d13, d14, d15, d16, d17, d18, d19

[npcshiparch
nickname = si_mi_Valk19
loadout = si_mi_valk
level = d19
ship_archetype = rh_Elite
pilot = pilot_police_ace
state_graph = fighter
npc_class = lawful, class_fighter, d1, d2, d3, d4, d5, d6, d7, d8, d9, d10, d11, d12, d13, d14, d15, d16, d17, d18, d19

[npcshiparch
nickname = si_mi_crus19
loadout = si_mi_defe
level = d19
ship_archetype = br_Elite
pilot = pilot_police_ace
state_graph = fighter
npc_class = lawful, class_fighter, d1, d2, d3, d4, d5, d6, d7, d8, d9, d10, d11, d12, d13, d14, d15, d16, d17, d18, d19

[npcshiparch
nickname = si_mi_drag19
loadout = si_mi_drag
level = d19
ship_archetype = ku_Elite
pilot = pilot_police_ace
state_graph = fighter
npc_class = lawful, class_fighter, d1, d2, d3, d4, d5, d6, d7, d8, d9, d10, d11, d12, d13, d14, d15, d16, d17, d18, d19

Loadouts.ini

[Loadout
nickname = Si_MI_Valk
archetype = RH_ELITE
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_03, HpThruster01
equip = fc_c_gun01_mark05, HpWeapon01
equip = fc_ou_gun01_mark05, HpWeapon02
equip = gd_gm_gun01_mark04, HpWeapon03
equip = fc_c_gun02_mark03, HpWeapon04
equip = rh_gun02_mark04, HpWeapon05
equip = rh_gun02_mark04, HpWeapon06
equip = gd_z_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

[Loadout
nickname = Si_MI_Drag
archetype = KU_ELITE
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_03, HpThruster01
equip = fc_c_gun01_mark05, HpWeapon01
equip = fc_ou_gun01_mark05, HpWeapon02
equip = gd_gm_gun01_mark04, HpWeapon03
equip = fc_c_gun02_mark03, HpWeapon04
equip = rh_gun02_mark04, HpWeapon05
equip = special_gun14, HpWeapon06
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

[Loadout
nickname = Si_MI_Crus
archetype = br_elite
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_03, HpThruster01
equip = fc_ou_gun01_mark05, HpWeapon01
equip = fc_c_gun01_mark05, HpWeapon02
equip = gd_gm_gun01_mark04, HpWeapon03
equip = fc_c_gun02_mark03, HpWeapon04
equip = rh_gun02_mark04, HpWeapon05
equip = special_gun09, HpWeapon06
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

[Loadout
nickname = Si_MI_Defe
archetype = li_elite
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_03, HpThruster01
equip = fc_ou_gun01_mark05, HpWeapon01
equip = fc_c_gun01_mark05, HpWeapon02
equip = gd_gm_gun01_mark04, HpWeapon03
equip = fc_c_gun02_mark03, HpWeapon04
equip = rh_gun02_mark04, HpWeapon05
equip = fc_ou_gun01_mark05, HpWeapon06
equip = gd_z_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

initialworld.ini

[Group
nickname = si_mi_grp
ids_name = 320001
ids_info = 321001
ids_short_name = 320002
rep = .9, li_n_grp
rep = .9, li_lsf_grp
rep = .9, li_p_grp
rep = .9, br_n_grp
rep = .9, br_p_grp
rep = .9, ku_n_grp
rep = .9, ku_p_grp
rep = .9, rh_n_grp
rep = .9, 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.65, fc_bd_grp
rep = -0.65, fc_b_grp
rep = -0.65, fc_c_grp
rep = -0.3, fc_fa_grp
rep = -0.65, fc_g_grp
rep = -0.65, fc_gc_grp
rep = -0.3, fc_h_grp
rep = -0.3, fc_j_grp
rep = -0.65, fc_lh_grp
rep = -0.65, fc_lr_grp
rep = -0.65, fc_lwb_grp
rep = -0.65, fc_m_grp
rep = -0.65, fc_ou_grp
rep = -0.65, fc_rh_grp
rep = 0, fc_or_grp
rep = -0.65, fc_u_grp
rep = -0.65, 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.91, gd_bh_grp
rep = 0.9, si_mi_grp

with all the crap under all other factions

finally, empathy.ini

[RepChangeEffects
group = SI_MI_GRP
event = object_destruction, -0.024900
event = random_mission_success, 0.140000
event = random_mission_failure, -0.045000
event = random_mission_abortion, -0.067500
empathy_rate = li_n_grp, 0.050000
empathy_rate = li_lsf_grp, 0.050000
empathy_rate = li_p_grp, 0.050000
empathy_rate = br_n_grp, 0.050000
empathy_rate = br_p_grp, 0.050000
empathy_rate = ku_n_grp, 0.025000
empathy_rate = ku_p_grp, 0.025000
empathy_rate = rh_n_grp, 0.050000
empathy_rate = rh_p_grp, 0.050000
empathy_rate = co_shi_grp, 0
empathy_rate = co_khc_grp, 0.050000
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.050000
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.150000
empathy_rate = fc_ou_grp, -0.200000
empathy_rate = fc_rh_grp, -0.250000
empathy_rate = fc_bd_grp, -0.100000
empathy_rate = fc_j_grp, -0.050000
empathy_rate = fc_h_grp, 0
empathy_rate = fc_m_grp, -0.050000
empathy_rate = fc_x_grp, -0.300000
empathy_rate = fc_b_grp, -0.050000
empathy_rate = fc_g_grp, -0.150000
empathy_rate = fc_lh_grp, -0.150000
empathy_rate = fc_u_grp, -0.100000
empathy_rate = fc_gc_grp, 0
empathy_rate = fc_lwb_grp, 0
empathy_rate = fc_fa_grp, 0
empathy_rate = fc_lr_grp, -0.150000
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.050000


Can anyone see whats wrong with this???

_____________________________________________________________


Ahh... sweet simplicity point, click, own.

[EFS Aravis+$_Capt On 24/7 Eagle Utopia

The Republic Mod

Post Wed Aug 11, 2004 1:58 pm

Does everyone else in the empathy file have empathy towards them too? (ie - did you add them to all the other entires - them being the new faction?)

Same again for initial world - did you add them all there too??

Next up, give them existing ships references to another factino - like lib rogues ships, and see what happens. See if they start appearing then.

Edited by - Chips on 8/11/2004 3:00:39 PM

Post Wed Aug 11, 2004 2:25 pm

How chips? ill double check those 2 but im pretty sure they are

I mean i have all new ships in the group like 4 different factions use them. Ive got Defender, Valkyre, Crusader, and Dragon

edit yes they are all there in empathy and initialworld
_____________________________________________________________


Ahh... sweet simplicity point, click, own.

[EFS Aravis+$_Capt On 24/7 Eagle Utopia

The Republic Mod

Edited by - Aravis on 8/11/2004 3:30:08 PM

Post Wed Aug 11, 2004 3:03 pm

Just a note for when you're testing out with patrols: you would change the line near the bottom saying patrolp_gov_patrol to patrolp_assault

--------------------------------
Leader of the Republic Mod Team.
"Criminal Organisations don't just spring up overnight. It's a conspiracy" - overheard on a a Liberty comm frequency

Post Wed Aug 11, 2004 4:18 pm

I will

Post Thu Aug 12, 2004 9:51 am

@Aravis

Mmh, your ini files look correct for me. Just an idea ...
try to change the entry in intialworld.ini for ids_info to another value (66200 = liberty navy). Ids_name is a string resource and ids_info an html resource. Maybe it has an impact. Also start a new game for testing and never use a saved game.

Do the new faction appear in normal encounters like area_assault ?

Greetz
eisfuerst

Post Thu Aug 12, 2004 1:12 pm

Ill try that


_____________________________________________________________


Ahh... sweet simplicity point, click, own.

[EFS Aravis+$_Capt On 24/7 Eagle Utopia

The Republic Mod

Post Thu Aug 12, 2004 2:09 pm

It only crashes when i put them in an encounter. This faction is not linked to anything or replaceing an old one if that matters any. Its brand new.

_____________________________________________________________


Ahh... sweet simplicity point, click, own.

[EFS Aravis+$_Capt On 24/7 Eagle Utopia

The Republic Mod

Return to Freelancer General Editing Forum