Jump to content

Search the Community

Showing results for tags 'script'.

More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


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


  • Arma 3
  • Arma 2

Found 129 results

  1. Hi This is a restriction to vehicle seat according to humanity. It may be handy to PVE servers out there. Special thanks to Juandayz with his fantastic skills and salival. Both sometimes working unseen for the benefit of this community. Step 1. Make a new file, Name it veh_hum.sqf with the below contents and put into dayz_epoch/addons folder. If you dont have addons just create one. In this example we have a hero superhero and agenthero traders with 20k/40k/60k humanity respectively. Adjust according to your needs. private ["_vehicle","_inVehicle","_driver","_humanity","_txt"]; while {true} do { _vehicle = vehicle player; _inVehicle = (_vehicle != player); if (_inVehicle) then { _driver = driver (vehicle player); if (({(isPlayer _driver) && (alive _driver)} count (crew _vehicle) > 0)) then { _humanity = _driver getVariable["humanity",0]; if (typeOf _vehicle in DZE_heroHumanity && _humanity <= 20000 || (typeOf _vehicle in DZE_superHeroHumanity && _humanity <= 40000) || (typeOf _vehicle in DZE_agentHumanity && _humanity <= 60000)) then { player action ["getOut", (vehicle player)]; titleText ["","WHITE IN"]; _txt = "<img image='addons\vehicon.paa' /><br/><t size='0.7' color='#ea2828' align='center'>prohibited vehicle</t>"; [_txt, [safezoneX, safezoneW], [0.20 * safezoneH + safezoneY, 0.3 * safezoneH], 2, 0.5] spawn BIS_fnc_dynamicText; }; }; }; sleep 3; }; Step 2: Download this file http://www.mediafire.com/file/bdpt5d96o5cttk3/vehicon.rar Unzip and put paa file into addons folder. Step 3: Edit your custom variables file dayz_code/init/variables.sqf Put the vehicles you want to restrict below call dayz_resetselfactions; ike this: // Custom below s_givemoney_dialog = -1; s_bank_dialog = -1; s_player_checkWallet = -1; s_bank_dialog1 = -1; s_bank_dialog2 = -1; s_player_copyToKey = -1; s_player_claimVehicle = -1; s_collect_heli = -1; }; call dayz_resetSelfActions; DZE_heroHumanity = ["Mi17_rockets_RU","Mi24_D","UH1Y_DZE"]; DZE_superHeroHumanity = ["Mi24_V","Mi24_P","Ka52"]; DZE_agentHumanity = ["AV8B2","AV8B","A10","F35B"]; DZE_safeVehicle = DZE_heroHumanity + DZE_superHeroHumanity + DZE_agentHumanity +["ParachuteWest","ParachuteC"]; Step 4: Edit your init file to exec the script. Above the (false,12)execVm.... like below [] execVM "addons\veh_hum.sqf"; //[false,12] execVM "\z\addons\dayz_code\compile\local_lights_init.sqf"; Thats it. Enjoy! Hide contents
  2. Add ATMs in traders (Altis)

    Hi, This script is extremely simple. 1 - In '@epochhive/addons' add the following pbo (traderATMs.pbo) : https://dl.dropboxusercontent.com/u/63143678/epoch_scripts/traderATMs.pbo 2 - In your 'MPMissions' folder, unpack 'epoch.Altis.pbo' 3 - In your unpacked 'epoch.Altis' folder, open init.sqf and add the following at the very top : if (isServer) then { execVM "\q\addons\traderATMs\init.sqf"; }; Note : if there is no init.sqf in the root of your unpacked 'epoch.Altis' folder, just create one. 4 - Repack 'epoch.Altis' into 'epoch.Altis.pbo' That's it ! **EDIT** Optimized following Kroenen's suggestions
  3. Script from And I just made it 1 .bat file easy to use all you need to do is edit the Config settings section and the command line. Make a new .bat file on your desktop of your windows vps or dedi Paste this in it If you run multiple servers create a file for each server on your desktop all you have to do is change the command lines and the config settings to suit each server on each file. This script will re-run everything from this label :arma2oaserver every time the server cmd box is closed so yes if bec shuts down the server after x amount of hrs the script will backup your sql will re-start Bec & the Server If your server cmd box closes for some unknown reason this will terminate connection with Bec and so Bec shuts down but dont worry the script will backup your database then restart bec and your server (dont believe me try it run this script then close your server cmd box while this script is running and watch the magic lol)
  4. This is a base that you can complete to get your own script to craft objets. in custom configvariables.sqf be sure u use DZE_permanentplot = true; lines in red to see where edit. now go to your server_monitor.sqf find: if( (count _inventory > 0) && !_isPlot && !_doorLocked) then { change by: if( (count _inventory > 0) && !_isPlot && !_doorLocked && {_type != "YOUR OBJET ID"}) then {
  5. Death messages script?

    Hi. Death messages script?
  6. NEAF Makeover

    Im putting up my script for a makeover of the NEAF. I did release this before back with Since has come out I decided to retest to see if it would still be fine , which it is. So im reposting it for anyone who might want to make use of it. Just put the following in a new file called NEAF.sqf (or whatever you want to call it and create a new folder called "buildings" (if you dont already have a folder called that) in the root directory of your server pbo. In your server_functions.sqf file in your init folder add the following to the bottom: call compile preProcessFileLineNumbers "\z\addons\dayz_server\buildings\NEAF.sqf"; I do ask that the credits ARE left in this file and that no other person claims credit for this version of a better North East Airfield. NEAF.sqf: Link to original post which includes images of NEAF:
  7. Capture Points

    Hello!!! I need some help, does anyone have a Capture Point script that is functioning on 1.0.6? The owner of the server desperately wants a Capture point style event where players must brawl for control over an area for around 10,15 minutes, then a crate spawns, granted players are in the vicinity, and if they are not in the vicinity, the crate is empty. If someone is willing to share this script or has it for a reasonable price (keep in mind my organization is not for profit), then I would be highly appreciative and so would the community!!! Please help a fellow out! Thanks in advance!!!
  8. Hi guys, I decided to make my Overpoch Skin chaning public. ( Screenshots on bottom) UPDATED to 3.0 ( CLEAN AND EFFECTIVE) Uses my defines from all my mods now. I release a version for Epoch and Overpoch. The scripts let u right click a clothing and give u a dialog to choose serveral linked skins to that specific skin. It shows you every possible skin you can have with your current inventory. No more trader needed. Make it harder to find a skin! You can change skin even when you are wearing a overwatch or arma skin! It also allows you to pickup skins! Screenshots: Download files: https://github.com/DevZupa/DayZEpochArmaOverpochClothing- MY switchmodel supports the following dscripts/fixes Correct Char Id after changing AI still shoot at you Coins transferred ( 2.0) Coins transferred (1.0) Install Instructions OVERPOCH: 1. Place the following under AllPlayers = ... in your custom "variables.sqf" Clothing1 = ["FR_Ohara_DZ","FR_Miles","FR_Cooper","FR_Rodriguez_DZ","FR_Sykes","FR_AC","FR_AR","FR_Assault_GL","FR_Assault_R","FR_Commander"]; Clothing2 = ["Soldier1_DZ","USMC_Soldier","USMC_Soldier2","USMC_SoldierM_Marksman","USMC_SoldierS","USMC_SoldierS_Sniper","USMC_Soldier_AA","USMC_Soldier_Pilot"]; Clothing3 = ["Ins_Soldier_GL_DZ","CDF_Soldier","CDF_Commander","CDF_Soldier_AR","CDF_Soldier_Crew","CDF_Soldier_Light","CDF_Soldier_Pilot"]; Clothing4 = ["GUE_Soldier_Crew_DZ","RU_Soldier","RU_Soldier_Crew","RU_Soldier_Light","RU_Soldier_Pilot","RUS_Commander","RUS_Soldier1","MVD_Soldier_Sniper"]; Clothing5 = ["Graves_Light_DZ","Drake","Graves","Herrera","Pierce","US_Delta_Force_Assault_EP1","US_Soldier_AR_EP1","US_Soldier_AT_EP1","US_Soldier_MG_EP1","US_Pilot_Light_EP1","US_Soldier_SL_EP1"]; Clothing6 = ["CZ_Special_Forces_GL_DES_EP1_DZ","CZ_Soldier_AT_DES_EP1","CZ_Soldier_Light_DES_EP1","CZ_Special_Forces_DES_EP1","CZ_Special_Forces_TL_DES_EP1"]; Clothing7 = ["Bandit2_DZ","MVD_Soldier_Sniper","GER_Soldier_EP1","GER_Soldier_MG_EP1","GER_Soldier_TL_EP1"]; Clothing8 = ["Soldier_Bodyguard_AA12_PMC_DZ","CIV_Contractor2_BAF","BAF_crewman_DDPM","BAF_Soldier_FAC_DDPM","BAF_Soldier_N_DDPM","BAF_Soldier_Marksman_DDPM","BAF_Soldier_Officer_DDPM","BAF_Soldier_L_DDPM"]; Clothing9 = ["TK_INS_Soldier_EP1_DZ","TK_Commander_EP1","TK_Soldier_Crew_EP1","TK_Soldier_MG_EP1","TK_Special_Forces_MG_EP1","TK_INS_Bonesetter_EP1"]; Clothing10 = ["Survivor2_DZ"]; Clothing11 = ["FR_Rodriguez_DZ","FR_Corpsman","FR_GL","FR_Light","FR_Marksman","FR_R","FR_Sapper","FR_TL","Mercenary_Default20b","Mercenary_Default20c","Mercenary_Default20d"]; // Abit of Overpoch in here // Overwatch //Hero Clothing12 = ["Drake_Light_DZ","arma1_us_soldier_sabass","arma1_us_soldier_sabmark","arma1_us_soldier_sabot","frb_tl","frb_tl_mask","frb_gl","frb_gl_mask","frb_mg","frb_mg_mask","frb_mark","frb_mark_mask","frb_stealth_tl","frb_stealth_rifleman","frb_stealth_sabot","frb_stealth_mark"]; Clothing13 = ["Soldier_Sniper_PMC_DZ","SBH_Alpha_Soldier1","SBH_Alpha_Soldier2","SBH_Alpha_Soldier3","SBH_Alpha_Soldier4","SBH_Alpha_Soldier5","SBH_Alpha_Soldier6","SBH_Alpha_Soldier7","SBH_Alpha_Soldier8","SBH_Alpha_Soldier9","SBH_Alpha_Soldier10","SBH_Alpha_Soldier11","SBH_Alpha_Soldier12"]; Clothing14 = ["CZ_Soldier_Sniper_EP1_DZ"]; Clothing15 = ["Camo1_DZ","US_Delta_Force_TL_EP1","US_Delta_Force_EP1","US_Delta_Force_AR_EP1","US_Delta_Force_Medic_EP1","US_Delta_Force_Marksman_EP1","US_Delta_Force_Air_Controller_EP1"]; Clothing16 = ["Rocket_DZ","SFSG_des_tl","SFSG_des_op","SFSG_des_ar","SFSG_des_med","SFSG_des_demo","SFSG_des_mrk","SFSG_des_jtac","SFSG_mtp_tl","SFSG_mtp_op","SFSG_mtp_ar","SFSG_mtp_med","SFSG_mtp_demo","SFSG_mtp_mrk","SFSG_mtp_jtac","SFSG_wdl_tl","SFSG_wdl_op","SFSG_wdl_ar","SFSG_wdl_med","SFSG_wdl_demo","SFSG_wdl_mrk","SFSG_wdl_jtac","SFSG_mtpw_tl","SFSG_mtpw_op","SFSG_mtpw_ar","SFSG_mtpw_med","SFSG_mtpw_demo","SFSG_mtpw_mrk","SFSG_mtpw_jtac"]; Clothing17 = ["Sniper1_DZ","Navy_SEAL_TL","Navy_SEAL_GL","Navy_SEAL_MG","Navy_SEAL_AT","Navy_SEAL_Medic","Navy_SEAL_Marksman","Navy_SEAL_diver","Navy_SEAL_diver_medic","Navy_SEAL_diver_land","Navy_SEAL_AC","Navy_SEAL_ACa","Navy_SEAL_ACb","Navy_SEAL_Shotgun","Navy_SEAL_Sabot","Navy_SEAL_SD"]; Clothing18 = ["Soldier_TL_PMC_DZ","G_WDL_Mercenary_Default0","G_WDL_Mercenary_Default1","G_WDL_Mercenary_Default2","G_WDL_Mercenary_Default3","G_WDL_Mercenary_Default4","G_WDL_Mercenary_Default5","G_WDL_Mercenary_Default6","G_WDL_Mercenary_Default7","G_WDL_Mercenary_Default8","G_WDL_Mercenary_Default9","G_WDL_Mercenary_Default10","G_WDL_Mercenary_Default11","G_WDL_Mercenary_Default12","G_WDL_Mercenary_Default13","G_WDL_Mercenary_Default14","G_WDL_Mercenary_Default15","G_WDL_Mercenary_Default16"]; Clothing19 = ["GUE_Soldier_Sniper_DZ","UKSF_des_tl","UKSF_des_op","UKSF_des_ar","UKSF_des_med","UKSF_des_demo","UKSF_des_mrk","UKSF_des_jtac","UKSF_wdl_tl","UKSF_wdl_op","UKSF_wdl_ar","UKSF_wdl_med","UKSF_wdl_demo","UKSF_wdl_mrk","UKSF_wdl_jtac","UKSF_des_tl_l","UKSF_des_op_l","UKSF_des_ar_l","UKSF_des_med_l","UKSF_des_demo_l","UKSF_des_mrk_l","UKSF_des_jtac_l","UKSF_wdl_tl_l","UKSF_wdl_op_l","UKSF_wdl_ar_l","UKSF_wdl_med_l","UKSF_wdl_demo_l","UKSF_wdl_mrk_l","UKSF_wdl_jtac_l"]; Clothing20 = ["TK_INS_Warlord_EP1_DZ","gsc_military_helmet_wdl","gsc_military_helmet_wdl_AT","gsc_military_helmet_grey_AT","gsc_military_helmet_wdlSNP","gsc_military_helmet_greySNP","gsc_military_helmet_grey","gsc_military_head_grey","gsc_military_head_greySNP","gsc_military_head_wdlSNP","gsc_military_head_wdl","gsc_military_head_wdl_AT","gsc_military_head_grey_AT","gsc_scientist1","gsc_scientist1_head","gsc_scientist2","gsc_scientist2_head","gsc_eco_stalker_mask_fred","gsc_eco_stalker_head_fred","gsc_eco_stalker_mask_camo","gsc_eco_stalker_head_camo1","gsc_cloth_loner_head","gsc_eco_stalker_mask_duty","gsc_eco_stalker_head_duty","gsc_eco_stalker_mask_neutral","gsc_eco_stalker_head_neutral","nof_fsk_tl","nof_fsk_marksman","nof_fsk_grenadier","nof_fsk_heavy","nof_fsk_corpsman","MVD_Soldier"]; //Bandit Clothing21 = ["Bandit1_DZ","Winter_SOF_Sabot","Winter_SOF_MG","Winter_SOF_TL","Winter_SOF_Medic","Winter_SOF_Marksman","Winter_SOF_GL","Winter_SOF_AT","Winter_SOF_AC","Winter_SOF_DA1","Winter_SOF_DA1a","Winter_SOF_DA1b","Winter_SOF_DA1c","Winter_OPFOR1","Winter_OPFOR2","Winter_OPFOR3","Winter_OPFOR4","Winter_OPFOR5","Winter_OPFOR6","Winter_OPFOR7","Winter_OPFOR8","Winter_OPFOR9","Winter_OPFOR10","EWinter_OPFOR1","EWinter_OPFOR2","EWinter_OPFOR3","EWinter_OPFOR4","EWinter_OPFOR5","EWinter_OPFOR6","EWinter_OPFOR7","EWinter_OPFOR8","EWinter_OPFOR9","EWinter_OPFOR10"]; Clothing22 = ["Bandit2_DZ","Gangsta_merc1","Gangsta_merc2","Gangsta_merc3","Gangsta_merc4","Gangsta_merc5","Gangsta_merc6","Gangsta_merc7","Gangsta_merc8","Gangsta_merc9","Gangsta_merc10","EGangsta_merc1","EGangsta_merc2","EGangsta_merc3","EGangsta_merc4","EGangsta_merc5","EGangsta_merc6","EGangsta_merc7","EGangsta_merc8","EGangsta_merc9","EGangsta_merc10","Taliban1","Taliban2","Taliban3","Taliban4","Taliban5","Taliban6","Taliban7","Taliban8","Taliban9","Taliban10","Taliban11","Taliban12","ETaliban1","ETaliban2","ETaliban3","ETaliban4","ETaliban5","ETaliban6","ETaliban7","ETaliban8","ETaliban9","ETaliban10","ETaliban11","ETaliban12","Terrorist1","Terrorist2","Terrorist3","Terrorist4","Terrorist5","Terrorist6","Terrorist7","Terrorist8","Terrorist9","Terrorist10","Terrorist11","Terrorist12","ETerrorist1","ETerrorist2","ETerrorist3","ETerrorist4","ETerrorist5","ETerrorist6","ETerrorist7","ETerrorist8","ETerrorist9","ETerrorist10","ETerrorist11","ETerrorist12"]; Clothing23 = ["BanditW1_DZ"]; // DIrty Women Clothing24 = ["BanditW2_DZ"]; // DIrty Women Clothing25 = ["GUE_Commander_DZ","US_Army_Soldier_Light","US_Army_Soldier_GL","US_Army_Soldier2","US_Army_Soldier_Officer","US_Army_Soldier_SL","US_Army_Soldier_TL","US_Army_Soldier_LAT","US_Army_Soldier_AT","US_Army_Soldier_HAT","US_Army_Soldier_AA","US_Army_Soldier_Medic","US_Army_Soldier_AR","US_Army_Soldier_MG","US_Army_SoldierS_SniperH","US_Army_SoldierM_Marksman","US_Army_SoldierS"]; Clothing26 = ["GUE_Soldier_2_DZ","Desert_SOF_TL","Desert_SOF_GL","Desert_SOF_MG","Desert_SOF_AT","Desert_SOF_Medic","Desert_SOF_Marksman","Desert_SOF_AC","Desert_SOF_Shotgun","Desert_SOF_Sabot","Desert_SOF_DA1","Desert_SOF_DA1a","Desert_SOF_DA1b","Desert_SOF_DA2","WDL_Mercenary_Default0","WDL_Mercenary_Default1","WDL_Mercenary_Default2","WDL_Mercenary_Default3","WDL_Mercenary_Default4","WDL_Mercenary_Default5","WDL_Mercenary_Default5a","G_WDL_Mercenary_Default5a","WDL_Mercenary_Default6","WDL_Mercenary_Default7","WDL_Mercenary_Default8","WDL_Mercenary_Default9","WDL_Mercenary_Default10","WDL_Mercenary_Default11","WDL_Mercenary_Default12","WDL_Mercenary_Default13","WDL_Mercenary_Default14","WDL_Mercenary_Default15","WDL_Mercenary_Default16"]; Clothing27 = ["GUE_Soldier_CO_DZ","G_Mercenary_Default9a","G_Mercenary_Default9b","Mercenary_Default10","Mercenary_Default11","Mercenary_Default12","Mercenary_Default13","Mercenary_Default14","Mercenary_Default15","Mercenary_Default16","Mercenary_Default17","Mercenary_Default18","Mercenary_Default19","Mercenary_Default19a","G_Mercenary_Default19a","Mercenary_Default20","Mercenary_Default22","Mercenary_Default23","Mercenary_Default24","Mercenary_Default25","Mercenary_Default26","Mercenary_Default27","Mercenary_Default28","G_Mercenary_Default0","G_Mercenary_Default1","G_Mercenary_Default2","G_Mercenary_Default3","G_Mercenary_Default4","G_Mercenary_Default5","G_Mercenary_Default6","G_Mercenary_Default7","G_Mercenary_Default8","G_Mercenary_Default9","G_Mercenary_Default10","G_Mercenary_Default11","G_Mercenary_Default12","G_Mercenary_Default13","G_Mercenary_Default14","G_Mercenary_Default15","G_Mercenary_Default16","G_Mercenary_Default17","G_Mercenary_Default18","G_Mercenary_Default19","G_Mercenary_Default20","G_Mercenary_Default20b","G_Mercenary_Default21","G_Mercenary_Default22","G_Mercenary_Default23","G_Mercenary_Default24","G_Mercenary_Default25","G_Mercenary_Default26","G_Mercenary_Default27","G_Mercenary_Default28"]; AllPlayers = AllPlayers + Clothing1 + Clothing2 + Clothing3 + Clothing4 + Clothing5 + Clothing6 + Clothing7 + Clothing8 + Clothing9 + Clothing10 + Clothing11 + Clothing12 + Clothing13 + Clothing14 + Clothing15 + Clothing16 + Clothing17 + Clothing18 + Clothing19 + Clothing20 + Clothing21+ Clothing22+ Clothing23+ Clothing24+ Clothing25+ Clothing26+ Clothing27 ; 2. Put the following on the bottom of your "description.sqf ONLY ADD THIS DEFINES IF YOU DO NOT USE A DEFINES FROM my other mods ( = the same) #include "zupa\skins\defines.hpp" #include "zupa\skins\SkinGui.hpp" 3. In your compiles.sqf place after if (!isDedicated) then { The following FillSkinList = compile preprocessFileLineNumbers "zupa\skins\getList.sqf"; ApplySkinList = compile preprocessFileLineNumbers "zupa\skins\changeClothes.sqf"; player_wearClothes = compile preprocessFileLineNumbers "zupa\skins\player_wearClothes.sqf"; player_switchModel = compile preprocessFileLineNumbers "zupa\skins\player_switchModel.sqf"; And comment out the normal player_wearclothes and player_switchModel // player_wearClothes = .. // player_switchModel = .. 4. Look for the following fn_selfactions.sqf // logic vars _player_cook = false; _player_boil = false; Add the following right above the previous lines //Remove CLOTHES if (_isMan and !_isAlive and !_isZombie and !_isAnimal) then { if (s_clothes < 0) then { s_clothes = player addAction [("" + ("Take Clothes") + ""), "zupa\skins\removeclothes.sqf",cursorTarget, 1, false, true, "",""]; }; } else { player removeAction s_clothes; s_clothes = -1; }; Now look in your selfactions for the following lines on the bottom: player removeAction s_player_fillfuel; s_player_fillfuel = -1; player removeAction s_player_studybody; s_player_studybody = -1; And add the following under those lines //remove clothes player removeAction s_clothes; s_clothes = -1; 5. Now drop the files from the zip files in your missions pbo. 6. You might have some Antihack troubles, more updates on that later. add "s_clothes" to your AHconfig 7. Add the follwoing to AH CMenu list: "MenClothing" and as number 20001 Epoch Only the first is different: 1. Place the following under AllPlayers = ... in your custom "variables.sqf" // Arma 2 Clothing1 = ["FR_Ohara_DZ","FR_Miles","FR_Cooper","FR_Rodriguez_DZ","FR_Sykes","FR_AC","FR_AR","FR_Assault_GL","FR_Assault_R","FR_Commander"]; Clothing2 = ["Soldier1_DZ","USMC_Soldier","USMC_Soldier2","USMC_SoldierM_Marksman","USMC_SoldierS","USMC_SoldierS_Sniper","USMC_Soldier_AA","USMC_Soldier_Pilot"]; Clothing3 = ["Ins_Soldier_GL_DZ","CDF_Soldier","CDF_Commander","CDF_Soldier_AR","CDF_Soldier_Crew","CDF_Soldier_Light","CDF_Soldier_Pilot"]; Clothing4 = ["GUE_Soldier_Crew_DZ","RU_Soldier","RU_Soldier_Crew","RU_Soldier_Light","RU_Soldier_Pilot","RUS_Commander","RUS_Soldier1","MVD_Soldier_Sniper"]; Clothing5 = ["Graves_Light_DZ","Drake","Graves","Herrera","Pierce","US_Delta_Force_Assault_EP1","US_Soldier_AR_EP1","US_Soldier_AT_EP1","US_Soldier_MG_EP1","US_Pilot_Light_EP1","US_Soldier_SL_EP1"]; Clothing6 = ["CZ_Special_Forces_GL_DES_EP1_DZ","CZ_Soldier_AT_DES_EP1","CZ_Soldier_Light_DES_EP1","CZ_Special_Forces_DES_EP1","CZ_Special_Forces_TL_DES_EP1"]; Clothing7 = ["Bandit2_DZ","MVD_Soldier_Sniper","GER_Soldier_EP1","GER_Soldier_MG_EP1","ER_Soldier_TL_EP1"]; Clothing8 = ["Soldier_Bodyguard_AA12_PMC_DZ","CIV_Contractor2_BAF","BAF_crewman_DDPM","BAF_Soldier_FAC_DDPM","BAF_Soldier_N_DDPM","BAF_Soldier_Marksman_DDPM","BAF_Soldier_Officer_DDPM","BAF_Soldier_L_DDPM"]; Clothing9 = ["TK_INS_Soldier_EP1_DZ","TK_Commander_EP1","TK_Soldier_Crew_EP1","TK_Soldier_MG_EP1","TK_Special_Forces_MG_EP1","TK_INS_Bonesetter_EP1"]; Clothing10 = ["Survivor2_DZ"]; Clothing11 = ["FR_Rodriguez_DZ","FR_Corpsman","FR_GL","FR_Light","FR_Marksman","FR_R","FR_Sapper","FR_TL"]; // Overwatch //Hero Clothing12 = ["Drake_Light_DZ"]; Clothing13 = ["Soldier_Sniper_PMC_DZ"]; Clothing14 = ["CZ_Soldier_Sniper_EP1_DZ"]; Clothing15 = ["Camo1_DZ"]; Clothing16 = ["Rocket_DZ"]; Clothing17 = ["Sniper1_DZ"]; Clothing18 = ["Soldier_TL_PMC_DZ"]; Clothing19 = ["GUE_Soldier_Sniper_DZ"]; Clothing20 = ["TK_INS_Warlord_EP1_DZ"]; //Bandit Clothing21 = ["Bandit1_DZ"]; Clothing22 = ["Bandit2_DZ"]; Clothing23 = ["BanditW1_DZ"]; Clothing24 = ["BanditW2_DZ"]; Clothing25 = ["GUE_Commander_DZ"]; Clothing26 = ["GUE_Soldier_2_DZ"]; Clothing27 = ["GUE_Soldier_CO_DZ"]; AllPlayers = AllPlayers + Clothing1 + Clothing2 + Clothing3 + Clothing4 + Clothing5 + Clothing6 + Clothing7 + Clothing8 + Clothing9 + Clothing10 + Clothing11 + Clothing12 + Clothing13 + Clothing14 + Clothing15 + Clothing16 + Clothing17 + Clothing18 + Clothing19 + Clothing20 + Clothing21+ Clothing22+ Clothing23+ Clothing24+ Clothing25+ Clothing26+ Clothing27 ; Follow Overpoch 2 and so on Zupa.
  9. PROJECT ON HOLD - TO BE RESUMED ONE DAY... TRANSPORT FOR ARMA INTRODUCTION This script bring the following functionality: [READY] Players can call an AI piloted land vehicle TaxiAnywhere and request it to take you to a point on map which YOU CHOOSE BY CLICKING ON MAP. Upon reaching destination AI-controlled-taxi-vehicle will stop and you can disembark. The taxi will then ride away and despawn away from player (for immersion). [READY] Players can call an AI piloted land vehicle FixedDestinationTaxi and request it to take you to ONE OF THE FEW PRE-CHOSEN (by ServerAdmin) points on map. Upon reaching destination AI-controlled-taxi-vehicle will stop and you can disembark. The taxi will then ride away and despawn away from player (for immersion). [WIP] Players can embark an AI piloted land vehicle PublicBus and it will automatically drive on its PRE-CHOSEN BUS ROUTE (by ServerAdmin). When a player wish to disembark, they can request a STOP-VEHICLE via the TfA-GUI & allow them to disembark. The bus will then ride away and carry on looping its route. PAYMENT SYSTEM NOTES Taxi Anywhere Taxis : Initial Booking Fee + 1st Mile Fee + Pay-as-you-Go Fee -- ServerAdmin can customize or disable any of the fees. Fixed Destination Taxis : 'Single Fee' -- Fee is calculated on the fly according to a pricing mechanism. ServerAdmin can customize or disable this fee. Public Buses : 'Single Fee' -- ServerAdmin can customize/disable the fee on any/all BusRoutes. LICENSE GNU GPL v3. You can do whatever you want with this mod as long as you give the same freedom to others on your derivative works. DOWNLOAD 29 Jan 2017 - git repo is gone. direct link to the last package (v.0.6.5b2 from 18th May 2016) http://www.filedropper.com/mgmtfav065build2 18th May 2016 - New version v.0.6.5b2 available! Release package direct link to 7zip archive file: https://gitlab.com/themgm/Transport_for_Arma/blob/master/release_packages/_autogenerated/v.0.6.5.build2/mgmTfA_v.0.6.5.build2.7z Installation Instructions: https://gitlab.com/themgm/Transport_for_Arma/blob/master/documentation/INSTALLATION_INSTRUCTIONS.txt Link to release directory where you can download the three additional files to verify integrity: https://gitlab.com/themgm/Transport_for_Arma/tree/master/release_packages/_autogenerated/v.0.6.5.build2 If you try this script, please let me know what you think :) FEEDBACK / SUGGESTIONS / BUG REPORTS / SUPPORT Please post in this thread. See it in action! Click below to go to post #2 - VIDEOS last edit: 29 Jan 17 - added latest version link & clarified project status.
  10. Gigacraft Admin Menu A3-Epoch

    Hello Epoch Users, i (RHE24) & Stefan have a simple Admin Menu for your Epoch Server. We are Admins on the Gigacraft A3 Epoch Server. Its based on Arma3 Wiki and fusion13 and AltisLife Features Teleport Godmode Vehicle Spawn Weapon Spawn Group Spawn ESP Heal self and Players Spectate You can Download the 7z Archive https://sourceforge.net/projects/gama3epoch/files/latest/download Install: , extract to our Mission Folder. Insert this in your init.sqf //Gigacraft Admin Menu [] execVM "gigacraft_admin_menu\admin\activate.sqf"; [] execVM "gigacraft_admin_menu\admin\loop.sqf"; then in tools.sqf and activate.sqf search this if ((getPlayerUID player) in ["####", "####", "####", "####", "####", "####", "####"]) then { //all admins and in activate.sqf if ((getPlayerUID player) in ["####", "####", "####", "####", "####", "####", "####"]) then { ; replace "####" with your Admin UIDS, like 76xxxxxxxxxxx thats all, repack your to pbo and have a Menu :) --------------------------------------------------------------------- presentet by RHE24 & Stefan, we are Admins on our Arma3 Epoch Server. Server IP: gigacraft.de:2302
  11. Script Restriction #29

    Yesterday I was playing with a couple of friends on a private epoch server, and it seemed like every 10-15 minutes some of us would get kicked. Reason for it? Script Restriction #29, I'm wondering if this is a client or server issue, I'm not a big coder so I wasn't able to find where exactly the problem was. If anyone can give me feedback I would appreciate it greatly.
  12. Fps boost?

    Hi. How can server-side fps be increased? Database clean? Script?Mod? Clean? (Not game settings) Thanks
  13. What is this mod Its a mod that lets you setrange if you right click on a binocular and rangefinder (very easy you can even do it yourself) Any issues plz tell You Need extra_rc.hpp and a costum folder instal guide install link : https://www.dropbox.com/sh/4szrw32dsuszhxk/AADnUQwQ27tEFNcpmQLYPaO7a?dl=0 1. paste these lines in your extra_rc.hpp so it looks like this IF YOU DONT HAVE THE TEST IN HERE 2. paste the file setview into your custom folder from the download (in your mission file yourinstance\custom dont know if i need to give somebody credits :D
  14. Search Lingor script

    Hello Community Sorry for my bad English. I Search a lingor Script With 2 mods. (Plot4life and plotmanagement) .can you send me pls a Script for Lingor With the 2 or more scripts? Thank you very much guys. Cheers
  15. slow zombies

    Is there a script to slow the zombies for like the setting in 1.0.6?
  16. So, as many will know, there is an issue in A2Epoch (possibily from DayZ) in the unique identifier generation not always producing unique identifiers. What is the unique identifier and how is it used ?. Epoch uses two object identifiers. ObjectID ObjectUID ObjectID is generated by the MySQL DB backend. ObjectUID is generated within the ARMA 2 game world via SQF code. Why two identifiers ?. For some reason... there is only one HiveExt.dll call to get the ObjectID for an object in the DB. This call is the one used to load all the DB objects in to ARMA. The offshoot of this is that when a new object is created and saved to the DB, the DB creates a unique objectID but this objectID cannot get back to the ARMA 2 game world until the ARMA 2 server process is restarted and all the objects are then read from the DB again. To get around this, the ObjectUID is created when a new object is created in the game world. This is used to reference the object in the game world and on the DB if the ARMA 2 engine does not know the DB assigned ObjectID. So, what is the problem ?. Whilst the code to generate a unique objectUID looks fairly good, it does not always create a unique ID. THis means that manipulation of any new objects that have not yet got an objectID in the game world (ie. created after the last server restart) but having an objectUID that matches the objectUID of an object currently in the DB will cause all sorts of problems. How is the objectUID calculated currently ?. There are three functions used to calculate the objectUID currently (all defined in server_functions.sqf). dayz_objectUID - No longer used it seems. dayz_objectUID2 - Used for objects objectUID generation. dayz_objectUID3 - Used for vehicle objectUID generation. dayz_objectUID just works out the required input parameters and then calls dayz_objectUID2. dayz_objectUID2 generates the objectUID for the object by applying the following calculation. x,y,z coords each multiplied by 10. Results made positive if required by multiplying by -10 and rounded to a whole number. 3 numbers are concatenated together (X + Y + Z). The objects direction (in degrees) after rounding is then concatenated to the result. dayz_objectUID3 does the same but adds the mission time (time in seconds since the ARMA 2 mission was started) to the direction value before adding it to the result for the x/y/x/ * 10 part. Worked example for dayz_objectUID2 Worldspace = [351.545[11079.8,11834.3,-0.380997]] = X = 11079.8 * 10 = 110798 Y = 11834.3 * 10 = 118343 Z = -0.380997 * 10 = -3.80997 * -10 (make positive) = 38.0997 round = 38 DIR = 351.545 rounded = 352 = concat 110798 + 118343 + 38 + 352 Calculated objectUID 11079811834338352 Stored ObjectUID 11079811834338352 So why is it not random ?. A set of coodinates ( [dir,[x,y,z]] ) for an object of [0,[1,1,10]] will produce the same result as a set of coordinates of [0,[1,10,1]]. The uniqueness plays on the probability of combination resulting in the same onjectUID being generated as unlikely. The more items you have in your DB then the more likely it is to happen. Ok, so what can we do about it ?. So this is the purpose of this thread. Both to highlight the issues to those who were not aware and to have a discussion on peoples thoughts on a better solution. I am curious as to why the code does not start at 0 and each time a objectUID is needed it just increments (possibly by 2 / 5 / 10). A server global variable could hold the current value and be populated on server restart by the highest objectUID found in the loaded objects. The only issue I can see is if multiple requests for a new objectUID resulted in the same objectUIDs being given out to multiple requestors as the global 'current objectUID' variable cannot be updated quickly enough. Presumabily that ould be managed by a basic schedualing system enforcing a FIFO queue so each request could be processed one at a time. Any other thoughts or observations ?. I am hoping we can all come up with a better solution that does not require any custom .dlls or DB table changes. Good news is that any new generation system should be pretty easy to plugin to Epoch. Over to you...
  17. Just made a new script for proper vehicle service points where you are able to refuel, repair and rearm your vehicles! (I could not find a good one, so I did it myself) "Proper" meaning everything is done like it should be in Epoch and saved to the database, e.g. the script is really repairing all vehicle parts and not just setting the damage to 0, so it's the same as if you would repair every damaged part yourself. Main Features: dynamic service points where you are able to select the options (default at every fuel station, if you want it's easy to add the epoch fuel pumps so you can build a service point in your base, you can also add vehicles or units if you want, like a NPC trader) you can refuel and repair any vehicle by just sitting inside and get close to a service station (default 10m), then you get the actions menu attached to the vehicle, with rearm you have to be in the gunner seat because only that turret will be rearmed (for all cases the vehicle has to be local to your PC, so your have to be the driver/pilot or are alone in the vehicle) the services don't have to be for free, you can add a price to every option like the traders (e.g. refuel is free but repair would cost 2 gold and rearm 3 10oz gold) dynamic costs based on vehicle type you can also disable any option if you don't want or need it, like disabling the rearm option completely anything important is configurable in one place with config variables (there are comments in the config block, just take a look at the file service_point.sqf) The Installation is pretty simple, it's just a client side script. Add this to your init.sqf in the "if (!isDedicated) then { PUT HERE SOMEWHERE (at the end is ok) }" block (so it will only be started on your client and not the server): if (!isDedicated) then { // ... some other stuff ... // add the next line somewhere in this block execVM "service_point\service_point.sqf"; }; Download all files from here into a folder "service_point" inside your mission folder: https://github.com/vos/dayz/tree/master/service_point If you want to change the path, there is one config variable in the file service_point.sqf called "_folder", you have to change that so it can access the other files needed for the script. Here a screenshot how it looks like (click on the preview to show a full screenshot with the UAZ DShKM): Feel free to add features and tell me your ideas. :)
  18. Good Evening guys. I got some problems getting macas right click options to work on my server.: http://epochservers.com/viewtopic.php?f=14&t=13 . In his tutorial he's talking about compiles.sqf . Do I have to create an custom one in my mission folder? Or is it the one in the .pbo\init etc. Do I have to create an own compiles.sqf in my missions folder? If I have to.. How is it done? Same with ui_selectSlot.sqf . Does anyone knows a tutorial for noobs like me in scripting. (But already learned a lot of you helpful guys in this forum :-) ) so could anyone make me a bit more detailed description of how to gut it working.. Have a nice day !
  19. This Tutorial will teach you how to alter/change or remove trader animations for faster trading Requirements: * Basic knowledge of unpacking pbo's * Custom compiles * Common sense * Text Editor (notepad++) Installation (If you already have a compiles file, Skip to #4 please) 1) Open your dayz_mission.pbo and open init.sqf Find: call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\compiles.sqf"; //Compile regular functions Replace it with: call compile preprocessFileLineNumbers "fixes\compiles.sqf"; //Compile regular functions 2) Now make a folder called fixes 3) copy this file into the fixes folder ..\Steam\SteamApps\common\Arma 2 Operation Arrowhead\@DayZ_Epoch\addonsdayz_code.pbo\init\compiles.sqf (if you already have a custom compiles.sqf, start here) 4) Open fixes/compiles.sqf Find: call compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\player_traderMenuHive.sqf"; Replace it with: call compile preprocessFileLineNumbers "fixes\player_traderMenuHive.sqf"; 5) Copy this file into your fixes folder ..\Steam\SteamApps\common\Arma 2 Operation Arrowhead\@DayZ_Epoch\addonsdayz_code.pbo\compile\player_traderMenuHive.sqf 6) Open fixes/player_traderMenuHive.sqf Find: _File = "\z\addons\dayz_code\actions\" + _afile + ".sqf"; Replace it with: _File = "fixes\trade\" + _afile + ".sqf"; 7) Make a folder called trade inside the fixes folder 8) Download the appropriate file for your server and extract them inside the traders folder Epoch Epoch With Zupa 1.1 Single Currency Epoch With Soul's Edit 9) Repack and you're done :) Configuration If you leave the way you installed it, it will be ready to go on the server. On my version of code, instead of the medic animation, it will do a pickup or lean animation which is way quicker than the medic animation. however if you want to modify it to your likings, you may do so very easily. To Change the animation of trading Open every file inside the fixes/trade folder Find: player playActionNow "PutDown"; and replace "PutDown" with any other animation you like. Check this link for almost all the arma animation To Remove the animation of trading Open every file inside the fixes/trade folder Find: player playActionNow "PutDown"; Remove the line whole line, to simple get rid of the animation. Credits: Zupa PeterBeer
  20. If you like my work, please consider a donation. $USD $EURO *** WE ARE ON VERSION 2.0 *** UPDATED ON 10 OF OCTOBER OF 2014 *** *** UPDATE YOUR NITRO IS HIGLY RECOMENDED *** THANKYOU! *** THE BADIE: infiSTAR will disable the custom binds even if you set Disable Custon Binds to False. So if you use infiSTAR, a work arround is needed.You can try Lord George Fix: Hi, I want to say thanyou to Sandbird, for his Nitro script, that gave me the initial kick for Gelid Nitro. GELID NITRO 1.1) Nitro don't need to be installed. 1.2) Nitro is limited to a list of vehicles. 1.3) Fuel decrease faster, you can do 7/8 of the coast travel with Nitro on and full fuel. 2.0) Tree sounds: Nitro Injection / Air flow / Exhauster Pipe Blow. 3.0) The cost of speed: When the exhauster pipe blows, there is an sudenly extra gain in speed that can cause lost of vehicle control. So pay atention on the pipe blow. 4.1) Tweak: boost only happens if the vehicle is touching the ground. 4.2) Tweak: boost happens when the vehicle is facing the travel direction. 5.1) Aesthetics: impulse tweaked to not generate the "desync like" effect that happens when adding velocity to things. MISSION FILES: N.O.S. FILES All the new files goes to your mission folder, inside the folder NOS. Example: Arma 2 Operation Arrowhead\MPMissions\DayZ_Epoch_11.Chernarus\NOS. MISSION FILES: NEW FILE nitro.sqf donn_nitroOn = false; donn_speedometer = false; donn_nitroCars = [ "car_sedan", "car_sedan_DZE1", "car_sedan_DZE2", "car_sedan_DZE3", "car_sedan_DZE4", "VWGold", "VWGold_DZE1", "VWGold_DZE2", "VWGold_DZE3", "VWGold_DZE4", "car_hatchback", "car_hatchback_DZE1", "car_hatchback_DZE2", "car_hatchback_DZE3", "car_hatchback_DZE4", "datsun1_civil_1_open", "datsun1_civil_1_open_DZE1", "datsun1_civil_1_open_DZE2", "datsun1_civil_1_open_DZE3", "datsun1_civil_1_open_DZE4", "SUV_Camo", "SUV_Camo_DZE1", "SUV_Camo_DZE2", "SUV_Camo_DZE3", "SUV_Camo_DZE4", "datsun1_civil_3_open", "datsun1_civil_3_open_DZE1", "datsun1_civil_3_open_DZE2", "datsun1_civil_3_open_DZE3", "datsun1_civil_3_open_DZE4", "GLT_M300_ST", "HMMWV_DZ" ]; kDownFunc = { private ["_theCar","_keyDown"]; _keyDown = _this; if (_keyDown == 42 && donn_nitroOn) then { _theCar = vehicle player; if (isEngineOn _theCar && ((getPosATL _theCar) select 2) < 0.1 && speed _theCar >= 50) then { private ["_vel","_dir"]; _dir = direction _theCar; _vel = velocity _theCar; _theCar setVelocity [ (_vel select 0) + (sin _dir * 0.1), (_vel select 1) + (cos _dir * 0.1), (_vel select 2) ]; _theCar setFuel ((fuel _theCar) - 0.000035); if ((diag_tickTime - donn_airStarted) >= donn_airWait) then { [nil,_theCar, rSAY,["suction", 100]] call RE; if (donn_airWait == 3.5) then { [nil,_theCar, rSAY,["exhaustor", 100]] call RE; donn_airStarted = diag_tickTime; donn_airWait = 3; donn_problem = true; [] spawn { private ["_theCar","_vel","_calcDir","_magnitude","_dir","_intensity"]; _theCar = vehicle player; for "_x" from 1 to 200 do { if (vehicle player == _theCar && isEngineOn _theCar && ((getPosATL _theCar) select 2) < 0.1 && speed _theCar >= 50) then { _vel = velocity _theCar; _dir = direction _theCar; _magnitude = sqrt((_vel select 0)^2 + (_vel select 1)^2); if ((_vel select 0) < 0) then {_calcDir = 360 - aCos ((_vel select 1)/_magnitude);} else {_calcDir = aCos ((_vel select 1)/_magnitude);}; if (abs(_dir-_calcDir) <= 5) then { _theCar setVelocity [(_vel select 0) * 1.01, (_vel select 1) * 1.01, (_vel select 2)]; }; }; uiSleep 0.01; if (!donn_problem) exitWith {}; }; }; } else { donn_airStarted = diag_tickTime; donn_airWait = random 3.5; if (donn_airWait > 3) then {donn_airWait = 3.5;}; }; }; }; }; }; kUpFunc = { private ["_keyUp"]; _keyUp = _this; if (_keyUp == 41) then { donn_problem = false; }; if (_keyUp == 57) then { if (donn_nitroOn) then { donn_nitroOn = false; systemChat ("Nitro Off!"); } else { donn_nitroOn = true; systemChat ("Nitro On!"); if (donn_speedometer) then { [] spawn { while {donn_nitroOn} do { cutText [format ["Speed in Km/h: %1", round (speed (vehicle player))], "PLAIN"]; uiSleep 0.5; }; }; }; }; }; }; [] spawn { while {true} do { //WAIT TO BE IN VEHICLE waitUntil {sleep 0.25; vehicle player != player && (driver (vehicle player)) == player}; if ((typeOf (vehicle player)) in donn_nitroCars) then { donn_nosOk = true; donn_airStarted = diag_tickTime; donn_airWait = 1.5; donn_problem = false; [nil, (vehicle player), rSAY, ["nitro", 100]] call RE; [player,25,true,(getPosATL player)] spawn player_alertZombies; systemChat ("Press Space Bar to turn Nitro On/OFF!"); nosKeyDown = (findDisplay 46) displayAddEventHandler ["KeyDown","_this select 1 call kDownFunc; false;"]; nosKeyUp = (findDisplay 46) displayAddEventHandler ["KeyUp","_this select 1 call kUpFunc; false;"]; } else { donn_nosOk = false; }; //WAIT TO BE OUT OF THE VEHICLE waitUntil {sleep 0.25; vehicle player == player || (driver (vehicle player)) != player}; if (donn_nosOk) then { donn_nitroOn = false; donn_airStarted = nil; donn_airWait = nil; donn_problem = nil; (findDisplay 46) displayRemoveEventHandler ["KeyDown", nosKeyDown]; (findDisplay 46) displayRemoveEventHandler ["KeyUp", nosKeyUp]; }; }; }; MISSION FILES: NEW FILES SOUNDS Download the file in the link bellow and unzip it to the NOS folder. Those are the 3 sounds: https://www.dropbox.com/s/0p7xiu69f798rto/Donn%20Nitro%20Sounds%20v2.0.7z?dl=0 MISSION FILES: SOUND DECLARATIONS In your description.ext (this is not a new file), located in your mission folder, you need to declare the 3 sounds useds on Gelid Nitro. You may have other sounds already delcared, if so just add Gelid Nitro sounds along with then. The sound names are nitro, suction and exhaustor: class CfgSounds { class nitro { name="nitro"; sound[]={NOS\nitro.ogg,0.9,1}; titles[] = {}; }; class suction { name="suction"; sound[]={NOS\suction.ogg,0.1,1}; titles[] = {}; }; class exhaustor { name="exhaustor"; sound[]={NOS\exhaustor.ogg,1,1}; titles[] = {}; }; }; MISSION FILES: init.sqf At the end of your init.sqf add this code: [] execVM "nitro\nitro.sqf"; HOW TO USE 1 - Enter in a car that have Nitro, see list bellow. 2 - You will listem am initial air flow sound (this happens on cars that have Nitro). 3 - Press space bar to turn Nitro On/Off. 4 - When you reach 50 Km/h, the Nitro sound will start, and your car will receive a boost. List of cars with Nitro: donn_nitroCars = [ "car_sedan", "car_sedan_DZE1", "car_sedan_DZE2", "car_sedan_DZE3", "car_sedan_DZE4", "VWGold", "VWGold_DZE1", "VWGold_DZE2", "VWGold_DZE3", "VWGold_DZE4", "car_hatchback", "car_hatchback_DZE1", "car_hatchback_DZE2", "car_hatchback_DZE3", "car_hatchback_DZE4", "datsun1_civil_1_open", "datsun1_civil_1_open_DZE1", "datsun1_civil_1_open_DZE2", "datsun1_civil_1_open_DZE3", "datsun1_civil_1_open_DZE4", "SUV_Camo", "SUV_Camo_DZE1", "SUV_Camo_DZE2", "SUV_Camo_DZE3", "SUV_Camo_DZE4", "datsun1_civil_3_open", "datsun1_civil_3_open_DZE1", "datsun1_civil_3_open_DZE2", "datsun1_civil_3_open_DZE3", "datsun1_civil_3_open_DZE4", "GLT_M300_ST", "HMMWV_DZ" ];
  21. How to get online players list?

    There is a script in a server side archive - Tools\PHP\GetOnlinePlayers.php Can anyone tell how it works? I've tried to test it, and here's what i get: Parse error: syntax error, unexpected '.0' (T_DNUMBER) in C:\xampp\htdocs\main\GetOnlinePlayers.php on line 14 If i change to localhost it says: Fatal error: Class 'Redis' not found in C:\xampp\htdocs\main\GetOnlinePlayers.php on line 13
  22. It does not work _bodycheck

    friends, it does not work the "bodycheck" change it to 2500, but with my friends tried to kill me in zelenogorks and when I choose to be born zelenogorks keeps telling me, what would be wrong? thanks guys..
  23. I had an idea about doing an elevator script to extend the base building a little or just for some fun with ArmA/Epoch! :D Here is a video of the current prototype: (and don't laugh I got stuck after I fell from the roof :P) Just recorded another video to show how to call an elevator, I've placed 4 stops around the house, looks kinda funny yeah :D If anyone is wondering, I use the preview version of the metal floor to display the stop points of the elevator.. some item has to be present so you can call the elevator there and the positions get saved to the database. This item can be changed in the config but the preview items have no collisions so you can just travel through it and it's easy to see where the elevator can stop. Everything is saved to the database without any need to modify the server files or database structure. It only updates the "CharacterID" field in the "object_data" table like safes or locked door also do in Epoch, I don't want to bore you with the technical details but I encoded the elevator and stop point ID's in an 8 digit long code, always starting with "6976" (that is ASCII code for "EL" :P), the next 3 digits are the elevator ID and the last the elevator stop ID. Meaning you can have up to 10 stops per elevator (0-9) for now. It looks like this (without the "-"), just in case you want to find an elevator in the database or whatever. ID 8 digits: EL-ID-STID = 6976-###-# e.g the ID's of an elevator with 2 additional stop points: 69760010 -> 69760011 -> 69760012 The elevator can be build similar to the in-place upgrade system from Epoch, so just look at a metal floor (item can also be changed in the config) and you will get an option "Upgrade to Elevator" and "Upgrade to Elevator Stop", the elevator stop can only be build if there is an elevator in range (max. range for the elevator to travel can be changed, default 25m), you have to select an elevator first (the select action will be available if you look at an elevator, also new built elevator are selected by default). Once you have built an elevator with at least 1 stop point you can just look at it and select "Activate Elevator: Next Stop" or "Activate Elevator: Previous Stop", it will then find and move to the next/previous stop. If there is no stop in range you get a message and nothing happens, the menu could be hidden if there is no next stop for the elevator but in the first version the actions are always shown. You can also call the elevator at any stop point, it will travel along the way, stopping at every stop point and wait there (default 5 sec. can be changed in the config). Installation and configuration Ok now to the installation and configuration of the elevator script. The script is only client side, so very easy to add to your mission file! You can get the current scripts here: https://github.com/vos/dayz/tree/master/elevator just download the whole folder and extract it to your mission file. To enable the script on your server add this line to your init.sqf at the end of the block "if (!isDedicated) then {" (so just above the next "};" should be fine): ["elevator"] execVM "elevator\elevator_init.sqf"; Assuming your have the elevator folder with the scripts in your mission root, the only parameter of the script "elevator" is the folder relative to your mission file, it's needed to load the other scripts from that folder. You can change it to "scripts\elevator" if your put the elevator-folder there for example. That is all you have to do to install the elevator script on your server, there are some config variables you can change, take a look at the file "elevator_init.sqf" where it says "global variables", you can change the values there, but I would suggest changing it in your init.sqf like the Epoch settings, e.g.: ELE_MaxRange = 100; // maximum range the elevator can travel / stop points can be built (in meter) ELE_Speed = 5; // speed of the elevator (meters per second) ELE_StopWaitTime = 0; // disable the wait time if you call the elevator ... ["elevator"] execVM "elevator\elevator_init.sqf"; Added building requirements and upgrade animation to build the elevator and elevator stops. Default requirements are: ELE_RequiredBuildTools = ["ItemToolbox", "ItemCrowbar"]; // required tools for building an elevator and elevator stop ELE_RequiredBuildItems = [["PartGeneric",4], "PartEngine", "ItemGenerator", "ItemJerrycan"]; // required items to build an elevator ELE_RequiredBuildStopItems = [["PartGeneric",4]]; // required items to build an elevator stop You will get the default messages from Epoch if you are missing the tools or items. There are no access restrictions yet! Any player can built or use an elevator with this version, so keep that in mind if you want to use it on a live server. I already have some ideas to use the default car keys to use an elevator, that should work.. unless your have some better ideas for access control? :) Just one more thing, as I use the "MetalFloor_Preview_DZ" for the elevator stop by default, if you want to keep it like that you have to add that class to your allowed objects in Epoch, otherwise Epoch will delete it right after you upgrade a metal floor to a stop point. To do that the class needs to be added to the file "dayz_code\init\variables.sqf", at line 466 there is a list "dayz_allowedObjects", just add "MetalFloor_Preview_DZ" to that list and copy the file to your mission folder as usual (the file is referenced in the init.sqf). if you don't want to do that just replace the stop class with this config variable: ELE_StopClass = "MetalFloor_Preview_DZ"; Replace the classname with whatever you like, I didn't test any other but the elevator will just travel there and you can call the elevator with looking at that object. Remember this is still work in progress, there might be bugs and maybe the elevator ID gets changed so already built elevators might not work after an update, but you can already play around with the script and tell me what you think, Ideas are welcome... :)
  24. pplayer_build.sqf

    Hey im hosting my server without plot4 life and plot management. When players die they have to remove and put plots again. But they cant remove the modulars placed before they die. Its there any way to change it? without plot4 and management? i guess the change must be into player_build.sqf...
  25. Random Spawn Script

    This might be not the way to do this, but I dont reallly care, because it works. This script was made for a server to be able to have random spawns. (Spawn points given by the administrator.) Make a script called spawnpoints.sqf: if (isNil "inSpawnPoint") then { inSpawnPoint = false; }; while {true} do { waitUntil { inSpawnPoint }; titleText [format["Entering Spawn Point."],"PLAIN DOWN"]; titleFadeOut 4; waitUntil { player == vehicle player }; thePlayer = vehicle player; _spawnpointsarray = [ [1745,2107,0.1], [2737,1980,0.1], [3663,2130,0.1], [4109,2317,0.1], [4813,2086,0.1], [5825,2023,0.1], [6357,2082,0.1], [7198,2533,0.1], [7226,2187,0.1], [8045,2835,0.1], [8577,2320,0.1], [9286,1902,0.1], [9840,1786,0.1], [10466,1886,0.1], [10243,1576,0.1], [10857,2275,0.1], [11939,3402,0.1], [11105,3009,0.1], [13509,6166,0.1], [13081,7804,0.1], [12940,9326,0.1], [13170,10292,0.1] ]; systemChat "[DeadZ] Selecting spawn point..."; _selectspawnpoint = _spawnpointsarray select floor random count _spawnpointsarray; sleep 1; systemChat "[DeadZ] Spawn point selected. Spawning..."; sleep 1; thePlayer setPos _selectspawnpoint; waitUntil { !inSpawnPoint }; titleText [format["Exiting Spawn Point. Have fun."],"PLAIN DOWN"]; titleFadeOut 4; }; In the init.sqf add this: if (!isDedicated) then { [] execVM "spawnpoints.sqf"; }; In your mission sqm, create a sensor called SPAWNPOINT like this: class Sensors { items=1; class Item0 { position[]={6325.6772,0,7807.7412}; //Spawnpoint coords (same as respawn_west & east) activationBy="ANY"; repeating=1; interruptable=1; age="UNKNOWN"; name="SPAWNPOINT"; expCond="(player distance SPAWNPOINT) < 50;"; expActiv="inSpawnPoint = true;"; expDesactiv="inSpawnPoint = false;"; class Effects { }; }; }; And it should spawn you automaticaly after 2 seconds randomly. Also you need to remove your portals, or place them -x in the ground. Tell me if you like it. This is very nooby, but it works, so no hate. EDIT: I think you can remove the sleep 1;, im not sure about this, I just added it in for safety, so the player is definetaly going to a new location. Greetings, Matijs