Jump to content

Search the Community

Showing results for tags 'gear'.

More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • General
    • Announcements
  • DayZ
    • Discussion
    • Public Servers
    • DayZ SA Resources
    • Q&A Section
  • ArmA 3
    • Epoch Survival
    • Community Projects
    • Q&A Section
    • Terrain Discussion
    • Resources
  • Arma 3 Resources
  • ArmA 2
    • General Discussion.
    • Q&A Section
    • Resources
    • Legacy Resources
    • A2: Community Projects
    • A2 Community Servers
  • Space Engineers
    • General Discussion.
    • Public Servers
  • Other Games
    • Discussion
  • Off Topic
    • Off Topic

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start





Website URL







Found 17 results

  1. Happy to announce the launch of our new custom server. DayZ Epoch Chernarus To connect search for "v666" in your DayZ Launcher Server Modes/Mods/Addons Romero Style Zombies Snow & Cold Weather Effects (temp+breath) Custom Intro Radio Broadcast Spawn Location Options Safe Trader Areas Roaming/Driving/Flying AI Excursions AI Mission System Random Events Auto Re-fuel at any Gas Station Day/Night Cycle w/6 Hourly Reboots ++Many more to come! Want something added? Request it here Don't forget to register here for your own custom load-out and access to our community forums Note: This server is both PVP and PVE. We dont believe in giving players rules but cheating in any way will result in lifetime ban from whole community.
  2. Hi, I have successfully set up an Arma 3 Epoch altis server (private for now) with a bunch of server side mods running. One of them is the Black Market Trader found elsewhere in the forums. My question is how do i add weapons and gear from the DLC expansions (MARK, HELI) etc. more specifically gear and weapons. I have seen on the BMS server they have gear specific to APEX and helis specific to HELI DLC. My black market trader does not have any of the DLC gear and weapons but only some of the heli's like the Huron and Taru. I own all of the DLC's and they are all present on the server folder structure. I cannot spawn them either using the builtin Anti Hack admin menu as they aren't present. I there any way that i can make them visible th AH menu and black market trader? Thanks in advance
  3. Hi, So i was enjoying Epoch the other day when a server restart happened, so without a worry i disconnected, 15 mins later i reconnected after the restart and my armor, vest and all of my inventory items were gone. Main firearm, sidearm, helmet and other equipment like the map, gps and binoculars were still there. The gear wasn't worth much and i i'm not trying to whine about getting it back (i really don't mind getting it back) i just thought i'd report this bug. Also, i found others with the same problem, anyone on the forum with some experience on the matter and maybe tips on how to prevent something like it happening again? Thanks in advance, Apex - Slick
  4. Hi! I'm relatively new to this but I know how to edit the various files on my server and pack/unpack PBO's. I've just bought a Epoch-server and I've already set it up with status bar, ATMs and HS-dealers/blackmarkets. I've tried searching through the forums, but there is a couple of things I so far could not find a decent and concrete solution to: - functioning Safe Zone script with both vehicle and player protection (in/out notifications would be nice). - respawn loadout (default respawn gear) - Getting the server to lock itself for 5 minutes after restart (for all scripts to load, I think) I'm humbly hoping someone out there can help me with at least ONE of these :)
  5. BoleParty

    Crate Trader

    This is my first script so i am asking the smart guys for some assistance. I know that there is an option to merge all scripts and call each single one with a switch do function but i wasn`t able to get it working. I would highly appreciate it if somebody could point me into right direction. I just started with this whole scripting stuff and what i found out so far is that i dont know nothing. Now i have even more respect for the real coders. As said, this is my first script and i am sure there are much better options out there and once i got more knowledge i think i will be able to release better ones. Feel free to use and to modify this work but please don`t remove the credits. Thank you. By adding these files to your server in each spawn zone (East/Central/West) on Altis there will be an A.I. unit. This A.I. offers medical treatment and from this A.I. you can buy crates with different loadouts. Once purchased the crate will spawn in front of you. You can buy as many crates as you want as long you have enough Krypto. In each script you can change the content and the prices to you liking. Two options to install the script: 1.) Unpack your mission and copy the \CrateTrader folder into your mission root.Then copy your unpacked mission to: C:\Users\Yourusername\Arma3\Missions Start your arma and go to the editor. Choose Altis map and load your epoch mission. Place as many units or objects on the map wherever you want the action to be activated and add this code to the init field: "this addaction [""Crate Content"", {[(_this select 1)] execVM ""scripts\CrateTrader\CrateContent.sqf""}];this addaction [""Soldier Kit - Price: 200"", {[(_this select 1)] execVM ""scripts\CrateTrader\SoldierKit.sqf""}];this addaction [""Sniper Kit - Price: 300"", {[(_this select 1)] execVM ""scripts\CrateTrader\SniperKit.sqf""}];this addaction [""Elite Sniper Kit - Price: 1200"", {[(_this select 1)] execVM ""scripts\CrateTrader\EliteSniperKit.sqf""}];this addaction [""Diver Kit - Price: 350 Krypto"", {[(_this select 1)] execVM ""scripts\CrateTrader\DiverKit.sqf""}];this addaction [""MG Kit - Price: 375 Krypto"", {[(_this select 1)] execVM ""scripts\CrateTrader\MGKit.sqf""}];this addaction [""Heavy Gunner Kit - Price: 1250"", {[(_this select 1)] execVM ""scripts\CrateTrader\HeavyGunnerKit.sqf""}];;this addaction [""Combat Medic Kit - Price: 300 Krypto"", {[(_this select 1)] execVM ""scripts\CrateTrader\MedicKit.sqf""}];this addaction [""Demolition Kit - Price: 1000 Krypto"", {[(_this select 1)] execVM ""scripts\CrateTrader\DemoKit.sqf""}];this addaction [""Supply Crate - Price: 400 Krypto"", {[(_this select 1)] execVM ""scripts\CrateTrader\SupplyCrate.sqf""}]; this addaction [""Medical Treatment - Price: 50 Krypto"", {[(_this select 1)] execVM ""scripts\CrateTrader\Heal.sqf""}];this disableAI ""move""; this allowDamage false;"; Save your mission and go back to Desktop and then to C:\Users\Yourusername\Arma3\Missions and repack your mission.. Upload your pbo to your servers \mpmissions folder. 2.) Unpack your mission and copy the \CrateTrader folder into your mission root. Replace your mission.sqm with the attached one. Repack your mission and upload to your server. Battleye - add these exceptions to scripts.txt: !"this allowDamage false;" !"_crate allowDamage false;" to allowDamage line !"_player setDamage 0;" to setDamage line !"_crate addWeaponCargoGlobal" to addWeaponCargo line !"_crate addMagazineCargoGlobal" to addMagazineCargo line !"_crate addItemCargoGlobal" to addItemCargo line !"_crate addBackpackCargoGlobal" to addBackpackCargo line Download here: https://github.com/BoleParty/CrateTrader Have fun! Regards
  6. So I have been getting a lot of help from here with setting up my server, so I figured I would start making Tutorials on what I have learned. As follows are the instructions to change the starting gear from the default "bandage/painkiller/flashlight" to what ever you want, and how to set up custom gear for different users based on their UIDs. This is not completely my work, some came from Axeman and AsianKid. Original Post Setting Up the Default Load-out (no custom loadouts) To start, this is tested on, and uses variables that Epoch Devs added to the Server Code. DefaultMagazines = []; DefaultWeapons = []; DefaultBackpack = ""; DefaultMagazines is for any item you place in your primary(food, ammo, parts, money) or secondary(bandages, clips, m203 rounds) inventory. DefaultWeapons is for any guns/rifles or kit(hatchet, map, Bbnoculars, NVGs) items. DefaultBackpack is as it would sound, the pack you start out with. You will also see DefaultBackpackWeapon = ""; in my loadout script, I assume it adds items to your back pack, but I don't know its limitations, if I can use guns and ammo. Inserting it into your code is easy. Open the init.sqf in your mission folder or mission.pbo. At about line 20 of a stock Epoch init.sqf file you will find this: // DayZ Epoch config spawnShoremode = 1; // Default = 1 (on shore) spawnArea= 1500; // Default = 1500 MaxHeliCrashes= 5; // Default = 5 MaxVehicleLimit = 300; // Default = 50 MaxDynamicDebris = 500; // Default = 100 dayz_MapArea = 14000; // Default = 10000 dayz_maxLocalZombies = 30; // Default = 30 Below this, add the following: //Default Loadout DefaultMagazines = ["ItemBandage","ItemBandage","17Rnd_9x19_glock17","17Rnd_9x19_glock17","ItemMorphine","ItemPainkiller","ItemWaterbottleBoiled","FoodSteakCooked"]; DefaultWeapons = ["glock17_EP1","ItemFlashlight","ItemHatchet"]; DefaultBackpack = "DZ_Patrol_Pack_EP1"; DefaultBackpackWeapon = ""; Here I have configured the default load-out to be a G17 and 2 clips, 2 bandages, one Morphine, Painkillers, Clean Water, Cooked Steak, a Flashlight and Hatchet. You can change the variables your self to what would be best for your server, including removing everything so players don't even get the stock dayz load-out. Custom Load-Outs (includes default load-out) But, you want even more controls, like load-outs for donators or admins. Thats easy, instead of the above we are going to put all the settings in a loadout.sqf and save that to a "Scripts" folder in our mission folder or mission.pbo. First, create a new folder in the Mission folder or PBO named Scripts. Then Create a new text document in that folder called "loadout.sqf", is will warn you that you are changing the file type, thats ok. Copy this code into your new lodout.sqf: //Default Loadout DefaultMagazines = ["ItemBandage","ItemBandage","17Rnd_9x19_glock17","17Rnd_9x19_glock17","ItemMorphine","ItemPainkiller","ItemWaterbottleBoiled","FoodSteakCooked"]; DefaultWeapons = ["glock17_EP1","ItemFlashlight","ItemHatchet"]; DefaultBackpack = "DZ_Patrol_Pack_EP1"; DefaultBackpackWeapon = ""; //Admin Loadout if ((getPlayerUID player) in ["12345678","98765432"]) then { //Admins: Nobody, Somebody DefaultMagazines = ["ItemBandage","ItemBandage","ItemBandage","ItemBandage","17Rnd_9x19_glock17","17Rnd_9x19_glock17","ItemMorphine","ItemPainkiller","ItemBloodbag","ItemWaterbottleBoiled","ItemWaterbottleBoiled","FoodSteakCooked","20Rnd_B_AA12_74Slug","20Rnd_B_AA12_Pellets","20Rnd_B_AA12_Pellets","ItemGoldBar10oz"]; DefaultWeapons = ["glock17_EP1","AA12_PMC","Binocular_Vector","NVGoggles","ItemMap","ItemCompass","ItemGPS","ItemWatch","ItemKnife","Itemtoolbox","ItemCrowbar","Itemetool","ItemHatchet"]; DefaultBackpack = "DZ_LargeGunBag_EP1"; DefaultBackpackWeapon = ""; }; //Moderator Loadout if ((getPlayerUID player) in ["14725836"]) then { //Moderators: ThatOtherGuy DefaultMagazines = ["ItemBandage","ItemBandage","ItemBandage","ItemBandage","17Rnd_9x19_glock17","17Rnd_9x19_glock17","ItemMorphine","ItemPainkiller","ItemBloodbag","ItemWaterbottleBoiled","ItemWaterbottleBoiled","FoodSteakCooked","8Rnd_B_Saiga12_Pellets","8Rnd_B_Saiga12_Pellets","8Rnd_B_Saiga12_74Slug","ItemGoldBar10oz"]; DefaultWeapons = ["glock17_EP1","Saiga12K","Binocular_Vector","NVGoggles","ItemMap","Itemtoolbox"]; DefaultBackpack = "DZ_Backpack_EP1"; DefaultBackpackWeapon = ""; }; //Pro-Donator Loadout if ((getPlayerUID player) in ["96385274"]) then { //Pro-Donators: MoneyBags DefaultMagazines = ["ItemBandage","ItemBandage","ItemBandage","ItemBandage","15Rnd_9x19_M9SD","15Rnd_9x19_M9SD","ItemMorphine","ItemPainkiller","ItemBloodbag","ItemWaterbottleBoiled","ItemWaterbottleBoiled","FoodSteakCooked","8Rnd_B_Beneli_Pellets","8Rnd_B_Beneli_Pellets","8Rnd_B_Beneli_74Slug","ItemGoldBar10oz"]; DefaultWeapons = ["M9SD","Remington870_lamp","Binocular","ItemMap","ItemCompass","ItemFlashlightRed","ItemKnife","ItemMatchbox","ItemHatchet"]; DefaultBackpack = "DZ_GunBag_EP1"; DefaultBackpackWeapon = ""; }; //Donator Loadout if ((getPlayerUID player) in ["456789123"]) then { //Donators: Nobody DefaultMagazines = ["ItemBandage","ItemBandage","ItemBandage","ItemBandage","ItemMorphine","ItemPainkiller","ItemGoldBar","15Rnd_W1866_Slug","15Rnd_W1866_Slug"]; DefaultWeapons = ["glock17_EP1","Winchester1866","ItemMap","ItemFlashlightRed","ItemHatchet"]; DefaultBackpack = "DZ_ALICE_Pack_EP1"; DefaultBackpackWeapon = ""; }; Hit save then start looking it over. Here we set the default loadout, then we check to see if the player is anyone we know from admins to donators, and set their loadout outs accordingly. You will need the Players UID you can ask them for it, or if they have been on your server and you have database access then you can find it under "player_data". In the code put their UID in the same place you see the seven or eight number groupings surrounded by parenthesis " and seperated by commas , if you are setting more than one user for that group. I also write their names at the end of the line in the order that they are placed so I can go back and remember them later. You can edit the different load-outs for each User Group and add more by copying one group and changing the UIDs. Safe the file and Open your init.sqf in your mission folder or mission.pbo. Fine the following lines: if (!isDedicated) then { //Conduct map operations 0 fadeSound 0; waitUntil {!isNil "dayz_loadScreenMsg"}; dayz_loadScreenMsg = (localize "STR_AUTHENTICATING"); //Run the player monitor _id = player addEventHandler ["Respawn", {_id = [] spawn player_death;}]; _playerMonitor = [] execVM "\z\addons\dayz_code\system\player_monitor.sqf"; _void = [] execVM "R3F_Realism\R3F_Realism_Init.sqf"; //Lights //[0,0,true,true,true,58,280,600,[0.698, 0.556, 0.419],"Generator_DZ",0.1] execVM "\z\addons\dayz_code\compile\local_lights_init.sqf"; }; Above "//Run the player monitor" add the following: //Custom Loadouts [] ExecVM "Scripts\loadout.sqf"; Now we have called the load-out script, and the world is a better place. Save your work, upload your files, and start your server to test out the scripts. Remember, you have to re-spawn for it to work. UPDATE So with each update the epoch devs are giving us server admins more varibles to call and edit in our init.sqf. My hope is they will add a varible to set the default skin when you load in. (logic must be applied when users select between a Male and Female character. Either it ignores females, or it allows for a array to be set: ["Male_Skin","Female_Skin"]) Further, I would like to make it easyier to set up items in these arrays, but as with everything, it becomes hard. I myself had to visit no less that 5 diffrent sorces to find all the "Item IDs" for diffrent items. But, my current data base is pretty current, with most of the non-OP items listed. Here is a link of the items you can buy and sell on my server all listed by their "ItemID" and organised in a way thats easy to read. As for posts 8-13, I can give no reasoning why the script is failing for them. I my self have broken it many times by forgetting a comma between UIDs, but this only leads to players not getting their custom loadouts, I have not experianced any server issues or stalls from this edit, and I will be the first to admit I dont always know what I'm doing and I am always breaking my server with something.
  7. If you like my work, please consider a donation: $USD $EURO *** UPDATED WITH A MAJOR BUG FIX IN THE DATE 2014-10-06 1:10 PM *** This update will fix the Repair Vehicle working always in all cases *** without the need of vehicle parts, wheell, glass, motor or tools *** for vehicles that entered the safezone. *** The only file that change is the file safezone.sqf. Rai! Gebriel We, from Clodovil BR Server, are proud to present you, the Gebriel Safe Zones. (safe as heaven). SAFEZONES? Safezones are excluding areas where peace must be maintained or, sadly, forced. WHAT MOST SAFE PREVENTS Cant kill other players Cant destroy vehicles Cant access any gear for any player/vehicle WHAT GEBRIEL PREVENTS Cant kill other players Cant destroy vehicles Can't mess with any player gear Can't mess with vehicles you does not have ownerity Can't mess with gear of vehicles you does not have ownerity VEHICLE OWNERITY? Is when you have acess to a vehicle inside a safe zone, you have access to the vehicle and to the vehicle gear. HOW TO HAVE VEHICLE OWNERITY IN THE SAFE ZONE? You must enter the safe zone inside the vehicle. If a group of 10 people is on a truck and this truck enters the safe zone, those 10 players will have access to the truck and to the truck gear. No more players will have access to it. HOW TO REMOVE VEHICLE OWNERITY? You must try to invade the vehicle you does not have ownerity. After the first invasion try, a 8 minutes counter will start, and when the counter reachs zero the vehicle will loose it ownerity and will be avaliable to all players, until someone enters again in the safe with it. HOW TO STOP THE 8 MINUTOS COUNTER? One or more of the vehicle owners need to re-enters in the safe with the vehicle. WHAT ABOUT VEHICLES THAT ON SERVER START ARE IN THE SAFE ZONES? They don't have ownerity and don't have god mode. But if a player re-enters with it in the safe zone, he will gain ownerity over it. NOTE Vehicle ownerity is something that only exists inside safe zones. {[THE CODE]} {[THE CODE]} {[THE CODE]} 1) INIT.SQF At the end of your init.sqf file, add this code: if (!isServer) then { //Gebriel Safe [] execVM "custom\safezone.sqf"; }; 2) [MISSION FOLDER]\CUSTOM\SAFEZONE.SQFThis bellow is the main script, it's called from the init.sqf file. Create a new text file, put this code bellow in it, rename the text file to safezone.sqf and put it in your [mission folder]\custom\ folder (create this folder if necessary). Thanks for Maca134 for the Custom Remote Messages Script: //Gebriel Safezones //By Donnovan from Brazil don_incar = 0; don_firedEH_1 = nil; don_godon_1 = 0; inSafeZone = false; [] spawn { private ["_runOneTime","_canbuild","_don_passengers","_don_veh_crew","_don_player_veh","_don_veh_driver"]; waitUntil {!(isNil "canbuild")}; _runOneTime = false; _canbuild = canbuild; while {true} do { waitUntil {!((_canbuild && canbuild) || (!_canbuild && !canbuild)) || !_runOneTime}; _canbuild = canbuild; if (!canbuild) then { player_zombieCheck = {}; fnc_usec_damageHandler = {}; fnc_usec_unconscious = {}; player allowDamage false; player removeAllEventHandlers "handleDamage"; don_godon_1 = 1; inSafeZone = true; sleep 0.025; [] spawn { private ["_myHdEh"]; while {!canbuild} do { _myHdEh = player addEventHandler ["handleDamage", {0}]; sleep 0.02; player removeEventHandler ["handleDamage",_myHdEh]; }; }; if (isNil "don_firedEH_1") then { don_firedEH_1 = 0; sleep 0.025; don_firedEH_1 = player addEventHandler ["Fired",{ cutText ["Can't fire with godon.","PLAIN DOWN", 2]; deleteVehicle (_this select 6); }]; }; }; if (canbuild && _runOneTime) then { [] spawn { for "_x" from 1 to 30 do { if (_x >= 6) then {cutText [format ["%1 seconds to godoff and shoton.", 31-_x], "PLAIN DOWN"];}; sleep 1; if (!canbuild) exitWith {}; if (_x == 30) then { cutText ["Godoff and Shoton!", "PLAIN DOWN"]; player_zombieCheck = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\player_zombieCheck.sqf"; fnc_usec_damageHandler = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\fn_damageHandler.sqf"; fnc_usec_unconscious = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\fn_unconscious.sqf"; player allowDamage true; player removeAllEventHandlers "handleDamage"; player addEventHandler ["handleDamage", {_this call fnc_usec_damageHandler;}]; player removeEventHandler ["Fired", don_firedEH_1]; don_firedEH_1 = nil; don_godon_1 = 0; inSafeZone = false; }; }; }; }; if (!canbuild && don_incar == 1) then { _don_player_veh = don_player_veh; don_veh_crew = crew _don_player_veh; _don_veh_driver = driver _don_player_veh; _don_player_veh allowDamage false; _don_player_veh removeAllEventHandlers "handleDamage"; _don_player_veh addEventHandler ["handleDamage", {0}]; _don_player_veh removeAllEventHandlers "Fired"; _don_player_veh addEventHandler ["Fired",{deleteVehicle (_this select 6);}]; //PASSENGERS NAMES _don_passengers = ""; {if (Alive _x) then {_don_passengers = _don_passengers + format [" %1",name _x];};} forEach don_veh_crew; _don_veh_crew = []; {if (Alive _x) then {_don_veh_crew = _don_veh_crew + [getPlayerUID _x];};} forEach don_veh_crew; //ASSING OWNERS if (player == _don_veh_driver) then { _don_player_veh setVariable ["don_ownerity_code", format ["%1_%2", getPlayerUID player, round diag_tickTime], true]; _don_player_veh setVariable ["don_crew", _don_veh_crew, true]; //CHANGE _don_player_veh setVariable ["don_passengers", _don_passengers, true]; }; }; if (canbuild && don_incar == 1) then { _don_player_veh = don_player_veh; _don_veh_driver = driver _don_player_veh; [_don_player_veh] spawn { for "_x" from 1 to 15 do { sleep 1; if (!canbuild) exitWith {}; if (_x == 15) then { (_this select 0) allowDamage true; (_this select 0) removeAllEventHandlers "handleDamage"; (_this select 0) addEventHandler ["handleDamage", {_this call vehicle_handleDamage;}]; (_this select 0) removeAllEventHandlers "Fired"; }; }; }; //DISASSING OWNERS if (player == _don_veh_driver) then { _don_player_veh setVariable ["don_ownerity_code", nil, true]; _don_player_veh setVariable ["don_crew", nil, true]; _don_player_veh setVariable ["don_passengers", nil, true]; }; }; _runOneTime = true; }; }; [] spawn { private ["_don_veh_crew","_wait_time","_last_mark","_max_time"]; while {true} do { _max_time = 480; waitUntil {sleep 0.0625; vehicle player != player}; don_player_veh = vehicle player; don_incar = 1; if (!canbuild) then { //VEHICLE OWNERITY CHECK _don_veh_crew = don_player_veh getVariable ["don_crew", nil]; if (isNil "_don_veh_crew") then {_don_veh_crew = [getPlayerUID player];}; if !(getPlayerUID player in _don_veh_crew) then { call compile format ['if (isNil "don_%1") then {don_%1 = diag_tickTime;}; _last_mark = don_%1;', don_player_veh getVariable ["don_ownerity_code", 0]]; _wait_time = diag_tickTime - _last_mark; if (_wait_time < _max_time) then { player action ["getOut", don_player_veh]; [objNull, player, rSAY, "error1"] call RE; cuttext [format ["Owners:%1. %2 seconds to liberate.", don_player_veh getVariable ["don_passengers","Owners not found"], round (_max_time - _wait_time)], "PLAIN DOWN"]; cad_pvar_smessage = [format ["%1 is messing with your vehicle! %2 seconds to liberate!", name player, round (_max_time - _wait_time)], _don_veh_crew]; publicVariable "cad_pvar_smessage"; } else { call compile format ['don_%1 = nil;', don_player_veh getVariable ["don_ownerity_code", 0]]; //DISASSING OWNERS don_player_veh setVariable ["don_ownerity_code", nil, true]; don_player_veh setVariable ["don_crew", nil, true]; don_player_veh setVariable ["don_passengers", nil, true]; cuttext [format ["Vehicle is now free for all!"], "PLAIN DOWN"]; cad_pvar_smessage = [format ["One of your safe vehicle is now free and player %1 is in it!", name player], _don_veh_crew]; publicVariable "cad_pvar_smessage"; }; }; don_player_veh allowDamage false; don_player_veh removeAllEventHandlers "handleDamage"; don_player_veh addEventHandler ["handleDamage", {0}]; don_player_veh removeAllEventHandlers "Fired"; don_player_veh addEventHandler ["Fired",{deleteVehicle (_this select 6);}]; }; if (canbuild) then { don_player_veh allowDamage true; don_player_veh removeAllEventHandlers "handleDamage"; don_player_veh addEventHandler ["handleDamage", {_this call vehicle_handleDamage;}]; don_player_veh removeAllEventHandlers "Fired"; //DISASSING OWNERS if (player == driver don_player_veh) then { don_player_veh setVariable ["don_ownerity_code", nil, true]; don_player_veh setVariable ["don_crew", nil, true]; don_player_veh setVariable ["don_passengers", nil, true]; }; }; waitUntil {sleep 0.0625; vehicle player == player}; don_incar = 0; don_player_veh = nil; }; }; //Thanks Maca for the Remote Message idea "cad_pvar_smessage" addPublicVariableEventHandler { private ["_message", "_receivers"]; _message = (_this select 1) select 0; _receivers = (_this select 1) select 1; if (getPlayerUID player in _receivers) then {cutText [_message, "PLAIN DOWN"];}; };3) [MISSION FOLDER]\DAYZ_CODE\COMPILE\FN_GEARMENUCHECKS.SQFThis code bellow goes at the end of your custom dayz_code\compile\fn_gearMenuChecks.sqf. Thanks for Maca134 for the no-player-gear-acess-in-safe script. To have a custom dayz_code\compile\fn_gearMenuChecks.sqf file you will need a custom dayz_code\init\compiles.sqf, since the first is called in game by the second, so you need a custom compiles.sqf that calls your custom fn_gearMenuChecks.sqf file, and since compiles.sqf is now custom, you need to change the call in init.sqf to it, since compiles.sqf is called in-game by init.sqf. More on that later! Sorry for now! If you have any doubt, please ask! //Prevents players opening others backpacks MACA123 if (isNil "inSafeZone") then {inSafeZone = false;}; if ((!canbuild || inSafeZone) and _cTarget isKindOf "Man" and alive _cTarget and (((vehicle player) distance _cTarget) < 12)) then { cutText ["Cannot access other players gear in the safezone." , "PLAIN DOWN"]; _display closeDisplay 1; }; //Gebriel Safezones //by Donnovan from Brazil if (!canbuild) then { private ["_don_iscar","_don_ismycar","_don_crew"]; _don_iscar = false; _don_ismycar = false; if (_cTarget isKindOf "LandVehicle" || _cTarget isKindOf "Air" || _cTarget isKindOf "Ship" ) then { _don_crew = _cTarget getVariable ["don_crew", nil]; if (isNil "_don_crew") then {_don_crew = [getPlayerUID player];}; _don_iscar = true; if ((getPlayerUID player) in _don_crew) then {_don_ismycar = true;}; }; if (_don_iscar && !_don_ismycar) then { [objNull, player, rSAY, "error1"] call RE; cutText ["You can't access this vehicle gear!" , "PLAIN DOWN"]; _display closeDisplay 1; }; };4) ERROR1.OGGThe scipt have a sound file, download it on this link and put the file at the root of your mission folder: http://s000.tinyupload.com/index.php?file_id=69305942403778252911 Add the sound declaration in description.ext. Here is my description.ext: //DONN sounds class CfgSounds { sounds[] = {error1}; class error1 { name="error1"; sound[]={error1.ogg,1,1}; titles[] = {}; }; };You could have more custom sounds on class CfgSounds, if so you need to acomodate then together. This bellow is a example where the Gebriel Safezones error1.ogg sound coexists with another 2 custom sounds (diescream.ogg and caloideploy.ogg): //DONN sounds class CfgSounds { sounds[] = {dieScream,caloideploy,error1}; class dieScream { name="dieScream"; sound[]={diescream.ogg,1,1}; titles[] = {}; }; class caloideploy { name="caloideploy"; sound[]={deploys\bike\caloi_deploy.ogg,1,1}; titles[] = {}; }; class error1 { name="error1"; sound[]={error1.ogg,1,1}; titles[] = {}; }; };5) BATTLEYE FILTERSOn the BE filter publicvariable.txt, search for the line that starts with 5 "". At the end of this line add a space and after the space add !"cad_pvar_s".
  8. Can't seem to loot anything underwater. like a body or vehicle. Is this because the scroll option for gear is removed? Pushing "I" does nothing on a body in the water if you are in swimming mode, even with a wetsuit. Its pretty weak that if you die in the water you arent able to recover your gear. Any hopes on getting that in the list for possible fixes?
  9. So I've been playing on a really good server recently, the server is great and the admins are friendly but a problem has arisen that has the owner and the rest of us scratching our heads and completely lost on how to fix it. So the problem is cars and other vehicles don't have there locations saved when the server restarts sending them back to the last place the admins manually saved them to, as well as gear gear in saved cars, tents, safes and lock boxes which don't save either. We have no idea whats wrong with the server and we really need to fix this problem so that the server can get back on track, If anyone has any ideas what could be causing this or how to fix it it would be greatly appreciated! Thanks, Mr.Mj, JUMPstyle (ServerOwner)
  10. Hi All, Every time a player or admin (any level) exists the game and comes back in their backpack gear is wiped (including mine when I do it) Now, I know what your thinking, they are logging off near someone, near the sevrer restart time or combat logging. none of the above, my players were either miles apart, alone or in the middle of restarts, this happens every single time without exeption no matter where or how you log off and its driving players away (and some of my admins) as I cant fix it and they are getting sick of it :/ I have Antihack by InfiSTAR and I dont know if it has anything to do with that? :/ Realy stuck for ideas and could do with a little help :( Aaron
  11. Hey Guys, After hours of testing I have pinpointed to the one script causing the issue, I don't know how to fix it though so can anyone please help me to fix the no-gear-access-in-vehicle bug in custom debug monitor version 2.0 below? This below is version 1.0. It works. It does not have toggle On/Off option, hence this version was left behind. This is version 2.0. It is improved and is now user toggleable. It works (i.e.: displays custom debug monitor on player screen) however it disables gear access in vehicle in Driver/Gunner seats (gear access in back seat works).
  12. I've seen most of the US gear in real life, but not the Russian. So, it was interesting to watch this video. In the beginning of the video I noticed a winter camo VSS Vintorez, a UAZ jeep driving by, and the Spetsnaz parachuting out of what looks like an Mi-17. There are also BTR APCs and the Russian guns like the PKP, AKM, AK-74, etc. Many of the things I've only ever seen in DayZ. http://www.youtube.com/watch?v=iwGBbMRd40I And this was a surprise, here are the actual metal panels used in DayZ. I didn't know they were based off actual panels. Go to about 5:10 in the video. http://www.youtube.com/watch?v=M1fY8lblBlQ
  13. is it possible to disable the Gear menu "Open Backpack" so that other players can steal anything? besr regards Cryten is used this script. Private ["_EH_Fired"]; if (isNil "inSafezone") then { inSafezone = false; }; while {true} do { waitUntil { inSafeZone }; titleText [format["Du betritts die SafeZone. GodMod Aktiviert!"],"PLAIN DOWN"]; titleFadeOut 4; waitUntil { player == vehicle player }; thePlayer = vehicle player; _EH_Fired = thePlayer addEventHandler ["Fired", { titleText ["Deine Waffen sind deaktiviert!","PLAIN DOWN"]; titleFadeOut 4; NearestObject [_this select 0,_this select 4] setPos[0,0,0]; }]; player_zombieCheck = {}; fnc_usec_damageHandler = {}; fnc_usec_unconscious = {}; thePlayer removeAllEventHandlers "handleDamage"; thePlayer addEventHandler ["handleDamage", {false}]; thePlayer allowDamage false; waitUntil { !inSafeZone }; titleText [format["Du verlaesst die Safezone. GodMod deaktiviert!"],"PLAIN DOWN"]; titleFadeOut 4; thePlayer removeEventHandler ["Fired", _EH_Fired]; player_zombieCheck = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\player_zombieCheck.sqf"; fnc_usec_damageHandler = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\fn_damageHandler.sqf"; fnc_usec_unconscious = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\fn_unconscious.sqf"; thePlayer addEventHandler ["handleDamage", {true}]; thePlayer removeAllEventHandlers "handleDamage"; thePlayer allowDamage true; };
  14. Hi, I own a server and one day, I put something in my Inventory through Navicat, but when I entered the game, all my gear disappeared except my backpack, I thought it was because of the new Battleye update, so I turned Battleye OFF, But it still deleted ALL my gear in my inventory, Please Help! Thanks!
  15. Trizen

    Custom loadout

    Hey! I'm currently having a problem on my server where as a few of my custom load out sets have stopped working (unknown reason). Unfortunately the only backup of the mission.pbo which I have is recent and includes the problem! As usual the newloadout.sqf is called in the init.sqf of the mission.pbo. init.sqf: newloadout.sqf: //Default Loadout DefaultMagazines = ["ItemBandage","ItemBandage","17Rnd_9x19_glock17","17Rnd_9x19_glock17","ItemMorphine","ItemPainkiller","ItemWaterbottleBoiled","FoodSteakCooked","BoltSteel","BoltSteel","BoltSteel"]; DefaultWeapons = ["Crossbow","glock17_EP1","ItemMap","ItemFlashlightRed","ItemHatchet"]; DefaultBackpack = "DZ_Patrol_Pack_EP1"; DefaultBackpackWeapon = ""; //Admin Loadout: Skyfall009 if ((getPlayerUID player) in ["166587590", "30015046"]) then { DefaultMagazines = ["ItemBandage","ItemBandage","ItemBandage","ItemBandage","17Rnd_9x19_glock17","17Rnd_9x19_glock17","ItemMorphine","ItemPainkiller","ItemBloodbag","ItemWaterbottleBoiled","ItemWaterbottleBoiled","FoodSteakCooked","20Rnd_B_AA12_74Slug","20Rnd_B_AA12_Pellets","20Rnd_B_AA12_Pellets","ItemGoldBar10oz", "Skin_Rocket_DZ"]; DefaultWeapons = ["glock17_EP1","AA12_PMC","Binocular_Vector","NVGoggles","ItemMap","ItemCompass","ItemGPS","ItemWatch","ItemKnife","ItemToolbox","ItemCrowbar","ItemEtool","ItemHatchet"]; DefaultBackpack = "DZ_LargeGunBag_EP1"; DefaultBackpackWeapon = "";}; //Recon Donator Loadout: MrMunch Tay Remi THCCraig MrTinkertin Joe JOHN if ((getPlayerUID player) in ["96335814", "232739974", "46237190", "155258950", "42568454", "124715718", "198392838", "113286278"]) then { DefaultMagazines = ["ItemBandage","ItemBandage","ItemBandage","ItemBloodbag","15Rnd_9x19_M9SD","15Rnd_9x19_M9SD","15Rnd_9x19_M9SD","ItemMorphine","ItemPainkiller","ItemWaterbottleBoiled","FoodSteakCooked","20Rnd_762x51_DMR","20Rnd_762x51_DMR","20Rnd_762x51_DMR","ItemGoldBar10oz","Skin_Sniper_DZ"]; DefaultWeapons = ["M9SD","DMR","NVGoggles","ItemMap","ItemCompass","ItemGPS","ItemWatch","ItemKnife","ItemToolbox","ItemCrowbar","ItemEtool","ItemHatchet"]; DefaultBackpack = "DZ_GunBag_EP1"; DefaultBackpackWeapon = "";}; //Assault Donator Loadout: Snif THCCaptain Soapy LYNSKEY if ((getPlayerUID player) in ["92022406", "198392006", "36094982", "823169"]) then { DefaultMagazines = ["ItemBandage","ItemBandage","ItemBandage","15Rnd_9x19_M9SD","15Rnd_9x19_M9SD","15Rnd_9x19_M9SD","ItemMorphine","ItemPainkiller","ItemWaterbottleBoiled","ItemBloodbag","FoodSteakCooked","30Rnd_556x45_Stanag","30Rnd_556x45_StanagSD","30Rnd_556x45_StanagSD","ItemGoldBar10oz"]; DefaultWeapons = ["M9SD","M4A1_AIM_SD_camo","ItemMap","ItemCompass","ItemGPS","ItemWatch","ItemKnife","ItemToolbox","ItemCrowbar","ItemEtool","ItemHatchet"]; DefaultBackpack = "DZ_GunBag_EP1"; DefaultBackpackWeapon = "";}; //LMG Donator Loadout: TRIZEN if ((getPlayerUID player) in [""]) then { DefaultMagazines = ["ItemBandage","ItemBandage","ItemBandage","15Rnd_9x19_M9SD","15Rnd_9x19_M9SD","15Rnd_9x19_M9SD","ItemMorphine","ItemPainkiller","ItemBloodbag","ItemWaterbottleBoiled","FoodSteakCooked","200Rnd_556x45_M249","200Rnd_556x45_M249","200Rnd_556x45_M249","ItemGoldBar10oz","Skin_Soldier1_DZ"]; DefaultWeapons = ["M9SD","M249_DZ","ItemMap","ItemCompass","ItemGPS","ItemWatch","ItemKnife","ItemToolbox","ItemCrowbar","ItemEtool","ItemHatchet"]; DefaultBackpack = "DZ_GunBag_EP1"; DefaultBackpackWeapon = "";}; Any help as to why people only seem to spawn with the default loadout would be greatly appreciated.
  16. Hi guys. Had a report from one of our admins that player gear isnt saving right... When prople log out and rejoin, their gear is 45mins or so old :S Anyone got any ideas on this?
  17. Vehicles, tents, etc storage capacity is determined by 3 limits: maximum number of ammunition, weapons and backpacks. What does the maximum number of backpacks represent? Does it reffer to maximum number of empty backpacks you can store in a vehicle/tent? If so, how do you even do that? Because I can't pick up a backpack as an item, I can only equip it on the character and that's it.
  • Create New...