Skip to main content

npcships.ini

Overview

This file defines NPC ships that are referenced by faction_prop.ini or specifcially by encounters. It defines their shiparch, loadout, pilot, state_graph, difficulty level, and npc_class.

Syntax

There is no particular order for the sections or the parameters inside them. However each parameter should only be used once per section, since only the last value will be used by Freelancer.

[NPCShipArch]

[NPCShipArch]
nickname = STRING
level = STRING
ship_archetype = STRING
loadout = STRING
pilot = STRING
state_graph = STRING
npc_class = COMMA SEPARATED LIST OF STRINGS
ParameterInformation
nicknameHow this entry is referred to elsewhere.
levelRange: d1 to dn (whereas n is any number between 1 and 255?) Sets the visual level of the NPC and is used for random mission spawn. The title the NPC receives depends on the level set here using the rank_desig key in faction_prop.ini.
ship_archetypeThe STRING is the nickname of the ship from ships that the NPC will fly.
loadoutThe STRING is the nickname of the loadout from loadouts that the ship will use.
pilotThe STRING is the nickname of the pilot from pilots_population.ini that the NPC will use. Pilots spawned by encounters get their [JobBlock] overriden individually.
state_graphThe STRING is the name of a state graph from state_graph.db.
npc_classSets classes as used by shipclasses.ini. The level-key dn (whereas n is any number > 0) is used to select NPCs for the difficulty in zones/encounters and for random missions. Any ship with class_fighter is selected for random mission spawn (content.dll offset 0x11CBE8).