Frederf Posted January 20, 2009 Posted January 20, 2009 I guess my request has multiple parts. First I'd like to start with a simple request: The ABRIS can display Lat/Long in either XX°YY'ZZ'' format or XX°YY.yy' format but it is very annoying to have to change my default settings every flight. Can I edit a .lua file (Scripts\Aircrafts\Ka-50\Cockpit\ABRIS\Options.lua ) so that it automatically starts up in the YY.yy format? On a more complex note I would like the ABRIS to be able to save and remember state between missions. I want to save a flight plan in one mission and open it in the next. I want to save my XTE or RAIM preferences to hard disk and have them be there every time until I change them. Is this possible please? It's not realistic to have the settings reset to default EVERY time...and even if it is UGH how irritating!
boomshekah Posted January 21, 2009 Posted January 21, 2009 Hi, I don´t know about saving stuff between missions, but i think it is possible to edit the default settings of the ABRIS. Let me know what you want to change and i will try it out.
Sid6dot7 Posted January 21, 2009 Posted January 21, 2009 I don't know if it's the right way to do it, but it works. For changing lat./long. default settings: Open your ...\Scripts\Aircrafts\Ka-50\Cockpit\ABRIS\Options.lua with Notepad++ Goto line 442, there you will see following opt.Options.measurements.latitude = { data = { [color=blue]{"%02.f°%02.f\'%.s%02.f\""..LOCALIZE("C")," __°__\'__\""..LOCALIZE("C/Ю")}[/color], [color=red]{"%02.f°%02.f.%s\'" ..LOCALIZE("C")," __°__.__\'" ..LOCALIZE("C/Ю")}[/color], } } opt.Options.measurements.longitude = { data = { [color=blue]{"%03.f°%02.f\'%.s%02.f\""..LOCALIZE("В"),"___°__\'__\""..LOCALIZE("В/З")}[/color], [color=red]{"%03.f°%02.f.%s\'" ..LOCALIZE("В"),"___°__.__\'" ..LOCALIZE("В/З")}[/color], } } The blue values seems to be the default one. Simply swap the blue with red values to: opt.Options.measurements.latitude = { data = { [color=red]{"%02.f°%02.f.%s\'" ..LOCALIZE("C")," __°__.__\'" ..LOCALIZE("C/Ю")}[/color], [color=blue]{"%02.f°%02.f\'%.s%02.f\""..LOCALIZE("C")," __°__\'__\""..LOCALIZE("C/Ю")}[/color], } } opt.Options.measurements.longitude = { data = { [color=red]{"%03.f°%02.f.%s\'" ..LOCALIZE("В"),"___°__.__\'" ..LOCALIZE("В/З")}[/color], [color=blue]{"%03.f°%02.f\'%.s%02.f\""..LOCALIZE("В"),"___°__\'__\""..LOCALIZE("В/З")}[/color], } } There you go. Intel Xeon E3-1240 V2 @ 3.4 Ghz | 12 GB RAM (DDR3-1600) | Nvidia Geforce GTX660 Ti/2GB (Driver Ver. 381.65 ) | ASUS P8Z77-V LE Plus | SB Audigy 2 ZS (kxProject 3552) | Samsung SSD 830 Series (Sys: 64GB, DCS+other: 128GB) | Saitek X52 Pro + TM MFDs | TIR4: Pro (TIR 5.4.1.26786 Software) | Windows 10 Pro (x64, non Anniversary)
boomshekah Posted January 21, 2009 Posted January 21, 2009 Yes, this seems to work, looks like you can do this with any option.
Frederf Posted January 21, 2009 Author Posted January 21, 2009 OK I saw that area but I thought it was just the text label for the feature so changing that would only switch the text labels around and not the actual functionality. In related news I need some font or character improvements because I also don't see all the characters in the LUA file. Any suggestions? Aside: I also found how to set the default UV26 program to how I like it. Ask me how!
Frederf Posted January 21, 2009 Author Posted January 21, 2009 Lol, it's a .LUA edit. It took me a few minutes to find the file again >< Black Shark\Scripts\Aircrafts\Ka-50\Cockpit\Devices_specs\UV_26.lua The values are init_ripple_quantity_program = 0 init_num_in_burst_program = 1 init_ripple_intervals_program = 1 init_mode_of_indication = 0 init_current_board = 0 I want to set the default "current board" to be the "both" left and right flare dispensers but I don't know what value it wants (0,1,2?). Heck I think you can even program in your own UV-26 programs if you want. you could make an 11-quantity, 9 burst, 0.33 sec interval one if you really wanted to.
C6_Hellfrog Posted January 21, 2009 Posted January 21, 2009 I want to save a flight plan in one mission and open it in the next. for that ,have a look here : manuel 3-37 p361:smilewink:
Frederf Posted January 21, 2009 Author Posted January 21, 2009 for that ,have a look here : manuel 3-37 p361:smilewink: That only works in the same mission. you can also save a route plan into the ABRIS permanent database (i.e. your hard drive). If you do so, you will have the ability to load it the next time you fly the same mission. --Pilot Flight Manual 3-38.
boomshekah Posted January 22, 2009 Posted January 22, 2009 All the data you save in the ABRIS is stored in the mission file. Mission files can be opened with WinRAR or WinZip. You could try to extract NAVIGATION.lua, ROUTES.lua and ADDITIONAL.lua from one file and import them into another.
Frederf Posted January 22, 2009 Author Posted January 22, 2009 What I really want is to set my cockpit up how I want it and have it be that way all the time. In fact I would love if the cockpit would retain my state from the last time I ended the last mission of the campaign. The ABRIS lat/long format preference worked, thank you Sid6. The UV26 things I mentioned work great except for getting both dispensers to be on by default. If you want to have the quantity or program listed by default that's a 0 or a 1 in the "mode of indication" variable.
Recommended Posts