Help! problem w/my custom cap ship not working as NPC for my
i've been working on a mod for the past month and a half. So far due to the very well written tutorials i've been able to figure out most of the problems i've experienced thus far. However, I am stumped on this one. I have created a custom CAPITAL ship for my mod and a faction to use it. The faction i created will only use ships already in existance (fighters only) ie "defender", "startracker". I will include a bit of code for each of my files and possibly some pics.
This is the zone and encounters from my system INI.
[EncounterParameters;--removed bracket
nickname = area_federation
filename = missions\encounters\area_federation.ini
[Zone
nickname = Zone_2
shape = SPHERE
pos = 280000, 0, -280000
size = 15000
music = music_Fd_Starbase
comment = Starbase1
sort = 1
toughness = 1
density = 12
repop_time = 10
max_battle_size = 8
pop_type = Fd_z_grp, base_cluster_law
relief_time = 10
faction_weight = Fd_z_grp, 19
density_restriction = 4, unlawfuls
encounter = area_federation, 19, 1.000000
faction = Fd_z_grp, 1.000000
This is the code from my npcships.ini file
[NPCShipArch
nickname = NPC_Sovreign_19
loadout = NPC_Sovreign_loadout01
level = d19
ship_archetype = EnterprizeE
pilot = battleship_default
state_graph = CRUISER
npc_class = lawful, class_battleship, d19
This is the code from faction_prop.ini
[FactionProps
affiliation = Fd_z_grp
legality = lawful
nickname_plurality = singular
msg_id_prefix = gcs_refer_faction_li_n
jump_preference = jumpgate
npc_ship = li_n_li_elite_d1-3
npc_ship = li_n_li_elite_d4
npc_ship = li_n_li_elite_d5
npc_ship = li_n_li_elite_d6
npc_ship = li_n_li_elite_d7
npc_ship = li_n_li_elite_d8
npc_ship = li_n_li_elite_d9
npc_ship = li_n_li_elite_d10
npc_ship = li_n_li_elite_d11-19
npc_ship = li_n_cruiser_d22
npc_ship = Liberty_Cruiser
npc_ship = Liberty_Battleship
npc_ship = NPC_Sovreign_19
voice = pilot_f_mil_m01
voice = pilot_f_mil_m02
voice = pilot_f_leg_f01
voice = pilot_f_leg_f01a
mc_costume = mc_li
space_costume = li_captain_head, li_male_elite_body, comm_ge_generic2
space_costume = li_rockford_head, li_male_elite_body, comm_li_hatcher
space_costume = li_sales_head_hat, li_male_elite_body, comm_ge_generic2
space_costume = ge_male4_head, li_male_elite_body, comm_li_hatcher
space_costume = pl_male2_head, li_male_elite_body, comm_ge_generic2
space_costume = ge_male3_head, li_male_elite_body, comm_li_hatcher
space_costume = li_newscaster_head_gen_hat, li_female_elite_body, comm_ge_generic2_female
space_costume = li_newscaster_head_gen_hat, li_female_elite_body, comm_li_hatcher_female
space_costume = br_newscaster_head_gen_hat, li_female_elite_body, comm_ge_generic2_female
space_costume = br_newscaster_head_gen_hat, li_female_elite_body, comm_li_hatcher_female
space_costume = pl_female2_head, li_female_elite_body, comm_ge_generic2_female
space_costume = pl_female2_head, li_female_elite_body, comm_li_hatcher_female
firstname_male = 226608, 226741
firstname_female = 226808, 226952
lastname = 227008, 227307
rank_desig = 197002, 197003, 197004, 6, 9
formation_desig = 197808, 197820
large_ship_desig = 196976
large_ship_names = 202608, 202647
formation = fighters, fighter_li_n
formation = freighters, freighter_guild
formation = freighters2, freighter2_guild
formation = cruisers, cruiser_wall
formation = battleships, battleship_wall
loadouts_special.ini
[Loadout
nickname = NPC_Sovreign_loadout01
archetype = EnterprizeE
equip = EnterprizeE_engine_01
equip = npc_shield03_mark10, HpShield01
equip = infinite_power
equip = ge_s_scanner_02,
equip = ge_s_tractor_01,
equip = ge_s_thruster_01, HpThruster01
equip = ge_s_thruster_01, HpThruster02
equip = Fd_Phaser, Hpturret01
equip = Fd_Phaser, Hpturret02
equip = Fd_Phaser, Hpturret03
equip = Fd_Phaser, Hpturret04
equip = Fd_Phaser, Hpturret05
equip = Fd_Phaser, Hpturret06
equip = LargeWhiteSpecial, HpHeadlight01
equip = SlowSmallBlue, HpRunningLight01
equip = SlowSmallBlue, HpRunningLight02
equip = SlowSmallBlue, HpRunningLight03
equip = SlowSmallBlue, HpRunningLight04
equip = contrail01, HpContrail01
equip = contrail01, HpContrail02
equip = DockingLightRedSmall, HpDockLight01
equip = DockingLightRedSmall, HpDockLight02
This is the zone and encounters from my system INI.
[EncounterParameters;--removed bracket
nickname = area_federation
filename = missions\encounters\area_federation.ini
[Zone
nickname = Zone_2
shape = SPHERE
pos = 280000, 0, -280000
size = 15000
music = music_Fd_Starbase
comment = Starbase1
sort = 1
toughness = 1
density = 12
repop_time = 10
max_battle_size = 8
pop_type = Fd_z_grp, base_cluster_law
relief_time = 10
faction_weight = Fd_z_grp, 19
density_restriction = 4, unlawfuls
encounter = area_federation, 19, 1.000000
faction = Fd_z_grp, 1.000000
This is the code from my npcships.ini file
[NPCShipArch
nickname = NPC_Sovreign_19
loadout = NPC_Sovreign_loadout01
level = d19
ship_archetype = EnterprizeE
pilot = battleship_default
state_graph = CRUISER
npc_class = lawful, class_battleship, d19
This is the code from faction_prop.ini
[FactionProps
affiliation = Fd_z_grp
legality = lawful
nickname_plurality = singular
msg_id_prefix = gcs_refer_faction_li_n
jump_preference = jumpgate
npc_ship = li_n_li_elite_d1-3
npc_ship = li_n_li_elite_d4
npc_ship = li_n_li_elite_d5
npc_ship = li_n_li_elite_d6
npc_ship = li_n_li_elite_d7
npc_ship = li_n_li_elite_d8
npc_ship = li_n_li_elite_d9
npc_ship = li_n_li_elite_d10
npc_ship = li_n_li_elite_d11-19
npc_ship = li_n_cruiser_d22
npc_ship = Liberty_Cruiser
npc_ship = Liberty_Battleship
npc_ship = NPC_Sovreign_19
voice = pilot_f_mil_m01
voice = pilot_f_mil_m02
voice = pilot_f_leg_f01
voice = pilot_f_leg_f01a
mc_costume = mc_li
space_costume = li_captain_head, li_male_elite_body, comm_ge_generic2
space_costume = li_rockford_head, li_male_elite_body, comm_li_hatcher
space_costume = li_sales_head_hat, li_male_elite_body, comm_ge_generic2
space_costume = ge_male4_head, li_male_elite_body, comm_li_hatcher
space_costume = pl_male2_head, li_male_elite_body, comm_ge_generic2
space_costume = ge_male3_head, li_male_elite_body, comm_li_hatcher
space_costume = li_newscaster_head_gen_hat, li_female_elite_body, comm_ge_generic2_female
space_costume = li_newscaster_head_gen_hat, li_female_elite_body, comm_li_hatcher_female
space_costume = br_newscaster_head_gen_hat, li_female_elite_body, comm_ge_generic2_female
space_costume = br_newscaster_head_gen_hat, li_female_elite_body, comm_li_hatcher_female
space_costume = pl_female2_head, li_female_elite_body, comm_ge_generic2_female
space_costume = pl_female2_head, li_female_elite_body, comm_li_hatcher_female
firstname_male = 226608, 226741
firstname_female = 226808, 226952
lastname = 227008, 227307
rank_desig = 197002, 197003, 197004, 6, 9
formation_desig = 197808, 197820
large_ship_desig = 196976
large_ship_names = 202608, 202647
formation = fighters, fighter_li_n
formation = freighters, freighter_guild
formation = freighters2, freighter2_guild
formation = cruisers, cruiser_wall
formation = battleships, battleship_wall
loadouts_special.ini
[Loadout
nickname = NPC_Sovreign_loadout01
archetype = EnterprizeE
equip = EnterprizeE_engine_01
equip = npc_shield03_mark10, HpShield01
equip = infinite_power
equip = ge_s_scanner_02,
equip = ge_s_tractor_01,
equip = ge_s_thruster_01, HpThruster01
equip = ge_s_thruster_01, HpThruster02
equip = Fd_Phaser, Hpturret01
equip = Fd_Phaser, Hpturret02
equip = Fd_Phaser, Hpturret03
equip = Fd_Phaser, Hpturret04
equip = Fd_Phaser, Hpturret05
equip = Fd_Phaser, Hpturret06
equip = LargeWhiteSpecial, HpHeadlight01
equip = SlowSmallBlue, HpRunningLight01
equip = SlowSmallBlue, HpRunningLight02
equip = SlowSmallBlue, HpRunningLight03
equip = SlowSmallBlue, HpRunningLight04
equip = contrail01, HpContrail01
equip = contrail01, HpContrail02
equip = DockingLightRedSmall, HpDockLight01
equip = DockingLightRedSmall, HpDockLight02