16
Modding / Re: Misc modding questions that are too minor to warrant their own thread
« on: November 23, 2013, 08:24:27 PM »
Hi,
I get an error 15085 [Thread-6] ERROR com.fs.starfarer.combat.String - org.json.JSONException: JSONObject["displayName"] not found.
I think I've nailed it down to my faction file. However I simply don't understand what's going on. I've looked all over the place for an answer to this. I'll post my faction file, if anyone's willing to look at it, maybe I'm just not looking in the correct place, or I'm overlooking something.
Any and all help is greatly appreciated
I get an error 15085 [Thread-6] ERROR com.fs.starfarer.combat.String - org.json.JSONException: JSONObject["displayName"] not found.
I think I've nailed it down to my faction file. However I simply don't understand what's going on. I've looked all over the place for an answer to this. I'll post my faction file, if anyone's willing to look at it, maybe I'm just not looking in the correct place, or I'm overlooking something.
Spoiler
Quote
{
id:"MercCom",
"color":[54,89,86,255],
"displayName":"Merc Com",
"shipNamePrefix":"MCV",
"shipNameSources":{
"ROMAN":2,
"GREEK":1,
"MCOM_MISC":2,
},
"description":"A diverse union of mercenaries and tradesmen engaged in all manner of conduct.",
"names":{
"old english":1,
"fringe":1,
"modern":1,
},
"portraits":{
"standard_male":[
"graphics/portraits/portrait_hegemony01.png",
"graphics/portraits/portrait_hegemony02.png",
"graphics/portraits/portrait_hegemony05.png",
"graphics/portraits/portrait_mercenary01.png",
"graphics/portraits/portrait_mercenary03.png",
"graphics/portraits/portrait13.png",
"graphics/portraits/portrait15.png",
],
"standard_female":[
"graphics/portraits/portrait_hegemony03.png",
"graphics/portraits/portrait_hegemony04.png",
"graphics/portraits/portrait_mercenary02.png",
"graphics/portraits/portrait16.png",
],
},
"fleetCompositions":{
"patrol":{
"displayName":"Scout",
"maxFleetPoints":12,
"daysWorthOfSupplies":[30, 50],
"lyWorthOfFuel":[30, 50],
"extraCrewPercent":[1, 5],
"marinesPercent":[2, 3],
"ships":{
"harasser_Guerilla":[1, 4],
"harasser_Skrimisher":[1, 4],
"raptor_stock":[0,1],
},
},
"huntkill":{
"displayName":"Hunter Killer",
"maxFleetPoints":36,
"daysWorthOfSupplies":[20, 40],
"lyWorthOfFuel":[20, 40],
"extraCrewPercent":[80, 80],
"marinesPercent":[20, 20],
"ships":{
"vespa_stock":[1,2],
"whelp_wing":[0,1],
"daggus_fighter_wing":[0,1],
"harasser_huntkill":[0,1],
},
"raid":{
"displayName":"Raiding Party",
"maxFleetPoints":50,
"daysWorthOfSupplies":[30, 50],
"lyWorthOfFuel":[30, 50],
"extraCrewPercent":[5, 10],
"marinesPercent":[5, 10],
"ships":{
"harasser_Guerilla":[0, 4],
"harasser_Skrimisher":[0, 4],
"daggus_fighter_wing": [1,2],
"wishbone_obsolete":[0, 2],
"wishbone_adv":[0, 2],
"ahiga_wing": [2, 4],
"cadeus_assault": [0, 1],
"korban_stock": [0, 1],
"raptor_stock": [1,3],
"steward_stock":[1,1],
"steward_assault":[0,1],
"polkan_wing":[0,1],
"whelp_wing":[0,1],
"cataman_stock":[0,1],
},
},
"attack":{
"displayName":"Assault Squadron",
"maxFleetPoints": 260,
"daysWorthOfSupplies":[30, 50],
"lyWorthOfFuel":[30, 50],
"extraCrewPercent":[5, 10],
"marinesPercent":[5, 10],
"ships":{
"harasser_Skrimisher":[0, 1],
"harasser_huntkill":[0,2],
"daggus_fighter_wing": [2,4],
"wishbone_adv":[1, 4],
"rndhd_elite":[0, 2],
"stainless_stock": [0,2],
"wishbone_e_adv": [0,1],
"ahiga_wing": [0, 2],
"cadeus_assault": [1, 3],
"cadeus_support": [0, 2],
"korban_stock": [0, 2],
"raptor_stock": [0,3],
"steward_stock":[1,2],
"steward_assault":[1,2],
"diplomat_stock": [1,4],
"victory_obsolete": [0,1],
"victory_assault": [1,2],
"romach_assault": [1,3],
"whelp_wing":[2,3],
"cataman_stock":[1,2],
"cataman_closesupport":[0,1],
"velites_standard":[2,3],
"polkan_wing":[2,3],
},
},
"systemDefense":{
"displayName":"Defense Fleet",
"maxFleetPoints":320,
"daysWorthOfSupplies":[30, 50],
"lyWorthOfFuel":[30, 50],
"extraCrewPercent":[5, 10],
"marinesPercent":[5, 10],
"ships":{
"rndhd_elite":[1, 8],
"wishbone_adv":[1, 2],
"daggus_fighter_wing": [2,6],
"polkan_wing":[2,4],
"harasser_huntkill":[0,2],
"harasser_Skrimisher":[1, 3],
"stainless_stock": [0,3],
"wishbone_e_adv": [0,1],
"ahiga_wing": [2, 4],
"cadeus_assault": [1, 4],
"cadeus_support": [1, 3],
"korban_stock": [1,3],
"raptor_stock": [0,3],
"diplomat_stock": [2,5],
"victory_assault": [1,4],
"romach_assault": [3,4],
"cataman_stock":[2,3],
"cataman_closesupport":[1,2],
"rook_standard":[3,5],
"whelp_wing":[2,4],
},
},
"supplyConvoy":{
"displayName":"Supply Fleet",
"maxFleetPoints":100,
"daysWorthOfSupplies":[100, 150],
"lyWorthOfFuel":[30, 50],
"extraCrewPercent":[5, 10],
"marinesPercent":[5, 10],
"ships":{
"atlas_Standard":[2, 4],
"wishbone_obsolete":[2, 4],
"daggus_fighter_wing": [1,2],
"harasser_Skrimisher":[3, 6],
"buffalo_Standard":[0, 3],
"stainless_stock": [0,1],
"wishbone_e_adv": [0,1],
"ahiga_wing": [1, 2],
"raptor_stock": [0,1],
"diplomat_stock": [1,1],
"romach_assault": [0,1],
},
},
"fuelConvoy":{
"displayName":"Fuel Barge",
"maxFleetPoints":100,
"daysWorthOfSupplies":[30, 50],
"lyWorthOfFuel":[120, 200],
"extraCrewPercent":[5, 10],
"marinesPercent":[5, 10],
"ships":{
"phaeton_Standard":[1, 3],
"daggus_fighter_wing": [1,2],
"dram_Light":[3, 6],
"harasser_Skrimisher":[3, 6],
"wishbone_obsolete":[2, 4],
"rndhd_obsolete":[0, 2],
"stainless_stock" :[0,1],
"ahiga_wing": [1, 2],
"cadeus_assault": [0,1],
"raptor_stock": [0,1],
"romach_assault": [0,1],
},
},
},
"personnelConvoy":{
"displayName":"Personnel Convoy",
"maxFleetPoints":80,
"daysWorthOfSupplies":[30, 50],
"lyWorthOfFuel":[30, 50],
"extraCrewPercent":[5, 10],
"marinesPercent":[10, 20],
"ships":{
"valkyrie_Elite":[2, 4],
"harasser_Skrimisher":[3, 6],
"daggus_fighter_wing": [1,2],
"wishbone_obsolete":[2, 4],
"rndhd_obsolete":[0, 1],
"stainless_stock": [0,1],
"ahiga_wing": [1, 2],
"cadeus_assault": [0,1],
"raptor_stock": [0,1],
"romach_assault": [0,1],
},
},
"traits":{
"admiral":{
},
"captain":{
"cowardly":1,
"cautious":1,
"steady":1,
"aggressive":1,
"suicidal":1,
"fearless":1,
},
},
"dialogue":{
"greetingFriendly":"Greetings. Can we do something for you?",
"greetingNeutral":"We are Members of the Mercenary Commonwealth. Inquiries are filed at our nearest Orbital base.",
"greetingHostileAggressive":"Is there any place in particular you want us to send your bits?",
"greetingHostileTimid":"We're currently on assignment. We'll allow you to leave this time.",
}
},
},
[close]
Any and all help is greatly appreciated