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
shiparch.ini, this one works because i fly it. Explosions look pretty decent too.
[Ship
ids_name = 122937
ids_info = 254008
ids_info1 = 254009
ids_info2 = 66608
ids_info3 = 254010
ship_class = 10
nickname = EnterprizeE
msg_id_prefix = gcs_refer_shiparch_Libhf
mission_property = can_use_berths
LODranges = 200, 750, 1500, 13000
type = CAPITAL
DA_archetype = ships\Federation\Enterprize\Enterprize-E.cmp
material_library = ships\Federation\Enterprize\Enterprize-E.mat
material_library = fx\envmapbasic.mat
envmap_material = envmapbasic
cockpit = cockpits\Federation\Sovriegn.ini
pilot_mesh = generic_pilot
nanobot_limit = 100
shield_battery_limit = 100
mass = 150.000000
hold_size = 100000
linear_drag = 1.000000
fuse = l_dreadnought_fuse, 0.500000, 1
fuse = li_dreadnought_burning_fuse03, 0.000000, 17325
max_bank_angle = 30
camera_offset = 15, 235
camera_angular_acceleration = 0.050000
camera_horizontal_turn_angle = 17
camera_vertical_turn_up_angle = 5
camera_vertical_turn_down_angle = 25
camera_turn_look_ahead_slerp_amount = 1.000000
hit_pts = 500000
explosion_arch = explosion_Fd_Starship
surface_hit_effects = 0, small_hull_hit_light01, small_hull_hit_light02, small_hull_hit_light03
surface_hit_effects = 150, small_hull_hit_medium01, small_hull_hit_medium02, small_hull_hit_medium03
surface_hit_effects = 300, small_hull_hit_heavy01, small_hull_hit_heavy02, small_hull_hit_heavy03
steering_torque = 250000000.000000, 250000000.000000, 250000000.000000
rotation_inertia = 2540999936.000000, 25806999552.000000, 638700032.000000
angular_drag = 4000000000.000000, 4000000000.000000, 4000000000.000000
nudge_force = 2500000.000000
strafe_force = 3000000
bay_door_anim = Sc_open baydoor
bay_doors_open_snd = cargo_doors_open
bay_doors_close_snd = cargo_doors_close
HP_bay_surface = HpBayDoor01
HP_bay_external = HpBayDoor02
HP_tractor_source = HpTractor_Source
num_exhaust_nozzles = 2
shield_link = l_elite_shield01, HpMount01, HpShield01
hp_type = hp_elite_shield_special_10, HpShield01
hp_type = hp_elite_shield_special_9, HpShield01
hp_type = hp_elite_shield_special_8, HpShield01
hp_type = hp_elite_shield_special_7, HpShield01
hp_type = hp_elite_shield_special_6, HpShield01
hp_type = hp_elite_shield_special_5, HpShield01
hp_type = hp_elite_shield_special_4, HpShield01
hp_type = hp_elite_shield_special_3, HpShield01
hp_type = hp_elite_shield_special_2, HpShield01
hp_type = hp_elite_shield_special_1, HpShield01
hp_type = hp_thruster, HpThruster01, HpThruster02
hp_type = hp_turret_special_10, HpTurret01, HpTurret02, HpTurret03, HpTurret04, HpTurret05, HpTurret06
hp_type = hp_turret_special_9, HpTurret01, HpTurret02, HpTurret03, HpTurret04, HpTurret05, HpTurret06
hp_type = hp_turret_special_8, HpTurret01, HpTurret02, HpTurret03, HpTurret04, HpTurret05, HpTurret06
hp_type = hp_turret_special_7, HpTurret01, HpTurret02, HpTurret03, HpTurret04, HpTurret05, HpTurret06
hp_type = hp_turret_special_6, HpTurret01, HpTurret02, HpTurret03, HpTurret04, HpTurret05, HpTurret06
hp_type = hp_turret_special_5, HpTurret01, HpTurret02, HpTurret03, HpTurret04, HpTurret05, HpTurret06
hp_type = hp_turret_special_4, HpTu
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
shiparch.ini, this one works because i fly it. Explosions look pretty decent too.
[Ship
ids_name = 122937
ids_info = 254008
ids_info1 = 254009
ids_info2 = 66608
ids_info3 = 254010
ship_class = 10
nickname = EnterprizeE
msg_id_prefix = gcs_refer_shiparch_Libhf
mission_property = can_use_berths
LODranges = 200, 750, 1500, 13000
type = CAPITAL
DA_archetype = ships\Federation\Enterprize\Enterprize-E.cmp
material_library = ships\Federation\Enterprize\Enterprize-E.mat
material_library = fx\envmapbasic.mat
envmap_material = envmapbasic
cockpit = cockpits\Federation\Sovriegn.ini
pilot_mesh = generic_pilot
nanobot_limit = 100
shield_battery_limit = 100
mass = 150.000000
hold_size = 100000
linear_drag = 1.000000
fuse = l_dreadnought_fuse, 0.500000, 1
fuse = li_dreadnought_burning_fuse03, 0.000000, 17325
max_bank_angle = 30
camera_offset = 15, 235
camera_angular_acceleration = 0.050000
camera_horizontal_turn_angle = 17
camera_vertical_turn_up_angle = 5
camera_vertical_turn_down_angle = 25
camera_turn_look_ahead_slerp_amount = 1.000000
hit_pts = 500000
explosion_arch = explosion_Fd_Starship
surface_hit_effects = 0, small_hull_hit_light01, small_hull_hit_light02, small_hull_hit_light03
surface_hit_effects = 150, small_hull_hit_medium01, small_hull_hit_medium02, small_hull_hit_medium03
surface_hit_effects = 300, small_hull_hit_heavy01, small_hull_hit_heavy02, small_hull_hit_heavy03
steering_torque = 250000000.000000, 250000000.000000, 250000000.000000
rotation_inertia = 2540999936.000000, 25806999552.000000, 638700032.000000
angular_drag = 4000000000.000000, 4000000000.000000, 4000000000.000000
nudge_force = 2500000.000000
strafe_force = 3000000
bay_door_anim = Sc_open baydoor
bay_doors_open_snd = cargo_doors_open
bay_doors_close_snd = cargo_doors_close
HP_bay_surface = HpBayDoor01
HP_bay_external = HpBayDoor02
HP_tractor_source = HpTractor_Source
num_exhaust_nozzles = 2
shield_link = l_elite_shield01, HpMount01, HpShield01
hp_type = hp_elite_shield_special_10, HpShield01
hp_type = hp_elite_shield_special_9, HpShield01
hp_type = hp_elite_shield_special_8, HpShield01
hp_type = hp_elite_shield_special_7, HpShield01
hp_type = hp_elite_shield_special_6, HpShield01
hp_type = hp_elite_shield_special_5, HpShield01
hp_type = hp_elite_shield_special_4, HpShield01
hp_type = hp_elite_shield_special_3, HpShield01
hp_type = hp_elite_shield_special_2, HpShield01
hp_type = hp_elite_shield_special_1, HpShield01
hp_type = hp_thruster, HpThruster01, HpThruster02
hp_type = hp_turret_special_10, HpTurret01, HpTurret02, HpTurret03, HpTurret04, HpTurret05, HpTurret06
hp_type = hp_turret_special_9, HpTurret01, HpTurret02, HpTurret03, HpTurret04, HpTurret05, HpTurret06
hp_type = hp_turret_special_8, HpTurret01, HpTurret02, HpTurret03, HpTurret04, HpTurret05, HpTurret06
hp_type = hp_turret_special_7, HpTurret01, HpTurret02, HpTurret03, HpTurret04, HpTurret05, HpTurret06
hp_type = hp_turret_special_6, HpTurret01, HpTurret02, HpTurret03, HpTurret04, HpTurret05, HpTurret06
hp_type = hp_turret_special_5, HpTurret01, HpTurret02, HpTurret03, HpTurret04, HpTurret05, HpTurret06
hp_type = hp_turret_special_4, HpTu