R_828.lua, R828 presets and TARS - ED Forums
 


Notices

Reply
 
Thread Tools Display Modes
Old 10-24-2013, 10:28 AM   #1
Sylvan
Junior Member
 
Sylvan's Avatar
 
Join Date: Oct 2012
Location: Trondheim, Norway
Posts: 29
Default R_828.lua, R828 presets and TARS

Hi,

Where are the R828 preset frequencies defined? I've been searching quite a lot for the answer to this, but couldn't find it either on here or on Google.

Most seem to point to the R_828.lua file. Here's what mine says:
DCS World\Mods\aircrafts\Ka-50\Cockpit\Scripts\R-828\R_828.lua:

Code:
squelch = true
volume	=	0.5
channel = 0

presets = {}
presets[1] = 35654000.0
presets[2] = 25675000.0 -- radio Mayak
presets[3] = 48543500.0
presets[4] = 35657500.0
I have not manually modified this file in any way. Neither have I installed any mods. Previously there used to be ten different presets, but as of later versions of DCS there are only these four.

However, when I go in-game with TARS enabled and try to tune the various presets on my R828, my TARS status panel readout shows the following frequencies:
  1. 35.650
  2. 25.675
  3. 48.550
  4. 35.650
  5. 58.400
  6. 46.400
  7. 42.700
  8. 37.725
  9. 46.325
  10. 22.975

As you can see, the first, third and fourth frequencies do not match the contents of R_828.lua. And where do presets 5 through 10 come from since they're not defined in the file?

What's going on here?
Sylvan is offline   Reply With Quote
Old 10-25-2013, 02:16 PM   #2
Dejjvid
Senior Member
 
Dejjvid's Avatar
 
Join Date: Sep 2010
Location: Sweden
Posts: 1,159
Default

Hej Sylvan!

Bumping this thread, im also looking for info on this.
__________________
i7 8700K | GTX 1080 Ti | 32GB RAM | 500GB M.2 SSD | TIR5 w/ Trackclip Pro | TM Hotas Warthog | Saitek Pro Flight Rudder

http://www.132virtualwing.org

HOTAS Warthog mod tutorial
Dejjvid is offline   Reply With Quote
Old 08-16-2016, 06:43 PM   #3
IanMacleod
Junior Member
 
IanMacleod's Avatar
 
Join Date: Jul 2016
Location: Rotterdam, Netherlands
Posts: 22
Default

me too
__________________
Ka-50 Black Shark 2
Mi-8MTV2 Magnificent Eight
SA342 Gazelle
L-39 Albatros
Combined arms
F15
C
Spitfire LF Mk. IX
IanMacleod is offline   Reply With Quote
Old 08-16-2016, 06:45 PM   #4
BaD CrC
Senior Member
 
BaD CrC's Avatar
 
Join Date: Dec 2008
Location: New Jersey, USA
Posts: 2,476
Default

Well, it is not anymore a problem now those presets can be setup in the mission editor directly without having to dig into the lua files.
__________________

8086K delid @5.1Ghz under EKWB Water, 2080Ti FE, 32Gb DDR4, 970Pro NvME.
BaD CrC is offline   Reply With Quote
Old 08-16-2016, 11:53 PM   #5
JG14_Smil
Senior Member
 
Join Date: Dec 2008
Posts: 2,312
Send a message via MSN to JG14_Smil
Default

As Bad_CrC says, it is done in the Mission Editor. The lua file is then packed with the mission.

A nice touch to see after three years off.
JG14_Smil is offline   Reply With Quote
Reply

Tags
ka-50, lua, r828, radio, tars

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT. The time now is 12:37 PM. vBulletin Skin by ForumMonkeys. Powered by vBulletin®.
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.