Quaggles / dcs-lua-datamine

A reference guide to the lua table values in DCS for weapons and aircraft
102 stars 20 forks source link

Missing units from output #5

Closed Pfhoenix closed 2 years ago

Pfhoenix commented 2 years ago

Specifically, the Ka-52 is missing from _G/db/Units output. Is there something different in how the Ka-52 is handled within DCS? It has a unit payload entry in the game's mission editor script files.

Quaggles commented 2 years ago

The exporter scans tables registered in the DCS lua database and exports those, if the developers did not register the Ka-52 as a unit in the database it won't show up in the Units export. Looking back at my DCS 2.5.6 Scripts folder backup there was an entry for it but it must have been disabled from being included in the database somewhere, now that the /Scripts/Database lua files are hidden there is no way of seeing it.

\Scripts\Database\helicopters\Ka-52.lua

There are other remenants of it still in the game files such as the sensor entry (which is still registered in the DB so the exporter finds), the model even still exists but it looks quite old ("DCS World\Bazar\World\Shapes\ka-52.edm"):

image