So I have been creating a mod And when I added the factionfile (with a file that made sure the game reads the file)
I got a FATAL null error when i try to start the game.
{
id:"infected",
"color":[85,0,0,255],
"displayName":"Infected",
"displayNameWithArticle":"Infected",
"displayNameLong":"Flu-X Infected",
"displayNameLongWithArticle":"the Flu-X Infected",
"logo":"graphics/factions/infected.png",
"shipNamePrefix":"FLU",
"shipNameSources":{
"INFECTED":1,
},
"description":"Ships that are infeced with the FLU-X disease. People better not get to close to them.",
"names":{
"modern":1,
"fringe":1,
},
"illegalCommodities":[
],
"portraits":{
"standard_male":[
"graphics/portraits/portrait1.png",
],
"standard_female":[
"graphics/portraits/portrait1.png",
],
},
"shipRoles":{
"interceptor":{
"flx_necrobug_wing":10,
"fallback":{"fighter":1},
},
"fighter":{
"flx_necrohornet_wing":10,
"fallback":{"interceptor":1},
},
"bomber":{
"flx_necrospitter_wing":10,
},
"fastAttack":{
"flx_hound_standard":10,
"flx_lasher_standard":10,
"flx_wolf_strike":10,
"flx_tempest_standard":10,
"flx_vigilance_attack":10,
"fallback":{"combatSmall":1},
},
"escortSmall":{
"flx_wolf_support":10,
"flx_vigilance_assault":10,
"flx_brawler_standard":10,
"flx_lasher_standard":10,
"flx_necroraider_assault":10,
"flx_necroraider_support":10,
"flx_necrogunner_assault":10,
"flx_necrogunner_support":10,
"fallback":{"combatSmall":1},
},
"escortMedium":{
"flx_necroghoul_assault":10,
"flx_necroghoul_es":10,
"flx_necroghoul_pd":10,
"flx_necroskinner_standard":10,
"flx_necroskinner_elite":10,
"fallback":{"combatMedium":1},
},
"combatSmall":{
"flx_brawler_standard":10,
"flx_hound_standard":10,
"flx_lasher_standard":10,
"flx_necrogunner_assault":10,
"flx_necrogunner_support":10,
"flx_necroraider_assault":10,
"flx_necroraider_support":10,
"flx_tempest_standard":10,
"flx_vigilance_assault":10,
"flx_vigilance_attack":10,
"flx_wolf_strike":10,
"flx_wolf_support":10,
"fallback":{"escortSmall":1},
},
"combatMedium":{
"flx_necroghoul_assault":10,
"flx_necroghoul_es":10,
"flx_necroghoul_pd":10,
"flx_necroskinner_elite":10,
"flx_necroskinner_standard":10,
"flx_necrotarantula_standard":10,
"flx_necrotarantula_support":10,
"fallback":{"combatSmall":2},
},
"combatLarge":{
"flx_necronawler_standard":10,
"flx_necronawler_attack":10,
"flx_necroreaper_assault":10,
"flx_necroreaper_es":10,
"fallback":{"combatMedium":2},
},
"combatCapital":{
"flx_necromother_standard":10,
"flx_necromother_elite":10,
"fallback":{"combatLarge":2},
},
# hybrid ships with good combat and cargo capacity
"combatFreighterSmall":{
"flx_hound_standard":10,
"fallback":{"freighterSmall":1},
},
"combatFreighterMedium":{
"flx_necrotarantula_standard":10,
"flx_necrotarantula_support":10,
"fallback":{"combatFreighterSmall":2},
},
"combatFreighterLarge":{
"fallback":{"combatFreighterMedium":2},
},
"civilianRandom":{
"flx_necrohauler_standard":10,
"fallback":{"freighterSmall":1},
},
# carriers
"carrierSmall":{
"flx_necrotarantula_standard":10,
"flx_necrotarantula_support":10,
"fallback":{"carrierMedium":1},
},
"carrierMedium":{
"flx_necronawler_attack":10,
"flx_necronawler_standard":10,
"fallback":{"carrierSmall":2},
},
"carrierLarge":{
"fallback":{"carrierMedium":2},
},
# freighters and such
"freighterSmall":{
"flx_necrohauler_standard":10,
"fallback":{"freighterMedium":1},
},
"freighterMedium":{
"fallback":{"freighterSmall":2},
},
"freighterLarge":{
"flx_necromover_standard":10,
"fallback":{"freighterMedium":2},
},
"tankerSmall":{
"fallback":{"tankerMedium":1},
},
"tankerMedium":{
"fallback":{"tankerSmall":2},
},
"tankerLarge":{
"flx_necromover_standard":10,
"fallback":{"tankerMedium":2},
},
"personnelSmall":{
"fallback":{"personnelMedium":1},
},
"personnelMedium":{
"fallback":{"personnelSmall":2},
},
"personnelLarge":{
"flx_necromover_standard":10,
"fallback":{"personnelMedium":2},
},
# utility ships
"tug":{
"fallback":{"utility":1},
},
"crig":{
"fallback":{"utility":1},
},
"utility":{
},
},
"traits":{
"admiral":{
},
"captain":{
"cowardly":1,
"cautious":1,
"steady":1,
"aggressive":1,
"suicidal":1,
"fearless":1,
},
},
"dialogue":{
"greetingFriendly":"You hear a soft mumbling and whispering. Suprisingly soothing.",
"greetingNeutral":"You hear nothing much.",
"greetingHostileAggressive":"You hear a threatening and hostile roar.",
"greetingHostileTimid":"You hear a loud roar obviously making clear that it is scared and in distress.",
}
},