first of all you have to add the pilot as a commodity you have to put him in goods ini
[Good
nickname = commodity_pirates
equipment = commodity_pirates
msg_id_prefix = gcs_gen_commodity_boron
category = commodity
price = 100
combinable = true
good_sell_price = 1
bad_buy_price = 1
bad_sell_price = .1
good_buy_price = .1
shop_archetype = Equipment\models\commodities\nn_icons\cwire_rawmats_1.3db
item_icon = Equipment\models\commodities\nn_icons\INV_escapepod.3db
jump_dist = 55
then you have to put him into select equip then make an id for him like this
[Commodity
nickname = commodity_pirates
ids_name = 458788
ids_info = 458789
units_per_container = 1
pod_appearance = cargopod_red
loot_appearance = lootcrate_red
decay_per_second = 0
volume = 1
hit_pts = 250
then you have to ad him to the dll file info cards dll then you need res hack or fled ids . then you have add the entry in the commody goos ini so you can sell them. i tried this my self . one more thing you have to edit
[mLootProps
nickname = commodity_pirates
drop_properties = 100, 0, 185, 1, 150, 150
loot props ini
then in ship load out ini you have add the pirate to every ship thats a pirate ship
[Loadout
nickname = fc_lwb_ge_fighter4_loadout01
archetype = ge_fighter4
equip = ge_bwf_engine_01
equip = npc_shield01_mark06, HpShield01
equip = infinite_power
equip = ge_s_scanner_02
equip = ge_s_tractor_01
equip = ge_s_thruster_01, HpThruster01
equip = armor_scale_3
equip = fc_lwb_gun01_mark03, HpWeapon01
equip = fc_lwb_gun01_mark03, HpWeapon02
equip = fc_lwb_gun01_mark02, HpWeapon03
equip = fc_lwb_gun01_mark02, HpWeapon04
equip = cruise_disruptor01_mark01, HpTorpedo01
cargo = cruise_disruptor01_mark01_ammo, 5
equip = mine01_mark01, HpMine01
cargo = mine01_mark01_ammo, 20
equip = ge_s_cm_01, HpCM01
cargo = ge_s_cm_01_ammo, 20
equip = LargeWhiteSpecial, HpHeadlight
equip = SlowSmallOrange, HpRunningLight01
equip = SlowSmallOrange, HpRunningLight02
equip = SlowSmallOrange, HpRunningLight03
equip = SlowSmallOrange, HpRunningLight04
equip = SlowSmallOrange, HpRunningLight05
equip = SlowSmallOrange, HpRunningLight06
equip = contrail01, HpContrail01
equip = contrail01, HpContrail02
equip = DockingLightRedSmall, HpDockLight01
equip = DockingLightRedSmall, HpDockLight02
cargo = commodity_pirates, 1 you add the pirate as cargo he will come out
i tried this with prisoners so what i did i made the bounty hunters the navy and the police to scan for prisioners. but none were coming out of the pirate ships . so now i have battles between the ppolice bounty hunters and the navy all scan for prisioners.