Alterscape Posted April 26, 2019 Posted April 26, 2019 I built a few Ka-50 panels/button boxes for DCS, and in order to make some of the two-state switches work the way I wanted (for instance, the Shkval 7x/23x toggle), I had to add a new binding to the Shark's default.lua that essentially says "this switch, when pressed, fires command 'zoom in' and when released, fires command 'zoom out'." LUA-wise, the command is {down = iCommandPlaneZoomIn, up = iCommandPlaneZoomOut, name = _('Shkval 23x/7x'), category = _('Ins Collective Stick')}, for anyone playing along at home. Anyhow, I've got a bunch of these, but any time DCS updates, it overwrites default.lua. Is there an existing tool to automate re-applying my patches after update? I could probably write a simple script (I'd use Python, but, whatever language) that appends my custom binds to the end of the file automatically, but if I don't have to re-invent the wheel, that would be spiffykeen.
ams999 Posted April 26, 2019 Posted April 26, 2019 Are you familiar with OvGME already? I'm asking as it doesn't 'automate' stuff per se so maybe it's not what you're after but I think it's highly practical. https://forums.eagle.ru/showthread.php?t=171956&page=73 "[...] because, basically, in this day and age, if you get to the merge and no one's died - it's not good for anybody." - Keith 'Okie' Nance "Nun siegt mal schön!" - Theodor Heuss, September 1958 "Nobody has any intention of building a wall." - Walter Ulbricht, June 1961 "Russia has no plans to invade either Ukraine or any other country." - Vladimir Chizhov, Russia's ambassador to the EU, January 2022
Recommended Posts