Open jboecker opened 10 years ago
There you go !
It's simply in the group table, at the same level as the group name.
["name"] = "New Helicopter Group #002",
["communication"] = true,
["start_time"] = 0,
["NavTargetPoints"] =
{
[1] =
{
["y"] = 819064.28571428,
["x"] = -284945.71428571,
["index"] = 1,
["text_comment"] = "",
}, -- end of [1]
[2] =
{
["y"] = 821771.42857143,
["x"] = -284960,
["index"] = 2,
["text_comment"] = "",
}, -- end of [2]
[3] =
{
["y"] = 819850,
["x"] = -283560,
["index"] = 3,
["text_comment"] = "",
}, -- end of [3]
}, -- end of ["NavTargetPoints"]
I think those waypoints have something to do with how the Ka-50 has two navigation systems (ABRIS and PVI-800). I have opened a separate issue to track that (#18).
I was talking about drawing lines on the ABRIS map. I just did a quick test, the additional map features go into a file ABRIS/Database/ADDITIONAL.lua, which looks like this:
additional=
{
["date"]=
{
["year"]=2011,
["day"]=1,
["month"]=6,
},
["expiration_date"]=
{
["year"]=2012,
["day"]=1,
["month"]=6,
},
["additional_objects"]=
{
[1]=
{
["type"]=1,
["name"]="",
["sub_type"]=0,
["color"]=
{
["B"]=25.000001907349,
["G"]=127.00000762939,
["R"]=227.00001525879,
},
["class"]="ABRIS_Linear_Object",
["points"]=
{
[1]=
{
["longitude"]=42.035221954158,
["latitude"]=42.250464027068,
["height"]=0,
},
[2]=
{
["longitude"]=42.011912444532,
["latitude"]=42.271919604712,
["height"]=0,
},
[3]=
{
["longitude"]=42.008820006822,
["latitude"]=42.250379780636,
["height"]=0,
},
[4]=
{
["longitude"]=42.034912001284,
["latitude"]=42.248310215811,
["height"]=0,
},
[5]=
{
["longitude"]=42.035423023468,
["latitude"]=42.272232728456,
["height"]=0,
},
[6]=
{
["longitude"]=42.00932119958,
["latitude"]=42.274303350889,
["height"]=0,
},
},
},
},
}
The problem with this is that they will be the same for every Ka-50 in the mission. This means that it's not useful for red vs. blue PvP (when both sides have Ka-50's), as everyone would get both side's annotations.
Before this can be implemented, we need to know how pre-populated ABRIS data is stored in DCS: World mission archives.