Jump to content

Settings switch to disable 'Players' voice after issuing radio command


Recommended Posts

Posted

Hi,

 

I apologize if I've asked for this before.

I would like a setting to disable 'player's pilots' voice after issuing a radio command via F-keys.

 

In more detail:

 

If I issue a 'Flight RTB' command via F-keys, I do NOT want to hear a computer voice say 'Flight, RTB', and then hear a reply from my wingie , eg. saying 'Roger, RTB'.

 

Reason: If I issue all radio commands via VAC and voice recognition, this new logic will make the experience much more immersive. For at the moment, I SAY 'flight, RTB', then 2 seconds later I hear 'Flight, RTB', then I hear 'Roger, RTB'. Breaks the immersion.

 

The code change should take < 1-hour ;-)

 

Love and kisses!

i7@3.5Ghz, ATI 5870, 16GB RAM, win7 64bit, TH2GO, Track-IR, 4screen pit, TM WArthog HOTAS

Posted (edited)

Hi Nate,

 

Thx for the suggestion. This works okayish.. the problem with this approach is that the time between pressing the final F-key and when you start to hear the confirm from wingie doesn't change between either method.

 

So if I rename the folder, I get on paper what I wanted originally, but there's now a big pregnant pause before I get a reply from the receiver.

 

Picky huh! ;-)

Edited by Jinja
added goodness

i7@3.5Ghz, ATI 5870, 16GB RAM, win7 64bit, TH2GO, Track-IR, 4screen pit, TM WArthog HOTAS

Posted

You can imagine that it is the reaction time of the pilot, like if your flight copy what you have say, select waypoint to the base and check the radio frequency before talk with you for confirm it cause in real life you cant do it really instantaneously.

CPU : I7 6700k, MB : MSI Z170A GAMING M3, GC : EVGA GTX 1080ti SC2 GAMING iCX, RAM : DDR4 HyperX Fury 4 x 8 Go 2666 MHz CAS 15, STORAGE : Windows 10 on SSD, games on HDDs.

Hardware used for DCS : Pro, Saitek pro flight rudder, Thrustmaster HOTAS Warthog, Oculus Rift.

Own : A-10C, Black Shark (BS1 to BS2), P-51D, FC3, UH-1H, Combined Arms, Mi-8MTV2, AV-8B, M-2000C, F/A-18C, Hawk T.1A

Want : F-14 Tomcat, Yak-52, AJS-37, Spitfire LF Mk. IX, F-5E, MiG-21Bis, F-86F, MAC, F-16C, F-15E.

  • 7 months later...
Posted (edited)

Need some new ideas on this front. With 1.1.1.0 renaming the \\Sounds\Speech\Sound\ENG\Player folder produces a lua error when trying to issue radio commands.

 

Like Jinja, I've got VAC set up now and I'd like to remove the player speech as well as the delay after "transmitting".

 

Edit: Changing the \\Sounds\Speech\Sound\ENG\Player folder name produces an error, but deleting the files within that folder and sub-folder works. I think someone else had already figure that out though.

Edited by AJ.eightFive
Posted

Have been fooling about with some of the scripts and I've found a way to eliminate the delay after a player transmits a message.

 

phrase.lua contains code which appears to concatenate the messages and calculates the total duration of the message based on the syllables it contains. The function getTextDuration takes the message string as an argument and returns the total duration of the message, creating the buffer which we are seeking to remove. Returning 0 is a quick and dirty way to remove that buffer but the problem is at this level it affects all speech and not just player speech, which causes some AI speech to overlap. For example, the JTAC 9-line briefing gets muddled up with the "advise when ready to copy remarks and further talk on" message.

 

Changing the code to accomplish the desired result without this undesireable side effect might take a little more time than you think Jinja ;). Anyway, I'll keep working on it and hopefully others will see this and come up with some new ideas as well.

Posted

Perhaps one of the scripts would allow you to mute the player's voice. So the commands are still issued and file is still played but it's inaudible. With that you'd still get a confirmation prompt on screen showing that the command was successful. Editing lua files=out of my league.

[sIGPIC][/sIGPIC]

Mobo: ASUS Crosshair III Formula / CPU: AMD Phenom II X4 965 BE @ 3.4 GHz / RAM: Corsair XMS3 8GB / GPU: HIS Radeon HD 6850

Display: Sony Bravia 32" HDTV / Peripherals: TM Warthog, Saitek Combat Rudder Pedals, TIR5, Bose A20, Mini fridge w/ Yuengling

Posted

Torment, deleting the audio files in each of the subdirectories in \\Sounds\Speech\Sound\ENG\Player does what you are suggesting, that is, the commands are still sent, but there is no player speech.

 

The problem, as Jinja discovered, is that the sim is still reserves a certain amount of time for the audio to play so that the player doesn't step on the transmission.

 

With the player audio files deleted, checking in with JTAC results in a long pause before JTAC sends a response because the sim is still building that buffer.

 

I've made a little more progress with this though. NATO.lua (amongst others I'm sure) contains several "handlers" that generate the player speech subtitles and by commenting these out one by one I have been able to stop the sim from generating the messages, and thus the big pauses.

 

I haven't tried it yet, but I have a suspicion commenting these out means the audio files wouldn't be played either so there might not be a need to delete them.

Posted

Here's an example, which stops the script generating the player's callsign at the beginning of the JTAC check-in:

 

From line 864 of NATO.lua

 

toJTACHandler = {

make = function(self, message, language)

-- return self.sub.PlayerAircraftCallsign:make(message.sender, language == 'RUS') + comma_space_ + Event:make(message.event)

end,

--sub = { PlayerAircraftCallsign = PlayerAircraftCallsign }

}

 

Note that only the return statements are commented out as these are the ones that actually produce the messages. Commenting out the other statements within the toJTACHandler block still works, but produces a luascript error that appears on screen.

Posted (edited)

Nearly have this licked and will upload the modified files for everyone to test soon (it'll take me far too long to verify all the messages have been supressed on my own).

 

In the meantime. Can someone confirm for me that in 1.1.1.0 the "Cleared to pre-contact" audio no longer plays after contacting the tanker with "intent to fuel"? I want to be sure that I didn't break it myself. I've tried restoring backups of the files I modified but the audio still doesn't play.

 

Edit: Appears AWACS vector to tanker, vector to home plate audio isn't working in 1.1.1.0 either. Confirm?

Edited by AJ.eightFive
Posted
Nearly have this licked and will upload the modified files for everyone to test soon (it'll take me far too long to verify all the messages have been supressed on my own).

 

In the meantime. Can someone confirm for me that in 1.1.1.0 the "Cleared to pre-contact" audio no longer plays after contacting the tanker with "intent to fuel"? I want to be sure that I didn't break it myself. I've tried restoring backups of the files I modified but the audio still doesn't play.

 

Edit: Appears AWACS vector to tanker, vector to home plate audio isn't working in 1.1.1.0 either. Confirm?

 

No speech for the tanker like you said, need to check the AWACS.

Always remember. I don't have a clue what I'm doing

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...