PhoenixBvo Posted February 24, 2012 Posted February 24, 2012 Hey guys, I searched the forums up and down with all sorts of keyword combinations, but couldn't find the solution for this. Also, I searched all the .lua files, ME and opened .miz files without success. I'd like to set the radio channels pre-mission, either in the ME, the mission planner or per lua editing if necessary, as if the ground crew did it for me when I get into the cockpit. Anyone know how this can be done? (Or if it is simply not possible by design, then I could stop looking :P)... Cheers [sIGPIC][/sIGPIC] CPU i7 4970k @ 4.7 GHz RAM 16GB G.Skill TridentX 1600 ATX ASUS Z97-PRO DSU Samsung 850 PRO 256GB SSD for Win10, Plextor M6e 128GB SSD for DCS exclusively, RAID-1 HDDs GFX Aorus GTX 1080 Ti 11GB Xtreme Edition, ASUS ROG Swift PG279Q, 27" with G-Sync, Oculus Rift CV1 HID TM HOTAS Warthog + 10 cm extension, MFG Crosswind pedals, TrackIR 5, Obutto oZone My TM Warthog Profile + Chart, F-15C EM Diagram Generator
Eddie Posted February 24, 2012 Posted February 24, 2012 Use the ME prepare mission function to configure radio pre-sets etc. Once you've made them for one mission, you can just copy the .lua files that contain the presets from one mission to another by upacking/repacking the .miz file.
PhoenixBvo Posted February 24, 2012 Author Posted February 24, 2012 Thanks Eddie, I thought I checked the ME, but might have overlooked that function:doh:. I'll try it out asap!! :thumbsup: [sIGPIC][/sIGPIC] CPU i7 4970k @ 4.7 GHz RAM 16GB G.Skill TridentX 1600 ATX ASUS Z97-PRO DSU Samsung 850 PRO 256GB SSD for Win10, Plextor M6e 128GB SSD for DCS exclusively, RAID-1 HDDs GFX Aorus GTX 1080 Ti 11GB Xtreme Edition, ASUS ROG Swift PG279Q, 27" with G-Sync, Oculus Rift CV1 HID TM HOTAS Warthog + 10 cm extension, MFG Crosswind pedals, TrackIR 5, Obutto oZone My TM Warthog Profile + Chart, F-15C EM Diagram Generator
Stuka Posted February 24, 2012 Posted February 24, 2012 And it's easy to just set 1 preset. Pretty clear in the lua files what the format is to manually set the other presets straight in lua. Is much faster. Windows 11 | i9 12900KF | 64GB DDR4 | RTX 3090 | TM Warthog HOTAS | Saitek Combat Rudder Pedals | TM MFDs + Lilliput 8" | TIR5 Pro
PhoenixBvo Posted February 24, 2012 Author Posted February 24, 2012 Hmmm, wenn I do the prepare mission thing, it loads ok, I set my radio presets and hit esc and then quit. But then I get a crash message: Problemsignatur: Problemereignisname: APPCRASH Anwendungsname: dcs.exe Anwendungsversion: 1.1.1.1 Anwendungszeitstempel: 4ee837db Fehlermodulname: atiumd6a.dll Fehlermodulversion: 8.14.10.342 Fehlermodulzeitstempel: 4edd804f Ausnahmecode: c0000005 Ausnahmeoffset: 0000000000001b37 Betriebsystemversion: 6.1.7601.2.1.0.768.3 Gebietsschema-ID: 1031 Zusatzinformation 1: b640 Zusatzinformation 2: b640eba6c74f6368d57d23e7c1f84147 Zusatzinformation 3: 0b0d Zusatzinformation 4: 0b0d0c98f08a8381ddbbbe409370a2b0 Lesen Sie unsere Datenschutzbestimmungen online: http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0407 Wenn die Onlinedatenschutzbestimmungen nicht verfügbar sind, lesen Sie unsere Datenschutzbestimmungen offline: C:\Windows\system32\de-DE\erofflps.txt I get back to the ME and save, but the presets aren't there in the mission :cry: What am I doing wrong? [sIGPIC][/sIGPIC] CPU i7 4970k @ 4.7 GHz RAM 16GB G.Skill TridentX 1600 ATX ASUS Z97-PRO DSU Samsung 850 PRO 256GB SSD for Win10, Plextor M6e 128GB SSD for DCS exclusively, RAID-1 HDDs GFX Aorus GTX 1080 Ti 11GB Xtreme Edition, ASUS ROG Swift PG279Q, 27" with G-Sync, Oculus Rift CV1 HID TM HOTAS Warthog + 10 cm extension, MFG Crosswind pedals, TrackIR 5, Obutto oZone My TM Warthog Profile + Chart, F-15C EM Diagram Generator
EinsteinEP Posted February 25, 2012 Posted February 25, 2012 This is broken for me, too. I thought I read somewheres in these here forums that "Prepare Mission" functionality doesn't work for the current gen DCS. Eddie, if it works for you, I'd love to see a sample mission that's been prepared so I can look at the folder/file structure. Shoot to Kill. Play to Have Fun.
spikenet Posted February 25, 2012 Posted February 25, 2012 to make a preset file create a folder in your miz file like: UHF then put a file called settings.lua with this inside (edit as needed): settings= { ["dials"]= { ["mode_dial"]=1, ["manual_frequency"]=225000000, ["selection_dial"]=1, ["channel_dial"]=1, }, ["presets"]= { [1]=251100000, [2]=251200000, [3]=265100000, [4]=275300000, [5]=285400000, [6]=295000000, [7]=305225000, [8]=315000000, [9]=325000000, [10]=333225000, [11]=333300000, [12]=345600000, [13]=355000000, [14]=365400000, [15]=374500000, [16]=375400000, [17]=385600000, [18]=395400000, [19]=396500000, [20]=397000000, }, } the other radios are VHF_AM and VHF_FM cheers 1
PhoenixBvo Posted February 25, 2012 Author Posted February 25, 2012 Thanks for the help spikenet. But after including those .lua files and manually editing the freqs in the folders UHF, VHF_AM and VHF_FM, it still doesn't seem to work. I'll attach the resulting .miz so you can check what I did.The Shore 01.miz [sIGPIC][/sIGPIC] CPU i7 4970k @ 4.7 GHz RAM 16GB G.Skill TridentX 1600 ATX ASUS Z97-PRO DSU Samsung 850 PRO 256GB SSD for Win10, Plextor M6e 128GB SSD for DCS exclusively, RAID-1 HDDs GFX Aorus GTX 1080 Ti 11GB Xtreme Edition, ASUS ROG Swift PG279Q, 27" with G-Sync, Oculus Rift CV1 HID TM HOTAS Warthog + 10 cm extension, MFG Crosswind pedals, TrackIR 5, Obutto oZone My TM Warthog Profile + Chart, F-15C EM Diagram Generator
spikenet Posted February 25, 2012 Posted February 25, 2012 PhoenixBvo, looks ok to me. Not sure why it wont work for you, if I get a chance I'll fly the mission tomorrow. cheers
Habu_69 Posted November 23, 2012 Posted November 23, 2012 Resurrecting this thread. Anyone get this to work in DCSW?
WildBillKelsoe Posted November 23, 2012 Posted November 23, 2012 Use the ME prepare mission function to configure radio pre-sets etc. Once you've made them for one mission, you can just copy the .lua files that contain the presets from one mission to another by upacking/repacking the .miz file. not to derail OP, but Eddie, does this work for weapon profiles as well? Like if I want to move weapon profiles from a 'blank' mission to the intended mission, I might just create a new mission, prepare it, save it, pack it to Miz, unpack it to RAR and copy and paste which files for release parameters and radio presets to intended mission, then repack the mission to miz? AWAITING ED NEW DAMAGE MODEL IMPLEMENTATION FOR WW2 BIRDS Fat T is above, thin T is below. Long T is faster, Short T is slower. Open triangle is AWACS, closed triangle is your own sensors. Double dash is friendly, Single dash is enemy. Circle is friendly. Strobe is jammer. Strobe to dash is under 35 km. HDD is 7 times range key. Radar to 160 km, IRST to 10 km. Stay low, but never slow.
Stuka Posted November 23, 2012 Posted November 23, 2012 Thanks for the help spikenet. But after including those .lua files and manually editing the freqs in the folders UHF, VHF_AM and VHF_FM, it still doesn't seem to work. I'll attach the resulting .miz so you can check what I did. The mission file is looking good. We, at the 476th, don't have any problems with the presets in World. Just to make sure: you are aware that on none of the radios, the displayed frequency changes when you change a preset? The displayed frequency will always display the default or last used frequency in manual mode. On UHF however, you can press the status button, just right of the frequency display, while in preset mode. Doing so will show you the preset frequency on the display for a few seconds, before switching back to the default/last used. Windows 11 | i9 12900KF | 64GB DDR4 | RTX 3090 | TM Warthog HOTAS | Saitek Combat Rudder Pedals | TM MFDs + Lilliput 8" | TIR5 Pro
Habu_69 Posted November 23, 2012 Posted November 23, 2012 Rgr, I know the displayed freq digits don't change with the preset channels. I have not got this to function correctly yet; but now that I know it does function, I will keep working on it.
Habu_69 Posted November 25, 2012 Posted November 25, 2012 Got it working now. Works great with WinRAR. Easy to add/edit the radio files to a mission file.
PhoenixBvo Posted November 26, 2012 Author Posted November 26, 2012 Habu_69, could you (or anyone else with a working example) please post a .miz with working presets? I tried it out again yesterday and I didn't get a response from the radios using preset mode... I did edit the radio luas with the active frequencies for the particular mission. [sIGPIC][/sIGPIC] CPU i7 4970k @ 4.7 GHz RAM 16GB G.Skill TridentX 1600 ATX ASUS Z97-PRO DSU Samsung 850 PRO 256GB SSD for Win10, Plextor M6e 128GB SSD for DCS exclusively, RAID-1 HDDs GFX Aorus GTX 1080 Ti 11GB Xtreme Edition, ASUS ROG Swift PG279Q, 27" with G-Sync, Oculus Rift CV1 HID TM HOTAS Warthog + 10 cm extension, MFG Crosswind pedals, TrackIR 5, Obutto oZone My TM Warthog Profile + Chart, F-15C EM Diagram Generator
Habu_69 Posted November 26, 2012 Posted November 26, 2012 Instrument approach to Batumi attached. It has VHF-AM file. UHF and VHF_FM use same format. [ATTACH]74093[/ATTACH]
PhoenixBvo Posted November 27, 2012 Author Posted November 27, 2012 (edited) Thanks, I'll fly it when I get home to test the presets. EDIT: It works!! Thanks Habu_69. Now I'll have to find out what I did wrong in my edited missions. But a comparison of the lua files should go a long way to finding the cause. Edited November 28, 2012 by PhoenixBvo [sIGPIC][/sIGPIC] CPU i7 4970k @ 4.7 GHz RAM 16GB G.Skill TridentX 1600 ATX ASUS Z97-PRO DSU Samsung 850 PRO 256GB SSD for Win10, Plextor M6e 128GB SSD for DCS exclusively, RAID-1 HDDs GFX Aorus GTX 1080 Ti 11GB Xtreme Edition, ASUS ROG Swift PG279Q, 27" with G-Sync, Oculus Rift CV1 HID TM HOTAS Warthog + 10 cm extension, MFG Crosswind pedals, TrackIR 5, Obutto oZone My TM Warthog Profile + Chart, F-15C EM Diagram Generator
Habu_69 Posted February 22, 2014 Posted February 22, 2014 Resurrecting this OLD thread, as I have discovered that ED has changed the names of the folders in the .miz files that hold the radio preset .lua files, as follows: VHF_AM is now VHF_AM_RADIO VHF_FM is now VHF_FM_RADIO UHF is now UHF_RADIO So any old mission .miz files must be updated with the new radio folder names in order for radio presets to function. I did not see any changes in the .lua file formats themselves. 1
Cyb0rg Posted February 22, 2014 Posted February 22, 2014 Isn't easier to set the correct frequencies in the radio console? [sIGPIC][/sIGPIC] Asteroids ____________________________________________ Update this :D
Habu_69 Posted February 22, 2014 Posted February 22, 2014 Isn't easier to set the correct frequencies in the radio console? Not really. While programming 2 to 3 presets in the cockpit isn't too time consuming, if one flies a large number of missions, especially older ones, it is much easier and faster to simply add "standardized" SETTINGS.lua radio preset files to the missions. I use WinRAR for that purpose. Keep the preset list on your virtual kneeboard, and you will always know that Anapa is preset 1, for example. In a related issue, I have discovered that the ME Mission Prep will now create a CDU/SETTINGS .lua file that contains WP data. So I think (still experimenting) one can easily add preassigned WPs for all the airfields to any .miz file. Saves creating WPs in the cockpit and handy in emergencies.
sUrge0n Posted February 22, 2014 Posted February 22, 2014 We've done a quick test and indeed the pre-sets on Mid Radio (UHf) are functional after renaming the UHF folder to UHF_RADIO ... unfortunately renaming VHF_FM to VHF_FM_RADIO did not bring us much luck... pre-sets are not working. Toggling the pre-set switch multiply times forward and backwards but no joy. Maybe there are some path directions to the old folders in the mission.lua file? [sIGPIC][/sIGPIC]- I5 3570K @4.2ghz | ASUS P8Z77-I Deluxe | Intel® Thermal Solution RTS2011LC | G.Skill Ares 8GB DDR3-1866 CL9 | MSI N760 2GD5/OC ITX| 2x Corsair CSSD-F60GBGT-BK | Western Digital WD10EALX 1TB | HOTAS Warthog | TrackIR 5 | Win 7
sUrge0n Posted February 23, 2014 Posted February 23, 2014 Hmm it seems to work but, it looks like there is quite a huge delay from the moment I issue (for example) an ATC request and the ATC response. [sIGPIC][/sIGPIC]- I5 3570K @4.2ghz | ASUS P8Z77-I Deluxe | Intel® Thermal Solution RTS2011LC | G.Skill Ares 8GB DDR3-1866 CL9 | MSI N760 2GD5/OC ITX| 2x Corsair CSSD-F60GBGT-BK | Western Digital WD10EALX 1TB | HOTAS Warthog | TrackIR 5 | Win 7
dannyq8 Posted November 30, 2014 Posted November 30, 2014 Hello all, Is this still working in 1.2.11? Everytime I try it, the frequencies that are in pre-sets seem to be a standardised loadout. ie 1 251.00 2 235.00 3 245.00 4 255.00 5 256.00 etc etc Is this simply an indication that I am doing it wrong or has something changed? Wise men speak because they have something to say; Fools because they have to say something. Plato
caponi Posted June 4, 2015 Posted June 4, 2015 Thanks Eddie, I thought I checked the ME, but might have overlooked that function:doh:. I'll try it out asap!! :thumbsup: hi guys ... i did not found the button to create presets in the MissionEditor for the A-10c ... what is wrong in my doing ? too much ...
Hansolo Posted June 4, 2015 Posted June 4, 2015 You can do following: 1. Select "Prepare Mission" under "Flights" in the mission editor 2. Once the mission is loaded enter the A-10C and unpause. 3. Exit the mission and once you reach the mission editor again press Save DCS has now included many preset files into the mission. For the radios you do not need all of them. Please take alook at this example: https://www.dropbox.com/s/zrmzkohlb9uho0j/Preset%20test.miz?dl=0 Open the .miz with Winrar. Just double click. You can see three folder; UHF_RADIO, VHF_AM_RADIO & VHF_FM_RADIO. Inside each folder is a SETTINGS.lua. Open the SETTINGS.lua with Notepad++ and change the frequencies to your likings, eg. [1]=227500000, [2]=238700000, [3]=248900000, [4]=255100000, Which are Uniform radio presets 1=227.500, 2=238.700, 3=248.900 & 4=255.1. Save the SETTINGS.lua and press Yes to the following question: 'File "SETTINGS-lua" was modified. Do you wish to update it in the archive?' Close Winrar. DO NOT SAVE Winrar. Its already done when you update the archieve. You can copy (CTLR+C) the three folder; UHF_RADIO, VHF_AM_RADIO & VHF_FM_RADIO into any mission you have created and then this will be you preset for those mission also :-) Cheers Hans 132nd Virtual Wing homepage & 132nd Virtual Wing YouTube channel My DCS-BIOS sketches & Cockpit Album
Recommended Posts