hotrod525 Posted March 20, 2022 Posted March 20, 2022 Hey folks, anyone know where is the .lua to modify the named preset radio in the Apache ? Thanks
Scaley Posted March 21, 2022 Posted March 21, 2022 If you look in: \DCS World\Mods\aircraft\AH-64D\Cockpit\Scripts\Radio\ you 'll find a lua file for each radio with a table of 10 presets for each. I can't work out how to alter the text for the names so I've edited: B:\DCS World\Mods\aircraft\AH-64D\Cockpit\Scripts\Displays\EUFD\Pages\PRESET.lua and edited line 36-45 to be of the form AddText("Name_0", 11.0/28.0, aspect*6/7, {{}}, nil) That removes the preset name entirely. Best I have worked out so far. 476th vFighter Group Main Page -- YouTube -- Discord Scaley AV YouTube - More videos from the 476th
hotrod525 Posted March 22, 2022 Author Posted March 22, 2022 On 3/20/2022 at 10:21 PM, Scaley said: If you look in: \DCS World\Mods\aircraft\AH-64D\Cockpit\Scripts\Radio\ you 'll find a lua file for each radio with a table of 10 presets for each. I can't work out how to alter the text for the names so I've edited: B:\DCS World\Mods\aircraft\AH-64D\Cockpit\Scripts\Displays\EUFD\Pages\PRESET.lua and edited line 36-45 to be of the form AddText("Name_0", 11.0/28.0, aspect*6/7, {{}}, nil) That removes the preset name entirely. Best I have worked out so far. Good, i'll keep the name, i just want to tune the radio Actualy, no, in fact, i might want to change BATUMI name... Thanks for the info, i'll try to dig into that
kopperk9 Posted July 22, 2022 Posted July 22, 2022 So with the latest update (7/21/22) now that we can set presets in the ME, is there a way to relabel the text. I looked at the lua above and can't figure it out either. Any other ideas out there?
Scaley Posted July 22, 2022 Posted July 22, 2022 I've still not found a way to enter new text. As per my post above you can remove it but not edit it. The list of text is a placeholder and is somewhere in the compiled code, not a bit of lua we can get at. 476th vFighter Group Main Page -- YouTube -- Discord Scaley AV YouTube - More videos from the 476th
Recommended Posts