so have come across a problem while trying to see how to make drone systems and i cant see why so here is the infromation
The error it gave me
fatal: A JSONObject text must begin with a '{' at 1 [character 2 line 1] Check starfarer.log for more info.
and the error from the log
Spoiler
11017 [Thread-9] INFO com.fs.starfarer.loading.scripts.ScriptStore - Compiling script [data.hullmods.ExtendedShieldEmitter]
11090 [Thread-6] INFO com.fs.profiler.Profiler - ID Calls Duration Percent
11091 [Thread-6] INFO com.fs.profiler.Profiler - --------------------------------
11092 [Thread-6] ERROR com.fs.starfarer.combat.D - org.json.JSONException: A JSONObject text must begin with '{' at 1 [character 2 line 1]
org.json.JSONException: A JSONObject text must begin with '{' at 1 [character 2 line 1]
at org.json.JSONTokener.syntaxError(JSONTokener.java:423)
at org.json.JSONObject.<init>(JSONObject.java:184)
at org.json.JSONObject.<init>(JSONObject.java:311)
at com.fs.starfarer.loading.LoadingUtils.Ø00000(Unknown Source)
at com.fs.starfarer.loading.LoadingUtils.return(Unknown Source)
at com.fs.starfarer.loading.SpecStore.Ô00000(Unknown Source)
at com.fs.starfarer.loading.SpecStore.o00000(Unknown Source)
at com.fs.starfarer.loading.oOoO.o00000(Unknown Source)
at com.fs.A.oOOO.new(Unknown Source)
at com.fs.starfarer.combat.D.super(Unknown Source)
at com.fs.starfarer.StarfarerLauncher$2.run(Unknown Source)
at java.lang.Thread.run(Thread.java:619)
11100 [Thread-9] INFO com.fs.starfarer.loading.scripts.ScriptStore - Compiling script [data.hullmods.AdvancedTurretGyros]
11190 [Thread-9] INFO com.fs.starfarer.loading.scripts.ScriptStore - Compiling script [data.hullmods.AdvancedOptics]
system file
Spoiler
{
"id":"drone_vm2",
"type":"DRONE_LAUNCHER",
"aiType":"DRONE_LAUNCHER_PD",
"droneVariant":"drone_vm2",
"allowFreeRoam":true,
"launchSpeed":300,
"launchDelay":0.5,
"maxDrones":9,
"droneBehavior":[
{"droneIndex":[0,2,4,6,8],
"defaultFacing":"MATCH_DRONE_HEADING", # MATCH_DRONE_HEADING, MATCH_SHIP_HEADING, MATCH_SHIP_FACING, AWAY_FROM_SHIP
"faceEnemy":true,
"holdRoamRange":100,
"freeRoamRange":500,
"targetPriority":[MISSILE, FIGHTER, SHIP], # also SHIP_TARGET to prefer targeting the mothership's target
"initialOrbitAngle":0,
"orbitRadius":40, # plus ship radius
"orbitDir":1, # -1 or 1
"orbitSpeed":100, # pixels/second
},
{"droneIndex":[1,3,5,7,9],
"defaultFacing":"MATCH_DRONE_HEADING",
"faceEnemy":true,
"holdRoamRange":100,
"freeRoamRange":500,
"targetPriority":[MISSILE, FIGHTER, SHIP],
"initialOrbitAngle":0,
"orbitRadius":20,
"orbitDir":-1,
"orbitSpeed":100,
},
],
"useSound":"missile_heavy",
"outOfUsesSound":"gun_out_of_ammo",
"aiHints":{
"weaponAssignmentSuitability":{
"LIGHT_ESCORT":{"mult":1, "flat":20},
"DESTROYER_ESCORT":{"mult":1, "flat":20},
"FULL_ESCORT":{"mult":1, "flat":20},
}
}
}