TEMPEST.114 Posted November 18, 2022 Posted November 18, 2022 I've just created a mission with a single red flag in it. When I extract the .miz file to get the mission.lua this is what I've found: ["country"] = { [1] = { ["id"] = 2, ["static"] = { ["group"] = { [1] = { ["heading"] = 0, ["route"] = { ["points"] = { [1] = { ["alt"] = 0, ["type"] = "", ["name"] = "", ["y"] = -9801.1174835503, ["speed"] = 0, ["x"] = -5348.3066542885, ["formation_template"] = "", ["action"] = "", }, -- end of [1] }, -- end of ["points"] }, -- end of ["route"] ["groupId"] = 1, ["units"] = { [1] = { ["category"] = "Fortifications", ["shape_name"] = "H-flag_R", ["type"] = "Red_Flag", ["unitId"] = 1, ["rate"] = 3, ["y"] = -9801.1174835503, ["x"] = -5348.3066542885, ["name"] = "Red Flag 1", ["heading"] = 0, }, -- end of [1] }, -- end of ["units"] ["y"] = -9801.1174835503, ["x"] = -5348.3066542885, ["name"] = "Red Flag", ["dead"] = false, }, -- end of [1] }, -- end of ["group"] }, -- end of ["static"] ["name"] = "USA", }, -- end of [1] }, -- end of ["country"] }, -- end of ["blue"] Why on earth would a static have a route and points table in them?
HC_Official Posted November 18, 2022 Posted November 18, 2022 One thing I have learnt about DCS ..... I would not try and ascribe any logic or reason to what these lads do, it will only lead to madness 1 No more pre-orders Click here for tutorials for using Virpil Hardware and Software Click here for Virpil Flight equipment dimensions and pictures. .
TEMPEST.114 Posted November 18, 2022 Author Posted November 18, 2022 50 minutes ago, HC_Official said: One thing I have learnt about DCS ..... I would not try and ascribe any logic or reason to what these lads do, it will only lead to madness Stuff like this doesn't help when you're trying to work out how to use the scripting engine and there is now real documentation so reverse engineering is the only way to do it... it's just frustrating. Am I missing something? Is there any possible reason a static could need a route? Could it be 'attached' to something - no, surely that 'thing' would have the route right? I must be missing something but I don't get it.
Recommended Posts