Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

An-22 Cock, the... well, the update. #986

Closed
claudejdev opened this issue Apr 25, 2022 · 5 comments
Closed

An-22 Cock, the... well, the update. #986

claudejdev opened this issue Apr 25, 2022 · 5 comments
Assignees
Labels
aircraft DB3K update Edits to an extant platform or entry

Comments

@claudejdev
Copy link
Contributor

claudejdev commented Apr 25, 2022

DB Selector

DB3K

Affected DBID(s)

Summary of Changes

From a post by the acclaimed author and scenarist Bart Gauvin about this platforms' description1, I've examined the corresponding entries in the DB, and I believe that the values could be modified as suggested below.

ID Name
2509 An-22 Cock (Soviet Union [-1991] - 1970)
2510 An-22 Cock (Russia [1992-] - 1992)
2511 An-22A Cock (Russia [1992-] - 1992)
2512 An-22A Cock (Soviet Union [-1991] - 1968)

UPDATE DataAircraft2345

SET DataAircraft.Comments = 38x
WHERE DataAircraft.ID IN (2509, 2510);
SET DataAircraft.YearCommissioned = 1969
WHERE DataAircraft.ID=2509;
SET DataAircraft.YearCommissioned = 1973
WHERE DataAircraft.ID=2511;
SET DataAircraft.Comments = 28x
WHERE DataAircraft.ID IN (2511, 2512);
SET DataAircraft.WeightEmpty = 118727,  DataAircraft.WeightMax = 225000,  DataAircraft.WeightPayload = 60000, DataAircraft.Crew = 7
WHERE DataAircraft.ID IN (2509, 2510, 2511, 2512);

250 tons max weight comes from a 1966 project, confusingly also named An-22A that didn't get through.
Take-off/Landing Distance is borderline 2004, the figures I have are 1460/1040 m. Your call.

UPDATE DataAircraftFuel23

SET DataAircraftFuel.ComponentID = 15
WHERE DataAircraftFuel.ID IN (2509, 2510, 2511, 2512);

DataFuel.ID 15 is made of Aviation Fuel x 96000

UPDATE DataLoadout23 (and COPY)

SET DataLoadout.ID='Cargo, 60 tons', DataLoadout.Cargo_Mass=60.0, DataLoadout.Cargo_Area=147.0
WHERE DataLoadout.ID=9864;

Cargo hold is 33.4 x 4.4 m large, ramp included

SET DataLoadout.ID='Cargo, 20 tons, Air Drop', DataLoadout.Cargo_Mass=20.0, DataLoadout.Cargo_Area=147.0
WHERE DataLoadout.ID=9865;

20 tons is the weight limit for dropped cargo. Same as for the An-124 by the way.

SET DataLoadout.DefaultCombatRadius=5130
WHERE DataLoadout.ID=9862;

I'm on the fence with ranges. Source 2 says with Full payload = 3700 km (1998 nm) and Full fuel 9500 km (5130 nm). Source 3 says with Full payload = 5000 km (2700 nm) and Full fuel 11 000 km (5940 nm). I trust source 2 more, it's a long difference, though.

COPY DataLoadout.ID=9865;
SET DataLoadout.ID='Paratroopers, 151x', DataLoadout.Capacity=151, DataLoadout.LoadoutRole=7101, DataLoadout.DefaultMissionProfile=8002, DataLoadout.Cargo_Type=1000,DataLoadout.Cargo_Mass=0.0, DataLoadout.Cargo_Area=0.0, DataLoadout.Crew=151.0
COPY ((DataLoadout.ID)=9862);
SET DataLoadout.ID='Troops, 292x', DataLoadout.Capacity=292, DataLoadout.LoadoutRole=7102, DataLoadout.DefaultMissionProfile=8003, DataLoadout.Cargo_Type=1000,DataLoadout.Cargo_Mass=0.0, DataLoadout.Cargo_Area=0.0, DataLoadout.Crew=292.0

DataAircraftMounts23 DELETE

DELETE FROM DataAircraftMounts
WHERE DataAircraftMounts.ID IN (2509, 2510, 2511, 2512);

There's no defensive 23 mm tail gun on that aircraft. The only known armament would be flare bombs.

DataAircraftSensors23 DELETE

DELETE FROM DataAircraftSensors
WHERE DataAircraftSensors.ID IN (2509, 2510, 2511, 2512) AND DataAircraftSensors.ComponentID=4227;

Nor there's a Generic Tail Gun Director [TV Camera]

Note : please let me know if formatting the request in quasi SQL actually help. When i'll be done with course, I'll post proper SQL request ^^

Sources

Footnotes

  1. Review and Editing of Unit Descriptions - Page 7 - Matrix Games Forums

  2. Butowski, P. (2016). Russia's warplanes: Russian-made military aircraft and helicopters today. Volume 2. 2 3 4 5 6 7

  3. Gordon, E., Komissarov, S., & Komissarov, D. (2004). Antonov's heavy transports: The An-22, An-124/225, and An-70. Hinckley: Midland. 2 3 4 5 6

  4. Sky Pacific Air Services – Antonov brochure(PDF)

  5. [ANTONOV gliders and airplanes - AN−22

@claudejdev claudejdev added the update Edits to an extant platform or entry label Apr 25, 2022
@github-actions github-actions bot added the DB3K label Apr 25, 2022
@PygmalionOfCyprus
Copy link
Owner

PygmalionOfCyprus commented Apr 25, 2022

I actually don't usually use SQL to directly interface with the DB, so if you just dump a list of DBIDs and the datapoints/values to which you want them changed (like you were doing before) that will fit better into my workflow.

(It also makes it easier for me to incorporate all our super sekrit hidden DB tables.)

@claudejdev
Copy link
Contributor Author

claudejdev commented Apr 25, 2022 via email

@PygmalionOfCyprus PygmalionOfCyprus self-assigned this Apr 26, 2022
@PygmalionOfCyprus
Copy link
Owner

PygmalionOfCyprus commented Apr 26, 2022

Fixed 494.

I actually had a grand old time using your SQL for the DataAircraft edits. It's only once it starts to get into loadouts, components (mounts, sensors, etc.), etc. that the SQL begins to break down: the working DB is ridiculously complex, and it's honestly just easier to use Access queries rather than SQL for subcomponents since you otherwise have to INNER JOIN the whole damn DB together before you can do anything. (And as mentioned, you guys don't have all the tables you need to do that. You don't want all the tables you need to do that. Trust me.)

With DBIDs, I can treat them as "raw" data and do whatever I need. With SQL, if it doesn't work out of the box, I need to first untangle the SQL to get the data into a usable format.

I do miss the little task checkboxes though. Those were very convenient for marking my place if the workflow got interrupted!

@PygmalionOfCyprus
Copy link
Owner

Thanks for interacting so openly by the way Ethan. It's not always a given.

This is the only time they let me out of the DB dungeon.

@claudejdev
Copy link
Contributor Author

Just to mention that source number 2 actually is "Butowski, P. (2016). Russia's warplanes: Russian-made military aircraft and helicopters today. Volume 2.", not "Butowski, P. (2017). Russia's air-launched weapons: Russian-made aircraft ordnance today.". Obviously.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
aircraft DB3K update Edits to an extant platform or entry
Projects
None yet
Development

No branches or pull requests

2 participants