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

changing the ship NPC flys for one Factions without affectin

The general place to discuss MOD''ing Freelancer!

Post Mon Sep 27, 2004 3:19 pm

changing the ship NPC flys for one Factions without affectin

Greetings to all. I am trying to mod the ships that one faction flys
witout affecting the other factions. For example.. Like both the
Mollys and the Liberty Rogues uses Pirate class fighters, but if
I wish to change the Mollys to fly with Tie Fighters and the Liberty
Rogues retain the Pirate class fighters. How does one does it?

One of the method that I knew of, that can change a ship of
one faction fly, is to completely change the current ship's info
inside the ShipArch.inf. Like a Pirate light figther, if I change
the info of its graphic to that of a Tie Fighter. I can accomplish
the objective I seek for my mod, but that would involve replacing
all the Pirate light fighter graphics with that of a Tie fighter.

I have been looking into the faction_prop.ini , loadouts.ini and
npcships.ini. I believe if that any changes need to be done, it
may involve some changes within those three .ini . I have done
some experiments, but no luck so far.


Any advise or help would be greatly appreciated.
Thanks. Lord Yoda.

Post Mon Sep 27, 2004 6:02 pm

im afraid that you will have to make a completely new entery for the tie fighter. for example

The molly's entry in Faction_props.ini

[FactionProps
affiliation = fc_m_grp
legality = unlawful
nickname_plurality = plural
msg_id_prefix = gcs_refer_faction_fc_m
jump_preference = jumphole
npc_ship = fc_m_pi_fighter_d1-5
npc_ship = fc_m_pi_fighter_d6
npc_ship = fc_m_pi_elite_d7
npc_ship = fc_m_pi_elite_d8-19

voice = pilot_f_ill_m01
voice = pilot_f_ill_m02
mc_costume = mc_fc
space_costume = pi_pirate1_head, pi_pirate1_body, comm_br_elite
space_costume = pi_pirate2_head, pi_pirate1_body, comm_rh_alaric
space_costume = pi_pirate4_head, pi_pirate1_body, comm_br_elite
space_costume = sh_male4_head, pi_pirate1_body, comm_rh_alaric
space_costume = ge_male2_head, pi_pirate1_body, comm_br_elite
space_costume = ge_male4_head, pi_pirate1_body, comm_rh_alaric
firstname_male = 227308, 227410
lastname = 227708, 228007
rank_desig = 197098, 197099, 197100, 6, 8
formation_desig = 197821, 197828
scan_for_cargo = commodity_consumer_goods, 0
scan_for_cargo = commodity_food, 0
scan_for_cargo = commodity_gold, 2
scan_for_cargo = commodity_H_fuel, 0
scan_for_cargo = commodity_mining_machinery, 1
scan_for_cargo = commodity_mox_fuel, 2
scan_for_cargo = commodity_oxygen, 0
scan_for_cargo = commodity_pharm, 0
scan_for_cargo = commodity_sidearms, 2
scan_for_cargo = commodity_water, 0
scan_announce = false
scan_chance = 0.300000
formation = fighters, fighter_pirate

the bold part is the part you will need to change.

To do this you will need to go to npc+ships.ini and make a new entry. eg

[NPCShipArch
nickname = tie_fighter_d1-12
loadout = tie_fighter_loadout01 ; a new loadout is needed, defined in loadouts.ini
level = d12
ship_archetype = tie_fighter ; what your ship is called in shiparch.ini
pilot = pilot_outcast_hard ; whatever pilot u want to use. this one will do
state_graph = FIGHTER
npc_class = unlawful, class_fighter, d1, d2, d3, d4, d5, d6, d7, d8, d9, d10, d11, d12

Now once you have established this entry, you will need to reference to it in the Faction_props.ini
eg


[FactionProps
affiliation = fc_m_grp
legality = unlawful
nickname_plurality = plural
msg_id_prefix = gcs_refer_faction_fc_m
jump_preference = jumphole
npc_ship = tie_fighter_d1-12 <----------------------
voice = pilot_f_ill_m01
voice = pilot_f_ill_m02
mc_costume = mc_fc
space_costume = pi_pirate1_head, pi_pirate1_body, comm_br_elite
space_costume = pi_pirate2_head, pi_pirate1_body, comm_rh_alaric
space_costume = pi_pirate4_head, pi_pirate1_body, comm_br_elite
space_costume = sh_male4_head, pi_pirate1_body, comm_rh_alaric
space_costume = ge_male2_head, pi_pirate1_body, comm_br_elite
space_costume = ge_male4_head, pi_pirate1_body, comm_rh_alaric
firstname_male = 227308, 227410
lastname = 227708, 228007
rank_desig = 197098, 197099, 197100, 6, 8
formation_desig = 197821, 197828
scan_for_cargo = commodity_consumer_goods, 0
scan_for_cargo = commodity_food, 0
scan_for_cargo = commodity_gold, 2
scan_for_cargo = commodity_H_fuel, 0
scan_for_cargo = commodity_mining_machinery, 1
scan_for_cargo = commodity_mox_fuel, 2
scan_for_cargo = commodity_oxygen, 0
scan_for_cargo = commodity_pharm, 0
scan_for_cargo = commodity_sidearms, 2
scan_for_cargo = commodity_water, 0
scan_announce = false
scan_chance = 0.300000
formation = fighters, fighter_pirate

There ya go. Just take the nickname from npc_ships.ini entry and put it where i have.

Hope this helps ya

Post Tue Sep 28, 2004 12:34 am

Thanx! Phoenix_IRA. You are THE life saver.. Give it a try at the Weekend.

Return to Freelancer General Editing Forum