Discovery Gaming Community

Full Version: NPC Encounters
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Okay, I know how to edit or add basic NPC encounters, how to define loadouts for them and so on.

Now my first question is:

In the system.ini of any system, I can define encounters for a specific zone.

Lets take a look at a example:

Code:
New York - Li01

[zone]
nickname = Zone_Li01_pop_badlands_southeast
pos = 14739, 0, 84261
shape = SPHERE
size = 10000
comment = .         texas hole
sort = 31
toughness = 4
density = 9
repop_time = 10
max_battle_size = 4
pop_type = wormhole
relief_time = 15
faction_weight = fc_lr_grp, 5
faction_weight = fc_ou_grp, 11
faction_weight = gd_bh_grp, 1
density_restriction = 4, lawfuls
encounter = area_defend, 4, 0.200000
faction = fc_lr_grp, 0.310000
faction = fc_ou_grp, 0.690000
encounter = area_bh_assault, 4, 0.020000
faction = gd_bh_grp, 1.000000
encounter = area_trade_freighter_pirate, 4, 0.060000
faction = fc_lr_grp, 1.000000
encounter = area_trade_trader, 4, 0.240000
faction = fc_ou_grp, 1.000000
encounter = area_trade_freighter_smuggler, 4, 0.020000
faction = fc_lr_grp, 1.000000
encounter = area_gunboats, 19, 0.100000
faction = fc_lr_grp, 1.000000

It's a pop-up zone in the badlands. Now in the file, you tell which level (toughness) the NPC's encounters may have, which factions may appear, their percentual chance, what kind of encounter (patrol, smugglers, gunboats and so on); now, by setting the toughness to 4, level 4 NPC's will appear.

In npcships.ini is set what has to appear for faction X at level X. Another example:

Code:
Liberty Rogue fighter D4

[NPCShipArch]
nickname = fc_lr_pi_fighter_d4
loadout = fc_lr_pi_fighter_loadout02
level = d4
ship_archetype = pi_fighter
pilot = pilot_pirate_easy
state_graph = FIGHTER
npc_class = unlawful, class_fighter, d4

... So far so good. Now my question is, is there a possibility, if a faction has multiple, equal ships (for example Red Hessians using Sabres and Odins), to determine which one of those ships is used? Or is it randomly chosen among all entries (in npcships.ini) which fit into the toughness-setting? Like I'd need an entry both for the Sabre and another one for the Odin, both on D4?

If yes, is it possible, to like, make a super rare NPC?
I think you can make a new entry for that NPC and set their spawn chance to very low.