I just got done spending HOURS staring at this screen disecting all of the lovely .lua files for DCS. I started off just tweaking some settings to gain a better FPS for myself... which I did :thumbup: So I thought hell I'll just dig into all of these files hoping I could find some error in the scripting that is causing that annoying "Phantom port" problem so many of us trying to host our servers have encountered... I have a friend that owns DCS as well that told me a week or so back he wished he could set the cockpit in Russian and the ABRIS to english.
Well I'll be damned if in my search through EVERY .LUA file in the directory I found out how this can be done for both the ABRIS and the EKRAN while leaving the cockpit in Russian! You can do this with the C/W lights but really if you have to do all that might as well keep it in english I figure. So here's how to do this and I hope in return someone there at ED can answer two .LUA questions for me.
ABRIS EDIT!!
In your "Eagle Dynamics\Ka-50\Scripts\Aircrafts\Ka-50\Cockpit" folder and using Notepad++ open the localizer.lua
At the very top you will see.......
country = "EN"
if LockOn_Options.cockpit_language == "russian" then
country = "RU"
end
Change the "RU" in the third line to look like this
country = "EN"
if LockOn_Options.cockpit_language == "russian" then
country = "EN"
It's that easy and it's the exact same way with the file for the EKRAN located at...
Eagle Dynamics\Ka-50\Scripts\Aircrafts\Ka-50\Cockpit\EKRAN\Device\EKRAN_localizer.lua
Hope that helps anyone wanting to have this option available. Now for you ED guys heres my question. in the \Eagle Dynamics\Ka-50\BlackShark\data\scripts\options.lua on lines..... 26 and 30 we have --- ["aftSwitching"] = false, and ["hud"] = false, What do these mean and what will happen if these were put to true?
Other than that I can now speak .lua script hahaha And also is there some way I missed in there to attach our ports to a heartbeat or must we wait on the patch?