├── README.md ├── src ├── dev │ ├── working │ │ ├── html_ui │ │ │ └── Pages │ │ │ │ └── VCockpit │ │ │ │ └── Instruments │ │ │ │ ├── NavSystems │ │ │ │ ├── Shared │ │ │ │ │ └── Images │ │ │ │ │ │ └── TSC │ │ │ │ │ │ └── Icons │ │ │ │ │ │ ├── ICON_ARROW_UP_PLUS.png │ │ │ │ │ │ ├── ICON_ARROW_DOWN_MINUS.png │ │ │ │ │ │ ├── ICON_ARROW_LEFT_MINUS.png │ │ │ │ │ │ ├── ICON_ARROW_RIGHT_PLUS.png │ │ │ │ │ │ ├── ICON_MAPDETAIL_SMALL_1.png │ │ │ │ │ │ ├── ICON_MAPDETAIL_SMALL_2.png │ │ │ │ │ │ ├── ICON_MAPDETAIL_SMALL_3.png │ │ │ │ │ │ ├── ICON_MAPDETAIL_SMALL_4.png │ │ │ │ │ │ ├── GRADIENT_TRIANGLE_HORIZ_BLUE.png │ │ │ │ │ │ └── GRADIENT_TRIANGLE_VERT_BLUE_GRAD2.png │ │ │ │ └── AS3000 │ │ │ │ │ ├── TSC │ │ │ │ │ └── Vertical │ │ │ │ │ │ └── AS3000_TSC_Vertical.js │ │ │ │ │ ├── PFD │ │ │ │ │ ├── InnerMapConfig │ │ │ │ │ │ └── mapConfig.json │ │ │ │ │ └── AS3000_PFD.html │ │ │ │ │ └── MFD │ │ │ │ │ ├── AS3000_MFD.html │ │ │ │ │ └── AS3000_MFD.css │ │ │ │ └── Shared │ │ │ │ └── Map │ │ │ │ ├── MapInstrumentEnhanced.css │ │ │ │ ├── MapInstrumentEnhanced.html │ │ │ │ └── Svg │ │ │ │ └── SvgAirplaneElementEnhanced.js │ │ ├── manifest.json │ │ ├── layout.json │ │ └── ModelBehaviorDefs │ │ │ └── Asobo │ │ │ └── GlassCockpit │ │ │ └── AS580.xml │ └── tbm │ │ ├── SimObjects │ │ └── Airplanes │ │ │ └── Asobo_TBM930 │ │ │ └── panel │ │ │ └── PANEL.CFG │ │ ├── html_ui │ │ └── Pages │ │ │ └── VCockpit │ │ │ └── Instruments │ │ │ └── NavSystems │ │ │ └── AS3000 │ │ │ ├── PFD │ │ │ └── InnerMapConfig_enhanced │ │ │ │ └── mapConfig.json │ │ │ └── MFD │ │ │ ├── AS3000_MFD_enhanced.html │ │ │ └── AS3000_MFD_enhanced.css │ │ └── ModelBehaviorDefs │ │ └── Asobo │ │ └── GlassCockpit │ │ └── AS580_enhanced.xml └── packages │ ├── msfs2020-G3000-enhanced-std │ ├── html_ui │ │ └── Pages │ │ │ └── VCockpit │ │ │ └── Instruments │ │ │ ├── NavSystems │ │ │ ├── Shared │ │ │ │ └── Images │ │ │ │ │ └── TSC │ │ │ │ │ └── Icons │ │ │ │ │ ├── ICON_ARROW_UP_PLUS.png │ │ │ │ │ ├── ICON_ARROW_DOWN_MINUS.png │ │ │ │ │ ├── ICON_ARROW_LEFT_MINUS.png │ │ │ │ │ ├── ICON_ARROW_RIGHT_PLUS.png │ │ │ │ │ ├── ICON_MAPDETAIL_SMALL_1.png │ │ │ │ │ ├── ICON_MAPDETAIL_SMALL_2.png │ │ │ │ │ ├── ICON_MAPDETAIL_SMALL_3.png │ │ │ │ │ ├── ICON_MAPDETAIL_SMALL_4.png │ │ │ │ │ ├── GRADIENT_TRIANGLE_HORIZ_BLUE.png │ │ │ │ │ └── GRADIENT_TRIANGLE_VERT_BLUE_GRAD2.png │ │ │ └── AS3000 │ │ │ │ ├── PFD │ │ │ │ └── InnerMapConfig │ │ │ │ │ └── mapConfig.json │ │ │ │ └── MFD │ │ │ │ ├── AS3000_MFD.html │ │ │ │ └── AS3000_MFD.css │ │ │ └── Shared │ │ │ └── Map │ │ │ ├── MapInstrumentEnhanced.css │ │ │ ├── MapInstrumentEnhanced.html │ │ │ └── Svg │ │ │ └── SvgAirplaneElementEnhanced.js │ ├── manifest.json │ ├── layout.json │ └── ModelBehaviorDefs │ │ └── Asobo │ │ └── GlassCockpit │ │ └── AS580.xml │ └── msfs2020-G3000-enhanced-tbm │ ├── html_ui │ └── Pages │ │ └── VCockpit │ │ └── Instruments │ │ ├── NavSystems │ │ ├── Shared │ │ │ └── Images │ │ │ │ └── TSC │ │ │ │ └── Icons │ │ │ │ ├── ICON_ARROW_UP_PLUS.png │ │ │ │ ├── ICON_ARROW_DOWN_MINUS.png │ │ │ │ ├── ICON_ARROW_LEFT_MINUS.png │ │ │ │ ├── ICON_ARROW_RIGHT_PLUS.png │ │ │ │ ├── ICON_MAPDETAIL_SMALL_1.png │ │ │ │ ├── ICON_MAPDETAIL_SMALL_2.png │ │ │ │ ├── ICON_MAPDETAIL_SMALL_3.png │ │ │ │ ├── ICON_MAPDETAIL_SMALL_4.png │ │ │ │ ├── GRADIENT_TRIANGLE_HORIZ_BLUE.png │ │ │ │ └── GRADIENT_TRIANGLE_VERT_BLUE_GRAD2.png │ │ └── AS3000 │ │ │ ├── PFD │ │ │ └── InnerMapConfig_enhanced │ │ │ │ └── mapConfig.json │ │ │ └── MFD │ │ │ ├── AS3000_MFD_enhanced.html │ │ │ └── AS3000_MFD_enhanced.css │ │ └── Shared │ │ └── Map │ │ ├── MapInstrumentEnhanced.css │ │ ├── MapInstrumentEnhanced.html │ │ └── Svg │ │ └── SvgAirplaneElementEnhanced.js │ ├── manifest.json │ ├── SimObjects │ └── Airplanes │ │ └── Asobo_TBM930 │ │ └── panel │ │ └── PANEL.CFG │ ├── layout.json │ └── ModelBehaviorDefs │ └── Asobo │ └── GlassCockpit │ └── AS580_enhanced.xml └── CHANGELOG.md /README.md: -------------------------------------------------------------------------------- 1 | # msfs2020-G3000-enhanced 2 | 3 | The G3000-enhanced mod is now part of the WorkingTitle group. Updates and new releases will now be made through WorkingTitle. You can find the Github page here: https://github.com/Working-Title-MSFS-Mods/fspackages 4 | -------------------------------------------------------------------------------- /src/dev/working/html_ui/Pages/VCockpit/Instruments/NavSystems/Shared/Images/TSC/Icons/ICON_ARROW_UP_PLUS.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cywang90/msfs2020-G3000-enhanced/HEAD/src/dev/working/html_ui/Pages/VCockpit/Instruments/NavSystems/Shared/Images/TSC/Icons/ICON_ARROW_UP_PLUS.png -------------------------------------------------------------------------------- /src/dev/working/html_ui/Pages/VCockpit/Instruments/NavSystems/Shared/Images/TSC/Icons/ICON_ARROW_DOWN_MINUS.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cywang90/msfs2020-G3000-enhanced/HEAD/src/dev/working/html_ui/Pages/VCockpit/Instruments/NavSystems/Shared/Images/TSC/Icons/ICON_ARROW_DOWN_MINUS.png -------------------------------------------------------------------------------- /src/dev/working/html_ui/Pages/VCockpit/Instruments/NavSystems/Shared/Images/TSC/Icons/ICON_ARROW_LEFT_MINUS.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cywang90/msfs2020-G3000-enhanced/HEAD/src/dev/working/html_ui/Pages/VCockpit/Instruments/NavSystems/Shared/Images/TSC/Icons/ICON_ARROW_LEFT_MINUS.png -------------------------------------------------------------------------------- /src/dev/working/html_ui/Pages/VCockpit/Instruments/NavSystems/Shared/Images/TSC/Icons/ICON_ARROW_RIGHT_PLUS.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cywang90/msfs2020-G3000-enhanced/HEAD/src/dev/working/html_ui/Pages/VCockpit/Instruments/NavSystems/Shared/Images/TSC/Icons/ICON_ARROW_RIGHT_PLUS.png -------------------------------------------------------------------------------- /src/dev/working/html_ui/Pages/VCockpit/Instruments/NavSystems/Shared/Images/TSC/Icons/ICON_MAPDETAIL_SMALL_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cywang90/msfs2020-G3000-enhanced/HEAD/src/dev/working/html_ui/Pages/VCockpit/Instruments/NavSystems/Shared/Images/TSC/Icons/ICON_MAPDETAIL_SMALL_1.png -------------------------------------------------------------------------------- /src/dev/working/html_ui/Pages/VCockpit/Instruments/NavSystems/Shared/Images/TSC/Icons/ICON_MAPDETAIL_SMALL_2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cywang90/msfs2020-G3000-enhanced/HEAD/src/dev/working/html_ui/Pages/VCockpit/Instruments/NavSystems/Shared/Images/TSC/Icons/ICON_MAPDETAIL_SMALL_2.png -------------------------------------------------------------------------------- /src/dev/working/html_ui/Pages/VCockpit/Instruments/NavSystems/Shared/Images/TSC/Icons/ICON_MAPDETAIL_SMALL_3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cywang90/msfs2020-G3000-enhanced/HEAD/src/dev/working/html_ui/Pages/VCockpit/Instruments/NavSystems/Shared/Images/TSC/Icons/ICON_MAPDETAIL_SMALL_3.png -------------------------------------------------------------------------------- /src/dev/working/html_ui/Pages/VCockpit/Instruments/NavSystems/Shared/Images/TSC/Icons/ICON_MAPDETAIL_SMALL_4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cywang90/msfs2020-G3000-enhanced/HEAD/src/dev/working/html_ui/Pages/VCockpit/Instruments/NavSystems/Shared/Images/TSC/Icons/ICON_MAPDETAIL_SMALL_4.png -------------------------------------------------------------------------------- /src/dev/working/html_ui/Pages/VCockpit/Instruments/NavSystems/Shared/Images/TSC/Icons/GRADIENT_TRIANGLE_HORIZ_BLUE.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cywang90/msfs2020-G3000-enhanced/HEAD/src/dev/working/html_ui/Pages/VCockpit/Instruments/NavSystems/Shared/Images/TSC/Icons/GRADIENT_TRIANGLE_HORIZ_BLUE.png -------------------------------------------------------------------------------- /src/dev/working/html_ui/Pages/VCockpit/Instruments/NavSystems/Shared/Images/TSC/Icons/GRADIENT_TRIANGLE_VERT_BLUE_GRAD2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cywang90/msfs2020-G3000-enhanced/HEAD/src/dev/working/html_ui/Pages/VCockpit/Instruments/NavSystems/Shared/Images/TSC/Icons/GRADIENT_TRIANGLE_VERT_BLUE_GRAD2.png -------------------------------------------------------------------------------- /src/packages/msfs2020-G3000-enhanced-std/html_ui/Pages/VCockpit/Instruments/NavSystems/Shared/Images/TSC/Icons/ICON_ARROW_UP_PLUS.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cywang90/msfs2020-G3000-enhanced/HEAD/src/packages/msfs2020-G3000-enhanced-std/html_ui/Pages/VCockpit/Instruments/NavSystems/Shared/Images/TSC/Icons/ICON_ARROW_UP_PLUS.png -------------------------------------------------------------------------------- /src/packages/msfs2020-G3000-enhanced-tbm/html_ui/Pages/VCockpit/Instruments/NavSystems/Shared/Images/TSC/Icons/ICON_ARROW_UP_PLUS.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cywang90/msfs2020-G3000-enhanced/HEAD/src/packages/msfs2020-G3000-enhanced-tbm/html_ui/Pages/VCockpit/Instruments/NavSystems/Shared/Images/TSC/Icons/ICON_ARROW_UP_PLUS.png -------------------------------------------------------------------------------- /src/packages/msfs2020-G3000-enhanced-std/html_ui/Pages/VCockpit/Instruments/NavSystems/Shared/Images/TSC/Icons/ICON_ARROW_DOWN_MINUS.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cywang90/msfs2020-G3000-enhanced/HEAD/src/packages/msfs2020-G3000-enhanced-std/html_ui/Pages/VCockpit/Instruments/NavSystems/Shared/Images/TSC/Icons/ICON_ARROW_DOWN_MINUS.png -------------------------------------------------------------------------------- /src/packages/msfs2020-G3000-enhanced-std/html_ui/Pages/VCockpit/Instruments/NavSystems/Shared/Images/TSC/Icons/ICON_ARROW_LEFT_MINUS.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cywang90/msfs2020-G3000-enhanced/HEAD/src/packages/msfs2020-G3000-enhanced-std/html_ui/Pages/VCockpit/Instruments/NavSystems/Shared/Images/TSC/Icons/ICON_ARROW_LEFT_MINUS.png -------------------------------------------------------------------------------- /src/packages/msfs2020-G3000-enhanced-std/html_ui/Pages/VCockpit/Instruments/NavSystems/Shared/Images/TSC/Icons/ICON_ARROW_RIGHT_PLUS.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cywang90/msfs2020-G3000-enhanced/HEAD/src/packages/msfs2020-G3000-enhanced-std/html_ui/Pages/VCockpit/Instruments/NavSystems/Shared/Images/TSC/Icons/ICON_ARROW_RIGHT_PLUS.png -------------------------------------------------------------------------------- /src/packages/msfs2020-G3000-enhanced-std/html_ui/Pages/VCockpit/Instruments/NavSystems/Shared/Images/TSC/Icons/ICON_MAPDETAIL_SMALL_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cywang90/msfs2020-G3000-enhanced/HEAD/src/packages/msfs2020-G3000-enhanced-std/html_ui/Pages/VCockpit/Instruments/NavSystems/Shared/Images/TSC/Icons/ICON_MAPDETAIL_SMALL_1.png -------------------------------------------------------------------------------- /src/packages/msfs2020-G3000-enhanced-std/html_ui/Pages/VCockpit/Instruments/NavSystems/Shared/Images/TSC/Icons/ICON_MAPDETAIL_SMALL_2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cywang90/msfs2020-G3000-enhanced/HEAD/src/packages/msfs2020-G3000-enhanced-std/html_ui/Pages/VCockpit/Instruments/NavSystems/Shared/Images/TSC/Icons/ICON_MAPDETAIL_SMALL_2.png -------------------------------------------------------------------------------- /src/packages/msfs2020-G3000-enhanced-std/html_ui/Pages/VCockpit/Instruments/NavSystems/Shared/Images/TSC/Icons/ICON_MAPDETAIL_SMALL_3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cywang90/msfs2020-G3000-enhanced/HEAD/src/packages/msfs2020-G3000-enhanced-std/html_ui/Pages/VCockpit/Instruments/NavSystems/Shared/Images/TSC/Icons/ICON_MAPDETAIL_SMALL_3.png -------------------------------------------------------------------------------- /src/packages/msfs2020-G3000-enhanced-std/html_ui/Pages/VCockpit/Instruments/NavSystems/Shared/Images/TSC/Icons/ICON_MAPDETAIL_SMALL_4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cywang90/msfs2020-G3000-enhanced/HEAD/src/packages/msfs2020-G3000-enhanced-std/html_ui/Pages/VCockpit/Instruments/NavSystems/Shared/Images/TSC/Icons/ICON_MAPDETAIL_SMALL_4.png -------------------------------------------------------------------------------- /src/packages/msfs2020-G3000-enhanced-tbm/html_ui/Pages/VCockpit/Instruments/NavSystems/Shared/Images/TSC/Icons/ICON_ARROW_DOWN_MINUS.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cywang90/msfs2020-G3000-enhanced/HEAD/src/packages/msfs2020-G3000-enhanced-tbm/html_ui/Pages/VCockpit/Instruments/NavSystems/Shared/Images/TSC/Icons/ICON_ARROW_DOWN_MINUS.png -------------------------------------------------------------------------------- /src/packages/msfs2020-G3000-enhanced-tbm/html_ui/Pages/VCockpit/Instruments/NavSystems/Shared/Images/TSC/Icons/ICON_ARROW_LEFT_MINUS.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cywang90/msfs2020-G3000-enhanced/HEAD/src/packages/msfs2020-G3000-enhanced-tbm/html_ui/Pages/VCockpit/Instruments/NavSystems/Shared/Images/TSC/Icons/ICON_ARROW_LEFT_MINUS.png -------------------------------------------------------------------------------- /src/packages/msfs2020-G3000-enhanced-tbm/html_ui/Pages/VCockpit/Instruments/NavSystems/Shared/Images/TSC/Icons/ICON_ARROW_RIGHT_PLUS.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cywang90/msfs2020-G3000-enhanced/HEAD/src/packages/msfs2020-G3000-enhanced-tbm/html_ui/Pages/VCockpit/Instruments/NavSystems/Shared/Images/TSC/Icons/ICON_ARROW_RIGHT_PLUS.png -------------------------------------------------------------------------------- /src/packages/msfs2020-G3000-enhanced-tbm/html_ui/Pages/VCockpit/Instruments/NavSystems/Shared/Images/TSC/Icons/ICON_MAPDETAIL_SMALL_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cywang90/msfs2020-G3000-enhanced/HEAD/src/packages/msfs2020-G3000-enhanced-tbm/html_ui/Pages/VCockpit/Instruments/NavSystems/Shared/Images/TSC/Icons/ICON_MAPDETAIL_SMALL_1.png -------------------------------------------------------------------------------- /src/packages/msfs2020-G3000-enhanced-tbm/html_ui/Pages/VCockpit/Instruments/NavSystems/Shared/Images/TSC/Icons/ICON_MAPDETAIL_SMALL_2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cywang90/msfs2020-G3000-enhanced/HEAD/src/packages/msfs2020-G3000-enhanced-tbm/html_ui/Pages/VCockpit/Instruments/NavSystems/Shared/Images/TSC/Icons/ICON_MAPDETAIL_SMALL_2.png -------------------------------------------------------------------------------- /src/packages/msfs2020-G3000-enhanced-tbm/html_ui/Pages/VCockpit/Instruments/NavSystems/Shared/Images/TSC/Icons/ICON_MAPDETAIL_SMALL_3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cywang90/msfs2020-G3000-enhanced/HEAD/src/packages/msfs2020-G3000-enhanced-tbm/html_ui/Pages/VCockpit/Instruments/NavSystems/Shared/Images/TSC/Icons/ICON_MAPDETAIL_SMALL_3.png -------------------------------------------------------------------------------- /src/packages/msfs2020-G3000-enhanced-tbm/html_ui/Pages/VCockpit/Instruments/NavSystems/Shared/Images/TSC/Icons/ICON_MAPDETAIL_SMALL_4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cywang90/msfs2020-G3000-enhanced/HEAD/src/packages/msfs2020-G3000-enhanced-tbm/html_ui/Pages/VCockpit/Instruments/NavSystems/Shared/Images/TSC/Icons/ICON_MAPDETAIL_SMALL_4.png -------------------------------------------------------------------------------- /src/packages/msfs2020-G3000-enhanced-std/html_ui/Pages/VCockpit/Instruments/NavSystems/Shared/Images/TSC/Icons/GRADIENT_TRIANGLE_HORIZ_BLUE.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cywang90/msfs2020-G3000-enhanced/HEAD/src/packages/msfs2020-G3000-enhanced-std/html_ui/Pages/VCockpit/Instruments/NavSystems/Shared/Images/TSC/Icons/GRADIENT_TRIANGLE_HORIZ_BLUE.png -------------------------------------------------------------------------------- /src/packages/msfs2020-G3000-enhanced-tbm/html_ui/Pages/VCockpit/Instruments/NavSystems/Shared/Images/TSC/Icons/GRADIENT_TRIANGLE_HORIZ_BLUE.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cywang90/msfs2020-G3000-enhanced/HEAD/src/packages/msfs2020-G3000-enhanced-tbm/html_ui/Pages/VCockpit/Instruments/NavSystems/Shared/Images/TSC/Icons/GRADIENT_TRIANGLE_HORIZ_BLUE.png -------------------------------------------------------------------------------- /src/packages/msfs2020-G3000-enhanced-std/html_ui/Pages/VCockpit/Instruments/NavSystems/Shared/Images/TSC/Icons/GRADIENT_TRIANGLE_VERT_BLUE_GRAD2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cywang90/msfs2020-G3000-enhanced/HEAD/src/packages/msfs2020-G3000-enhanced-std/html_ui/Pages/VCockpit/Instruments/NavSystems/Shared/Images/TSC/Icons/GRADIENT_TRIANGLE_VERT_BLUE_GRAD2.png -------------------------------------------------------------------------------- /src/packages/msfs2020-G3000-enhanced-tbm/html_ui/Pages/VCockpit/Instruments/NavSystems/Shared/Images/TSC/Icons/GRADIENT_TRIANGLE_VERT_BLUE_GRAD2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cywang90/msfs2020-G3000-enhanced/HEAD/src/packages/msfs2020-G3000-enhanced-tbm/html_ui/Pages/VCockpit/Instruments/NavSystems/Shared/Images/TSC/Icons/GRADIENT_TRIANGLE_VERT_BLUE_GRAD2.png -------------------------------------------------------------------------------- /src/dev/working/manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "dependencies": [], 3 | "content_type": "AIRCRAFT", 4 | "title": "G3000 Enhanced", 5 | "manufacturer": "", 6 | "creator": "aznricepuff", 7 | "package_version": "0.1.0", 8 | "minimum_game_version": "1.9.3", 9 | "release_notes": { 10 | "neutral": { 11 | "LastUpdate": "", 12 | "OlderHistory": "" 13 | } 14 | }, 15 | "total_package_size": "00000000000000444820" 16 | } -------------------------------------------------------------------------------- /src/packages/msfs2020-G3000-enhanced-std/manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "dependencies": [], 3 | "content_type": "AIRCRAFT", 4 | "title": "G3000 Enhanced", 5 | "manufacturer": "", 6 | "creator": "aznricepuff", 7 | "package_version": "0.1.0", 8 | "minimum_game_version": "1.9.3", 9 | "release_notes": { 10 | "neutral": { 11 | "LastUpdate": "", 12 | "OlderHistory": "" 13 | } 14 | }, 15 | "total_package_size": "00000000000000720984" 16 | } -------------------------------------------------------------------------------- /src/packages/msfs2020-G3000-enhanced-tbm/manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "dependencies": [], 3 | "content_type": "AIRCRAFT", 4 | "title": "G3000 Enhanced", 5 | "manufacturer": "", 6 | "creator": "aznricepuff", 7 | "package_version": "0.1.0", 8 | "minimum_game_version": "1.9.3", 9 | "release_notes": { 10 | "neutral": { 11 | "LastUpdate": "", 12 | "OlderHistory": "" 13 | } 14 | }, 15 | "total_package_size": "00000000000000815126" 16 | } -------------------------------------------------------------------------------- /src/dev/tbm/SimObjects/Airplanes/Asobo_TBM930/panel/PANEL.CFG: -------------------------------------------------------------------------------- 1 | // Panel Configuration file 2 | // Cessna 172sp 3 | // Copyright (c) 2001-2003 Microsoft Corporation. All rights reserved. 4 | 5 | [VCockpit01] 6 | size_mm=1280,800 7 | pixel_size=1280,800 8 | texture=$AS1000_PFD 9 | background_color=42,42,40 10 | 11 | htmlgauge00=NavSystems/AS3000/PFD/AS3000_PFD_enhanced.html?Index=1, 0,0,1280,800 12 | 13 | [VCockpit02] 14 | size_mm=1280,800 15 | pixel_size=1280,800 16 | texture=$AS1000_MFD 17 | background_color=42,42,40 18 | 19 | htmlgauge00=NavSystems/AS3000/MFD/AS3000_MFD_enhanced.html, 0,0,1280,800 20 | 21 | [VCockpit03] 22 | size_mm=512,350 23 | pixel_size=512,350 24 | texture=$AttitudeDisplay 25 | background_color=42,42,40 26 | 27 | htmlgauge00=NavSystems/AS1000_BackupDisplay/Attitude/AS1000_AttitudeBackup.html, 0,0,512,350 28 | 29 | [VCockpit04] 30 | size_mm=512,350 31 | pixel_size=512,350 32 | texture=$SpeedDisplay 33 | background_color=42,42,40 34 | 35 | htmlgauge00=NavSystems/AS1000_BackupDisplay/Speed/AS1000_SpeedBackup.html, 0,0,512,350 36 | 37 | [VCockpit05] 38 | size_mm=1280,768 39 | pixel_size=1280,768 40 | texture=$AS3000_TSC_1 41 | background_color=42,42,40 42 | 43 | htmlgauge00=NavSystems/AS3000/TSC/Horizontal/AS3000_TSC_Horizontal.html?Index=1, 0,0,1280,768 44 | 45 | [VCockpit06] 46 | size_mm=1280,768 47 | pixel_size=1280,768 48 | texture=$AS3000_TSC_2 49 | background_color=42,42,40 50 | 51 | htmlgauge00=NavSystems/AS3000/TSC/Horizontal/AS3000_TSC_Horizontal.html?Index=2, 0,0,1280,768 52 | 53 | 54 | [Views] 55 | VIEW_FORWARD_DIR= 8.0, 0.0, 0.0 56 | 57 | [Color] 58 | Day=255,255,255 59 | Night=255,255,255 60 | Luminous=201,64,64 61 | 62 | [VPainting01] 63 | size_mm = 2048,512 64 | texture = $RegistrationNumber 65 | location = exterior 66 | 67 | painting00=Registration/Registration.html?font_color=white, 0, 0, 2048, 512 68 | 69 | [VPainting02] 70 | size_mm = 512,128 71 | texture = $RegistrationNumber 72 | location = interior 73 | 74 | painting00=Registration/Registration.html?font_color=white, 0, 0, 512, 128 75 | 76 | -------------------------------------------------------------------------------- /src/packages/msfs2020-G3000-enhanced-tbm/SimObjects/Airplanes/Asobo_TBM930/panel/PANEL.CFG: -------------------------------------------------------------------------------- 1 | // Panel Configuration file 2 | // Cessna 172sp 3 | // Copyright (c) 2001-2003 Microsoft Corporation. All rights reserved. 4 | 5 | [VCockpit01] 6 | size_mm=1280,800 7 | pixel_size=1280,800 8 | texture=$AS1000_PFD 9 | background_color=42,42,40 10 | 11 | htmlgauge00=NavSystems/AS3000/PFD/AS3000_PFD_enhanced.html?Index=1, 0,0,1280,800 12 | 13 | [VCockpit02] 14 | size_mm=1280,800 15 | pixel_size=1280,800 16 | texture=$AS1000_MFD 17 | background_color=42,42,40 18 | 19 | htmlgauge00=NavSystems/AS3000/MFD/AS3000_MFD_enhanced.html, 0,0,1280,800 20 | 21 | [VCockpit03] 22 | size_mm=512,350 23 | pixel_size=512,350 24 | texture=$AttitudeDisplay 25 | background_color=42,42,40 26 | 27 | htmlgauge00=NavSystems/AS1000_BackupDisplay/Attitude/AS1000_AttitudeBackup.html, 0,0,512,350 28 | 29 | [VCockpit04] 30 | size_mm=512,350 31 | pixel_size=512,350 32 | texture=$SpeedDisplay 33 | background_color=42,42,40 34 | 35 | htmlgauge00=NavSystems/AS1000_BackupDisplay/Speed/AS1000_SpeedBackup.html, 0,0,512,350 36 | 37 | [VCockpit05] 38 | size_mm=1280,768 39 | pixel_size=1280,768 40 | texture=$AS3000_TSC_1 41 | background_color=42,42,40 42 | 43 | htmlgauge00=NavSystems/AS3000/TSC/Horizontal/AS3000_TSC_Horizontal.html?Index=1, 0,0,1280,768 44 | 45 | [VCockpit06] 46 | size_mm=1280,768 47 | pixel_size=1280,768 48 | texture=$AS3000_TSC_2 49 | background_color=42,42,40 50 | 51 | htmlgauge00=NavSystems/AS3000/TSC/Horizontal/AS3000_TSC_Horizontal.html?Index=2, 0,0,1280,768 52 | 53 | 54 | [Views] 55 | VIEW_FORWARD_DIR= 8.0, 0.0, 0.0 56 | 57 | [Color] 58 | Day=255,255,255 59 | Night=255,255,255 60 | Luminous=201,64,64 61 | 62 | [VPainting01] 63 | size_mm = 2048,512 64 | texture = $RegistrationNumber 65 | location = exterior 66 | 67 | painting00=Registration/Registration.html?font_color=white, 0, 0, 2048, 512 68 | 69 | [VPainting02] 70 | size_mm = 512,128 71 | texture = $RegistrationNumber 72 | location = interior 73 | 74 | painting00=Registration/Registration.html?font_color=white, 0, 0, 512, 128 75 | 76 | -------------------------------------------------------------------------------- /src/dev/working/html_ui/Pages/VCockpit/Instruments/Shared/Map/MapInstrumentEnhanced.css: -------------------------------------------------------------------------------- 1 | :root { 2 | --bodyHeightScale: 1; } 3 | 4 | @keyframes TemporaryShow { 5 | 0%, 100% { 6 | visibility: visible; } } 7 | 8 | @keyframes TemporaryHide { 9 | 0%, 100% { 10 | visibility: hidden; } } 11 | 12 | #highlight { 13 | position: absolute; 14 | height: 100%; 15 | width: 100%; 16 | z-index: 10; } 17 | 18 | #Electricity { 19 | width: 100%; 20 | height: 100%; } 21 | #Electricity[state=off] { 22 | display: none; } 23 | 24 | map-instrument-enhanced { 25 | position: absolute; 26 | width: 100%; 27 | height: 100%; 28 | top: 0%; 29 | left: 0%; 30 | display: block; 31 | overflow: hidden; 32 | /* Map position (left and top) is set in mapConfig.json file (see SvgMapConfig.ts) (makes it editable at runtime) */ 33 | /* Map position (left and top) is set in mapConfig.json file (see SvgMapConfig.ts) (makes it editable at runtime) */ } 34 | map-instrument-enhanced #MapOrientation { 35 | position: absolute; 36 | top: 0%; 37 | left: 0%; 38 | width: 13%; 39 | height: calc( 2.5 * 1vh * var(--bodyHeightScale)); 40 | background-color: #1a1d21; 41 | color: #8ed0d5; 42 | border: solid 1px white; } 43 | map-instrument-enhanced #MapRange { 44 | position: absolute; 45 | bottom: 0%; 46 | right: 0%; 47 | width: 5%; 48 | height: calc( 6 * 1vh * var(--bodyHeightScale)); 49 | background-color: #1a1d21; 50 | color: #8ed0d5; 51 | display: flex; 52 | justify-content: flex-end; 53 | align-items: flex-end; 54 | text-align: center; 55 | border: solid 1px white; } 56 | map-instrument-enhanced #MapSVG, map-instrument-enhanced #road-network-canvas { 57 | position: absolute; } 58 | map-instrument-enhanced bing-map { 59 | position: absolute; } 60 | map-instrument-enhanced #MapCursor { 61 | position: absolute; 62 | left: 50%; 63 | top: 50%; } 64 | 65 | @keyframes cursorblink { 66 | 0%, 40% { 67 | fill: white; 68 | stroke: black; } 69 | 60%, 100% { 70 | fill: black; 71 | stroke: white; } } 72 | map-instrument-enhanced #MapCursor polygon { 73 | animation: cursorblink 1s infinite; } 74 | map-instrument-enhanced #WeatherSVG { 75 | position: absolute; 76 | top: 0%; 77 | left: 0%; 78 | width: 100%; 79 | height: 100%; } 80 | 81 | -------------------------------------------------------------------------------- /src/packages/msfs2020-G3000-enhanced-std/html_ui/Pages/VCockpit/Instruments/Shared/Map/MapInstrumentEnhanced.css: -------------------------------------------------------------------------------- 1 | :root { 2 | --bodyHeightScale: 1; } 3 | 4 | @keyframes TemporaryShow { 5 | 0%, 100% { 6 | visibility: visible; } } 7 | 8 | @keyframes TemporaryHide { 9 | 0%, 100% { 10 | visibility: hidden; } } 11 | 12 | #highlight { 13 | position: absolute; 14 | height: 100%; 15 | width: 100%; 16 | z-index: 10; } 17 | 18 | #Electricity { 19 | width: 100%; 20 | height: 100%; } 21 | #Electricity[state=off] { 22 | display: none; } 23 | 24 | map-instrument-enhanced { 25 | position: absolute; 26 | width: 100%; 27 | height: 100%; 28 | top: 0%; 29 | left: 0%; 30 | display: block; 31 | overflow: hidden; 32 | /* Map position (left and top) is set in mapConfig.json file (see SvgMapConfig.ts) (makes it editable at runtime) */ 33 | /* Map position (left and top) is set in mapConfig.json file (see SvgMapConfig.ts) (makes it editable at runtime) */ } 34 | map-instrument-enhanced #MapOrientation { 35 | position: absolute; 36 | top: 0%; 37 | left: 0%; 38 | width: 13%; 39 | height: calc( 2.5 * 1vh * var(--bodyHeightScale)); 40 | background-color: #1a1d21; 41 | color: #8ed0d5; 42 | border: solid 1px white; } 43 | map-instrument-enhanced #MapRange { 44 | position: absolute; 45 | bottom: 0%; 46 | right: 0%; 47 | width: 5%; 48 | height: calc( 6 * 1vh * var(--bodyHeightScale)); 49 | background-color: #1a1d21; 50 | color: #8ed0d5; 51 | display: flex; 52 | justify-content: flex-end; 53 | align-items: flex-end; 54 | text-align: center; 55 | border: solid 1px white; } 56 | map-instrument-enhanced #MapSVG, map-instrument-enhanced #road-network-canvas { 57 | position: absolute; } 58 | map-instrument-enhanced bing-map { 59 | position: absolute; } 60 | map-instrument-enhanced #MapCursor { 61 | position: absolute; 62 | left: 50%; 63 | top: 50%; } 64 | 65 | @keyframes cursorblink { 66 | 0%, 40% { 67 | fill: white; 68 | stroke: black; } 69 | 60%, 100% { 70 | fill: black; 71 | stroke: white; } } 72 | map-instrument-enhanced #MapCursor polygon { 73 | animation: cursorblink 1s infinite; } 74 | map-instrument-enhanced #WeatherSVG { 75 | position: absolute; 76 | top: 0%; 77 | left: 0%; 78 | width: 100%; 79 | height: 100%; } 80 | 81 | -------------------------------------------------------------------------------- /src/packages/msfs2020-G3000-enhanced-tbm/html_ui/Pages/VCockpit/Instruments/Shared/Map/MapInstrumentEnhanced.css: -------------------------------------------------------------------------------- 1 | :root { 2 | --bodyHeightScale: 1; } 3 | 4 | @keyframes TemporaryShow { 5 | 0%, 100% { 6 | visibility: visible; } } 7 | 8 | @keyframes TemporaryHide { 9 | 0%, 100% { 10 | visibility: hidden; } } 11 | 12 | #highlight { 13 | position: absolute; 14 | height: 100%; 15 | width: 100%; 16 | z-index: 10; } 17 | 18 | #Electricity { 19 | width: 100%; 20 | height: 100%; } 21 | #Electricity[state=off] { 22 | display: none; } 23 | 24 | map-instrument-enhanced { 25 | position: absolute; 26 | width: 100%; 27 | height: 100%; 28 | top: 0%; 29 | left: 0%; 30 | display: block; 31 | overflow: hidden; 32 | /* Map position (left and top) is set in mapConfig.json file (see SvgMapConfig.ts) (makes it editable at runtime) */ 33 | /* Map position (left and top) is set in mapConfig.json file (see SvgMapConfig.ts) (makes it editable at runtime) */ } 34 | map-instrument-enhanced #MapOrientation { 35 | position: absolute; 36 | top: 0%; 37 | left: 0%; 38 | width: 13%; 39 | height: calc( 2.5 * 1vh * var(--bodyHeightScale)); 40 | background-color: #1a1d21; 41 | color: #8ed0d5; 42 | border: solid 1px white; } 43 | map-instrument-enhanced #MapRange { 44 | position: absolute; 45 | bottom: 0%; 46 | right: 0%; 47 | width: 5%; 48 | height: calc( 6 * 1vh * var(--bodyHeightScale)); 49 | background-color: #1a1d21; 50 | color: #8ed0d5; 51 | display: flex; 52 | justify-content: flex-end; 53 | align-items: flex-end; 54 | text-align: center; 55 | border: solid 1px white; } 56 | map-instrument-enhanced #MapSVG, map-instrument-enhanced #road-network-canvas { 57 | position: absolute; } 58 | map-instrument-enhanced bing-map { 59 | position: absolute; } 60 | map-instrument-enhanced #MapCursor { 61 | position: absolute; 62 | left: 50%; 63 | top: 50%; } 64 | 65 | @keyframes cursorblink { 66 | 0%, 40% { 67 | fill: white; 68 | stroke: black; } 69 | 60%, 100% { 70 | fill: black; 71 | stroke: white; } } 72 | map-instrument-enhanced #MapCursor polygon { 73 | animation: cursorblink 1s infinite; } 74 | map-instrument-enhanced #WeatherSVG { 75 | position: absolute; 76 | top: 0%; 77 | left: 0%; 78 | width: 100%; 79 | height: 100%; } 80 | 81 | -------------------------------------------------------------------------------- /src/dev/working/html_ui/Pages/VCockpit/Instruments/NavSystems/AS3000/TSC/Vertical/AS3000_TSC_Vertical.js: -------------------------------------------------------------------------------- 1 | class AS3000_TSC_Vertical extends AS3000_TSC { 2 | constructor() { 3 | super(...arguments); 4 | this.middleKnobText_Save = ""; 5 | } 6 | get templateID() { return "AS3000_TSC_Vertical"; } 7 | connectedCallback() { 8 | super.connectedCallback(); 9 | this.topKnobText = this.getChildById("SoftKey_1"); 10 | this.middleKnobText = this.getChildById("SoftKey_2"); 11 | this.bottomKnobText = this.getChildById("SoftKey_3"); 12 | this.addIndependentElementContainer(new NavSystemElementContainer("NavCom", "NavComLeft", new AS3000_TSC_Vertical_NavComHome())); 13 | this.getElementOfType(AS3000_TSC_ActiveFPL).setArrowSizes(18, 20, 10, 4, 8); 14 | } 15 | setMiddleKnobText(_text, _fromPopUp = false) { 16 | if (!_fromPopUp) { 17 | this.middleKnobText_Save = _text; 18 | } 19 | if (this.middleKnobText.innerHTML != _text) { 20 | this.middleKnobText.innerHTML = _text; 21 | } 22 | } 23 | rollBackKnobTexts() { 24 | super.rollBackKnobTexts(); 25 | this.middleKnobText.innerHTML = this.middleKnobText_Save; 26 | } 27 | parseXMLConfig() { 28 | super.parseXMLConfig(); 29 | if (this.instrumentXmlConfig) { 30 | let pageGroup = this.instrumentXmlConfig.getElementsByTagName("PageGroup"); 31 | if (pageGroup.length > 0) { 32 | this.SwitchToMenuName(pageGroup[0].textContent); 33 | } 34 | } 35 | } 36 | } 37 | class AS3000_TSC_Vertical_NavComHome extends AS3000_TSC_NavComHome { 38 | setSelectedCom(_id) { 39 | if (this.inputIndex != -1) { 40 | this.comFreqValidate(); 41 | } 42 | this.selectedCom = _id; 43 | this.setSoftkeysNames(); 44 | if (_id == 1) { 45 | this.gps.frequencyKeyboard.getElementOfType(AS3000_TSC_FrequencyKeyboard).setContext("COM1 Standby", 118, 136.99, "COM ACTIVE FREQUENCY:1", "COM STANDBY FREQUENCY:1", this.setCom1Freq.bind(this), this.container, "COM SPACING MODE:1"); 46 | } 47 | else { 48 | this.gps.frequencyKeyboard.getElementOfType(AS3000_TSC_FrequencyKeyboard).setContext("COM2 Standby", 118, 136.99, "COM ACTIVE FREQUENCY:2", "COM STANDBY FREQUENCY:2", this.setCom2Freq.bind(this), this.container, "COM SPACING MODE:2"); 49 | } 50 | this.gps.switchToPopUpPage(this.gps.frequencyKeyboard); 51 | } 52 | setCom1Freq(_newFreq, swap) { 53 | SimVar.SetSimVarValue("K:COM_STBY_RADIO_SET_HZ", "Hz", _newFreq); 54 | if (swap) { 55 | SimVar.SetSimVarValue("K:COM_STBY_RADIO_SWAP", "Bool", 1); 56 | } 57 | } 58 | setCom2Freq(_newFreq, swap) { 59 | SimVar.SetSimVarValue("K:COM2_STBY_RADIO_SET_HZ", "Hz", _newFreq); 60 | if (swap) { 61 | SimVar.SetSimVarValue("K:COM2_RADIO_SWAP", "Bool", 1); 62 | } 63 | } 64 | } 65 | registerInstrument("as3000-tsc-vertical-element", AS3000_TSC_Vertical); 66 | //# sourceMappingURL=AS3000_TSC_Vertical.js.map -------------------------------------------------------------------------------- /src/dev/working/html_ui/Pages/VCockpit/Instruments/NavSystems/AS3000/PFD/InnerMapConfig/mapConfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "waypointLabelFontSize": 70, 3 | "waypointLabelFontFamily": "Consolas", 4 | "waypointLabelColor": "#FFFFFF", 5 | "waypointLabelStrokeColor": "#3f3f3f", 6 | "waypointLabelStrokeWidth": 0, 7 | "waypointLabelUseBackground": true, 8 | "waypointLabelBackgroundColor": "#3f4851", 9 | "waypointLabelBackgroundStrokeColor": "black", 10 | "waypointLabelBackgroundStrokeWidth": 0, 11 | "waypointLabelBackgroundPadding": "4 9 4 9", 12 | "waypointLabelDistance": 12, 13 | "waypointIconSize": 250, 14 | 15 | "cityLabelFontSize": 60, 16 | "cityLabelFontFamily": "Consolas", 17 | "cityLabelColor": "#black", 18 | "cityLabelStrokeColor": "#3f3f3f", 19 | "cityLabelStrokeWidth": 0, 20 | "cityLabelUseBackground": false, 21 | "cityLabelBackgroundColor": "white", 22 | "cityLabelBackgroundStrokeColor": "red", 23 | "cityLabelBackgroundStrokeWidth": 10, 24 | "cityLabelBackgroundPadding": "7 12 0 12", 25 | "cityLabelDistance": 0.45, 26 | "cityIconSize": 90, 27 | 28 | "airplaneIconSize": 250, 29 | "airplaneIcon1": "ICON_MAP_PLANE", 30 | "airplaneIcon2": "ICON_MAP_PLANE", 31 | 32 | "imagesDir": "/Pages/VCockpit/Instruments/Shared/Map/Images/Outlined/", 33 | "delay": 1, 34 | 35 | "runwayFillColor": "white", 36 | "runwayStrokeColor": "gray", 37 | "runwayStrokeWidth": 3, 38 | "runwayCornerRadius": 8, 39 | "runwayMinimalWidth": 16, 40 | 41 | "latLonStrokeColor": "gray", 42 | "latLonStrokeWidth": 1, 43 | "latLonLabelFontFamily": "Consolas", 44 | "latLonLabelFontSize": 14, 45 | "latLonLabelColor": "white", 46 | "latLonLabelStrokeColor": "none", 47 | "latLonLabelStrokeWidth": 0, 48 | 49 | "flightPlanActiveLegColor": "#ed008c", 50 | "flightPlanActiveLegWidth": 6, 51 | "flightPlanActiveLegStrokeColor": "#3f3f3f", 52 | "flightPlanActiveLegStrokeWidth": 7, 53 | "flightPlanNonActiveLegColor": "#ffffff", 54 | "flightPlanNonActiveLegWidth": 6, 55 | "flightPlanNonActiveLegStrokeColor": "#3f3f3f", 56 | "flightPlanNonActiveLegStrokeWidth": 7, 57 | 58 | "roadMotorWayColor": "#7a7a7a", 59 | "roadMotorWayWidth": 3, 60 | "roadTrunkColor": "#7a7a7a", 61 | "roadTrunkWidth": 2, 62 | "roadPrimaryColor": "#7a7a7a", 63 | "roadPrimaryWidth": 1, 64 | 65 | "railwayStrokeColor": "gray", 66 | "railwayWidth": 2, 67 | "railwayDashLength": 6, 68 | 69 | "netBingTextureResolution": 1024, 70 | "netBingAltitudeColors1": [], 71 | "netBingWaterColor1": "#184b77", 72 | "netBingHeightColor1": [ 73 | { 74 | "alt": 0, 75 | "color": "#6DA36C" 76 | }, 77 | { 78 | "alt": 1500, 79 | "color": "#9CAF57" 80 | }, 81 | { 82 | "alt": 6000, 83 | "color": "#c8b46e" 84 | }, 85 | { 86 | "alt": 8000, 87 | "color": "#b0975b" 88 | }, 89 | { 90 | "alt": 10000, 91 | "color": "#9a7c48" 92 | }, 93 | { 94 | "alt": 13000, 95 | "color": "#906a3b" 96 | }, 97 | { 98 | "alt": 16000, 99 | "color": "#7b5936" 100 | }, 101 | { 102 | "alt": 24000, 103 | "color": "#5a462e" 104 | }, 105 | { 106 | "alt": 32000, 107 | "color": "#abb0b5" 108 | } 109 | ] 110 | } -------------------------------------------------------------------------------- /src/dev/tbm/html_ui/Pages/VCockpit/Instruments/NavSystems/AS3000/PFD/InnerMapConfig_enhanced/mapConfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "waypointLabelFontSize": 70, 3 | "waypointLabelFontFamily": "Consolas", 4 | "waypointLabelColor": "#FFFFFF", 5 | "waypointLabelStrokeColor": "#3f3f3f", 6 | "waypointLabelStrokeWidth": 0, 7 | "waypointLabelUseBackground": true, 8 | "waypointLabelBackgroundColor": "#3f4851", 9 | "waypointLabelBackgroundStrokeColor": "black", 10 | "waypointLabelBackgroundStrokeWidth": 0, 11 | "waypointLabelBackgroundPadding": "4 9 4 9", 12 | "waypointLabelDistance": 12, 13 | "waypointIconSize": 250, 14 | 15 | "cityLabelFontSize": 60, 16 | "cityLabelFontFamily": "Consolas", 17 | "cityLabelColor": "#black", 18 | "cityLabelStrokeColor": "#3f3f3f", 19 | "cityLabelStrokeWidth": 0, 20 | "cityLabelUseBackground": false, 21 | "cityLabelBackgroundColor": "white", 22 | "cityLabelBackgroundStrokeColor": "red", 23 | "cityLabelBackgroundStrokeWidth": 10, 24 | "cityLabelBackgroundPadding": "7 12 0 12", 25 | "cityLabelDistance": 0.45, 26 | "cityIconSize": 90, 27 | 28 | "airplaneIconSize": 250, 29 | "airplaneIcon1": "ICON_MAP_PLANE", 30 | "airplaneIcon2": "ICON_MAP_PLANE", 31 | 32 | "imagesDir": "/Pages/VCockpit/Instruments/Shared/Map/Images/Outlined/", 33 | "delay": 1, 34 | 35 | "runwayFillColor": "white", 36 | "runwayStrokeColor": "gray", 37 | "runwayStrokeWidth": 3, 38 | "runwayCornerRadius": 8, 39 | "runwayMinimalWidth": 16, 40 | 41 | "latLonStrokeColor": "gray", 42 | "latLonStrokeWidth": 1, 43 | "latLonLabelFontFamily": "Consolas", 44 | "latLonLabelFontSize": 14, 45 | "latLonLabelColor": "white", 46 | "latLonLabelStrokeColor": "none", 47 | "latLonLabelStrokeWidth": 0, 48 | 49 | "flightPlanActiveLegColor": "#ed008c", 50 | "flightPlanActiveLegWidth": 6, 51 | "flightPlanActiveLegStrokeColor": "#3f3f3f", 52 | "flightPlanActiveLegStrokeWidth": 7, 53 | "flightPlanNonActiveLegColor": "#ffffff", 54 | "flightPlanNonActiveLegWidth": 6, 55 | "flightPlanNonActiveLegStrokeColor": "#3f3f3f", 56 | "flightPlanNonActiveLegStrokeWidth": 7, 57 | 58 | "roadMotorWayColor": "#7a7a7a", 59 | "roadMotorWayWidth": 3, 60 | "roadTrunkColor": "#7a7a7a", 61 | "roadTrunkWidth": 2, 62 | "roadPrimaryColor": "#7a7a7a", 63 | "roadPrimaryWidth": 1, 64 | 65 | "railwayStrokeColor": "gray", 66 | "railwayWidth": 2, 67 | "railwayDashLength": 6, 68 | 69 | "netBingTextureResolution": 1024, 70 | "netBingAltitudeColors1": [], 71 | "netBingWaterColor1": "#184b77", 72 | "netBingHeightColor1": [ 73 | { 74 | "alt": 0, 75 | "color": "#6DA36C" 76 | }, 77 | { 78 | "alt": 1500, 79 | "color": "#9CAF57" 80 | }, 81 | { 82 | "alt": 6000, 83 | "color": "#c8b46e" 84 | }, 85 | { 86 | "alt": 8000, 87 | "color": "#b0975b" 88 | }, 89 | { 90 | "alt": 10000, 91 | "color": "#9a7c48" 92 | }, 93 | { 94 | "alt": 13000, 95 | "color": "#906a3b" 96 | }, 97 | { 98 | "alt": 16000, 99 | "color": "#7b5936" 100 | }, 101 | { 102 | "alt": 24000, 103 | "color": "#5a462e" 104 | }, 105 | { 106 | "alt": 32000, 107 | "color": "#abb0b5" 108 | } 109 | ] 110 | } -------------------------------------------------------------------------------- /src/packages/msfs2020-G3000-enhanced-std/html_ui/Pages/VCockpit/Instruments/NavSystems/AS3000/PFD/InnerMapConfig/mapConfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "waypointLabelFontSize": 70, 3 | "waypointLabelFontFamily": "Consolas", 4 | "waypointLabelColor": "#FFFFFF", 5 | "waypointLabelStrokeColor": "#3f3f3f", 6 | "waypointLabelStrokeWidth": 0, 7 | "waypointLabelUseBackground": true, 8 | "waypointLabelBackgroundColor": "#3f4851", 9 | "waypointLabelBackgroundStrokeColor": "black", 10 | "waypointLabelBackgroundStrokeWidth": 0, 11 | "waypointLabelBackgroundPadding": "4 9 4 9", 12 | "waypointLabelDistance": 12, 13 | "waypointIconSize": 250, 14 | 15 | "cityLabelFontSize": 60, 16 | "cityLabelFontFamily": "Consolas", 17 | "cityLabelColor": "#black", 18 | "cityLabelStrokeColor": "#3f3f3f", 19 | "cityLabelStrokeWidth": 0, 20 | "cityLabelUseBackground": false, 21 | "cityLabelBackgroundColor": "white", 22 | "cityLabelBackgroundStrokeColor": "red", 23 | "cityLabelBackgroundStrokeWidth": 10, 24 | "cityLabelBackgroundPadding": "7 12 0 12", 25 | "cityLabelDistance": 0.45, 26 | "cityIconSize": 90, 27 | 28 | "airplaneIconSize": 250, 29 | "airplaneIcon1": "ICON_MAP_PLANE", 30 | "airplaneIcon2": "ICON_MAP_PLANE", 31 | 32 | "imagesDir": "/Pages/VCockpit/Instruments/Shared/Map/Images/Outlined/", 33 | "delay": 1, 34 | 35 | "runwayFillColor": "white", 36 | "runwayStrokeColor": "gray", 37 | "runwayStrokeWidth": 3, 38 | "runwayCornerRadius": 8, 39 | "runwayMinimalWidth": 16, 40 | 41 | "latLonStrokeColor": "gray", 42 | "latLonStrokeWidth": 1, 43 | "latLonLabelFontFamily": "Consolas", 44 | "latLonLabelFontSize": 14, 45 | "latLonLabelColor": "white", 46 | "latLonLabelStrokeColor": "none", 47 | "latLonLabelStrokeWidth": 0, 48 | 49 | "flightPlanActiveLegColor": "#ed008c", 50 | "flightPlanActiveLegWidth": 6, 51 | "flightPlanActiveLegStrokeColor": "#3f3f3f", 52 | "flightPlanActiveLegStrokeWidth": 7, 53 | "flightPlanNonActiveLegColor": "#ffffff", 54 | "flightPlanNonActiveLegWidth": 6, 55 | "flightPlanNonActiveLegStrokeColor": "#3f3f3f", 56 | "flightPlanNonActiveLegStrokeWidth": 7, 57 | 58 | "roadMotorWayColor": "#7a7a7a", 59 | "roadMotorWayWidth": 3, 60 | "roadTrunkColor": "#7a7a7a", 61 | "roadTrunkWidth": 2, 62 | "roadPrimaryColor": "#7a7a7a", 63 | "roadPrimaryWidth": 1, 64 | 65 | "railwayStrokeColor": "gray", 66 | "railwayWidth": 2, 67 | "railwayDashLength": 6, 68 | 69 | "netBingTextureResolution": 1024, 70 | "netBingAltitudeColors1": [], 71 | "netBingWaterColor1": "#184b77", 72 | "netBingHeightColor1": [ 73 | { 74 | "alt": 0, 75 | "color": "#6DA36C" 76 | }, 77 | { 78 | "alt": 1500, 79 | "color": "#9CAF57" 80 | }, 81 | { 82 | "alt": 6000, 83 | "color": "#c8b46e" 84 | }, 85 | { 86 | "alt": 8000, 87 | "color": "#b0975b" 88 | }, 89 | { 90 | "alt": 10000, 91 | "color": "#9a7c48" 92 | }, 93 | { 94 | "alt": 13000, 95 | "color": "#906a3b" 96 | }, 97 | { 98 | "alt": 16000, 99 | "color": "#7b5936" 100 | }, 101 | { 102 | "alt": 24000, 103 | "color": "#5a462e" 104 | }, 105 | { 106 | "alt": 32000, 107 | "color": "#abb0b5" 108 | } 109 | ] 110 | } -------------------------------------------------------------------------------- /src/packages/msfs2020-G3000-enhanced-tbm/html_ui/Pages/VCockpit/Instruments/NavSystems/AS3000/PFD/InnerMapConfig_enhanced/mapConfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "waypointLabelFontSize": 70, 3 | "waypointLabelFontFamily": "Consolas", 4 | "waypointLabelColor": "#FFFFFF", 5 | "waypointLabelStrokeColor": "#3f3f3f", 6 | "waypointLabelStrokeWidth": 0, 7 | "waypointLabelUseBackground": true, 8 | "waypointLabelBackgroundColor": "#3f4851", 9 | "waypointLabelBackgroundStrokeColor": "black", 10 | "waypointLabelBackgroundStrokeWidth": 0, 11 | "waypointLabelBackgroundPadding": "4 9 4 9", 12 | "waypointLabelDistance": 12, 13 | "waypointIconSize": 250, 14 | 15 | "cityLabelFontSize": 60, 16 | "cityLabelFontFamily": "Consolas", 17 | "cityLabelColor": "#black", 18 | "cityLabelStrokeColor": "#3f3f3f", 19 | "cityLabelStrokeWidth": 0, 20 | "cityLabelUseBackground": false, 21 | "cityLabelBackgroundColor": "white", 22 | "cityLabelBackgroundStrokeColor": "red", 23 | "cityLabelBackgroundStrokeWidth": 10, 24 | "cityLabelBackgroundPadding": "7 12 0 12", 25 | "cityLabelDistance": 0.45, 26 | "cityIconSize": 90, 27 | 28 | "airplaneIconSize": 250, 29 | "airplaneIcon1": "ICON_MAP_PLANE", 30 | "airplaneIcon2": "ICON_MAP_PLANE", 31 | 32 | "imagesDir": "/Pages/VCockpit/Instruments/Shared/Map/Images/Outlined/", 33 | "delay": 1, 34 | 35 | "runwayFillColor": "white", 36 | "runwayStrokeColor": "gray", 37 | "runwayStrokeWidth": 3, 38 | "runwayCornerRadius": 8, 39 | "runwayMinimalWidth": 16, 40 | 41 | "latLonStrokeColor": "gray", 42 | "latLonStrokeWidth": 1, 43 | "latLonLabelFontFamily": "Consolas", 44 | "latLonLabelFontSize": 14, 45 | "latLonLabelColor": "white", 46 | "latLonLabelStrokeColor": "none", 47 | "latLonLabelStrokeWidth": 0, 48 | 49 | "flightPlanActiveLegColor": "#ed008c", 50 | "flightPlanActiveLegWidth": 6, 51 | "flightPlanActiveLegStrokeColor": "#3f3f3f", 52 | "flightPlanActiveLegStrokeWidth": 7, 53 | "flightPlanNonActiveLegColor": "#ffffff", 54 | "flightPlanNonActiveLegWidth": 6, 55 | "flightPlanNonActiveLegStrokeColor": "#3f3f3f", 56 | "flightPlanNonActiveLegStrokeWidth": 7, 57 | 58 | "roadMotorWayColor": "#7a7a7a", 59 | "roadMotorWayWidth": 3, 60 | "roadTrunkColor": "#7a7a7a", 61 | "roadTrunkWidth": 2, 62 | "roadPrimaryColor": "#7a7a7a", 63 | "roadPrimaryWidth": 1, 64 | 65 | "railwayStrokeColor": "gray", 66 | "railwayWidth": 2, 67 | "railwayDashLength": 6, 68 | 69 | "netBingTextureResolution": 1024, 70 | "netBingAltitudeColors1": [], 71 | "netBingWaterColor1": "#184b77", 72 | "netBingHeightColor1": [ 73 | { 74 | "alt": 0, 75 | "color": "#6DA36C" 76 | }, 77 | { 78 | "alt": 1500, 79 | "color": "#9CAF57" 80 | }, 81 | { 82 | "alt": 6000, 83 | "color": "#c8b46e" 84 | }, 85 | { 86 | "alt": 8000, 87 | "color": "#b0975b" 88 | }, 89 | { 90 | "alt": 10000, 91 | "color": "#9a7c48" 92 | }, 93 | { 94 | "alt": 13000, 95 | "color": "#906a3b" 96 | }, 97 | { 98 | "alt": 16000, 99 | "color": "#7b5936" 100 | }, 101 | { 102 | "alt": 24000, 103 | "color": "#5a462e" 104 | }, 105 | { 106 | "alt": 32000, 107 | "color": "#abb0b5" 108 | } 109 | ] 110 | } -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # msfs2020-G3000-enhanced Changelog 2 | 3 | ### v0.1.0 4 | **New Features** 5 | - \[MISC\] Added the ability to adjust backlighting via the G3000 touchscreen menu. 6 | - The menu adjustment will affect all G3000 screens (PFD, MFD, touchscreen) as well as backlighting of the PFD bezel keys (softkeys), and touchscreen knobs and bezel keys. 7 | - To change this setting, navigate to MFD Home -> Aircraft Systems -> Lighting Config. Use the slider or Inc/Dec buttons to adjust the backlight. 8 | - \[MISC\] Changed the default look of buttons on the touchscreen displays. 9 | - \[PFD\] PFD softkeys with disabled functionality are now displayed as grayed-out. 10 | - \[PFD\] Added the ability to toggle PFD inset map on/off. 11 | - To change this setting, use the PFD softkey menu to navigate to PFD Map Settings -> Map Layout, then select Map Off or Inset Map. 12 | - When the PFD inset map is disabled, associated softkeys will be automatically disabled until the map is turned back on. 13 | - \[PFD\] Added ability to enable NEXRAD weather overlay for PFD inset map. 14 | - To change this setting, use the PFD softkey menu to navigate to PFD Map Settings, then select WX Overlay. When the weather overlay is enabled, the softkey will display "NEXRAD". 15 | - \[MFD\] The wind display in the main navigational map will no longer show a bearing (arrow) if wind speed is less than 1 kt. The display will also now show NO WIND DATA if the aircraft is not moving. 16 | - \[NavMap\] Increased maximum range of the navigational map to 1000 NM. 17 | - \[NavMap\] Added the ability to change navigational map orientation to either Heading Up (the new default), Track Up, or North Up. 18 | - When Heading Up or Track Up is selected, the map will center itself slightly ahead of the aircraft along the current heading/track in order to increase the visible range of the map ahead of the aircraft. 19 | - To change this setting for the main navigational map, navigate to MFD Home -> Map Settings -> Map Orientation. 20 | - To change this setting for the PFD inset map, navigate to PFD Home -> PFD Map Settings -> Map Orientation. 21 | - \[NavMap\] Added the ability to choose between four declutter (detail) settings for the navigational map. 22 | - The available declutter levels are: **None**: All map elements visible, **DCLTR 1**: Roads and cities decluttered, **DCLTR 2**: DCLTR 1 plus airways, airspaces, and navaids decluttered, **Least**: Everything decluttered except flight plan waypoints. 23 | - To change this setting for the main navigational map, navigate to MFD Home -> Map Settings -> Map Detail. 24 | - To change this setting for the PFD inset map, navigate to PFD Home -> PFD Map Settings -> Map Detail, _or_ use the PFD softkey menu to navigate to PFD Map Settings, then select Detail. 25 | - \[NavMap\] Added the ability to sync map settings across the main navigational map and the PFD inset maps. 26 | - Currently it is not possible to independently configure the two PFD inset maps, so the only available sync option is "All". Also, the map settings will automatically sync based on the Map Setting menu from which the syncing was enabled: if enabled through the PFD Map Settings menu, all maps will sync to the PFD inset map; if enabled through the MFD Map Settings menu, all maps will sync to the main navigational map. Functionality may be brought closer to the real G3000 in a future update. 27 | - To change this setting, navigate to MFD Home -> Map Settings -> Map Sync or PFD Home -> PFD Map Settings -> Map Sync. 28 | - \[NavMap\] Added the ability to set the maximum range at which individual categories of symbols will display on the navigational map and the ability to toggle them off/on entirely. This gives finer control of what is displayed on the map than what DCLTR offers. 29 | - Currently, toggles and range settings are available for the following symbols: Airspaces (currently only one master setting for all airspaces), Airports (Small, Medium, and Large), VORs, NDBs, and Roads (Highway, Trunk, and Local). 30 | - To change this setting for the main navigational map, navigate to MFD Home -> Map Settings, then use the tabbed settings on the right side of the screen. 31 | - To change this setting for the main navigational map, navigate to PFD Home -> PFD Map Settings, then use the tabbed settings on the right side of the screen. 32 | - \[NAV/COM\] The Audio/Radio menu will now display station identifiers in the upper right-hand corner of the frequency box (the right-most column) for NAV1 and NAV2 when they are receiving a valid signal on the active frequency. 33 | 34 | **Fixes** 35 | - \[PFD\] Modified PFD softkey menus to be more accurate to the real G3000. 36 | - \[MFD\] The wind display in the main navigational map now shows the correct wind direction instead of being offset by 180 degrees. 37 | - \[MFD\] The navigational data bar will now display distance to the nearest 0.1 NM instead of 1 NM for distances less than 100 NM. 38 | - \[NavMap\] Adjusted formatting and location of the navigational map orientation and range displays to match the real G3000. 39 | - \[NavMap\] Improved drawing of road and airspace graphics in the navigational map. These should update much more smoothly as the map pans/rotates. -------------------------------------------------------------------------------- /src/dev/working/layout.json: -------------------------------------------------------------------------------- 1 | { 2 | "content": [ 3 | { 4 | "path": "html_ui/Pages/VCockpit/Instruments/NavSystems/AS3000/AS3000_Common.js", 5 | "size": 31531, 6 | "date": 132455472490000000 7 | }, 8 | { 9 | "path": "html_ui/Pages/VCockpit/Instruments/NavSystems/AS3000/MFD/AS3000_MFD.css", 10 | "size": 31531, 11 | "date": 132455472490000000 12 | }, 13 | { 14 | "path": "html_ui/Pages/VCockpit/Instruments/NavSystems/AS3000/MFD/AS3000_MFD.html", 15 | "size": 31531, 16 | "date": 132455472490000000 17 | }, 18 | { 19 | "path": "html_ui/Pages/VCockpit/Instruments/NavSystems/AS3000/MFD/AS3000_MFD.js", 20 | "size": 31531, 21 | "date": 132455472490000000 22 | }, 23 | { 24 | "path": "html_ui/Pages/VCockpit/Instruments/NavSystems/AS3000/PFD/AS3000_PFD.css", 25 | "size": 31531, 26 | "date": 132455472490000000 27 | }, 28 | { 29 | "path": "html_ui/Pages/VCockpit/Instruments/NavSystems/AS3000/PFD/AS3000_PFD.html", 30 | "size": 31531, 31 | "date": 132455472490000000 32 | }, 33 | { 34 | "path": "html_ui/Pages/VCockpit/Instruments/NavSystems/AS3000/PFD/AS3000_PFD.js", 35 | "size": 31531, 36 | "date": 132455472490000000 37 | }, 38 | { 39 | "path": "html_ui/Pages/VCockpit/Instruments/NavSystems/AS3000/PFD/InnerMapConfig/mapConfig.json", 40 | "size": 2780, 41 | "date": 132455472490000000 42 | }, 43 | { 44 | "path": "html_ui/Pages/VCockpit/Instruments/NavSystems/AS3000/TSC/AS3000_TSC_Common.js", 45 | "size": 152909, 46 | "date": 132455472490000000 47 | }, 48 | { 49 | "path": "html_ui/Pages/VCockpit/Instruments/NavSystems/AS3000/TSC/Horizontal/AS3000_TSC_Horizontal.css", 50 | "size": 115868, 51 | "date": 132455472490000000 52 | }, 53 | { 54 | "path": "html_ui/Pages/VCockpit/Instruments/NavSystems/AS3000/TSC/Horizontal/AS3000_TSC_Horizontal.html", 55 | "size": 127887, 56 | "date": 132455472490000000 57 | }, 58 | { 59 | "path": "ModelBehaviorDefs/Asobo/GlassCockpit/AS3000.xml", 60 | "size": 31295, 61 | "date": 132455472490000000 62 | }, 63 | { 64 | "path": "ModelBehaviorDefs/Asobo/GlassCockpit/AS580.xml", 65 | "size": 8446, 66 | "date": 132455472490000000 67 | }, 68 | { 69 | "path": "html_ui/Pages/VCockpit/Instruments/Shared/Map/MapInstrumentEnhanced.css", 70 | "size": 1819, 71 | "date": 132455472490000000 72 | }, 73 | { 74 | "path": "html_ui/Pages/VCockpit/Instruments/Shared/Map/MapInstrumentEnhanced.html", 75 | "size": 4535, 76 | "date": 132455472490000000 77 | }, 78 | { 79 | "path": "html_ui/Pages/VCockpit/Instruments/Shared/Map/MapInstrumentEnhanced.js", 80 | "size": 64393, 81 | "date": 132455472490000000 82 | }, 83 | { 84 | "path": "html_ui/Pages/VCockpit/Instruments/Shared/Map/Svg/SvgAirplaneElementEnhanced.js", 85 | "size": 22648, 86 | "date": 132455472490000000 87 | }, 88 | { 89 | "path": "html_ui/Pages/VCockpit/Instruments/Shared/Map/Svg/SvgMapEnhanced.js", 90 | "size": 22648, 91 | "date": 132455472490000000 92 | }, 93 | { 94 | "path": "html_ui/Pages/VCockpit/Instruments/Shared/Map/Svg/SvgRoadNetworkElementEnhanced.js", 95 | "size": 22648, 96 | "date": 132455472490000000 97 | }, 98 | { 99 | "path": "html_ui/Pages/VCockpit/Instruments/NavSystems/Shared/Images/TSC/Icons/ICON_ARROW_LEFT_MINUS.png", 100 | "size": 935, 101 | "date": 132455472490000000 102 | }, 103 | { 104 | "path": "html_ui/Pages/VCockpit/Instruments/NavSystems/Shared/Images/TSC/Icons/ICON_ARROW_RIGHT_PLUS.png", 105 | "size": 1057, 106 | "date": 132455472490000000 107 | }, 108 | { 109 | "path": "html_ui/Pages/VCockpit/Instruments/NavSystems/Shared/Images/TSC/Icons/ICON_ARROW_DOWN_MINUS.png", 110 | "size": 1057, 111 | "date": 132455472490000000 112 | }, 113 | { 114 | "path": "html_ui/Pages/VCockpit/Instruments/NavSystems/Shared/Images/TSC/Icons/ICON_ARROW_UP_PLUS.png", 115 | "size": 1057, 116 | "date": 132455472490000000 117 | }, 118 | { 119 | "path": "html_ui/Pages/VCockpit/Instruments/NavSystems/Shared/Images/TSC/Icons/ICON_MAPDETAIL_SMALL_1.png", 120 | "size": 1207, 121 | "date": 132455472490000000 122 | }, 123 | { 124 | "path": "html_ui/Pages/VCockpit/Instruments/NavSystems/Shared/Images/TSC/Icons/ICON_MAPDETAIL_SMALL_2.png", 125 | "size": 1207, 126 | "date": 132455472490000000 127 | }, 128 | { 129 | "path": "html_ui/Pages/VCockpit/Instruments/NavSystems/Shared/Images/TSC/Icons/ICON_MAPDETAIL_SMALL_3.png", 130 | "size": 1207, 131 | "date": 132455472490000000 132 | }, 133 | { 134 | "path": "html_ui/Pages/VCockpit/Instruments/NavSystems/Shared/Images/TSC/Icons/ICON_MAPDETAIL_SMALL_4.png", 135 | "size": 1207, 136 | "date": 132455472490000000 137 | }, 138 | { 139 | "path": "html_ui/Pages/VCockpit/Instruments/NavSystems/Shared/Images/TSC/Icons/GRADIENT_TRIANGLE_HORIZ_BLUE.png", 140 | "size": 1207, 141 | "date": 132455472490000000 142 | }, 143 | { 144 | "path": "html_ui/Pages/VCockpit/Instruments/NavSystems/Shared/Images/TSC/Icons/GRADIENT_TRIANGLE_VERT_BLUE_GRAD2.png", 145 | "size": 1207, 146 | "date": 132455472490000000 147 | } 148 | ] 149 | } -------------------------------------------------------------------------------- /src/dev/working/html_ui/Pages/VCockpit/Instruments/Shared/Map/MapInstrumentEnhanced.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | -------------------------------------------------------------------------------- /src/packages/msfs2020-G3000-enhanced-std/html_ui/Pages/VCockpit/Instruments/Shared/Map/MapInstrumentEnhanced.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | -------------------------------------------------------------------------------- /src/packages/msfs2020-G3000-enhanced-tbm/html_ui/Pages/VCockpit/Instruments/Shared/Map/MapInstrumentEnhanced.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | -------------------------------------------------------------------------------- /src/dev/working/html_ui/Pages/VCockpit/Instruments/NavSystems/AS3000/MFD/AS3000_MFD.html: -------------------------------------------------------------------------------- 1 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | -------------------------------------------------------------------------------- /src/dev/tbm/html_ui/Pages/VCockpit/Instruments/NavSystems/AS3000/MFD/AS3000_MFD_enhanced.html: -------------------------------------------------------------------------------- 1 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | -------------------------------------------------------------------------------- /src/packages/msfs2020-G3000-enhanced-std/html_ui/Pages/VCockpit/Instruments/NavSystems/AS3000/MFD/AS3000_MFD.html: -------------------------------------------------------------------------------- 1 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | -------------------------------------------------------------------------------- /src/packages/msfs2020-G3000-enhanced-tbm/html_ui/Pages/VCockpit/Instruments/NavSystems/AS3000/MFD/AS3000_MFD_enhanced.html: -------------------------------------------------------------------------------- 1 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | -------------------------------------------------------------------------------- /src/packages/msfs2020-G3000-enhanced-std/layout.json: -------------------------------------------------------------------------------- 1 | { 2 | "content": [ 3 | { 4 | "path": "html_ui/Pages/VCockpit/Instruments/NavSystems/AS3000/AS3000_Common.js", 5 | "size": 12416, 6 | "date": 132462388217099174 7 | }, 8 | { 9 | "path": "html_ui/Pages/VCockpit/Instruments/NavSystems/AS3000/MFD/AS3000_MFD.css", 10 | "size": 10155, 11 | "date": 132462395644961892 12 | }, 13 | { 14 | "path": "html_ui/Pages/VCockpit/Instruments/NavSystems/AS3000/MFD/AS3000_MFD.html", 15 | "size": 5841, 16 | "date": 132462390543195916 17 | }, 18 | { 19 | "path": "html_ui/Pages/VCockpit/Instruments/NavSystems/AS3000/MFD/AS3000_MFD.js", 20 | "size": 35786, 21 | "date": 132462500389199498 22 | }, 23 | { 24 | "path": "html_ui/Pages/VCockpit/Instruments/NavSystems/AS3000/PFD/AS3000_PFD.css", 25 | "size": 32600, 26 | "date": 132458221554522756 27 | }, 28 | { 29 | "path": "html_ui/Pages/VCockpit/Instruments/NavSystems/AS3000/PFD/AS3000_PFD.html", 30 | "size": 11581, 31 | "date": 132461686883495160 32 | }, 33 | { 34 | "path": "html_ui/Pages/VCockpit/Instruments/NavSystems/AS3000/PFD/AS3000_PFD.js", 35 | "size": 18714, 36 | "date": 132462500297198202 37 | }, 38 | { 39 | "path": "html_ui/Pages/VCockpit/Instruments/NavSystems/AS3000/PFD/InnerMapConfig/mapConfig.json", 40 | "size": 2780, 41 | "date": 132458221554532752 42 | }, 43 | { 44 | "path": "html_ui/Pages/VCockpit/Instruments/NavSystems/AS3000/TSC/AS3000_TSC_Common.js", 45 | "size": 184037, 46 | "date": 132462500527560792 47 | }, 48 | { 49 | "path": "html_ui/Pages/VCockpit/Instruments/NavSystems/AS3000/TSC/Horizontal/AS3000_TSC_Horizontal.css", 50 | "size": 131555, 51 | "date": 132461686883515162 52 | }, 53 | { 54 | "path": "html_ui/Pages/VCockpit/Instruments/NavSystems/AS3000/TSC/Horizontal/AS3000_TSC_Horizontal.html", 55 | "size": 143719, 56 | "date": 132462492522634268 57 | }, 58 | { 59 | "path": "html_ui/Pages/VCockpit/Instruments/NavSystems/Shared/Images/TSC/Icons/GRADIENT_TRIANGLE_HORIZ_BLUE.png", 60 | "size": 1207, 61 | "date": 132456497662648932 62 | }, 63 | { 64 | "path": "html_ui/Pages/VCockpit/Instruments/NavSystems/Shared/Images/TSC/Icons/GRADIENT_TRIANGLE_VERT_BLUE_GRAD2.png", 65 | "size": 1300, 66 | "date": 132460002448064754 67 | }, 68 | { 69 | "path": "html_ui/Pages/VCockpit/Instruments/NavSystems/Shared/Images/TSC/Icons/ICON_ARROW_DOWN_MINUS.png", 70 | "size": 1254, 71 | "date": 132460002448089756 72 | }, 73 | { 74 | "path": "html_ui/Pages/VCockpit/Instruments/NavSystems/Shared/Images/TSC/Icons/ICON_ARROW_LEFT_MINUS.png", 75 | "size": 935, 76 | "date": 132456320063975818 77 | }, 78 | { 79 | "path": "html_ui/Pages/VCockpit/Instruments/NavSystems/Shared/Images/TSC/Icons/ICON_ARROW_RIGHT_PLUS.png", 80 | "size": 1057, 81 | "date": 132456321005750342 82 | }, 83 | { 84 | "path": "html_ui/Pages/VCockpit/Instruments/NavSystems/Shared/Images/TSC/Icons/ICON_ARROW_UP_PLUS.png", 85 | "size": 1316, 86 | "date": 132460002448119766 87 | }, 88 | { 89 | "path": "html_ui/Pages/VCockpit/Instruments/NavSystems/Shared/Images/TSC/Icons/ICON_MAPDETAIL_SMALL_1.png", 90 | "size": 485, 91 | "date": 132460002448139774 92 | }, 93 | { 94 | "path": "html_ui/Pages/VCockpit/Instruments/NavSystems/Shared/Images/TSC/Icons/ICON_MAPDETAIL_SMALL_2.png", 95 | "size": 587, 96 | "date": 132460002448164772 97 | }, 98 | { 99 | "path": "html_ui/Pages/VCockpit/Instruments/NavSystems/Shared/Images/TSC/Icons/ICON_MAPDETAIL_SMALL_3.png", 100 | "size": 697, 101 | "date": 132460002448194782 102 | }, 103 | { 104 | "path": "html_ui/Pages/VCockpit/Instruments/NavSystems/Shared/Images/TSC/Icons/ICON_MAPDETAIL_SMALL_4.png", 105 | "size": 751, 106 | "date": 132460002448299798 107 | }, 108 | { 109 | "path": "html_ui/Pages/VCockpit/Instruments/Shared/Map/MapInstrumentEnhanced.css", 110 | "size": 2014, 111 | "date": 132461686883530174 112 | }, 113 | { 114 | "path": "html_ui/Pages/VCockpit/Instruments/Shared/Map/MapInstrumentEnhanced.html", 115 | "size": 5734, 116 | "date": 132462402679203352 117 | }, 118 | { 119 | "path": "html_ui/Pages/VCockpit/Instruments/Shared/Map/MapInstrumentEnhanced.js", 120 | "size": 36054, 121 | "date": 132462367192192180 122 | }, 123 | { 124 | "path": "html_ui/Pages/VCockpit/Instruments/Shared/Map/Svg/SvgAirplaneElementEnhanced.js", 125 | "size": 9311, 126 | "date": 132461686883540172 127 | }, 128 | { 129 | "path": "html_ui/Pages/VCockpit/Instruments/Shared/Map/Svg/SvgMapEnhanced.js", 130 | "size": 12561, 131 | "date": 132462350257886190 132 | }, 133 | { 134 | "path": "html_ui/Pages/VCockpit/Instruments/Shared/Map/Svg/SvgRoadNetworkElementEnhanced.js", 135 | "size": 16412, 136 | "date": 132462392779020912 137 | }, 138 | { 139 | "path": "ModelBehaviorDefs/Asobo/GlassCockpit/AS3000.xml", 140 | "size": 31458, 141 | "date": 132462431730312832 142 | }, 143 | { 144 | "path": "ModelBehaviorDefs/Asobo/GlassCockpit/AS580.xml", 145 | "size": 8667, 146 | "date": 132460002447824714 147 | } 148 | ] 149 | } -------------------------------------------------------------------------------- /src/packages/msfs2020-G3000-enhanced-tbm/layout.json: -------------------------------------------------------------------------------- 1 | { 2 | "content": [ 3 | { 4 | "path": "html_ui/Pages/VCockpit/Instruments/NavSystems/AS3000/AS3000_Common.js", 5 | "size": 12416, 6 | "date": 132462388217099174 7 | }, 8 | { 9 | "path": "html_ui/Pages/VCockpit/Instruments/NavSystems/AS3000/MFD/AS3000_MFD_enhanced.css", 10 | "size": 10155, 11 | "date": 132462395644961892 12 | }, 13 | { 14 | "path": "html_ui/Pages/VCockpit/Instruments/NavSystems/AS3000/MFD/AS3000_MFD_enhanced.html", 15 | "size": 5859, 16 | "date": 132462413267493358 17 | }, 18 | { 19 | "path": "html_ui/Pages/VCockpit/Instruments/NavSystems/AS3000/MFD/AS3000_MFD_enhanced.js", 20 | "size": 35786, 21 | "date": 132462495867316204 22 | }, 23 | { 24 | "path": "html_ui/Pages/VCockpit/Instruments/NavSystems/AS3000/PFD/AS3000_PFD_enhanced.css", 25 | "size": 32600, 26 | "date": 132458221554522756 27 | }, 28 | { 29 | "path": "html_ui/Pages/VCockpit/Instruments/NavSystems/AS3000/PFD/AS3000_PFD_enhanced.html", 30 | "size": 11608, 31 | "date": 132462412894810788 32 | }, 33 | { 34 | "path": "html_ui/Pages/VCockpit/Instruments/NavSystems/AS3000/PFD/AS3000_PFD_enhanced.js", 35 | "size": 18714, 36 | "date": 132462495758016088 37 | }, 38 | { 39 | "path": "html_ui/Pages/VCockpit/Instruments/NavSystems/AS3000/PFD/InnerMapConfig_enhanced/mapConfig.json", 40 | "size": 2780, 41 | "date": 132458221554532752 42 | }, 43 | { 44 | "path": "html_ui/Pages/VCockpit/Instruments/NavSystems/AS3000/TSC/AS3000_TSC_Common_enhanced.js", 45 | "size": 184037, 46 | "date": 132462493805298062 47 | }, 48 | { 49 | "path": "html_ui/Pages/VCockpit/Instruments/NavSystems/AS3000/TSC/Horizontal/AS3000_TSC_Horizontal.css", 50 | "size": 131555, 51 | "date": 132461686883515162 52 | }, 53 | { 54 | "path": "html_ui/Pages/VCockpit/Instruments/NavSystems/AS3000/TSC/Horizontal/AS3000_TSC_Horizontal.html", 55 | "size": 143728, 56 | "date": 132462412037359118 57 | }, 58 | { 59 | "path": "html_ui/Pages/VCockpit/Instruments/NavSystems/Shared/Images/TSC/Icons/GRADIENT_TRIANGLE_HORIZ_BLUE.png", 60 | "size": 1207, 61 | "date": 132456497662648932 62 | }, 63 | { 64 | "path": "html_ui/Pages/VCockpit/Instruments/NavSystems/Shared/Images/TSC/Icons/GRADIENT_TRIANGLE_VERT_BLUE_GRAD2.png", 65 | "size": 1300, 66 | "date": 132460002448064754 67 | }, 68 | { 69 | "path": "html_ui/Pages/VCockpit/Instruments/NavSystems/Shared/Images/TSC/Icons/ICON_ARROW_DOWN_MINUS.png", 70 | "size": 1254, 71 | "date": 132460002448089756 72 | }, 73 | { 74 | "path": "html_ui/Pages/VCockpit/Instruments/NavSystems/Shared/Images/TSC/Icons/ICON_ARROW_LEFT_MINUS.png", 75 | "size": 935, 76 | "date": 132456320063975818 77 | }, 78 | { 79 | "path": "html_ui/Pages/VCockpit/Instruments/NavSystems/Shared/Images/TSC/Icons/ICON_ARROW_RIGHT_PLUS.png", 80 | "size": 1057, 81 | "date": 132456321005750342 82 | }, 83 | { 84 | "path": "html_ui/Pages/VCockpit/Instruments/NavSystems/Shared/Images/TSC/Icons/ICON_ARROW_UP_PLUS.png", 85 | "size": 1316, 86 | "date": 132460002448119766 87 | }, 88 | { 89 | "path": "html_ui/Pages/VCockpit/Instruments/NavSystems/Shared/Images/TSC/Icons/ICON_MAPDETAIL_SMALL_1.png", 90 | "size": 485, 91 | "date": 132460002448139774 92 | }, 93 | { 94 | "path": "html_ui/Pages/VCockpit/Instruments/NavSystems/Shared/Images/TSC/Icons/ICON_MAPDETAIL_SMALL_2.png", 95 | "size": 587, 96 | "date": 132460002448164772 97 | }, 98 | { 99 | "path": "html_ui/Pages/VCockpit/Instruments/NavSystems/Shared/Images/TSC/Icons/ICON_MAPDETAIL_SMALL_3.png", 100 | "size": 697, 101 | "date": 132460002448194782 102 | }, 103 | { 104 | "path": "html_ui/Pages/VCockpit/Instruments/NavSystems/Shared/Images/TSC/Icons/ICON_MAPDETAIL_SMALL_4.png", 105 | "size": 751, 106 | "date": 132460002448299798 107 | }, 108 | { 109 | "path": "html_ui/Pages/VCockpit/Instruments/Shared/Map/MapInstrumentEnhanced.css", 110 | "size": 2014, 111 | "date": 132461686883530174 112 | }, 113 | { 114 | "path": "html_ui/Pages/VCockpit/Instruments/Shared/Map/MapInstrumentEnhanced.html", 115 | "size": 5734, 116 | "date": 132462402679203352 117 | }, 118 | { 119 | "path": "html_ui/Pages/VCockpit/Instruments/Shared/Map/MapInstrumentEnhanced.js", 120 | "size": 36054, 121 | "date": 132462367192192180 122 | }, 123 | { 124 | "path": "html_ui/Pages/VCockpit/Instruments/Shared/Map/Svg/SvgAirplaneElementEnhanced.js", 125 | "size": 9311, 126 | "date": 132461686883540172 127 | }, 128 | { 129 | "path": "html_ui/Pages/VCockpit/Instruments/Shared/Map/Svg/SvgMapEnhanced.js", 130 | "size": 12561, 131 | "date": 132462350257886190 132 | }, 133 | { 134 | "path": "html_ui/Pages/VCockpit/Instruments/Shared/Map/Svg/SvgRoadNetworkElementEnhanced.js", 135 | "size": 16412, 136 | "date": 132462392779020912 137 | }, 138 | { 139 | "path": "SimObjects/Airplanes/Asobo_TBM930/model/TBM930_interior.xml", 140 | "size": 92390, 141 | "date": 132461791577803026 142 | }, 143 | { 144 | "path": "SimObjects/Airplanes/Asobo_TBM930/panel/PANEL.CFG", 145 | "size": 1751, 146 | "date": 132461776579059556 147 | }, 148 | { 149 | "path": "ModelBehaviorDefs/Asobo/GlassCockpit/AS3000_enhanced.xml", 150 | "size": 31405, 151 | "date": 132462425118466978 152 | }, 153 | { 154 | "path": "ModelBehaviorDefs/Asobo/GlassCockpit/AS580_enhanced.xml", 155 | "size": 8667, 156 | "date": 132460002447824714 157 | } 158 | ] 159 | } -------------------------------------------------------------------------------- /src/dev/working/ModelBehaviorDefs/Asobo/GlassCockpit/AS580.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 174 | -------------------------------------------------------------------------------- /src/dev/tbm/ModelBehaviorDefs/Asobo/GlassCockpit/AS580_enhanced.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 174 | -------------------------------------------------------------------------------- /src/packages/msfs2020-G3000-enhanced-std/ModelBehaviorDefs/Asobo/GlassCockpit/AS580.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 174 | -------------------------------------------------------------------------------- /src/packages/msfs2020-G3000-enhanced-tbm/ModelBehaviorDefs/Asobo/GlassCockpit/AS580_enhanced.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 174 | -------------------------------------------------------------------------------- /src/dev/working/html_ui/Pages/VCockpit/Instruments/Shared/Map/Svg/SvgAirplaneElementEnhanced.js: -------------------------------------------------------------------------------- 1 | class SvgAirplaneElementEnhanced extends SvgAirplaneElement { 2 | constructor() { 3 | super(); 4 | } 5 | 6 | updateDraw(map) { 7 | let track = map.planeDirection; 8 | if (this._forcePosAndRot) { 9 | let rotation = "rotate(" + fastToFixed(this._forcedRot, 1) + " " + fastToFixed((map.config.airplaneIconSize * 0.5), 1) + " " + fastToFixed((map.config.airplaneIconSize * 0.5), 1) + ")"; 10 | this.svgElement.children[0].setAttribute("transform", rotation); 11 | } 12 | else if (map.orientation != "hdg") { 13 | if (this._lastTrack !== track && isFinite(track)) { 14 | if (this.svgElement.children[0]) { 15 | this._lastTrack = track; 16 | let rotation = "rotate(" + fastToFixed(track + map.rotation, 1) + " " + fastToFixed((map.config.airplaneIconSize * 0.5), 1) + " " + fastToFixed((map.config.airplaneIconSize * 0.5), 1) + ")"; 17 | this.svgElement.children[0].setAttribute("transform", rotation); 18 | } 19 | } 20 | } 21 | else { 22 | this._lastTrack = NaN; 23 | this.svgElement.children[0].removeAttribute("transform"); 24 | } 25 | if (this._forcePosAndRot) { 26 | this.svgElement.setAttribute("x", fastToFixed(500 + this._forcedPos.x - map.config.airplaneIconSize * 0.5, 1)); 27 | this.svgElement.setAttribute("y", fastToFixed(500 + this._forcedPos.y - map.config.airplaneIconSize * 0.5, 1)); 28 | } 29 | else { 30 | if (this._forceCoordinates) { 31 | map.coordinatesToXYToRef(this._forcedCoordinates, this._pos); 32 | this._forceCoordinates = false; 33 | } 34 | else { 35 | map.coordinatesToXYToRef(map.planeCoordinates, this._pos); 36 | } 37 | if (isFinite(this._pos.x) && isFinite(this._pos.y)) { 38 | this.svgElement.setAttribute("x", fastToFixed((this._pos.x - map.config.airplaneIconSize * 0.5), 1)); 39 | this.svgElement.setAttribute("y", fastToFixed((this._pos.y - map.config.airplaneIconSize * 0.5), 1)); 40 | } 41 | } 42 | } 43 | } 44 | 45 | class NPCAirplaneManagerEnhanced { 46 | constructor() { 47 | this.npcAirplanes = []; 48 | this.useTCAS = false; 49 | this._timer = Infinity; 50 | } 51 | update() { 52 | this._timer++; 53 | if (this._timer >= 60) { 54 | this._timer = 0; 55 | Coherent.call("GET_AIR_TRAFFIC").then((obj) => { 56 | for (let i = 0; i < this.npcAirplanes.length; i++) { 57 | let npcAirplane = this.npcAirplanes[i]; 58 | npcAirplane.alive = 0; 59 | } 60 | for (let i = 0; i < obj.length; i++) { 61 | let data = obj[i]; 62 | let npcAirplane = this.npcAirplanes.find(p => { return p.name === data.uId.toFixed(0); }); 63 | if (!npcAirplane) { 64 | npcAirplane = new SvgNPCAirplaneElementEnhanced(data.uId.toFixed(0)); 65 | npcAirplane.useTCAS = this.useTCAS; 66 | this.npcAirplanes.push(npcAirplane); 67 | } 68 | npcAirplane.alive = 3; 69 | npcAirplane.targetLat = obj[i].lat; 70 | npcAirplane.targetLon = obj[i].lon; 71 | npcAirplane.targetAlt = obj[i].alt; 72 | npcAirplane.targetHeading = obj[i].heading; 73 | if (isFinite(npcAirplane.lat) && isFinite(npcAirplane.lon) && isFinite(npcAirplane.alt)) { 74 | npcAirplane.deltaLat = (npcAirplane.targetLat - npcAirplane.lat) / 60; 75 | npcAirplane.deltaLon = (npcAirplane.targetLon - npcAirplane.lon) / 60; 76 | npcAirplane.deltaAlt = (npcAirplane.targetAlt - npcAirplane.alt) / 60; 77 | npcAirplane.targetHeading = Math.atan(npcAirplane.deltaLon / npcAirplane.deltaLat / Math.cos(npcAirplane.targetLat * Avionics.Utils.DEG2RAD)) * Avionics.Utils.RAD2DEG; 78 | if (npcAirplane.deltaLat < 0) { 79 | npcAirplane.targetHeading += 180; 80 | } 81 | } 82 | } 83 | }); 84 | } 85 | for (let i = 0; i < this.npcAirplanes.length; i++) { 86 | let npcAirplane = this.npcAirplanes[i]; 87 | npcAirplane.alive -= 1 / 60; 88 | if (npcAirplane.alive < 0) { 89 | this.npcAirplanes.splice(i, 1); 90 | i--; 91 | } 92 | else { 93 | if (isFinite(npcAirplane.lat) && isFinite(npcAirplane.lon) && isFinite(npcAirplane.heading)) { 94 | npcAirplane.lat += npcAirplane.deltaLat; 95 | npcAirplane.lon += npcAirplane.deltaLon; 96 | npcAirplane.alt += npcAirplane.deltaAlt; 97 | let deltaHeading = Avionics.Utils.angleDiff(npcAirplane.heading, npcAirplane.targetHeading); 98 | if (deltaHeading > 60) { 99 | npcAirplane.heading = npcAirplane.targetHeading; 100 | } 101 | else { 102 | npcAirplane.heading = Avionics.Utils.lerpAngle(npcAirplane.heading, npcAirplane.targetHeading, 1 / 60); 103 | } 104 | } 105 | else { 106 | npcAirplane.lat = npcAirplane.targetLat; 107 | npcAirplane.lon = npcAirplane.targetLon; 108 | npcAirplane.alt = npcAirplane.targetAlt; 109 | npcAirplane.heading = npcAirplane.targetHeading; 110 | } 111 | } 112 | } 113 | } 114 | } 115 | 116 | class SvgNPCAirplaneElementEnhanced extends SvgNPCAirplaneElement { 117 | constructor(name = "") { 118 | super(name); 119 | } 120 | 121 | updateDraw(map) { 122 | if (this._delay > 0) { 123 | this._delay--; 124 | this.svgElement.setAttribute("x", "-1000"); 125 | this.svgElement.setAttribute("y", "-1000"); 126 | return; 127 | } 128 | if (!this.useTCAS) { 129 | if (this._lastHeading !== this.heading && isFinite(this.heading)) { 130 | if (this.svgElement.children[0]) { 131 | this._lastHeading = this.heading; 132 | let angle = this.heading; 133 | if (map.orientation != "north") { 134 | angle += map.rotation; 135 | } 136 | let rotation = "rotate(" + fastToFixed(angle, 1) + " " + fastToFixed((map.config.airplaneIconSize * 0.7 * 0.5), 1) + " " + fastToFixed((map.config.airplaneIconSize * 0.7 * 0.5), 1) + ")"; 137 | this.svgElement.children[0].setAttribute("transform", rotation); 138 | } 139 | } 140 | } 141 | map.coordinatesToXYToRef(new LatLong(this.lat, this.lon), this._pos); 142 | if (isFinite(this._pos.x) && isFinite(this._pos.y)) { 143 | this.svgElement.setAttribute("x", fastToFixed((this._pos.x - map.config.airplaneIconSize * 0.7 * 0.5), 1)); 144 | this.svgElement.setAttribute("y", fastToFixed((this._pos.y - map.config.airplaneIconSize * 0.7 * 0.5), 1)); 145 | } 146 | if (this.useTCAS) { 147 | let altitudeAGL = map.planeAltitude; 148 | let deltaAltitude = Math.abs(altitudeAGL - this.alt); 149 | let distanceHorizontal = Avionics.Utils.computeDistance(new LatLong(this.lat, this.lon), map.planeCoordinates); 150 | if (distanceHorizontal < 2 && altitudeAGL > 1000 && deltaAltitude < 800) { 151 | if (this._lastCase !== 0) { 152 | this._image.setAttributeNS("http://www.w3.org/1999/xlink", "href", map.config.imagesDir + "ICON_MAP_TCAS_RA_A320.svg"); 153 | this.svgElement.setAttribute("visibility", "visible"); 154 | this._lastCase = 0; 155 | } 156 | } 157 | else if (distanceHorizontal < 4 && altitudeAGL > 500 && deltaAltitude < 1000) { 158 | if (this._lastCase !== 1) { 159 | this._image.setAttributeNS("http://www.w3.org/1999/xlink", "href", map.config.imagesDir + "ICON_MAP_TCAS_TA_A320.svg"); 160 | this.svgElement.setAttribute("visibility", "visible"); 161 | this._lastCase = 1; 162 | } 163 | } 164 | else if (distanceHorizontal < 6 && deltaAltitude < 1200) { 165 | if (this._lastCase !== 2) { 166 | this._image.setAttributeNS("http://www.w3.org/1999/xlink", "href", map.config.imagesDir + "ICON_MAP_TCAS_PROX_A320.svg"); 167 | this.svgElement.setAttribute("visibility", "visible"); 168 | this._lastCase = 2; 169 | } 170 | } 171 | else if (distanceHorizontal < 30 && deltaAltitude < 2700) { 172 | if (this._lastCase !== 3) { 173 | this._image.setAttributeNS("http://www.w3.org/1999/xlink", "href", map.config.imagesDir + "ICON_MAP_TCAS_OTHER_A320.svg"); 174 | this.svgElement.setAttribute("visibility", "visible"); 175 | this._lastCase = 3; 176 | } 177 | } 178 | else { 179 | if (this._lastCase !== 4) { 180 | this.svgElement.setAttribute("visibility", "hidden"); 181 | this._lastCase = 4; 182 | } 183 | } 184 | } 185 | } 186 | } -------------------------------------------------------------------------------- /src/packages/msfs2020-G3000-enhanced-std/html_ui/Pages/VCockpit/Instruments/Shared/Map/Svg/SvgAirplaneElementEnhanced.js: -------------------------------------------------------------------------------- 1 | class SvgAirplaneElementEnhanced extends SvgAirplaneElement { 2 | constructor() { 3 | super(); 4 | } 5 | 6 | updateDraw(map) { 7 | let track = map.planeDirection; 8 | if (this._forcePosAndRot) { 9 | let rotation = "rotate(" + fastToFixed(this._forcedRot, 1) + " " + fastToFixed((map.config.airplaneIconSize * 0.5), 1) + " " + fastToFixed((map.config.airplaneIconSize * 0.5), 1) + ")"; 10 | this.svgElement.children[0].setAttribute("transform", rotation); 11 | } 12 | else if (map.orientation != "hdg") { 13 | if (this._lastTrack !== track && isFinite(track)) { 14 | if (this.svgElement.children[0]) { 15 | this._lastTrack = track; 16 | let rotation = "rotate(" + fastToFixed(track + map.rotation, 1) + " " + fastToFixed((map.config.airplaneIconSize * 0.5), 1) + " " + fastToFixed((map.config.airplaneIconSize * 0.5), 1) + ")"; 17 | this.svgElement.children[0].setAttribute("transform", rotation); 18 | } 19 | } 20 | } 21 | else { 22 | this._lastTrack = NaN; 23 | this.svgElement.children[0].removeAttribute("transform"); 24 | } 25 | if (this._forcePosAndRot) { 26 | this.svgElement.setAttribute("x", fastToFixed(500 + this._forcedPos.x - map.config.airplaneIconSize * 0.5, 1)); 27 | this.svgElement.setAttribute("y", fastToFixed(500 + this._forcedPos.y - map.config.airplaneIconSize * 0.5, 1)); 28 | } 29 | else { 30 | if (this._forceCoordinates) { 31 | map.coordinatesToXYToRef(this._forcedCoordinates, this._pos); 32 | this._forceCoordinates = false; 33 | } 34 | else { 35 | map.coordinatesToXYToRef(map.planeCoordinates, this._pos); 36 | } 37 | if (isFinite(this._pos.x) && isFinite(this._pos.y)) { 38 | this.svgElement.setAttribute("x", fastToFixed((this._pos.x - map.config.airplaneIconSize * 0.5), 1)); 39 | this.svgElement.setAttribute("y", fastToFixed((this._pos.y - map.config.airplaneIconSize * 0.5), 1)); 40 | } 41 | } 42 | } 43 | } 44 | 45 | class NPCAirplaneManagerEnhanced { 46 | constructor() { 47 | this.npcAirplanes = []; 48 | this.useTCAS = false; 49 | this._timer = Infinity; 50 | } 51 | update() { 52 | this._timer++; 53 | if (this._timer >= 60) { 54 | this._timer = 0; 55 | Coherent.call("GET_AIR_TRAFFIC").then((obj) => { 56 | for (let i = 0; i < this.npcAirplanes.length; i++) { 57 | let npcAirplane = this.npcAirplanes[i]; 58 | npcAirplane.alive = 0; 59 | } 60 | for (let i = 0; i < obj.length; i++) { 61 | let data = obj[i]; 62 | let npcAirplane = this.npcAirplanes.find(p => { return p.name === data.uId.toFixed(0); }); 63 | if (!npcAirplane) { 64 | npcAirplane = new SvgNPCAirplaneElementEnhanced(data.uId.toFixed(0)); 65 | npcAirplane.useTCAS = this.useTCAS; 66 | this.npcAirplanes.push(npcAirplane); 67 | } 68 | npcAirplane.alive = 3; 69 | npcAirplane.targetLat = obj[i].lat; 70 | npcAirplane.targetLon = obj[i].lon; 71 | npcAirplane.targetAlt = obj[i].alt; 72 | npcAirplane.targetHeading = obj[i].heading; 73 | if (isFinite(npcAirplane.lat) && isFinite(npcAirplane.lon) && isFinite(npcAirplane.alt)) { 74 | npcAirplane.deltaLat = (npcAirplane.targetLat - npcAirplane.lat) / 60; 75 | npcAirplane.deltaLon = (npcAirplane.targetLon - npcAirplane.lon) / 60; 76 | npcAirplane.deltaAlt = (npcAirplane.targetAlt - npcAirplane.alt) / 60; 77 | npcAirplane.targetHeading = Math.atan(npcAirplane.deltaLon / npcAirplane.deltaLat / Math.cos(npcAirplane.targetLat * Avionics.Utils.DEG2RAD)) * Avionics.Utils.RAD2DEG; 78 | if (npcAirplane.deltaLat < 0) { 79 | npcAirplane.targetHeading += 180; 80 | } 81 | } 82 | } 83 | }); 84 | } 85 | for (let i = 0; i < this.npcAirplanes.length; i++) { 86 | let npcAirplane = this.npcAirplanes[i]; 87 | npcAirplane.alive -= 1 / 60; 88 | if (npcAirplane.alive < 0) { 89 | this.npcAirplanes.splice(i, 1); 90 | i--; 91 | } 92 | else { 93 | if (isFinite(npcAirplane.lat) && isFinite(npcAirplane.lon) && isFinite(npcAirplane.heading)) { 94 | npcAirplane.lat += npcAirplane.deltaLat; 95 | npcAirplane.lon += npcAirplane.deltaLon; 96 | npcAirplane.alt += npcAirplane.deltaAlt; 97 | let deltaHeading = Avionics.Utils.angleDiff(npcAirplane.heading, npcAirplane.targetHeading); 98 | if (deltaHeading > 60) { 99 | npcAirplane.heading = npcAirplane.targetHeading; 100 | } 101 | else { 102 | npcAirplane.heading = Avionics.Utils.lerpAngle(npcAirplane.heading, npcAirplane.targetHeading, 1 / 60); 103 | } 104 | } 105 | else { 106 | npcAirplane.lat = npcAirplane.targetLat; 107 | npcAirplane.lon = npcAirplane.targetLon; 108 | npcAirplane.alt = npcAirplane.targetAlt; 109 | npcAirplane.heading = npcAirplane.targetHeading; 110 | } 111 | } 112 | } 113 | } 114 | } 115 | 116 | class SvgNPCAirplaneElementEnhanced extends SvgNPCAirplaneElement { 117 | constructor(name = "") { 118 | super(name); 119 | } 120 | 121 | updateDraw(map) { 122 | if (this._delay > 0) { 123 | this._delay--; 124 | this.svgElement.setAttribute("x", "-1000"); 125 | this.svgElement.setAttribute("y", "-1000"); 126 | return; 127 | } 128 | if (!this.useTCAS) { 129 | if (this._lastHeading !== this.heading && isFinite(this.heading)) { 130 | if (this.svgElement.children[0]) { 131 | this._lastHeading = this.heading; 132 | let angle = this.heading; 133 | if (map.orientation != "north") { 134 | angle += map.rotation; 135 | } 136 | let rotation = "rotate(" + fastToFixed(angle, 1) + " " + fastToFixed((map.config.airplaneIconSize * 0.7 * 0.5), 1) + " " + fastToFixed((map.config.airplaneIconSize * 0.7 * 0.5), 1) + ")"; 137 | this.svgElement.children[0].setAttribute("transform", rotation); 138 | } 139 | } 140 | } 141 | map.coordinatesToXYToRef(new LatLong(this.lat, this.lon), this._pos); 142 | if (isFinite(this._pos.x) && isFinite(this._pos.y)) { 143 | this.svgElement.setAttribute("x", fastToFixed((this._pos.x - map.config.airplaneIconSize * 0.7 * 0.5), 1)); 144 | this.svgElement.setAttribute("y", fastToFixed((this._pos.y - map.config.airplaneIconSize * 0.7 * 0.5), 1)); 145 | } 146 | if (this.useTCAS) { 147 | let altitudeAGL = map.planeAltitude; 148 | let deltaAltitude = Math.abs(altitudeAGL - this.alt); 149 | let distanceHorizontal = Avionics.Utils.computeDistance(new LatLong(this.lat, this.lon), map.planeCoordinates); 150 | if (distanceHorizontal < 2 && altitudeAGL > 1000 && deltaAltitude < 800) { 151 | if (this._lastCase !== 0) { 152 | this._image.setAttributeNS("http://www.w3.org/1999/xlink", "href", map.config.imagesDir + "ICON_MAP_TCAS_RA_A320.svg"); 153 | this.svgElement.setAttribute("visibility", "visible"); 154 | this._lastCase = 0; 155 | } 156 | } 157 | else if (distanceHorizontal < 4 && altitudeAGL > 500 && deltaAltitude < 1000) { 158 | if (this._lastCase !== 1) { 159 | this._image.setAttributeNS("http://www.w3.org/1999/xlink", "href", map.config.imagesDir + "ICON_MAP_TCAS_TA_A320.svg"); 160 | this.svgElement.setAttribute("visibility", "visible"); 161 | this._lastCase = 1; 162 | } 163 | } 164 | else if (distanceHorizontal < 6 && deltaAltitude < 1200) { 165 | if (this._lastCase !== 2) { 166 | this._image.setAttributeNS("http://www.w3.org/1999/xlink", "href", map.config.imagesDir + "ICON_MAP_TCAS_PROX_A320.svg"); 167 | this.svgElement.setAttribute("visibility", "visible"); 168 | this._lastCase = 2; 169 | } 170 | } 171 | else if (distanceHorizontal < 30 && deltaAltitude < 2700) { 172 | if (this._lastCase !== 3) { 173 | this._image.setAttributeNS("http://www.w3.org/1999/xlink", "href", map.config.imagesDir + "ICON_MAP_TCAS_OTHER_A320.svg"); 174 | this.svgElement.setAttribute("visibility", "visible"); 175 | this._lastCase = 3; 176 | } 177 | } 178 | else { 179 | if (this._lastCase !== 4) { 180 | this.svgElement.setAttribute("visibility", "hidden"); 181 | this._lastCase = 4; 182 | } 183 | } 184 | } 185 | } 186 | } -------------------------------------------------------------------------------- /src/packages/msfs2020-G3000-enhanced-tbm/html_ui/Pages/VCockpit/Instruments/Shared/Map/Svg/SvgAirplaneElementEnhanced.js: -------------------------------------------------------------------------------- 1 | class SvgAirplaneElementEnhanced extends SvgAirplaneElement { 2 | constructor() { 3 | super(); 4 | } 5 | 6 | updateDraw(map) { 7 | let track = map.planeDirection; 8 | if (this._forcePosAndRot) { 9 | let rotation = "rotate(" + fastToFixed(this._forcedRot, 1) + " " + fastToFixed((map.config.airplaneIconSize * 0.5), 1) + " " + fastToFixed((map.config.airplaneIconSize * 0.5), 1) + ")"; 10 | this.svgElement.children[0].setAttribute("transform", rotation); 11 | } 12 | else if (map.orientation != "hdg") { 13 | if (this._lastTrack !== track && isFinite(track)) { 14 | if (this.svgElement.children[0]) { 15 | this._lastTrack = track; 16 | let rotation = "rotate(" + fastToFixed(track + map.rotation, 1) + " " + fastToFixed((map.config.airplaneIconSize * 0.5), 1) + " " + fastToFixed((map.config.airplaneIconSize * 0.5), 1) + ")"; 17 | this.svgElement.children[0].setAttribute("transform", rotation); 18 | } 19 | } 20 | } 21 | else { 22 | this._lastTrack = NaN; 23 | this.svgElement.children[0].removeAttribute("transform"); 24 | } 25 | if (this._forcePosAndRot) { 26 | this.svgElement.setAttribute("x", fastToFixed(500 + this._forcedPos.x - map.config.airplaneIconSize * 0.5, 1)); 27 | this.svgElement.setAttribute("y", fastToFixed(500 + this._forcedPos.y - map.config.airplaneIconSize * 0.5, 1)); 28 | } 29 | else { 30 | if (this._forceCoordinates) { 31 | map.coordinatesToXYToRef(this._forcedCoordinates, this._pos); 32 | this._forceCoordinates = false; 33 | } 34 | else { 35 | map.coordinatesToXYToRef(map.planeCoordinates, this._pos); 36 | } 37 | if (isFinite(this._pos.x) && isFinite(this._pos.y)) { 38 | this.svgElement.setAttribute("x", fastToFixed((this._pos.x - map.config.airplaneIconSize * 0.5), 1)); 39 | this.svgElement.setAttribute("y", fastToFixed((this._pos.y - map.config.airplaneIconSize * 0.5), 1)); 40 | } 41 | } 42 | } 43 | } 44 | 45 | class NPCAirplaneManagerEnhanced { 46 | constructor() { 47 | this.npcAirplanes = []; 48 | this.useTCAS = false; 49 | this._timer = Infinity; 50 | } 51 | update() { 52 | this._timer++; 53 | if (this._timer >= 60) { 54 | this._timer = 0; 55 | Coherent.call("GET_AIR_TRAFFIC").then((obj) => { 56 | for (let i = 0; i < this.npcAirplanes.length; i++) { 57 | let npcAirplane = this.npcAirplanes[i]; 58 | npcAirplane.alive = 0; 59 | } 60 | for (let i = 0; i < obj.length; i++) { 61 | let data = obj[i]; 62 | let npcAirplane = this.npcAirplanes.find(p => { return p.name === data.uId.toFixed(0); }); 63 | if (!npcAirplane) { 64 | npcAirplane = new SvgNPCAirplaneElementEnhanced(data.uId.toFixed(0)); 65 | npcAirplane.useTCAS = this.useTCAS; 66 | this.npcAirplanes.push(npcAirplane); 67 | } 68 | npcAirplane.alive = 3; 69 | npcAirplane.targetLat = obj[i].lat; 70 | npcAirplane.targetLon = obj[i].lon; 71 | npcAirplane.targetAlt = obj[i].alt; 72 | npcAirplane.targetHeading = obj[i].heading; 73 | if (isFinite(npcAirplane.lat) && isFinite(npcAirplane.lon) && isFinite(npcAirplane.alt)) { 74 | npcAirplane.deltaLat = (npcAirplane.targetLat - npcAirplane.lat) / 60; 75 | npcAirplane.deltaLon = (npcAirplane.targetLon - npcAirplane.lon) / 60; 76 | npcAirplane.deltaAlt = (npcAirplane.targetAlt - npcAirplane.alt) / 60; 77 | npcAirplane.targetHeading = Math.atan(npcAirplane.deltaLon / npcAirplane.deltaLat / Math.cos(npcAirplane.targetLat * Avionics.Utils.DEG2RAD)) * Avionics.Utils.RAD2DEG; 78 | if (npcAirplane.deltaLat < 0) { 79 | npcAirplane.targetHeading += 180; 80 | } 81 | } 82 | } 83 | }); 84 | } 85 | for (let i = 0; i < this.npcAirplanes.length; i++) { 86 | let npcAirplane = this.npcAirplanes[i]; 87 | npcAirplane.alive -= 1 / 60; 88 | if (npcAirplane.alive < 0) { 89 | this.npcAirplanes.splice(i, 1); 90 | i--; 91 | } 92 | else { 93 | if (isFinite(npcAirplane.lat) && isFinite(npcAirplane.lon) && isFinite(npcAirplane.heading)) { 94 | npcAirplane.lat += npcAirplane.deltaLat; 95 | npcAirplane.lon += npcAirplane.deltaLon; 96 | npcAirplane.alt += npcAirplane.deltaAlt; 97 | let deltaHeading = Avionics.Utils.angleDiff(npcAirplane.heading, npcAirplane.targetHeading); 98 | if (deltaHeading > 60) { 99 | npcAirplane.heading = npcAirplane.targetHeading; 100 | } 101 | else { 102 | npcAirplane.heading = Avionics.Utils.lerpAngle(npcAirplane.heading, npcAirplane.targetHeading, 1 / 60); 103 | } 104 | } 105 | else { 106 | npcAirplane.lat = npcAirplane.targetLat; 107 | npcAirplane.lon = npcAirplane.targetLon; 108 | npcAirplane.alt = npcAirplane.targetAlt; 109 | npcAirplane.heading = npcAirplane.targetHeading; 110 | } 111 | } 112 | } 113 | } 114 | } 115 | 116 | class SvgNPCAirplaneElementEnhanced extends SvgNPCAirplaneElement { 117 | constructor(name = "") { 118 | super(name); 119 | } 120 | 121 | updateDraw(map) { 122 | if (this._delay > 0) { 123 | this._delay--; 124 | this.svgElement.setAttribute("x", "-1000"); 125 | this.svgElement.setAttribute("y", "-1000"); 126 | return; 127 | } 128 | if (!this.useTCAS) { 129 | if (this._lastHeading !== this.heading && isFinite(this.heading)) { 130 | if (this.svgElement.children[0]) { 131 | this._lastHeading = this.heading; 132 | let angle = this.heading; 133 | if (map.orientation != "north") { 134 | angle += map.rotation; 135 | } 136 | let rotation = "rotate(" + fastToFixed(angle, 1) + " " + fastToFixed((map.config.airplaneIconSize * 0.7 * 0.5), 1) + " " + fastToFixed((map.config.airplaneIconSize * 0.7 * 0.5), 1) + ")"; 137 | this.svgElement.children[0].setAttribute("transform", rotation); 138 | } 139 | } 140 | } 141 | map.coordinatesToXYToRef(new LatLong(this.lat, this.lon), this._pos); 142 | if (isFinite(this._pos.x) && isFinite(this._pos.y)) { 143 | this.svgElement.setAttribute("x", fastToFixed((this._pos.x - map.config.airplaneIconSize * 0.7 * 0.5), 1)); 144 | this.svgElement.setAttribute("y", fastToFixed((this._pos.y - map.config.airplaneIconSize * 0.7 * 0.5), 1)); 145 | } 146 | if (this.useTCAS) { 147 | let altitudeAGL = map.planeAltitude; 148 | let deltaAltitude = Math.abs(altitudeAGL - this.alt); 149 | let distanceHorizontal = Avionics.Utils.computeDistance(new LatLong(this.lat, this.lon), map.planeCoordinates); 150 | if (distanceHorizontal < 2 && altitudeAGL > 1000 && deltaAltitude < 800) { 151 | if (this._lastCase !== 0) { 152 | this._image.setAttributeNS("http://www.w3.org/1999/xlink", "href", map.config.imagesDir + "ICON_MAP_TCAS_RA_A320.svg"); 153 | this.svgElement.setAttribute("visibility", "visible"); 154 | this._lastCase = 0; 155 | } 156 | } 157 | else if (distanceHorizontal < 4 && altitudeAGL > 500 && deltaAltitude < 1000) { 158 | if (this._lastCase !== 1) { 159 | this._image.setAttributeNS("http://www.w3.org/1999/xlink", "href", map.config.imagesDir + "ICON_MAP_TCAS_TA_A320.svg"); 160 | this.svgElement.setAttribute("visibility", "visible"); 161 | this._lastCase = 1; 162 | } 163 | } 164 | else if (distanceHorizontal < 6 && deltaAltitude < 1200) { 165 | if (this._lastCase !== 2) { 166 | this._image.setAttributeNS("http://www.w3.org/1999/xlink", "href", map.config.imagesDir + "ICON_MAP_TCAS_PROX_A320.svg"); 167 | this.svgElement.setAttribute("visibility", "visible"); 168 | this._lastCase = 2; 169 | } 170 | } 171 | else if (distanceHorizontal < 30 && deltaAltitude < 2700) { 172 | if (this._lastCase !== 3) { 173 | this._image.setAttributeNS("http://www.w3.org/1999/xlink", "href", map.config.imagesDir + "ICON_MAP_TCAS_OTHER_A320.svg"); 174 | this.svgElement.setAttribute("visibility", "visible"); 175 | this._lastCase = 3; 176 | } 177 | } 178 | else { 179 | if (this._lastCase !== 4) { 180 | this.svgElement.setAttribute("visibility", "hidden"); 181 | this._lastCase = 4; 182 | } 183 | } 184 | } 185 | } 186 | } -------------------------------------------------------------------------------- /src/dev/working/html_ui/Pages/VCockpit/Instruments/NavSystems/AS3000/MFD/AS3000_MFD.css: -------------------------------------------------------------------------------- 1 | :root { 2 | --bodyHeightScale: 1; } 3 | 4 | @keyframes TemporaryShow { 5 | 0%, 100% { 6 | visibility: visible; } } 7 | 8 | @keyframes TemporaryHide { 9 | 0%, 100% { 10 | visibility: hidden; } } 11 | 12 | #highlight { 13 | position: absolute; 14 | height: 100%; 15 | width: 100%; 16 | z-index: 10; } 17 | 18 | #Electricity { 19 | width: 100%; 20 | height: 100%; } 21 | #Electricity[state=off] { 22 | display: none; } 23 | 24 | @font-face { 25 | font-family: "Roboto"; 26 | src: url("/Fonts/RobotoMono-Medium.ttf") format("truetype"); 27 | font-weight: normal; 28 | font-style: normal; } 29 | 30 | @font-face { 31 | font-family: "Roboto-Light"; 32 | src: url("/Fonts/RobotoMono-Light.ttf") format("truetype"); 33 | font-weight: normal; 34 | font-style: normal; } 35 | 36 | @font-face { 37 | font-family: "Roboto-Bold"; 38 | src: url("/Fonts/RobotoMono-Bold.ttf") format("truetype"); 39 | font-weight: normal; 40 | font-style: normal; } 41 | 42 | #Mainframe { 43 | --refWidth: 1024; 44 | --refHeight: 768; } 45 | 46 | as3000-mfd-element { 47 | width: 100%; 48 | height: 100%; 49 | background-color: black; 50 | font-family: Roboto-Bold; 51 | overflow: hidden; } 52 | as3000-mfd-element #Console { 53 | position: absolute; 54 | visibility: hidden; 55 | width: 100%; 56 | height: 100%; 57 | background-color: black; 58 | color: white; 59 | font-size: 4vh; 60 | z-index: 1000; } 61 | as3000-mfd-element #Splash { 62 | position: absolute; 63 | visibility: hidden; 64 | width: 100%; 65 | height: 100%; 66 | background-color: black; 67 | z-index: 1000; } 68 | as3000-mfd-element #Validate { 69 | position: absolute; 70 | visibility: hidden; 71 | width: 100%; 72 | height: 100%; 73 | background-color: black; 74 | z-index: 999; } 75 | as3000-mfd-element #Electricity { 76 | width: 100%; 77 | height: 100%; } 78 | as3000-mfd-element #Electricity[state=off] { 79 | display: none; } 80 | as3000-mfd-element #Electricity[state=init] #Console { 81 | animation: TemporaryShow 3.5s 1; } 82 | as3000-mfd-element #Electricity[state=init] #Splash { 83 | animation: TemporaryShow 3.5s 1; 84 | animation-delay: 2.5s; } 85 | as3000-mfd-element #Electricity[state=init] #Validate { 86 | animation: TemporaryHide 5.5s 1; 87 | visibility: visible; } 88 | as3000-mfd-element #Electricity[state=initWaitingValidation] #Validate { 89 | visibility: visible; } 90 | as3000-mfd-element #highlight { 91 | position: absolute; 92 | height: 100%; 93 | width: 100%; 94 | z-index: 10; } 95 | as3000-mfd-element .PopupWindow { 96 | visibility: hidden; } 97 | as3000-mfd-element .PopupWindow[state=Active] { 98 | visibility: inherit; } 99 | as3000-mfd-element #Mainframe { 100 | top: 0; 101 | left: 0; 102 | width: 100%; 103 | height: 100%; 104 | display: block; 105 | position: relative; } 106 | as3000-mfd-element #Mainframe #Electricity { 107 | position: relative; } 108 | as3000-mfd-element #Mainframe #Electricity #CenterDisplay { 109 | position: absolute; 110 | height: 100%; 111 | width: 100%; 112 | top: 0%; 113 | font-size: calc( 2 * 1vh * var(--bodyHeightScale)); 114 | text-align: center; } 115 | as3000-mfd-element #Mainframe #Electricity #CenterDisplay #ComFreq { 116 | position: absolute; 117 | left: 0%; 118 | top: 0%; 119 | width: 20%; 120 | height: 8%; 121 | background-color: #1a1d21; } 122 | as3000-mfd-element #Mainframe #Electricity #CenterDisplay #ComFreq .Active { 123 | position: absolute; 124 | width: 100%; 125 | height: 50%; 126 | top: 0%; 127 | left: 0%; } 128 | as3000-mfd-element #Mainframe #Electricity #CenterDisplay #ComFreq .Stby { 129 | position: absolute; 130 | width: 100%; 131 | height: 50%; 132 | bottom: 0%; 133 | left: 0%; } 134 | as3000-mfd-element #Mainframe #Electricity #CenterDisplay #ComFreq .Title { 135 | position: absolute; 136 | height: 100%; 137 | width: 40%; 138 | left: 0%; 139 | top: 0%; 140 | font-size: 2vh; 141 | line-height: 3vh; } 142 | as3000-mfd-element #Mainframe #Electricity #CenterDisplay #ComFreq .Value { 143 | position: absolute; 144 | height: 100%; 145 | width: 60%; 146 | right: 0%; 147 | top: 0%; 148 | font-size: 2.3vh; 149 | line-height: 3vh; } 150 | as3000-mfd-element #Mainframe #Electricity #CenterDisplay #ComFreq #COM1 { 151 | position: absolute; 152 | width: 50%; 153 | height: 100%; 154 | left: 0%; 155 | top: 0%; } 156 | as3000-mfd-element #Mainframe #Electricity #CenterDisplay #ComFreq #COM1 #Com1_Active { 157 | color: green; } 158 | as3000-mfd-element #Mainframe #Electricity #CenterDisplay #ComFreq #COM2 { 159 | position: absolute; 160 | width: 50%; 161 | height: 100%; 162 | right: 0%; 163 | top: 0%; } 164 | as3000-mfd-element #Mainframe #Electricity #CenterDisplay #LeftInfos { 165 | transform: rotateX(0); 166 | left: 0%; 167 | top: 8%; 168 | width: 20%; 169 | height: 92%; 170 | background-color: #1a1d21; 171 | position: absolute; } 172 | as3000-mfd-element #Mainframe #Electricity #CenterDisplay #LeftInfos #ED { 173 | width: 100%; 174 | height: 100%; 175 | position: absolute; 176 | display: block; } 177 | as3000-mfd-element #Mainframe #Electricity #CenterDisplay #LeftInfos[state=piston] #TurboEngine { 178 | display: none; } 179 | as3000-mfd-element #Mainframe #Electricity #CenterDisplay #LeftInfos[state=piston] #XMLEngineDisplay { 180 | display: none; } 181 | as3000-mfd-element #Mainframe #Electricity #CenterDisplay #LeftInfos[state=turbo] { 182 | width: 35%; } 183 | as3000-mfd-element #Mainframe #Electricity #CenterDisplay #LeftInfos[state=turbo] #PistonEngine { 184 | display: none; } 185 | as3000-mfd-element #Mainframe #Electricity #CenterDisplay #LeftInfos[state=turbo] #XMLEngineDisplay { 186 | display: none; } 187 | as3000-mfd-element #Mainframe #Electricity #CenterDisplay #LeftInfos[state=XML] #TurboEngine { 188 | display: none; } 189 | as3000-mfd-element #Mainframe #Electricity #CenterDisplay #LeftInfos[state=XML] #PistonEngine { 190 | display: none; } 191 | as3000-mfd-element #Mainframe #Electricity #CenterDisplay #RightInfos { 192 | transform: rotateX(0); 193 | height: 100%; 194 | width: 80%; 195 | right: 0%; 196 | position: absolute; } 197 | as3000-mfd-element #Mainframe #Electricity #CenterDisplay #RightInfos #TopRight { 198 | position: absolute; 199 | top: 0%; 200 | width: 100%; 201 | height: 4%; 202 | display: flex; 203 | font-size: 2.5vh; 204 | line-height: 4vh; 205 | background-color: #1a1d21; } 206 | as3000-mfd-element #Mainframe #Electricity #CenterDisplay #RightInfos #TopRight .title { 207 | width: 4%; 208 | color: white; } 209 | as3000-mfd-element #Mainframe #Electricity #CenterDisplay #RightInfos #TopRight .value { 210 | width: 8%; 211 | color: #d12bc7; } 212 | as3000-mfd-element #Mainframe #Electricity #CenterDisplay #RightInfos #TopRight #MSA { 213 | width: 8.5%; } 214 | as3000-mfd-element #Mainframe #Electricity #CenterDisplay #RightInfos #TopRight #ETA { 215 | width: 11%; } 216 | as3000-mfd-element #Mainframe #Electricity #CenterDisplay #RightInfos #Map { 217 | position: absolute; 218 | height: 96%; 219 | width: 100%; 220 | bottom: 0%; 221 | left: 0%; 222 | display: block; 223 | /* Map position (left and top) is set in mapConfig.json file (see SvgMapConfig.ts) (makes it editable at runtime) */ 224 | /* Map position (left and top) is set in mapConfig.json file (see SvgMapConfig.ts) (makes it editable at runtime) */ } 225 | as3000-mfd-element #Mainframe #Electricity #CenterDisplay #RightInfos #Map #MapOrientation { 226 | position: absolute; 227 | top: 0.25%; 228 | left: 0.25%; 229 | width: 10%; 230 | height: calc( 3 * 1vh * var(--bodyHeightScale)); 231 | font-size: calc( 2.3 * 1vh * var(--bodyHeightScale)); } 232 | as3000-mfd-element #Mainframe #Electricity #CenterDisplay #RightInfos #Map #WindData { 233 | position: absolute; 234 | top: 0.25%; 235 | width: 10%; 236 | right: 10%; } 237 | as3000-mfd-element #Mainframe #Electricity #CenterDisplay #RightInfos #Map #WindData .svg { 238 | position: absolute; 239 | top: 0%; 240 | height: 100%; 241 | width: 100%; } 242 | as3000-mfd-element #Mainframe #Electricity #CenterDisplay #RightInfos #Map #MapRange { 243 | position: absolute; 244 | bottom: 0%; 245 | right: 0%; 246 | width: 10%; 247 | height: calc( 4 * 1vh * var(--bodyHeightScale)); } 248 | as3000-mfd-element #Mainframe #Electricity #CenterDisplay #RightInfos #Map #MapRange .range { 249 | font-size: calc( 3 * 1vh * var(--bodyHeightScale)); 250 | text-align: right; } 251 | as3000-mfd-element #Mainframe #Electricity #CenterDisplay #RightInfos #Map #MapRange .unit { 252 | margin: 0 5% 2.5%; 253 | font-size: calc( 2.3 * 1vh * var(--bodyHeightScale)); 254 | text-align: left; } 255 | as3000-mfd-element #Mainframe #Electricity #CenterDisplay #RightInfos #Map #MapSVG, as3000-mfd-element #Mainframe #Electricity #CenterDisplay #RightInfos #Map #road-network-canvas { 256 | transform: rotateX(0); 257 | position: absolute; } 258 | as3000-mfd-element #Mainframe #Electricity #CenterDisplay #RightInfos #Map bing-map { 259 | transform: rotateX(0); 260 | position: absolute; 261 | left: 0px; 262 | top: 0px; 263 | width: 100%; 264 | height: 100%; } 265 | as3000-mfd-element #Mainframe #Electricity #CenterDisplay #RightInfos #Map #WeatherSVG { 266 | transform: scale(1.07); } 267 | as3000-mfd-element #map { 268 | position: absolute; 269 | left: 0; 270 | top: -11.5%; 271 | width: 100%; } 272 | 273 | -------------------------------------------------------------------------------- /src/dev/tbm/html_ui/Pages/VCockpit/Instruments/NavSystems/AS3000/MFD/AS3000_MFD_enhanced.css: -------------------------------------------------------------------------------- 1 | :root { 2 | --bodyHeightScale: 1; } 3 | 4 | @keyframes TemporaryShow { 5 | 0%, 100% { 6 | visibility: visible; } } 7 | 8 | @keyframes TemporaryHide { 9 | 0%, 100% { 10 | visibility: hidden; } } 11 | 12 | #highlight { 13 | position: absolute; 14 | height: 100%; 15 | width: 100%; 16 | z-index: 10; } 17 | 18 | #Electricity { 19 | width: 100%; 20 | height: 100%; } 21 | #Electricity[state=off] { 22 | display: none; } 23 | 24 | @font-face { 25 | font-family: "Roboto"; 26 | src: url("/Fonts/RobotoMono-Medium.ttf") format("truetype"); 27 | font-weight: normal; 28 | font-style: normal; } 29 | 30 | @font-face { 31 | font-family: "Roboto-Light"; 32 | src: url("/Fonts/RobotoMono-Light.ttf") format("truetype"); 33 | font-weight: normal; 34 | font-style: normal; } 35 | 36 | @font-face { 37 | font-family: "Roboto-Bold"; 38 | src: url("/Fonts/RobotoMono-Bold.ttf") format("truetype"); 39 | font-weight: normal; 40 | font-style: normal; } 41 | 42 | #Mainframe { 43 | --refWidth: 1024; 44 | --refHeight: 768; } 45 | 46 | as3000-mfd-element { 47 | width: 100%; 48 | height: 100%; 49 | background-color: black; 50 | font-family: Roboto-Bold; 51 | overflow: hidden; } 52 | as3000-mfd-element #Console { 53 | position: absolute; 54 | visibility: hidden; 55 | width: 100%; 56 | height: 100%; 57 | background-color: black; 58 | color: white; 59 | font-size: 4vh; 60 | z-index: 1000; } 61 | as3000-mfd-element #Splash { 62 | position: absolute; 63 | visibility: hidden; 64 | width: 100%; 65 | height: 100%; 66 | background-color: black; 67 | z-index: 1000; } 68 | as3000-mfd-element #Validate { 69 | position: absolute; 70 | visibility: hidden; 71 | width: 100%; 72 | height: 100%; 73 | background-color: black; 74 | z-index: 999; } 75 | as3000-mfd-element #Electricity { 76 | width: 100%; 77 | height: 100%; } 78 | as3000-mfd-element #Electricity[state=off] { 79 | display: none; } 80 | as3000-mfd-element #Electricity[state=init] #Console { 81 | animation: TemporaryShow 3.5s 1; } 82 | as3000-mfd-element #Electricity[state=init] #Splash { 83 | animation: TemporaryShow 3.5s 1; 84 | animation-delay: 2.5s; } 85 | as3000-mfd-element #Electricity[state=init] #Validate { 86 | animation: TemporaryHide 5.5s 1; 87 | visibility: visible; } 88 | as3000-mfd-element #Electricity[state=initWaitingValidation] #Validate { 89 | visibility: visible; } 90 | as3000-mfd-element #highlight { 91 | position: absolute; 92 | height: 100%; 93 | width: 100%; 94 | z-index: 10; } 95 | as3000-mfd-element .PopupWindow { 96 | visibility: hidden; } 97 | as3000-mfd-element .PopupWindow[state=Active] { 98 | visibility: inherit; } 99 | as3000-mfd-element #Mainframe { 100 | top: 0; 101 | left: 0; 102 | width: 100%; 103 | height: 100%; 104 | display: block; 105 | position: relative; } 106 | as3000-mfd-element #Mainframe #Electricity { 107 | position: relative; } 108 | as3000-mfd-element #Mainframe #Electricity #CenterDisplay { 109 | position: absolute; 110 | height: 100%; 111 | width: 100%; 112 | top: 0%; 113 | font-size: calc( 2 * 1vh * var(--bodyHeightScale)); 114 | text-align: center; } 115 | as3000-mfd-element #Mainframe #Electricity #CenterDisplay #ComFreq { 116 | position: absolute; 117 | left: 0%; 118 | top: 0%; 119 | width: 20%; 120 | height: 8%; 121 | background-color: #1a1d21; } 122 | as3000-mfd-element #Mainframe #Electricity #CenterDisplay #ComFreq .Active { 123 | position: absolute; 124 | width: 100%; 125 | height: 50%; 126 | top: 0%; 127 | left: 0%; } 128 | as3000-mfd-element #Mainframe #Electricity #CenterDisplay #ComFreq .Stby { 129 | position: absolute; 130 | width: 100%; 131 | height: 50%; 132 | bottom: 0%; 133 | left: 0%; } 134 | as3000-mfd-element #Mainframe #Electricity #CenterDisplay #ComFreq .Title { 135 | position: absolute; 136 | height: 100%; 137 | width: 40%; 138 | left: 0%; 139 | top: 0%; 140 | font-size: 2vh; 141 | line-height: 3vh; } 142 | as3000-mfd-element #Mainframe #Electricity #CenterDisplay #ComFreq .Value { 143 | position: absolute; 144 | height: 100%; 145 | width: 60%; 146 | right: 0%; 147 | top: 0%; 148 | font-size: 2.3vh; 149 | line-height: 3vh; } 150 | as3000-mfd-element #Mainframe #Electricity #CenterDisplay #ComFreq #COM1 { 151 | position: absolute; 152 | width: 50%; 153 | height: 100%; 154 | left: 0%; 155 | top: 0%; } 156 | as3000-mfd-element #Mainframe #Electricity #CenterDisplay #ComFreq #COM1 #Com1_Active { 157 | color: green; } 158 | as3000-mfd-element #Mainframe #Electricity #CenterDisplay #ComFreq #COM2 { 159 | position: absolute; 160 | width: 50%; 161 | height: 100%; 162 | right: 0%; 163 | top: 0%; } 164 | as3000-mfd-element #Mainframe #Electricity #CenterDisplay #LeftInfos { 165 | transform: rotateX(0); 166 | left: 0%; 167 | top: 8%; 168 | width: 20%; 169 | height: 92%; 170 | background-color: #1a1d21; 171 | position: absolute; } 172 | as3000-mfd-element #Mainframe #Electricity #CenterDisplay #LeftInfos #ED { 173 | width: 100%; 174 | height: 100%; 175 | position: absolute; 176 | display: block; } 177 | as3000-mfd-element #Mainframe #Electricity #CenterDisplay #LeftInfos[state=piston] #TurboEngine { 178 | display: none; } 179 | as3000-mfd-element #Mainframe #Electricity #CenterDisplay #LeftInfos[state=piston] #XMLEngineDisplay { 180 | display: none; } 181 | as3000-mfd-element #Mainframe #Electricity #CenterDisplay #LeftInfos[state=turbo] { 182 | width: 35%; } 183 | as3000-mfd-element #Mainframe #Electricity #CenterDisplay #LeftInfos[state=turbo] #PistonEngine { 184 | display: none; } 185 | as3000-mfd-element #Mainframe #Electricity #CenterDisplay #LeftInfos[state=turbo] #XMLEngineDisplay { 186 | display: none; } 187 | as3000-mfd-element #Mainframe #Electricity #CenterDisplay #LeftInfos[state=XML] #TurboEngine { 188 | display: none; } 189 | as3000-mfd-element #Mainframe #Electricity #CenterDisplay #LeftInfos[state=XML] #PistonEngine { 190 | display: none; } 191 | as3000-mfd-element #Mainframe #Electricity #CenterDisplay #RightInfos { 192 | transform: rotateX(0); 193 | height: 100%; 194 | width: 80%; 195 | right: 0%; 196 | position: absolute; } 197 | as3000-mfd-element #Mainframe #Electricity #CenterDisplay #RightInfos #TopRight { 198 | position: absolute; 199 | top: 0%; 200 | width: 100%; 201 | height: 4%; 202 | display: flex; 203 | font-size: 2.5vh; 204 | line-height: 4vh; 205 | background-color: #1a1d21; } 206 | as3000-mfd-element #Mainframe #Electricity #CenterDisplay #RightInfos #TopRight .title { 207 | width: 4%; 208 | color: white; } 209 | as3000-mfd-element #Mainframe #Electricity #CenterDisplay #RightInfos #TopRight .value { 210 | width: 8%; 211 | color: #d12bc7; } 212 | as3000-mfd-element #Mainframe #Electricity #CenterDisplay #RightInfos #TopRight #MSA { 213 | width: 8.5%; } 214 | as3000-mfd-element #Mainframe #Electricity #CenterDisplay #RightInfos #TopRight #ETA { 215 | width: 11%; } 216 | as3000-mfd-element #Mainframe #Electricity #CenterDisplay #RightInfos #Map { 217 | position: absolute; 218 | height: 96%; 219 | width: 100%; 220 | bottom: 0%; 221 | left: 0%; 222 | display: block; 223 | /* Map position (left and top) is set in mapConfig.json file (see SvgMapConfig.ts) (makes it editable at runtime) */ 224 | /* Map position (left and top) is set in mapConfig.json file (see SvgMapConfig.ts) (makes it editable at runtime) */ } 225 | as3000-mfd-element #Mainframe #Electricity #CenterDisplay #RightInfos #Map #MapOrientation { 226 | position: absolute; 227 | top: 0.25%; 228 | left: 0.25%; 229 | width: 10%; 230 | height: calc( 3 * 1vh * var(--bodyHeightScale)); 231 | font-size: calc( 2.3 * 1vh * var(--bodyHeightScale)); } 232 | as3000-mfd-element #Mainframe #Electricity #CenterDisplay #RightInfos #Map #WindData { 233 | position: absolute; 234 | top: 0.25%; 235 | width: 10%; 236 | right: 10%; } 237 | as3000-mfd-element #Mainframe #Electricity #CenterDisplay #RightInfos #Map #WindData .svg { 238 | position: absolute; 239 | top: 0%; 240 | height: 100%; 241 | width: 100%; } 242 | as3000-mfd-element #Mainframe #Electricity #CenterDisplay #RightInfos #Map #MapRange { 243 | position: absolute; 244 | bottom: 0%; 245 | right: 0%; 246 | width: 10%; 247 | height: calc( 4 * 1vh * var(--bodyHeightScale)); } 248 | as3000-mfd-element #Mainframe #Electricity #CenterDisplay #RightInfos #Map #MapRange .range { 249 | font-size: calc( 3 * 1vh * var(--bodyHeightScale)); 250 | text-align: right; } 251 | as3000-mfd-element #Mainframe #Electricity #CenterDisplay #RightInfos #Map #MapRange .unit { 252 | margin: 0 5% 2.5%; 253 | font-size: calc( 2.3 * 1vh * var(--bodyHeightScale)); 254 | text-align: left; } 255 | as3000-mfd-element #Mainframe #Electricity #CenterDisplay #RightInfos #Map #MapSVG, as3000-mfd-element #Mainframe #Electricity #CenterDisplay #RightInfos #Map #road-network-canvas { 256 | transform: rotateX(0); 257 | position: absolute; } 258 | as3000-mfd-element #Mainframe #Electricity #CenterDisplay #RightInfos #Map bing-map { 259 | transform: rotateX(0); 260 | position: absolute; 261 | left: 0px; 262 | top: 0px; 263 | width: 100%; 264 | height: 100%; } 265 | as3000-mfd-element #Mainframe #Electricity #CenterDisplay #RightInfos #Map #WeatherSVG { 266 | transform: scale(1.07); } 267 | as3000-mfd-element #map { 268 | position: absolute; 269 | left: 0; 270 | top: -11.5%; 271 | width: 100%; } 272 | 273 | -------------------------------------------------------------------------------- /src/packages/msfs2020-G3000-enhanced-std/html_ui/Pages/VCockpit/Instruments/NavSystems/AS3000/MFD/AS3000_MFD.css: -------------------------------------------------------------------------------- 1 | :root { 2 | --bodyHeightScale: 1; } 3 | 4 | @keyframes TemporaryShow { 5 | 0%, 100% { 6 | visibility: visible; } } 7 | 8 | @keyframes TemporaryHide { 9 | 0%, 100% { 10 | visibility: hidden; } } 11 | 12 | #highlight { 13 | position: absolute; 14 | height: 100%; 15 | width: 100%; 16 | z-index: 10; } 17 | 18 | #Electricity { 19 | width: 100%; 20 | height: 100%; } 21 | #Electricity[state=off] { 22 | display: none; } 23 | 24 | @font-face { 25 | font-family: "Roboto"; 26 | src: url("/Fonts/RobotoMono-Medium.ttf") format("truetype"); 27 | font-weight: normal; 28 | font-style: normal; } 29 | 30 | @font-face { 31 | font-family: "Roboto-Light"; 32 | src: url("/Fonts/RobotoMono-Light.ttf") format("truetype"); 33 | font-weight: normal; 34 | font-style: normal; } 35 | 36 | @font-face { 37 | font-family: "Roboto-Bold"; 38 | src: url("/Fonts/RobotoMono-Bold.ttf") format("truetype"); 39 | font-weight: normal; 40 | font-style: normal; } 41 | 42 | #Mainframe { 43 | --refWidth: 1024; 44 | --refHeight: 768; } 45 | 46 | as3000-mfd-element { 47 | width: 100%; 48 | height: 100%; 49 | background-color: black; 50 | font-family: Roboto-Bold; 51 | overflow: hidden; } 52 | as3000-mfd-element #Console { 53 | position: absolute; 54 | visibility: hidden; 55 | width: 100%; 56 | height: 100%; 57 | background-color: black; 58 | color: white; 59 | font-size: 4vh; 60 | z-index: 1000; } 61 | as3000-mfd-element #Splash { 62 | position: absolute; 63 | visibility: hidden; 64 | width: 100%; 65 | height: 100%; 66 | background-color: black; 67 | z-index: 1000; } 68 | as3000-mfd-element #Validate { 69 | position: absolute; 70 | visibility: hidden; 71 | width: 100%; 72 | height: 100%; 73 | background-color: black; 74 | z-index: 999; } 75 | as3000-mfd-element #Electricity { 76 | width: 100%; 77 | height: 100%; } 78 | as3000-mfd-element #Electricity[state=off] { 79 | display: none; } 80 | as3000-mfd-element #Electricity[state=init] #Console { 81 | animation: TemporaryShow 3.5s 1; } 82 | as3000-mfd-element #Electricity[state=init] #Splash { 83 | animation: TemporaryShow 3.5s 1; 84 | animation-delay: 2.5s; } 85 | as3000-mfd-element #Electricity[state=init] #Validate { 86 | animation: TemporaryHide 5.5s 1; 87 | visibility: visible; } 88 | as3000-mfd-element #Electricity[state=initWaitingValidation] #Validate { 89 | visibility: visible; } 90 | as3000-mfd-element #highlight { 91 | position: absolute; 92 | height: 100%; 93 | width: 100%; 94 | z-index: 10; } 95 | as3000-mfd-element .PopupWindow { 96 | visibility: hidden; } 97 | as3000-mfd-element .PopupWindow[state=Active] { 98 | visibility: inherit; } 99 | as3000-mfd-element #Mainframe { 100 | top: 0; 101 | left: 0; 102 | width: 100%; 103 | height: 100%; 104 | display: block; 105 | position: relative; } 106 | as3000-mfd-element #Mainframe #Electricity { 107 | position: relative; } 108 | as3000-mfd-element #Mainframe #Electricity #CenterDisplay { 109 | position: absolute; 110 | height: 100%; 111 | width: 100%; 112 | top: 0%; 113 | font-size: calc( 2 * 1vh * var(--bodyHeightScale)); 114 | text-align: center; } 115 | as3000-mfd-element #Mainframe #Electricity #CenterDisplay #ComFreq { 116 | position: absolute; 117 | left: 0%; 118 | top: 0%; 119 | width: 20%; 120 | height: 8%; 121 | background-color: #1a1d21; } 122 | as3000-mfd-element #Mainframe #Electricity #CenterDisplay #ComFreq .Active { 123 | position: absolute; 124 | width: 100%; 125 | height: 50%; 126 | top: 0%; 127 | left: 0%; } 128 | as3000-mfd-element #Mainframe #Electricity #CenterDisplay #ComFreq .Stby { 129 | position: absolute; 130 | width: 100%; 131 | height: 50%; 132 | bottom: 0%; 133 | left: 0%; } 134 | as3000-mfd-element #Mainframe #Electricity #CenterDisplay #ComFreq .Title { 135 | position: absolute; 136 | height: 100%; 137 | width: 40%; 138 | left: 0%; 139 | top: 0%; 140 | font-size: 2vh; 141 | line-height: 3vh; } 142 | as3000-mfd-element #Mainframe #Electricity #CenterDisplay #ComFreq .Value { 143 | position: absolute; 144 | height: 100%; 145 | width: 60%; 146 | right: 0%; 147 | top: 0%; 148 | font-size: 2.3vh; 149 | line-height: 3vh; } 150 | as3000-mfd-element #Mainframe #Electricity #CenterDisplay #ComFreq #COM1 { 151 | position: absolute; 152 | width: 50%; 153 | height: 100%; 154 | left: 0%; 155 | top: 0%; } 156 | as3000-mfd-element #Mainframe #Electricity #CenterDisplay #ComFreq #COM1 #Com1_Active { 157 | color: green; } 158 | as3000-mfd-element #Mainframe #Electricity #CenterDisplay #ComFreq #COM2 { 159 | position: absolute; 160 | width: 50%; 161 | height: 100%; 162 | right: 0%; 163 | top: 0%; } 164 | as3000-mfd-element #Mainframe #Electricity #CenterDisplay #LeftInfos { 165 | transform: rotateX(0); 166 | left: 0%; 167 | top: 8%; 168 | width: 20%; 169 | height: 92%; 170 | background-color: #1a1d21; 171 | position: absolute; } 172 | as3000-mfd-element #Mainframe #Electricity #CenterDisplay #LeftInfos #ED { 173 | width: 100%; 174 | height: 100%; 175 | position: absolute; 176 | display: block; } 177 | as3000-mfd-element #Mainframe #Electricity #CenterDisplay #LeftInfos[state=piston] #TurboEngine { 178 | display: none; } 179 | as3000-mfd-element #Mainframe #Electricity #CenterDisplay #LeftInfos[state=piston] #XMLEngineDisplay { 180 | display: none; } 181 | as3000-mfd-element #Mainframe #Electricity #CenterDisplay #LeftInfos[state=turbo] { 182 | width: 35%; } 183 | as3000-mfd-element #Mainframe #Electricity #CenterDisplay #LeftInfos[state=turbo] #PistonEngine { 184 | display: none; } 185 | as3000-mfd-element #Mainframe #Electricity #CenterDisplay #LeftInfos[state=turbo] #XMLEngineDisplay { 186 | display: none; } 187 | as3000-mfd-element #Mainframe #Electricity #CenterDisplay #LeftInfos[state=XML] #TurboEngine { 188 | display: none; } 189 | as3000-mfd-element #Mainframe #Electricity #CenterDisplay #LeftInfos[state=XML] #PistonEngine { 190 | display: none; } 191 | as3000-mfd-element #Mainframe #Electricity #CenterDisplay #RightInfos { 192 | transform: rotateX(0); 193 | height: 100%; 194 | width: 80%; 195 | right: 0%; 196 | position: absolute; } 197 | as3000-mfd-element #Mainframe #Electricity #CenterDisplay #RightInfos #TopRight { 198 | position: absolute; 199 | top: 0%; 200 | width: 100%; 201 | height: 4%; 202 | display: flex; 203 | font-size: 2.5vh; 204 | line-height: 4vh; 205 | background-color: #1a1d21; } 206 | as3000-mfd-element #Mainframe #Electricity #CenterDisplay #RightInfos #TopRight .title { 207 | width: 4%; 208 | color: white; } 209 | as3000-mfd-element #Mainframe #Electricity #CenterDisplay #RightInfos #TopRight .value { 210 | width: 8%; 211 | color: #d12bc7; } 212 | as3000-mfd-element #Mainframe #Electricity #CenterDisplay #RightInfos #TopRight #MSA { 213 | width: 8.5%; } 214 | as3000-mfd-element #Mainframe #Electricity #CenterDisplay #RightInfos #TopRight #ETA { 215 | width: 11%; } 216 | as3000-mfd-element #Mainframe #Electricity #CenterDisplay #RightInfos #Map { 217 | position: absolute; 218 | height: 96%; 219 | width: 100%; 220 | bottom: 0%; 221 | left: 0%; 222 | display: block; 223 | /* Map position (left and top) is set in mapConfig.json file (see SvgMapConfig.ts) (makes it editable at runtime) */ 224 | /* Map position (left and top) is set in mapConfig.json file (see SvgMapConfig.ts) (makes it editable at runtime) */ } 225 | as3000-mfd-element #Mainframe #Electricity #CenterDisplay #RightInfos #Map #MapOrientation { 226 | position: absolute; 227 | top: 0.25%; 228 | left: 0.25%; 229 | width: 10%; 230 | height: calc( 3 * 1vh * var(--bodyHeightScale)); 231 | font-size: calc( 2.3 * 1vh * var(--bodyHeightScale)); } 232 | as3000-mfd-element #Mainframe #Electricity #CenterDisplay #RightInfos #Map #WindData { 233 | position: absolute; 234 | top: 0.25%; 235 | width: 10%; 236 | right: 10%; } 237 | as3000-mfd-element #Mainframe #Electricity #CenterDisplay #RightInfos #Map #WindData .svg { 238 | position: absolute; 239 | top: 0%; 240 | height: 100%; 241 | width: 100%; } 242 | as3000-mfd-element #Mainframe #Electricity #CenterDisplay #RightInfos #Map #MapRange { 243 | position: absolute; 244 | bottom: 0%; 245 | right: 0%; 246 | width: 10%; 247 | height: calc( 4 * 1vh * var(--bodyHeightScale)); } 248 | as3000-mfd-element #Mainframe #Electricity #CenterDisplay #RightInfos #Map #MapRange .range { 249 | font-size: calc( 3 * 1vh * var(--bodyHeightScale)); 250 | text-align: right; } 251 | as3000-mfd-element #Mainframe #Electricity #CenterDisplay #RightInfos #Map #MapRange .unit { 252 | margin: 0 5% 2.5%; 253 | font-size: calc( 2.3 * 1vh * var(--bodyHeightScale)); 254 | text-align: left; } 255 | as3000-mfd-element #Mainframe #Electricity #CenterDisplay #RightInfos #Map #MapSVG, as3000-mfd-element #Mainframe #Electricity #CenterDisplay #RightInfos #Map #road-network-canvas { 256 | transform: rotateX(0); 257 | position: absolute; } 258 | as3000-mfd-element #Mainframe #Electricity #CenterDisplay #RightInfos #Map bing-map { 259 | transform: rotateX(0); 260 | position: absolute; 261 | left: 0px; 262 | top: 0px; 263 | width: 100%; 264 | height: 100%; } 265 | as3000-mfd-element #Mainframe #Electricity #CenterDisplay #RightInfos #Map #WeatherSVG { 266 | transform: scale(1.07); } 267 | as3000-mfd-element #map { 268 | position: absolute; 269 | left: 0; 270 | top: -11.5%; 271 | width: 100%; } 272 | 273 | -------------------------------------------------------------------------------- /src/packages/msfs2020-G3000-enhanced-tbm/html_ui/Pages/VCockpit/Instruments/NavSystems/AS3000/MFD/AS3000_MFD_enhanced.css: -------------------------------------------------------------------------------- 1 | :root { 2 | --bodyHeightScale: 1; } 3 | 4 | @keyframes TemporaryShow { 5 | 0%, 100% { 6 | visibility: visible; } } 7 | 8 | @keyframes TemporaryHide { 9 | 0%, 100% { 10 | visibility: hidden; } } 11 | 12 | #highlight { 13 | position: absolute; 14 | height: 100%; 15 | width: 100%; 16 | z-index: 10; } 17 | 18 | #Electricity { 19 | width: 100%; 20 | height: 100%; } 21 | #Electricity[state=off] { 22 | display: none; } 23 | 24 | @font-face { 25 | font-family: "Roboto"; 26 | src: url("/Fonts/RobotoMono-Medium.ttf") format("truetype"); 27 | font-weight: normal; 28 | font-style: normal; } 29 | 30 | @font-face { 31 | font-family: "Roboto-Light"; 32 | src: url("/Fonts/RobotoMono-Light.ttf") format("truetype"); 33 | font-weight: normal; 34 | font-style: normal; } 35 | 36 | @font-face { 37 | font-family: "Roboto-Bold"; 38 | src: url("/Fonts/RobotoMono-Bold.ttf") format("truetype"); 39 | font-weight: normal; 40 | font-style: normal; } 41 | 42 | #Mainframe { 43 | --refWidth: 1024; 44 | --refHeight: 768; } 45 | 46 | as3000-mfd-element { 47 | width: 100%; 48 | height: 100%; 49 | background-color: black; 50 | font-family: Roboto-Bold; 51 | overflow: hidden; } 52 | as3000-mfd-element #Console { 53 | position: absolute; 54 | visibility: hidden; 55 | width: 100%; 56 | height: 100%; 57 | background-color: black; 58 | color: white; 59 | font-size: 4vh; 60 | z-index: 1000; } 61 | as3000-mfd-element #Splash { 62 | position: absolute; 63 | visibility: hidden; 64 | width: 100%; 65 | height: 100%; 66 | background-color: black; 67 | z-index: 1000; } 68 | as3000-mfd-element #Validate { 69 | position: absolute; 70 | visibility: hidden; 71 | width: 100%; 72 | height: 100%; 73 | background-color: black; 74 | z-index: 999; } 75 | as3000-mfd-element #Electricity { 76 | width: 100%; 77 | height: 100%; } 78 | as3000-mfd-element #Electricity[state=off] { 79 | display: none; } 80 | as3000-mfd-element #Electricity[state=init] #Console { 81 | animation: TemporaryShow 3.5s 1; } 82 | as3000-mfd-element #Electricity[state=init] #Splash { 83 | animation: TemporaryShow 3.5s 1; 84 | animation-delay: 2.5s; } 85 | as3000-mfd-element #Electricity[state=init] #Validate { 86 | animation: TemporaryHide 5.5s 1; 87 | visibility: visible; } 88 | as3000-mfd-element #Electricity[state=initWaitingValidation] #Validate { 89 | visibility: visible; } 90 | as3000-mfd-element #highlight { 91 | position: absolute; 92 | height: 100%; 93 | width: 100%; 94 | z-index: 10; } 95 | as3000-mfd-element .PopupWindow { 96 | visibility: hidden; } 97 | as3000-mfd-element .PopupWindow[state=Active] { 98 | visibility: inherit; } 99 | as3000-mfd-element #Mainframe { 100 | top: 0; 101 | left: 0; 102 | width: 100%; 103 | height: 100%; 104 | display: block; 105 | position: relative; } 106 | as3000-mfd-element #Mainframe #Electricity { 107 | position: relative; } 108 | as3000-mfd-element #Mainframe #Electricity #CenterDisplay { 109 | position: absolute; 110 | height: 100%; 111 | width: 100%; 112 | top: 0%; 113 | font-size: calc( 2 * 1vh * var(--bodyHeightScale)); 114 | text-align: center; } 115 | as3000-mfd-element #Mainframe #Electricity #CenterDisplay #ComFreq { 116 | position: absolute; 117 | left: 0%; 118 | top: 0%; 119 | width: 20%; 120 | height: 8%; 121 | background-color: #1a1d21; } 122 | as3000-mfd-element #Mainframe #Electricity #CenterDisplay #ComFreq .Active { 123 | position: absolute; 124 | width: 100%; 125 | height: 50%; 126 | top: 0%; 127 | left: 0%; } 128 | as3000-mfd-element #Mainframe #Electricity #CenterDisplay #ComFreq .Stby { 129 | position: absolute; 130 | width: 100%; 131 | height: 50%; 132 | bottom: 0%; 133 | left: 0%; } 134 | as3000-mfd-element #Mainframe #Electricity #CenterDisplay #ComFreq .Title { 135 | position: absolute; 136 | height: 100%; 137 | width: 40%; 138 | left: 0%; 139 | top: 0%; 140 | font-size: 2vh; 141 | line-height: 3vh; } 142 | as3000-mfd-element #Mainframe #Electricity #CenterDisplay #ComFreq .Value { 143 | position: absolute; 144 | height: 100%; 145 | width: 60%; 146 | right: 0%; 147 | top: 0%; 148 | font-size: 2.3vh; 149 | line-height: 3vh; } 150 | as3000-mfd-element #Mainframe #Electricity #CenterDisplay #ComFreq #COM1 { 151 | position: absolute; 152 | width: 50%; 153 | height: 100%; 154 | left: 0%; 155 | top: 0%; } 156 | as3000-mfd-element #Mainframe #Electricity #CenterDisplay #ComFreq #COM1 #Com1_Active { 157 | color: green; } 158 | as3000-mfd-element #Mainframe #Electricity #CenterDisplay #ComFreq #COM2 { 159 | position: absolute; 160 | width: 50%; 161 | height: 100%; 162 | right: 0%; 163 | top: 0%; } 164 | as3000-mfd-element #Mainframe #Electricity #CenterDisplay #LeftInfos { 165 | transform: rotateX(0); 166 | left: 0%; 167 | top: 8%; 168 | width: 20%; 169 | height: 92%; 170 | background-color: #1a1d21; 171 | position: absolute; } 172 | as3000-mfd-element #Mainframe #Electricity #CenterDisplay #LeftInfos #ED { 173 | width: 100%; 174 | height: 100%; 175 | position: absolute; 176 | display: block; } 177 | as3000-mfd-element #Mainframe #Electricity #CenterDisplay #LeftInfos[state=piston] #TurboEngine { 178 | display: none; } 179 | as3000-mfd-element #Mainframe #Electricity #CenterDisplay #LeftInfos[state=piston] #XMLEngineDisplay { 180 | display: none; } 181 | as3000-mfd-element #Mainframe #Electricity #CenterDisplay #LeftInfos[state=turbo] { 182 | width: 35%; } 183 | as3000-mfd-element #Mainframe #Electricity #CenterDisplay #LeftInfos[state=turbo] #PistonEngine { 184 | display: none; } 185 | as3000-mfd-element #Mainframe #Electricity #CenterDisplay #LeftInfos[state=turbo] #XMLEngineDisplay { 186 | display: none; } 187 | as3000-mfd-element #Mainframe #Electricity #CenterDisplay #LeftInfos[state=XML] #TurboEngine { 188 | display: none; } 189 | as3000-mfd-element #Mainframe #Electricity #CenterDisplay #LeftInfos[state=XML] #PistonEngine { 190 | display: none; } 191 | as3000-mfd-element #Mainframe #Electricity #CenterDisplay #RightInfos { 192 | transform: rotateX(0); 193 | height: 100%; 194 | width: 80%; 195 | right: 0%; 196 | position: absolute; } 197 | as3000-mfd-element #Mainframe #Electricity #CenterDisplay #RightInfos #TopRight { 198 | position: absolute; 199 | top: 0%; 200 | width: 100%; 201 | height: 4%; 202 | display: flex; 203 | font-size: 2.5vh; 204 | line-height: 4vh; 205 | background-color: #1a1d21; } 206 | as3000-mfd-element #Mainframe #Electricity #CenterDisplay #RightInfos #TopRight .title { 207 | width: 4%; 208 | color: white; } 209 | as3000-mfd-element #Mainframe #Electricity #CenterDisplay #RightInfos #TopRight .value { 210 | width: 8%; 211 | color: #d12bc7; } 212 | as3000-mfd-element #Mainframe #Electricity #CenterDisplay #RightInfos #TopRight #MSA { 213 | width: 8.5%; } 214 | as3000-mfd-element #Mainframe #Electricity #CenterDisplay #RightInfos #TopRight #ETA { 215 | width: 11%; } 216 | as3000-mfd-element #Mainframe #Electricity #CenterDisplay #RightInfos #Map { 217 | position: absolute; 218 | height: 96%; 219 | width: 100%; 220 | bottom: 0%; 221 | left: 0%; 222 | display: block; 223 | /* Map position (left and top) is set in mapConfig.json file (see SvgMapConfig.ts) (makes it editable at runtime) */ 224 | /* Map position (left and top) is set in mapConfig.json file (see SvgMapConfig.ts) (makes it editable at runtime) */ } 225 | as3000-mfd-element #Mainframe #Electricity #CenterDisplay #RightInfos #Map #MapOrientation { 226 | position: absolute; 227 | top: 0.25%; 228 | left: 0.25%; 229 | width: 10%; 230 | height: calc( 3 * 1vh * var(--bodyHeightScale)); 231 | font-size: calc( 2.3 * 1vh * var(--bodyHeightScale)); } 232 | as3000-mfd-element #Mainframe #Electricity #CenterDisplay #RightInfos #Map #WindData { 233 | position: absolute; 234 | top: 0.25%; 235 | width: 10%; 236 | right: 10%; } 237 | as3000-mfd-element #Mainframe #Electricity #CenterDisplay #RightInfos #Map #WindData .svg { 238 | position: absolute; 239 | top: 0%; 240 | height: 100%; 241 | width: 100%; } 242 | as3000-mfd-element #Mainframe #Electricity #CenterDisplay #RightInfos #Map #MapRange { 243 | position: absolute; 244 | bottom: 0%; 245 | right: 0%; 246 | width: 10%; 247 | height: calc( 4 * 1vh * var(--bodyHeightScale)); } 248 | as3000-mfd-element #Mainframe #Electricity #CenterDisplay #RightInfos #Map #MapRange .range { 249 | font-size: calc( 3 * 1vh * var(--bodyHeightScale)); 250 | text-align: right; } 251 | as3000-mfd-element #Mainframe #Electricity #CenterDisplay #RightInfos #Map #MapRange .unit { 252 | margin: 0 5% 2.5%; 253 | font-size: calc( 2.3 * 1vh * var(--bodyHeightScale)); 254 | text-align: left; } 255 | as3000-mfd-element #Mainframe #Electricity #CenterDisplay #RightInfos #Map #MapSVG, as3000-mfd-element #Mainframe #Electricity #CenterDisplay #RightInfos #Map #road-network-canvas { 256 | transform: rotateX(0); 257 | position: absolute; } 258 | as3000-mfd-element #Mainframe #Electricity #CenterDisplay #RightInfos #Map bing-map { 259 | transform: rotateX(0); 260 | position: absolute; 261 | left: 0px; 262 | top: 0px; 263 | width: 100%; 264 | height: 100%; } 265 | as3000-mfd-element #Mainframe #Electricity #CenterDisplay #RightInfos #Map #WeatherSVG { 266 | transform: scale(1.07); } 267 | as3000-mfd-element #map { 268 | position: absolute; 269 | left: 0; 270 | top: -11.5%; 271 | width: 100%; } 272 | 273 | -------------------------------------------------------------------------------- /src/dev/working/html_ui/Pages/VCockpit/Instruments/NavSystems/AS3000/PFD/AS3000_PFD.html: -------------------------------------------------------------------------------- 1 | 204 | 205 | 206 | 207 | 208 | 209 | 210 | 211 | 212 | 213 | 214 | 215 | 216 | 217 | 218 | 219 | 220 | 221 | 222 | 223 | 224 | 225 | 226 | 227 | 228 | 229 | --------------------------------------------------------------------------------