Jump to content

Beani

Member
  • Content Count

    101
  • Joined

  • Last visited

About Beani

  • Rank
    Hardened

Profile Information

  • Gender
    Not Telling
  1. Nice to see these threads still alive and well hope you all had a great start to your new year Beani
  2. if(_player_deleteBuild) then { if (s_player_deleteBuild < 0) then { s_player_deleteBuild = player addAction [format[localize "str_actions_delete",_text], "\z\addons\dayz_code\actions\remove.sqf",_cursorTarget, 1, true, true, "", ""]; }; } else { player removeAction s_player_deleteBuild; s_player_deleteBuild = -1; }; Then past this under it: _lever = cursorTarget; //Zombie Shield if (_cursorTarget isKindof TypeOfZShield) then { if (EnableZShield == 1) then { if (s_player_ZombieShield_on < 0) then { s_player_ZombieShield_on = player addAction [format[("<t color=""#FFF700"">" + ("Zombie Shield On") +"</t>"),_adminText], "shield\ZombieShield.sqf", [_lever, true], 6, true, true, "", ""]; }; if (s_player_ZombieShield_off < 0) then { s_player_ZombieShield_off = player addAction [format[("<t color=""#FFF700"">" + ("Zombie Shield Off") +"</t>"),_adminText], "shield\ZombieShield.sqf", [_lever, false], 6, false, true, "", ""]; }; } else { if (s_player_ZombieShield_on < 0) then { s_player_ZombieShield_on = player addAction [format[("<t color=""#FFF700"">" + ("Zombie Shields are disabled on this server") +"</t>"),_adminText], "", [], 6, false, true, "", ""]; }; player removeAction s_player_ZombieShield_off; s_player_ZombieShield_off = -1; }; } else { player removeAction s_player_ZombieShield_on; s_player_ZombieShield_on = -1; player removeAction s_player_ZombieShield_off; s_player_ZombieShield_off = -1; }; //End Shield 4. Then find this line in fn_selfactions.sqf if(DZE_AllowForceSave) then { //Allow player to force save if((_isVehicle or _isTent) and !_isMan) then { if (s_player_forceSave < 0) then { s_player_forceSave = player addAction [format[localize "str_actions_save",_text], "\z\addons\dayz_code\actions\forcesave.sqf",_cursorTarget, 1, true, true, "", ""]; }; } else { ***************Replace STUFF IN HERE }; }; Where I put *******************Replace STUFF IN HERE, delete everything there and add this in its place: s_player_ZombieShield_on = -1; player removeAction s_player_ZombieShield_off; s_player_ZombieShield_off = -1; player removeAction s_player_forceSave; s_player_forceSave = -1; 5. Open your custom variable.sqf and paste this at the bottom, this is also where you can customize all your settings. /**************************************************** Zombie Shield Generator Settings ****************************************************/ /**************************************************** Zombie Shield Generator Settings ****************************************************/ EnableZShield = 1; //Enable toggleable zombie shield generator/ 1 = Enabled // 0 = Disabled (If disabled, players can still build shield generators, they just wont do anything) TypeOfZShield = "LightPole_DZ"; //Type of object used for Zombie Shield, included this only in case some maps have this object banned AllZShieldTypes = ["LightPole_DZ"]; //DO NOT REMOVE ITEMS FROM THIS ARRAY, you can ADD an object class if you want a different building to be used as a Zombie Shield Generator! MaxZShields = 1; //Maximum number of zombie shield generators a player can be added to, default is 1 ZShieldRadius = 50; //Radius for zombie shield generator, default is 50 ZShieldClean = 0; //Delete Zombies when they enter active shield radius/ 1 = Enabled // 0 = Disabled (If disabled, zombies will be killed but not deleted, could lead to zombie loot farming) I have tested this on my servers and works fine. If you have any complications please let me know and ill be happy to help. Here is a pre compiled Cherno mission PBO with a working zombie shield and the extra_RC.hpp included. You can build it with an Engine and 2 poles like you would any other object https://www.dropbox.com/s/gmibobakfec80za/ZHIELD.pbo Credit for the original code goes to the guys from original BB 1.2. Use the light pole it is cleaner and less bulky best of all no work LOL
  3. I dont believe that Axle would do that he has more class than that
  4. actually its easy WAI is just a upload
  5. I have not been banned I think its more of dont bash a mod your visiting
  6. Beani

    Exile or Epoch

    That is what I think too I am no way bashing either mod I am excited to see the creativity within both mods I am hoping they actually push each other in some great creativity nothing wrong with a good competitive motivation.
  7. Beani

    Exile or Epoch

    How many are going to try both to compare stability I for one have to see the hype of both mods side by side anyone else?
  8. how much is this going to cost us from Bohemia Money Scrubbers
  9. Beani

    BEC File

    With Epoch I gave up on BE Filters they are useless
  10. Beani

    Old Zeds ?

    Are we seeing a hint of Zeds in our futures
  11. Only if there not encrypted remember to unpack your PBO server side if you do this Vbawol's way
  12. Beani

    Mission.sqm

    If your with a company Unpack Your PBO and Edit the Mission SQM then repack it you dont have to jump through all these hoops.
  13. I gave up on BE a long time ago its a hastle to server performance
  14. You should change it in the server config files make sure you add the map first they have a install button on GTX for the map
×
×
  • Create New...