Jump to content

Lobby voice chat


Recommended Posts

PLEASE FIND A WAY TO DISABLE VOICE CHAT IN LOBBY AND IN-GAME SIDE. About 5-6 days ago i was playing and the server restarts the second it does some idiotic squeeker with no concern for others screamed as loud and high pitched as possible. next day i get an ear infection in my right ear.

and yes i was using headphones.

or at least optimize direct chat i have to have headset turned up on high cause i cant hear what people say in direct but any other channel its loud af.

Link to comment
;// SCRIPT START

;------------------------------------------------------------------------------

;24 December 2014 (Merry Christmas)

;------------------------------------------------------------------------------

;This script was put together by soul[kobk] from 2 pre-existing scripts for

;autohotkey (John T and Xander Lih), customised and modified to suit Arma 3

;(specifically for use with Battle Royale). Now you are able to control volume

;and mute annoying lobby chatter and the loud plane at round start with the

;press of a button. Please make sure that "Volume Mixer" is kept open at all

;times the script is running, else you will encounter errors.

;------------------------------------------------------------------------------

;Keyboard controls are as below...

;Volume down (decremented by 2) = Numpad -

;Volume up (incremented by 2) = Numpad +

;Volume mute/unmute = Numpad *

;------------------------------------------------------------------------------

;Greets to the "Arma 3 - Battle Royale" development staff, the numerous Arma 3

;game streamers and the many supporters/donators that keep Battle Royale alive!

;------------------------------------------------------------------------------

;P.S. For all players that will use this script, you're welcome.

;------------------------------------------------------------------------------

SetTitleMatchMode, 2

;Launches Volume Mixer

IfWinNotExist, ahk_class #32770

{

Run, "%A_WinDir%\System32\SndVol.exe" -r 88888888

WinSet, Top,, ahk_class #32770

}

;------------------------------------------------------------------------------

$NumPadSub::

VolDn()

return

;Hotkey to decrease volume

NumPadSub::NumPadSub

VolDn()

{

IfWinExist, Arma 3

{

ToolbarWindowNumber = 322

msctls_trackbarNumber = 321

Loop {

ControlGetText, ControlName, ToolbarWindow%ToolbarWindowNumber%, ahk_class #32770

If ControlName = Mute for Arma 3

{

ControlSend, msctls_trackbar%msctls_trackbarNumber%, {Down 2}, ahk_class #32770

Break

} Else {

If ToolbarWindowNumber < 328

{

ToolbarWindowNumber := ToolbarWindowNumber + 2

msctls_trackbarNumber := msctls_trackbarNumber + 1

} Else {

If ToolbarWindowNumber = 328

{

ToolbarWindowNumber = 3210

msctls_trackbarNumber := msctls_trackbarNumber + 1

} Else {

If ToolbarWindowNumber < 3242

{

ToolbarWindowNumber := ToolbarWindowNumber + 2

msctls_trackbarNumber := msctls_trackbarNumber + 1

} Else {

MsgBox, 16, Volume Mixer Error!, ERROR: Volume Mixer is not found!`nThis could occur if the Volume Mixer has more than 20 opened`napplications or the Volume Mixer was accidentally closed.

Break

}

}

}

}

}

}

Return

}

;------------------------------------------------------------------------------

$NumPadAdd::

VolUp()

return

;Hotkey to increase volume

NumPadAdd::NumPadAdd

VolUp()

{

IfWinExist, Arma 3

{

ToolbarWindowNumber = 322

msctls_trackbarNumber = 321

Loop {

ControlGetText, ControlName, ToolbarWindow%ToolbarWindowNumber%, ahk_class #32770

If ControlName = Mute for Arma 3

{

ControlSend, msctls_trackbar%msctls_trackbarNumber%, {Up 2}, ahk_class #32770

Break

} Else {

If ToolbarWindowNumber < 328

{

ToolbarWindowNumber := ToolbarWindowNumber + 2

msctls_trackbarNumber := msctls_trackbarNumber + 1

} Else {

If ToolbarWindowNumber = 328

{

ToolbarWindowNumber = 3210

msctls_trackbarNumber := msctls_trackbarNumber + 1

} Else {

If ToolbarWindowNumber < 3242

{

ToolbarWindowNumber := ToolbarWindowNumber + 2

msctls_trackbarNumber := msctls_trackbarNumber + 1

} Else {

MsgBox, 16, Volume Mixer Error!, ERROR: Volume Mixer is not found!`nThis could occur if the Volume Mixer has more than 20 opened`napplications or the Volume Mixer was accidentally closed.

Break

}

}

}

}

}

}

Return

}

;------------------------------------------------------------------------------

$NumpadMult::

ToggleMute()

return

;Hotkey to mute/unmute volume

NumpadMult::NumpadMult

ToggleMute()

{

IfWinExist, Arma 3

{

ToolbarWindowNumber = 322

msctls_trackbarNumber = 321

ControlGetPos, refX, , refW, , Arma 3, Volume Mixer

x = -1

while ( x != "")

{

tbIDX := (A_Index * 2)

ControlGetPos, x, , , , ToolbarWindow32%tbIDX%, Volume Mixer

diff := x - refX

if (diff > 0 && diff < refW)

{

ControlClick, ToolbarWindow32%tbIDX%, Volume Mixer

break

}

}

}

Return

}

;------------------------------------------------------------------------------

;// SCRIPT END

Hit * to mute A3.

Link to comment
Remember their names' date=' find them in-game and do whatever it takes to encourage them to leave the server for good.[/quote']

We kidnapped some dumbest in cop restraints and left his ass in the salt flats... 20 minutes we dropped a car on him. We found him again later at hydrogen mine and killed him and took his stuff.

Link to comment
Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

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