Angrygargamel Posted December 30, 2014 Report Share Posted December 30, 2014 Hi&Hello... i tried to implement this little but functional earplug script on my epoch server... i have tried 3 different variants now... but the mousewheel actions never show up http://www.armaholic.com/page.php?id=26624 any suggestions? who doesnt know what this script does... when you fly in a heli you cant understand anything of the VON or teamspeak unless you turn the ingame volume down this script does this for you instant... put the earplugs in... sound is lowered to x percent take the earplugs out... sound is back to normal Home Sweet Home and mgm 2 Link to comment Share on other sites More sharing options...
0 mgm Posted February 17, 2015 Report Share Posted February 17, 2015 <snip> Thanks for all the positive feedback! EgoBoooooost enabled! :D Then you will like this: Just joined a random server (German, in German language) apparently they have your script running with some German customizations. At this rate soon you'll be famous man! ;) computermancer 1 Link to comment Share on other sites More sharing options...
0 cheech420now Posted February 17, 2015 Report Share Posted February 17, 2015 Okie Dokie. Here is a link to my latest version of the earplugs script. WIth instructions, and BE filters. :D https://github.com/computermancer/cmEarplugs Updated this baby with some sweet sweet new techniques. Only things missing is an auto-remove triggered by distance to nearest vehicle. Still wont work for helicopters. mgm 1 Link to comment Share on other sites More sharing options...
0 mgm Posted February 18, 2015 Report Share Posted February 18, 2015 Yup, would be good if computermancer adds every single vehicle to the script's internal database. Until then, it is possible to add any vehicle you like to the array (temp. workaround...). Link to comment Share on other sites More sharing options...
0 computermancer Posted February 18, 2015 Report Share Posted February 18, 2015 Are the helicopters in your server from the default Epoch list or did you add your own? If you added your own, you have to add them to the aloowedArray. But it should just pop up if you get in the chopper. Hmmm.... is anyone else having this issue? I will setup a vanilla test server and spawn in a heli to test... Link to comment Share on other sites More sharing options...
0 cheech420now Posted February 18, 2015 Report Share Posted February 18, 2015 i tried with all the choppers. Epoch and non Epoch Link to comment Share on other sites More sharing options...
0 computermancer Posted February 18, 2015 Report Share Posted February 18, 2015 Okay you guys, I have made the grand daddy of all my earplugs scripts. :D It has toggles for auto remove and auto insert of earplugs. By default it will auto-insert earplugs, and auto-remove them when getting in/out of vehicles. :wub: It no longer depends on an array, so it's IMPOSSIBLE to not have them once you have entered a vehicle once. :ph34r: Same link. https://github.com/computermancer/cmEarplugs mgm 1 Link to comment Share on other sites More sharing options...
0 mgm Posted February 19, 2015 Report Share Posted February 19, 2015 Okay you guys, I have made the grand daddy of all my earplugs scripts. :D It has toggles for auto remove and auto insert of earplugs. By default it will auto-insert earplugs, and auto-remove them when getting in/out of vehicles. :wub: It no longer depends on an array, so it's IMPOSSIBLE to not have them once you have entered a vehicle once. :ph34r: Same link. https://github.com/computermancer/cmEarplugs Cool, I will try soonest! I came here now from Altis to post a suggestion for the next version: if there are multiple vehicles parked next to each other 'earplugs' menu appear more than once - perhaps add a constraint so that it never shows up more than once in the mouse wheel menu? computermancer 1 Link to comment Share on other sites More sharing options...
0 computermancer Posted February 19, 2015 Report Share Posted February 19, 2015 Cool, I will try soonest! I came here now from Altis to post a suggestion for the next version: if there are multiple vehicles parked next to each other 'earplugs' menu appear more than once - perhaps add a constraint so that it never shows up more than once in the mouse wheel menu? In the new version. I am REALLY bad at documentation... sorry. :P Link to comment Share on other sites More sharing options...
0 prue420 Posted February 19, 2015 Report Share Posted February 19, 2015 Could you make a simple earplug script where the option to put them in is up all the time instead of just around vehicles? Link to comment Share on other sites More sharing options...
0 computermancer Posted February 19, 2015 Report Share Posted February 19, 2015 Could you make a simple earplug script where the option to put them in is up all the time instead of just around vehicles? Yes, but that will trigger the Epoch AntiHack. Until they allow us to exempt "addaction" from triggering the filter, we have to use this work around. If you addaction to a player, it will do an autoban, no way to stop that yet. (without disabling the Epoch AntiHack) This script I wrote is as simple as I can make it without using the "player addaction" command. Theoretically, you can add the action to EVERYTHING on the server, but not sure how annoying that would be. :P My next attempt is to use the nearestObject command to trigger the action, but I am still a novice. Link to comment Share on other sites More sharing options...
0 computermancer Posted February 19, 2015 Report Share Posted February 19, 2015 This is what using "PLAYER ADDACTION" can let you do! Link to comment Share on other sites More sharing options...
0 mgm Posted February 19, 2015 Report Share Posted February 19, 2015 In the new version. I am REALLY bad at documentation... sorry. :P Cool, thanks. BTW this thread started as a request by another person and progressed to becoming your release thread. It might be a good idea for you to start your own thread now to share your work so that you can control the 1st post and the thread title, plus it'd be easier to find for others. computermancer 1 Link to comment Share on other sites More sharing options...
0 computermancer Posted February 19, 2015 Report Share Posted February 19, 2015 Roger that, took almost 3 weeks to get my SUPERFUNMENU thread up. SO, I will put in request tomorrow. XD mgm 1 Link to comment Share on other sites More sharing options...
0 mgm Posted February 19, 2015 Report Share Posted February 19, 2015 Okie Dokie. Here is a link to my latest version of the earplugs script. WIth instructions, and BE filters. :D https://github.com/computermancer/cmEarplugs Updated this baby with some sweet sweet new techniques. Only things missing is an auto-remove triggered by distance to nearest vehicle. I've upgraded to the latest version, working great! thanks for adding all these features! computermancer 1 Link to comment Share on other sites More sharing options...
0 computermancer Posted February 20, 2015 Report Share Posted February 20, 2015 I applied for a thread in the scripts section for my earplugs script, and I was approved super fast. Here is a link to it, I will add videos and other details later to make it look nice. Link to comment Share on other sites More sharing options...
0 cring0 Posted February 23, 2015 Report Share Posted February 23, 2015 BI just needs to do something imo. I think it would be practical enough. I could understand it being a problem with land vehicles since you could easily hear ground troops locations, but you're not going to hear anything in a helicopter anyways. Like I said, future would have sound dampening technology, just sayin. I'll see if anyone else has been pushing it on BI when I get home I guess. Link to comment Share on other sites More sharing options...
0 blueman Posted March 26, 2015 Report Share Posted March 26, 2015 Has anyone used this on the ARMA 3 Epoch .3.0.1 update yet? Link to comment Share on other sites More sharing options...
0 DirtySanchez Posted March 26, 2015 Report Share Posted March 26, 2015 0.3.0.1 does nothing to break any of CMs add actions, nor any others we have running. Link to comment Share on other sites More sharing options...
0 1Man Posted March 26, 2015 Report Share Posted March 26, 2015 Earplugs do work its other scripts I'm having issues with lol fml Link to comment Share on other sites More sharing options...
0 DirtySanchez Posted March 26, 2015 Report Share Posted March 26, 2015 1Man, it's the fucking weather. Go back to default brotha Link to comment Share on other sites More sharing options...
0 Sneakydude Posted April 26, 2015 Report Share Posted April 26, 2015 quick addition, can we add to the plug script listed, a key to turn it on and off being around a vehile on the ground? I didn't see any in the script. Or maybe a action menu Link to comment Share on other sites More sharing options...
0 DangerRuss Posted June 27, 2015 Report Share Posted June 27, 2015 snip Link to comment Share on other sites More sharing options...
0 Caveman1 Posted July 4, 2015 Report Share Posted July 4, 2015 The basic script for earplugs i'm using doesn't require an "addaction", if you want to give a try: You only need earplugs.sqf (root of your mpmission folder): if(isNil "EarPlugsOn") then {EarPlugsOn = true;} else {EarPlugsOn = !EarPlugsOn}; ToggleEarPlugs = { if (soundVolume != 1) then { 1 fadeSound 1; cutText ['Ear plugs taken off', 'PLAIN']; } else { 1 fadeSound 0.2; cutText ['Ear plugs put on', 'PLAIN']; }; }; if(EarPlugsOn) then { Press_F3 = (findDisplay 46) displayAddEventHandler ["KeyDown","if ((_this select 1) == 61) then {call ToggleEarPlugs;};"]; }; if(!EarPlugsOn) then { (findDisplay 46) displayRemoveEventHandler ["KeyDown", Press_F3]; }; and initplayerlocal.sqf, in your mpsission root aswell: while {true} do { waitUntil {alive vehicle player}; Sleep 10; [] execVM "earplugs.sqf"; waitUntil {!alive player}; [] execVM "earplugs.sqf"; }; then don't forget to add filters to scripts.txt in your battleye folder: (add this at the end of line 53: displayAddEventHandler) !"Press_F3 = (findDisplay 46) displayAddEventHandler [\"KeyDown\",\"if ((_this select 1) == 61) then {call T" (add this at the end of line 59: displayRemoveEventHandler) !"(findDisplay 46) displayRemoveEventHandler [\"KeyDown\", Press_F3];" Works great Scoo.. And I don't have to disable the Default AH. Thank you very much. Link to comment Share on other sites More sharing options...
0 Korwiin Posted July 4, 2015 Report Share Posted July 4, 2015 Works great Scoo.. And I don't have to disable the Default AH. Thank you very much. Hello Caveman1, I just implemented the same thing and believe there is something blocking my use of the F3 key. I have confirmed the script loads and I can call "ToggleEarPlugs" manually from the debug console. I tried mapping F3 to switch to handgun, and it does not work for that either. Did you encounter the same issue and just remap to a different key or is yours working as intended on F3? I am using the EpochAH, no other addons or mods. Thanks, Korwiin Link to comment Share on other sites More sharing options...
Question
Angrygargamel
Hi&Hello...
i tried to implement this little but functional earplug script on my epoch server...
i have tried 3 different variants now... but the mousewheel actions never show up
http://www.armaholic.com/page.php?id=26624
any suggestions?
who doesnt know what this script does...
when you fly in a heli you cant understand anything of the VON or teamspeak unless you turn the ingame volume down
this script does this for you instant... put the earplugs in... sound is lowered to x percent
take the earplugs out... sound is back to normal
Link to comment
Share on other sites
Top Posters For This Question
40
14
8
8
Popular Days
Dec 30
16
Jan 30
15
Feb 4
10
Jan 1
10
Top Posters For This Question
computermancer 40 posts
ulli_123 14 posts
mgm 8 posts
Talib 8 posts
Popular Days
Dec 30 2014
16 posts
Jan 30 2015
15 posts
Feb 4 2015
10 posts
Jan 1 2015
10 posts
Popular Posts
vbawol
You can simply use the internal sound volume system we added CTRL and - or +
RIE_JACKTE(new)
all well and good untill you accidental scroll too far on the action menu and click eject
Scoo
I had this problem with another script, (alive vehicle player) seems to trigger when player is still in loading. Try to change the "Sleep 8" to a bigger number, this could help... Sure you
174 answers to this question
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now