haz3
Member-
Content Count
3 -
Joined
-
Last visited
-
Medals
Community Reputation
1 NeutralAbout haz3
-
Rank
Rookie
-
Say3d heard all over the map
haz3 replied to xJordannx's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Hello! I am working on a suicide bomber script for a special event on our wasteland server. Basicly what it should do is on keypress, play a soundfile in Directchannel (or at location of player) that can be heard let´s say up to 100 meters of the player that issues it, then a animation and a bomb is spawned at the player. But I can only get the say3D command to work while broadcasting on the whole server. onkeypress.sqf //> key case 86: { if(((getPlayerUID player) in serverAdministrators)) then { [nil,nil,rEXECVM,"client\systems\playerMenu\akbar.sqf",[player,allunits]] call RE; execVM "client\systems\playerMenu\suicidebomb.sqf"; }; akbar.sqf player say3D "akbar1"; //player playmove "AmovPercMstpSlowWrflDnon_Salute"; description.ext class CfgSounds { sounds[] = {alahuakbar}; class akbar1 { name = "akbar1"; // Name for mission editor sound[] = {"sounds\alahuakbar.ogg", db-25, 1.0}; titles[] = {0, "TESTING"}; }; }; suicidebomb.sqf _bombpos = [ getPosasl player select 0, getPosasl player select 1, (getPosasl player select 2) +0.2]; sleep 5; _tmp = "Bo_Mk82" createVehicle _bombpos; _tmp setPosasl _bombpos; I tried the player Say command and several other things but can´t seem to get it to work. I also tried changing the volume in the description.ext, and in the code above the sound still broadcasts from north map edge to south map edge, that is for the whole server. Could anyone hint me towards a solution for this? Any help would be much appreciated! Also: xJordanX, would you mind showing me you description.ext? Havent tried a solution like you are using, only playerSay which I cant seem to get to work. -
Hello! I am working on a suicide bomber script for a special event on our wasteland server. Basicly what it should do is on keypress, play a soundfile in Directchannel (or at location of player) that can be heard let´s say up to 100 meters of the player that issues it, then a animation and a bomb is spawned at the player. But I can only get the say3D command to work while broadcasting on the whole server. onkeypress.sqf //> key case 86: { if(((getPlayerUID player) in serverAdministrators)) then { [nil,nil,rEXECVM,"client\systems\playerMenu\akbar.sqf",[player,allunits]] call RE; execVM "client\systems\playerMenu\suicidebomb.sqf"; }; akbar.sqf player say3D "akbar1"; //player playmove "AmovPercMstpSlowWrflDnon_Salute"; description.ext class CfgSounds { sounds[] = {alahuakbar}; class akbar1 { name = "akbar1"; // Name for mission editor sound[] = {"sounds\alahuakbar.ogg", db-25, 1.0}; titles[] = {0, "TESTING"}; }; }; suicidebomb.sqf _bombpos = [ getPosasl player select 0, getPosasl player select 1, (getPosasl player select 2) +0.2]; sleep 5; _tmp = "Bo_Mk82" createVehicle _bombpos; _tmp setPosasl _bombpos; I tried the player Say command and several other things but can´t seem to get it to work. I also tried changing the volume in the description.ext, and in the code above the sound still broadcasts from north map edge to south map edge, that is for the whole server. Could anyone hint me towards a solution for this? Any help would be much appreciated!
-
B.E.C. "Battleye Extended Controls" - Admin Tool
haz3 replied to nuxil's topic in ARMA 2 & OA - Servers & Administration
Hello! First of all, thanks for a good server admin tool! I am running a Wasteland server and yesterday I tested using the reserved slots function in BEC. The function works fine, however as soon as someone tries to connect when the server is full it sends a serverside message saying player connected, the player got kicked for no reserved, disconnected etc. Since our server is quite popular and people think there are slots, these messages gets constantly spammed across the server and annoys the players. Is there any way to disable or hide those messages? Thanks!