Arma 3
Not enough ratings
TFAR - ACE Radio Setter - Extended
   
Award
Favorite
Favorited
Unfavorite
Data Type: Mod
File Size
Posted
Updated
221.717 KB
Jun 25, 2021 @ 5:53am
Feb 25, 2024 @ 1:41am
16 Change Notes ( view )

Subscribe to download
TFAR - ACE Radio Setter - Extended

Description
TFAR - ACE Radio Setter - Extended is a client side. It's a simple Quality of Life mod which allows you to save/load your TFAR radios configuration via ACE Self-Interactions. This is not an official ACE or TFAR mod.

The mod stores data locally in `profileNamespace` which means it stores configurations on a per profile basis. This has the added side effect of requiring you to save a new configuration for each profile you make use of, but also ensures you can have different radio configurations for different units etc.

This mod also adds the ability to sort radios by their ranges in the ACE arsenal.

CBA Settings
  • Enable Arsenal Radio settings Saving: This setting will make the player save his current radio profile before accessing an arsenal (Vanilla or ACE). When exiting the arsenal or after respawning, the saved settings will be applied again.
  • Enable FK Server Detection: This setting will change your SR channel to your squad's channel automatically after loading a setting and can only be used on an FK server.
  • Enable 'SR' Interactions: If enabled, you will see the load and save options for SRs.
  • Enable 'LR' Interactions: If enabled, you will see the load and save options for LRs.
  • Enable 'VLR' Interactions: If enabled, you will see the load and save options for VLRs.
  • Enable 'SR & LR' Interactions: If enabled, you will see the load and save options if you have access to an SR and LR at the same time.
  • Enable 'All' Interactions: If enabled, you will see the load and save options if you have access to an SR, LR and VLR at the same time.
  • Ask Load Confirmation: This setting will open a confirmation box when you try to load a profile. Handy for avoiding mistakes.
  • Ask Save Confirmation: This setting will open a confirmation box when you try to save a profile. Handy for avoiding mistakes.
  • Ask Delete Confirmation: This setting will open a confirmation box when you try to delete a profile. Handy for avoiding mistakes.
  • Ask Overwrite Confirmation: This setting will open a confirmation box when you try to overwrite a profile when importing/creating profiles. Handy for avoiding mistakes.
  • Icon Color in Messages: This setting changes the color of the icon that is shown when you load/save/export a profile.
  • Air Profile: Allows the player to have a profile applied automatically when getting in an aircraft.
  • Land Profile: Allows the player to have a profile applied automatically when getting in a ground vehicle.
  • Enable Mounting Radio settings Saving: If the player has crew status, this setting will make the player save his current radio profile before mounting into a vehicle. When exiting the vehicle, the saved settings will be applied again.
  • Default Crew Status: Allows the player to set the default crew status when joining a mission.

CBA Keybinds
  • Press NUMPAD-9 to set your radio to the 9th SR channel.

How to
  • Use the "Create/Import Profile" interaction, which will open a dialog (window). In the top line you must give your profile a name and in the lower line you can give settings to a profile, but it's optional. This array is proprietary (see config.cpp in comment).
  • Now you can save your current radio settings using the "Save" interaction. SR radios will be individually listed, if there are multiple whereas for LR there will always be 1 interaction. You can select which profile you want to save the settings to.
  • You can now load the saved settings using the "Load" interaction.
  • Use the "Set Status" interaction to change your status as a crew member:
    If you are crew, it will apply radio loadouts in vehicles if they are defined.
    If you aren't crew, it will do nothing.

Notes

TFAR Beta is required, but it is version independent as far as I'm aware. If you use a version other than the one listed, or if you use a local version, this should still work. Currently written and tested under 1.0.328 (Beta).

Links

Credit

License
See LICENSE.
18 Comments
Lupus590 Feb 25, 2024 @ 5:59am 
That has fixed it for all three interaction options. Thank you.
johnb43  [author] Feb 25, 2024 @ 1:44am 
@Lupus590 I can't repro this issue at all unfortunately. However, I have pushed an update that will hopefully fix it for you - please report back if the fix works or not.
Lupus590 Feb 23, 2024 @ 5:12am 
Deleting via `0 call tfar_ace_extended_main_fnc_gui_selectProfile` works fine.
Exporting via `1 call tfar_ace_extended_main_fnc_gui_selectProfile` also works fine.
Everything seems to work fine as a virtual Zeus, no chrashing.

It seems that it is just a problem with the ACE self-interacting as a player.
johnb43  [author] Feb 22, 2024 @ 1:06am 
@Lupus590 What if you run `0 call tfar_ace_extended_main_fnc_gui_selectProfile` (for deleting profiles) and '1 call tfar_ace_extended_main_fnc_gui_selectProfile' (for exporting profiles)?
Can you also try using the Zeus interactions?
Lupus590 Feb 21, 2024 @ 2:35pm 
Delete profile also crashes me, I think it may be the same issue. I created this profile from the GUI that the debug call made.
Lupus590 Feb 21, 2024 @ 2:27pm 
`call tfar_ace_extended_main_fnc_gui_createProfile` works just fine.
Create/import crashed that same session (tested after running the function).
johnb43  [author] Feb 21, 2024 @ 3:22am 
@Lupus590
Run 'call tfar_ace_extended_main_fnc_gui_createProfile'.
If the above crashes, run 'spawn tfar_ace_extended_main_fnc_gui_createProfile'.
If it still crashes, run 'https://gist.github.com/johnb432/4548c1907aa427c9d1d70b8704f93bb9' .
If that still crashes, run the above again, but this time delete the lowest block of code (lines 114-115). Repeat code block deletion until it doesn't crash (so remove lines 114-115, then additionally line 112, then additionally lines 101-110, etc).
When I say run, I mean run the code via the debug console.
Lupus590 Feb 20, 2024 @ 2:35am 
16th Feb was when I first tried to use it in an OP. I think I had it installed for longer though.
johnb43  [author] Feb 19, 2024 @ 11:18am 
@Lupus590 When did you start using my mod? Was it before the latest update?
Lupus590 Feb 19, 2024 @ 10:34am 
I tried again with just your mod and it's dependencies.
I still crash in self hosted multiplayer with just your mod and the dependencies.
https://gist.github.com/Lupus590/ec616ff00517733da4e0a5301c3956dd#file-arma-3-log-2-txt