Jump to content

BS3 no way to distinguish 2011 from 2022 from export script


Recommended Posts

Posted

Hi,

When exporting the data from lua export script, there is no distinction between BS3 version 2011 and 2022.

In both cases the table returned by LoGetSelfData contains inside field "Name" value "Ka-50_3".

{"Bank":-0.0014620075235143,"Coalition":"Allies","CoalitionID":1,"Country":0,"Flags":{"AI_ON":true,"Born":true,"Human":true,"IRJamming":false,"Invisible":false,"Jamming":false,"RadarActive":false,"Static":false},"GroupName":"K-50 III Version 2011","Heading":5.183661699295,"LatLongAlt":{"Alt":481.35901244288,"Lat":41.668149994378,"Long":44.964507296045},"Name":"Ka-50_3","Pitch":0.0053188838064671,"Position":{"x":-315450.25346396,"y":481.35901244288,"z":897298.12427907},"Type":{"level1":1,"level2":2,"level3":6,"level4":326},"UnitName":"New callsign"}

Would it be possible to implement one of the follwing:

1. Name contains either "Ka-50_3_2011" or "Ka-50_3_2022"

2. Or better: have additional field "Version" with values depending on module and it's true version.

 

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...