February 22, 20233 yr I tried force changing a dataref in XP12 but it remains at the current value. I can't show anything at the moment because it's a project 🙂 When I'm viewing a dataref where is the code actually written? What file would it be in? I use Notepad++ so I can pretty much open anything. Oh it is an aircraft's dataref I'm trying to change.  | My Liveries | FAA ZMP | PPL ASEL | | Windows 11 | MSI Z690 Tomahawk | 12700K 4.7GHz | MSI RTX 4080 | 64GB 6000 MHz DDR5 | 500GB Samsung 860 Evo SSD | 2x 2TB Samsung 970 Evo M.2 | EVGA 850W Gold | Corsair 5000X | HP G2 (VR) / LG 27" 1440p |  Â
February 22, 20233 yr datarefs are xplanes "reference to data" the default sdk documentation is here https://developer.x-plane.com/sdk/XPLMDataAccess/ the default xplane datarefs list is in the resources/plugins folder (datarefs txt) aircraft and plugins can also create their own. 2 hours ago, ryanbatc said: What file would it be in? depends what made it, e.g. the lua engines wrap that sdk above to allow creating reading and writing them from the scripts easily. 2 hours ago, ryanbatc said: I use Notepad++ Â vscode for the win https://code.visualstudio.com/ 2 hours ago, ryanbatc said: Oh it is an aircraft's dataref I'm trying to change. DRE and DRT are the two goto tools, sounds like either its not a writable dataref other than by the plugin that created it, or it is being set back to the original value by the aircrafts plugin. default XP aircraft are all easy to tweak, payware aircraft on something like sasl or gizmo lock you out of pretty much everything, last I heard zibo also blows up the plane if you try and mod it yourself. AutoATC Developer
February 24, 20233 yr Author Ok thanks! | My Liveries | FAA ZMP | PPL ASEL | | Windows 11 | MSI Z690 Tomahawk | 12700K 4.7GHz | MSI RTX 4080 | 64GB 6000 MHz DDR5 | 500GB Samsung 860 Evo SSD | 2x 2TB Samsung 970 Evo M.2 | EVGA 850W Gold | Corsair 5000X | HP G2 (VR) / LG 27" 1440p |  Â
February 24, 20233 yr On 2/22/2023 at 9:06 PM, ryanbatc said: I tried force changing a dataref in XP12 but it remains at the current value. I can't show anything at the moment because it's a project 🙂 When I'm viewing a dataref where is the code actually written? What file would it be in? I use Notepad++ so I can pretty much open anything. Oh it is an aircraft's dataref I'm trying to change. If the dataref can not be changed with DataRefTool, it is read-only. And despite them being marked as writable, writing to some aircraft related datarefs requires setting an "override_" type dataref first. 7950X3D + 7900 XT + 64 GB + Linux | 4800H + RTX2060 + 32 GB + Linux My add-ons from my FS9/FSX days
February 24, 20233 yr Author 29 minutes ago, Bjoern said: If the dataref can not be changed with DataRefTool, it is read-only. And despite them being marked as writable, writing to some aircraft related datarefs requires setting an "override_" type dataref first. Yeah that's what I discovered hehe. No worries! | My Liveries | FAA ZMP | PPL ASEL | | Windows 11 | MSI Z690 Tomahawk | 12700K 4.7GHz | MSI RTX 4080 | 64GB 6000 MHz DDR5 | 500GB Samsung 860 Evo SSD | 2x 2TB Samsung 970 Evo M.2 | EVGA 850W Gold | Corsair 5000X | HP G2 (VR) / LG 27" 1440p |  Â
Archived
This topic is now archived and is closed to further replies.