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

Adding Order patrols/NPC ships - advice?

The general place to discuss MOD''ing Freelancer!

Post Tue Jun 08, 2004 6:06 pm

Adding Order patrols/NPC ships - advice?

Hello, all, I have been wokring a lot in a couple systems on adding Order bases and other objects. I have several zones set up for Order parols/scouts, but no ships ever appear. That's when I realized that maybe there isn't any NPC ship/pilot settings for the Order, so I looked in the MISSIONS files.

I have found the Order in faction_prop.ini and empathy.ini, but I cannot get them to use the Anubis in a patrol. See, this I what I mean:
I have a few population zones in Tohoku set up with
"[Zone
nickname = Zone_Ku07_pop_ambient_04
pos = 40153, 0, -49766
rotate = 0, 19, 0
shape = ELLIPSOID
size = 22011, 15264, 15264
sort = 51
toughness = 4
density = 3
repop_time = 25
max_battle_size = 4
damage = 0
spacedust = puffdust
spacedust_maxparticles = 0
interference = 0.000000
pop_type = Background
relief_time = 35
population_additive = false
faction_weight = fc_or_grp, 1
faction_weight = fc_bd_grp, 1
faction_weight = fc_gc_grp, 1
faction_weight = fc_n_grp, 1
faction_weight = gd_z_grp, 1
faction_weight = ku_n_grp, 1
encounter = area_defend, 4, 0.800000
faction = fc_or_grp, 0.800000
faction = fc_bd_grp, 0.800000
faction = fc_gc_grp, 0.800000
encounter = area_nobattleship, 4, 0.800000
faction = fc_n_grp, 0.800000
encounter = area_trade_freighter, 4, 0.800000
faction = gd_z_grp, 0.800000
encounter = area_trade_trader, 4, 0.800000
faction = gd_z_grp, 0.800000
encounter = area_assault, 4, 0.800000
faction = ku_n_grp, 0.800000
encounter = area_nomads, 4, 0.100000
faction = fc_n_grp, 0.800000"

And I never see any Order ships. I have added a ship to npcships.ini -
"[NPCShipArch
nickname=or_or_elite_d19
loadout=MSN12_Order_Heavy_Fighter
level=d19
ship_archetype=or_elite
pilot=MSN12_Order_Heavy_Fighter
state_graph=FIGHTER
npc_class=unlawful, class_fighter, d19"

I made this at the bottom of the file. I then put "or_or_elite_d19" in the faction_prop.ini entry for fc_or_grp:
"npc_ship = or_or_elite_d19 " but I still don't get any Anubis flying around.

Can anyone give me a pointer on this? Has this ever been done? I have looked in the "Check here, got it all" forum up there, but I didn't find too much help in this there. Thanks for any ideas.

Post Tue Jun 08, 2004 9:00 pm

its in these lines:
encounter = area_defend, 4 , 0.800000
faction = fc_or_grp, 0.800000
faction = fc_bd_grp, 0.800000
faction = fc_gc_grp, 0.800000

the bold values are wrong.
the 4 is the difficulty class of the ships that should be spawned. your order fighter is set to 19 in npcships.ini

the other small error is the 0.800 values. those are the probabilities for the faction decision once an encotner shows up. this decides from what faction the ships will be. the sum of these should be 1.0.

my suggestion:
make an extra encoutner for the order as their diffclass is way higher as the others. (or decrease diffclass in npchips.ini and adjust the value in the encounter)

encounter = area_defend, 19, 0.8
faction = fc_or_grp, 1.0

this should do the magic

Fjord

---------------------------------
Excelcia Mod Leading Developer

Post Tue Jun 08, 2004 10:22 pm

