February 13, 201313 yr Anyone here have knowledge of how to change the start up state of this model so that the parking brake is set to "on" when the model loads? The only parking brake setting I find in the aircraft.cfg file is a setting that just indicates the parking brake is available. Frank Patton Corsair 5000D Airflow Case; MSI B650 Tomahawk MOB; Ryzen 7 7800 X3D CPU; ASUS RTX 4080 Super; NZXT 360mm liquid cooler; Corsair Vengeance 64GB DDR5 4800 MHz RAM; RMX850X Gold PSU;; ASUS VG289 4K 27" Display; Honeycomb Alpha & Bravo, Crosswind 3's w/dampener. Former USAF meteorologist & ground weather school instructor. AOPA Member #07379126 "I will never put my name on a product that does not have in it the best that is in me." - John Deere
February 13, 201313 yr If you talk about when you select the plane. Just load your default plane and set parking brake ON then save the default plane again. Then any other plane you select, will start with parking brake ON. If you do not want to do that, you can write a simple gauge and add it that will always set parking brake to ON, whenever you selected the C90. Let me know and I will post the code for such a gauge here. This gauge can also be used in other planes to always set parking brake to ON, as it is a std FSX variable that is set. If you talk about the C90 cold and dark lua that is available., I checked, the parking brake is definately in the lua and and it is working on my side when I tested the Lua just now.
February 13, 201313 yr Author <br />Let me know and I will post the code for such a gauge here. <br /> I would appreciate that. <br />If you talk about the C90 cold and dark lua that is available<br /> I do not know what the lua is. Can you elaborate. Frank Patton Corsair 5000D Airflow Case; MSI B650 Tomahawk MOB; Ryzen 7 7800 X3D CPU; ASUS RTX 4080 Super; NZXT 360mm liquid cooler; Corsair Vengeance 64GB DDR5 4800 MHz RAM; RMX850X Gold PSU;; ASUS VG289 4K 27" Display; Honeycomb Alpha & Bravo, Crosswind 3's w/dampener. Former USAF meteorologist & ground weather school instructor. AOPA Member #07379126 "I will never put my name on a product that does not have in it the best that is in me." - John Deere
February 13, 201313 yr Will post the code in a while. If you have FSUIPC4 you can create a "LUA" file that do certain actions for you eg It can set a Plane in a completely cord and dark based on the code entered into the LUA file. The LUA file is then linked to a joystick button. When you press that button, the lua file will run and execute all the commands entered in the LUA file. You can write a Lua file that will execute also a custom code execution. Especially current developers like to create their own variables and you cannot link them direct to a joy stick button. You can then use a LUA that will execute the custom variable. Hope you understand. if you need more info on the current cold and dark LUA, let me know and I will take you step by step through it, and how to set it up. Absolute brilliant stuff. It can execute like 200 commands in a few seconds, where it would have taken you a while to manually set the plane to cold and dark. the other advantage is that it will also execute all the "custom" coded variables. The C90 have a lot of custom variables added to their switches. here is C90 cold and dark lua http://library.avsim...xutil&Go=Search
February 13, 201313 yr Author Just load your default plane and set parking brake ON then save the default plane again. Then any other plane you select, will start with parking brake ON. I thought I had tried that before unsuccessfully but I tried again today and it did work. That gets me where I wanted to be at this point. I would still like the gauge and learn the proper file location for storing it. I am also interested in learning about the luas. Where is the best primer on them? Frank Patton Corsair 5000D Airflow Case; MSI B650 Tomahawk MOB; Ryzen 7 7800 X3D CPU; ASUS RTX 4080 Super; NZXT 360mm liquid cooler; Corsair Vengeance 64GB DDR5 4800 MHz RAM; RMX850X Gold PSU;; ASUS VG289 4K 27" Display; Honeycomb Alpha & Bravo, Crosswind 3's w/dampener. Former USAF meteorologist & ground weather school instructor. AOPA Member #07379126 "I will never put my name on a product that does not have in it the best that is in me." - John Deere
February 13, 201313 yr Regarding Lua - here at avsim is a sub forum called LINDA. you get a lot of data, http://forum.avsim.n...orum/424-linda/ the other one is http://forum.simflig...-contributions/ http://forum.simflig...file-or-script/ http://forum.simflig...ands-out-of-fs/ User guenseli is brilliant on Lua files regarding the gauge OK the gauge you grab here. http://www.mediafire...g6k3qs1ikpd9qhy This is a zip file. Extract to folder of your choice. When it is extracted it will contain one folder name "Parkingbrake_ON" and inside that folder is a xml file called "Parkingbrake.xml". (if you want to see the code, open the XML file with notepad) Now take the folder with the xml file inside and copy that folder to the "panel" folder of the C90. Now inside the panel folder of the C90 is a file called panel.cfg. Make sure you have a backup incase you mess up. Now open the panel.cfg file with notepad. Scroll right down to the section [Vcockpit01] after the last entry you have in this section add the following line. (copy and paste works best) gauge30=Parkingbrake_ON!Parkingbrake, 0,0,1,1 //Parking brake always ON at start Do not worry that their is a gap in the gauge numbering, as long as you dont already have another gauge30, then you use the next number that is available. That is it. from now on the Parking brake is set to "ON" when you start the C90 Regards Bob Edit: NB NB : You need to switch off the parking brake on default flight and save the default flight as such, so that any plane start with parking brake off. Then add the gauge. then only you will be able to see the parking brake at start is always ON for the C90, but the rest is still off at startup, becuase you added the gauge only to the C90. Still easiest is the method to start default flight. Set parking brake ON and then safe the default flight with that setting - all other planes will the start with parking brake ON.
February 13, 201313 yr Author Thanks so much! Sorry you went to so much effort on the instructions as I am adept at editing the .cfg files. I just needed to know where to best position the .XML file. But others who stumble across this and want to use it will benefit. Thanks again! Frank Patton Corsair 5000D Airflow Case; MSI B650 Tomahawk MOB; Ryzen 7 7800 X3D CPU; ASUS RTX 4080 Super; NZXT 360mm liquid cooler; Corsair Vengeance 64GB DDR5 4800 MHz RAM; RMX850X Gold PSU;; ASUS VG289 4K 27" Display; Honeycomb Alpha & Bravo, Crosswind 3's w/dampener. Former USAF meteorologist & ground weather school instructor. AOPA Member #07379126 "I will never put my name on a product that does not have in it the best that is in me." - John Deere
Create an account or sign in to comment