From d315d6953054bce716f15f700ca28912bb85cabf Mon Sep 17 00:00:00 2001 From: Stuart Buchanan Date: Thu, 19 Nov 2020 19:34:45 +0000 Subject: [PATCH] Make ufo invisible over MP again Before fallback models were introduced, the ufo was invisible to other MP pilots that were not in a ufo themselves. When fallback models were introduced, at long range the ufo was replaced by the glider model, and so became visible. This change makes it invisible again by using the ufo as its own fallback model. This is safe because the ufo model is very lightweight and also shipped with fgdata. --- AI/Aircraft/fallback_models.xml | 25 +++++++++++++++++-------- Aircraft/ufo/ufo-set.xml | 2 +- 2 files changed, 18 insertions(+), 9 deletions(-) diff --git a/AI/Aircraft/fallback_models.xml b/AI/Aircraft/fallback_models.xml index 3f25a4314..12edd5a77 100644 --- a/AI/Aircraft/fallback_models.xml +++ b/AI/Aircraft/fallback_models.xml @@ -16,14 +16,18 @@ 0 Default. Will also be used if an AI model is not found 1-50 Single engine GA aircraft 51-100 Multi-engine GA aircraft - 101-150 Turboprop airliners - 151-200 Twin engined narrow body jet airliners - 201-250 Twin engined wide body jet airliners - 251-300 Four engined jet airliners - 301-350 Military combat aircraft - 351-400 Military non-combat aircraft (tankers, transports) - 401-500 ???? - + 101-150 Business Jets + 151-200 Turboprop airliners + 201-250 Twin engined narrow body jet airliners + 251-300 Twin engined wide body jet airliners + 301-350 Four engined jet narrow body airliners + 351-400 Four engined jet wide body airliners + 401-450 Single engine prop military aircraft + 451-500 Multi-engine prop military aircraft + 501-550 Jet combat aircraft + 551-600 Military large aircraft (tankers, transports) + 601-700 Helicopters + 701-800 Other --> @@ -172,4 +176,9 @@ AI/Aircraft/G-164/Models/G-164A-ai.xml AI/Aircraft/Gee-Bee/Models/geebee-ai.xml + +Aircraft/ufo/Models/ufo.xml + diff --git a/Aircraft/ufo/ufo-set.xml b/Aircraft/ufo/ufo-set.xml index e22e7d354..da0dfc10c 100644 --- a/Aircraft/ufo/ufo-set.xml +++ b/Aircraft/ufo/ufo-set.xml @@ -78,7 +78,7 @@ 0 3 - + 712