Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 15 additions & 7 deletions src/aircraft/pmdg-747-fsuipc.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,23 @@
"BeaconLights": [
{
"if": { "any": [
{ "kind": "offset", "address": "0x650A", "valueType": "int", "operator": "equal", "value": 0 },
{ "kind": "offset", "address": "0x650A", "valueType": "int", "operator": "equal", "value": 2 }
{ "kind": "offset", "address": "0x650A", "valueType": "byte", "operator": "equal", "value": 0 },
{ "kind": "offset", "address": "0x650A", "valueType": "byte", "operator": "equal", "value": 2 }
] },
"action": { "value": true }
},
{ "action": { "value": false } }
],
"LandingLights": [
{ "if": { "all": [{ "kind": "offset", "address": "0x6506", "valueType": "int", "operator": "equal", "value": 1 }] }, "action": { "value": true } },
{
"if": { "any": [
{ "kind": "offset", "address": "0x6506", "valueType": "byte", "operator": "equal", "value": 1 },
{ "kind": "offset", "address": "0x6507", "valueType": "byte", "operator": "equal", "value": 1 },
{ "kind": "offset", "address": "0x6508", "valueType": "byte", "operator": "equal", "value": 1 },
{ "kind": "offset", "address": "0x6509", "valueType": "byte", "operator": "equal", "value": 1 }
] },
"action": { "value": true }
},
{ "action": { "value": false } }
],
"LogoLights": [
Expand All @@ -28,19 +36,19 @@
"NavigationLights": [
{
"if": { "any": [
{ "kind": "offset", "address": "0x650B", "valueType": "int", "operator": "equal", "value": 0 },
{ "kind": "offset", "address": "0x650B", "valueType": "int", "operator": "equal", "value": 2 }
{ "kind": "offset", "address": "0x650B", "valueType": "byte", "operator": "equal", "value": 0 },
{ "kind": "offset", "address": "0x650B", "valueType": "byte", "operator": "equal", "value": 2 }
] },
"action": { "value": true }
},
{ "action": { "value": false } }
],
"StrobeLights": [
{ "if": { "all": [{ "kind": "offset", "address": "0x6511", "valueType": "int", "operator": "equal", "value": 1 }] }, "action": { "value": true } },
{ "if": { "all": [{ "kind": "offset", "address": "0x6511", "valueType": "byte", "operator": "equal", "value": 1 }] }, "action": { "value": true } },
{ "action": { "value": false } }
],
"TaxiLights": [
{ "if": { "all": [{ "kind": "offset", "address": "0x6510", "valueType": "int", "operator": "equal", "value": 1 }] }, "action": { "value": true } },
{ "if": { "all": [{ "kind": "offset", "address": "0x6510", "valueType": "byte", "operator": "equal", "value": 1 }] }, "action": { "value": true } },
{ "action": { "value": false } }
],
"WingLights": [
Expand Down
17 changes: 12 additions & 5 deletions src/aircraft/pmdg-777-fsuipc.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,26 +9,33 @@
"disabled": { "LogoLights": true, "WingLights": true },
"features": {
"BeaconLights": [
{ "if": { "all": [{ "kind": "offset", "address": "0x6488", "valueType": "int", "operator": "equal", "value": 1 }] }, "action": { "value": true } },
{ "if": { "all": [{ "kind": "offset", "address": "0x6488", "valueType": "byte", "operator": "equal", "value": 1 }] }, "action": { "value": true } },
{ "action": { "value": false } }
],
"LandingLights": [
{ "if": { "all": [{ "kind": "offset", "address": "0x6485", "valueType": "int", "operator": "equal", "value": 1 }] }, "action": { "value": true } },
{
"if": { "any": [
{ "kind": "offset", "address": "0x6485", "valueType": "byte", "operator": "equal", "value": 1 },
{ "kind": "offset", "address": "0x6486", "valueType": "byte", "operator": "equal", "value": 1 },
{ "kind": "offset", "address": "0x6487", "valueType": "byte", "operator": "equal", "value": 1 }
] },
"action": { "value": true }
},
{ "action": { "value": false } }
],
"LogoLights": [
{ "action": { "value": false } }
],
"NavigationLights": [
{ "if": { "all": [{ "kind": "offset", "address": "0x650B", "valueType": "int", "operator": "equal", "value": 1 }] }, "action": { "value": true } },
{ "if": { "all": [{ "kind": "offset", "address": "0x6489", "valueType": "byte", "operator": "equal", "value": 1 }] }, "action": { "value": true } },
{ "action": { "value": false } }
],
"StrobeLights": [
{ "if": { "all": [{ "kind": "offset", "address": "0x648F", "valueType": "int", "operator": "equal", "value": 1 }] }, "action": { "value": true } },
{ "if": { "all": [{ "kind": "offset", "address": "0x648F", "valueType": "byte", "operator": "equal", "value": 1 }] }, "action": { "value": true } },
{ "action": { "value": false } }
],
"TaxiLights": [
{ "if": { "all": [{ "kind": "offset", "address": "0x648E", "valueType": "int", "operator": "equal", "value": 1 }] }, "action": { "value": true } },
{ "if": { "all": [{ "kind": "offset", "address": "0x648E", "valueType": "byte", "operator": "equal", "value": 1 }] }, "action": { "value": true } },
{ "action": { "value": false } }
],
"WingLights": [
Expand Down
Loading