You can also look here for a 'how to' get the order (and other blocked factions) to show on the rep list. (a pre-done .dll (v1.0 - unpatched version) can be got here

Post Thu Jun 10, 2004 8:56 pm

Holy cow, thanks so much, guys! I have now added The Order to my game. They fly custom ships with custom load outs in custom zones in Tohoku Get all that? I can also get in on their good side, or the opposite - on the Nomads' good side.
Gosh, this is just too awesome! Thanks again

Post Sat Jun 12, 2004 9:50 pm

Alright, I know I just asked for help (and I received it, so thanks a milion for that); now I have Order fighters patrolling various outer places, like the pink Unknown system from Omicron Alpha.
I can add fighters with no problem.
However, I have now tried to add some Nomad gunboats and Nomad battleships to this pink Unknown system (Ew05). I am not sure about how making Gunboat and Battleship NPC ships is different from making fighters, but here is what I have done (but this does not add any Nomad GB or BS encounters out there ) :

__________
-- In loadouts_special.ini,:
[Loadout
nickname = no_GBoat_hard
archetype = no_gunboat
equip = infinite_power
equip=armor_scale_10
equip = ge_ng_engine_01
equip = ge_s_scanner_02
equip = nomad_turret01_mark01, Hp_1_01
equip = nomad_turret01_mark01, Hp_1_02
equip = nomad_turret01_mark01, Hp_1_03
equip = nomad_turret01_mark01, Hp_1_04
equip = nomad_turret01_mark01, Hp_1_05
equip = nomad_turret01_mark01, Hp_1_06
cargo = commodity_Silver, 5
cargo = commodity_alien_organisms, 5
cargo = commodity_ship_hull_panels, 15

[Loadout
nickname = no_BShip_hard
archetype = no_battleship
equip = infinite_power
equip = ge_nb_engine_01
equip = ge_s_scanner_02
equip=armor_scale_10
equip = nomad_turret01_mark01, Hp_1_01
equip = nomad_turret01_mark01, Hp_1_02
equip = nomad_turret01_mark01, Hp_1_03
equip = nomad_turret01_mark01, Hp_1_04
equip = nomad_turret01_mark01, Hp_1_05
equip = nomad_turret01_mark01, Hp_1_06
equip = nomad_turret01_mark01, Hp_1_07
equip = nomad_turret01_mark01, Hp_1_08
equip = nomad_turret01_mark01, Hp_1_09
equip = nomad_turret01_mark01, Hp_1_10
equip = nomad_turret01_mark01, Hp_1_11
equip = nomad_turret01_mark01, Hp_1_12
equip = nomad_turret01_mark01, Hp_1_13
equip = nomad_turret01_mark01, Hp_1_14
equip = nomad_turret01_mark01, Hp_1_15
equip = fx_Nomad_battleship_engine, HpEngine01
cargo = commodity_Silver, 12
cargo = commodity_Diamonds, 15
cargo = commodity_alien_organisms, 10
cargo = commodity_ship_hull_panels, 35
___________
-- In npcships.ini:
[NPCShipArch
nickname = No_GBoat_elite
loadout = no_GBoat_hard
level = d19
ship_archetype = no_gunboat
pilot = gunboat_default
state_graph = GUNBOAT
npc_class = unlawful, class_gunboat, d19

[NPCShipArch
nickname = No_BShip_elite
loadout = no_BShip_hard
level = d19
ship_archetype = no_battleship
pilot = battleship_default
state_graph = CRUISER
npc_class = unlawful, class_battleship, d19
____________
-- In faction_prop.ini:
npc_ship = MSN13_Nomad_Fighter_Populator )these top 2 are default FL ones
npc_ship = fc_n_no_fighter_d19
npc_ship = no_Elite_d19 <=================) I added this one, np in game
npc_ship = No_GBoat_elite <================) these are the ones I'm trying to make work
npc_ship = No_BShip_elite
_____________
--- In Systems\EW05\Ew05.ini:
[Zone
nickname = Zone_Ew05_pop_ambient_01
pos = 335, 0, 20620
rotate = 0, -5, 0
shape = ELLIPSOID
size = 16822, 8962, 8962
sort = 51
toughness = 19
density = 6
repop_time = 27
max_battle_size = 12
damage = -15
spacedust = puffdust
spacedust_maxparticles = 0
interference = 0.000000
pop_type = Background
relief_time = 35
population_additive = false
faction_weight = fc_or_grp, 1
faction_weight = fc_ou_grp, 1
faction_weight = fc_n_grp, 20
encounter = area_scout, 19, 0.380000
faction = fc_or_grp, 0.830000
faction = fc_ou_grp, 0.170000
encounter = area_nobattleship, 19, 0.100000
faction = fc_n_grp, 1.000000
encounter = area_gunboats, 19, 0.150000
faction = fc_n_grp, 1.000000
_________
_________
All that I get out there are the fc_n_no_fighter_d19 Nomads, and my no_Elite_d19 Nomads, all in Nomad Interceptors. I have flown all over my zone, sat there for minutes on end, entered/exited system multiple times, and even upped that "encounter = area_nobattleship, 19, 0.100000" to be "...19, 0.90000" but there is still no effect.

If anyone knows how to add NPC GBs/BSs correctly into the game, I would really appreciate any help. Thank you very much in advance.

Post Sun Jun 13, 2004 2:20 am

Do you have an

<pre><font size=1 face=Courier>
[EncounterParameters
nickname = area_nobattleship
filename = missions\encounters\yourininame.ini
</font></pre>

in your system file, and a

<pre><font size=1 face=Courier>
[ShipClass
nickname = yourclassname
member = yourbattleshipclassname
</font></pre>

in shipclasses.ini, and a

<pre><font size=1 face=Courier>
formation = yourclassname, yourformationname
</font></pre>

in faction_prop ini?

Post Sun Jun 13, 2004 8:30 am

Yes, I have these things:
_______
In the Ew05.ini:
[EncounterParameters
nickname = area_gunboats
filename = missions\encounters\area_gunboats.ini
...(other encounters)
[EncounterParameters
nickname = area_nobattleship
filename = missions\encounters\area_nobattleship.ini
________
In faction_prop.ini:
[FactionProps
affiliation = fc_n_grp
legality = unlawful
nickname_plurality = plural
msg_id_prefix = gcs_refer_faction_fc_n
jump_preference = jumpgate
npc_ship = MSN13_Nomad_Fighter_Populator
npc_ship = fc_n_no_fighter_d19
npc_ship = no_Elite_d19
mc_costume = mc_fc
firstname_male = 229608, 229608
firstname_female = 229608, 229608
lastname = 229608, 229608
large_ship_desig = 196982
large_ship_names = 202908, 202947
rank_desig = 197140, 197140, 197140, 10, 15
formation_desig = 197808, 197820
formation = fighters, fighter_guild
npc_ship = Nomad_Gunboat
npc_ship = Nomad_Battleship
npc_ship = No_GBoat_elite
npc_ship = No_BShip_elite
formation = gunboats, gunboat_wall
formation = battleships, battleship_wall
________
And in shipclasses, I don't understand what you mean,
"nickname=**yourclassname**
"member = **yourbattleshipclassname **;
I have not messed with this file, as I didn't think that it was necessary - it wasn't for the Nomad fighters, so I didn;t think it was for the larger ships, either. So I have I guess the default file and entries there.
Is there something I need to add in there? If so, can you please tell me what that is? I also didn't think it was necessary to add my very own formation - uh, another one that I'm clueless about :-/

And does anyone know how to make a base look like the Osiris? I have tried this, making the "archetype=o_osiris" but it is CLOAKED! I can see it on the navmap, and run into it (I hit and invisible object), but I cannot see it visually or on my scanner. If anyone knows how to get this to de-cloak so that you can see it, I would also really appreciate any advice in that area.

Thank you very much for any help!



Edited by - Ro9ue on 6/13/2004 9:57:04 AM

Return to Freelancer General Editing Forum