Jump to content

gernika

Member
  • Posts

    78
  • Joined

  • Last visited

Reputation Activity

  1. Like
    gernika reacted to juandayz in Safezone epoch 1.6   
    hey there! welcome..  maybe something like this?
    _safezones = [[6325,7807,0],[4063,11664,0],[11447,11364,0],[1606,7803,0],[12944,12766,0],[4361.4937,2259.9526,0], [12060,12640,0]]; _safezonesRad = 150; _inSafezone = false; _player = player; if (_player distance _x < _safezonesRad) then { _inSafezone = true; }; } forEach _safezones; (Cherno coords) change it if ure using another map
  2. Like
    gernika reacted to juandayz in [1.6 Harvestable hemp, smoking weed, pot farms]   
    DRUGS
    Before star... you should add this items into your traders menus.
    1.Create this path: mpmissions\your instance\scripts\drugs\
    2-Create the sqfs into the new path.
    3.Now you need extra_rc.hpp or deploy anything mod.
     
    4.Now we gonna create an epoch event to spawn weed fields.
    Now this is optional... since i do not use road blocks for anything... i just change it by weed plants.. so if u wanna do the same:
    1-Open spawn_roadblocks.sqf located in dayz_server\compile\
    then change this line:
    _spawnveh = DZE_isWreck call BIS_fnc_selectRandom; by:
    _spawnveh = "Fiberplant"; 2-open your init.sqf find this line to manage the amount of fiber plants spawned.
    MaxDynamicDebris = 20; // was changed by juandayz to spawn fiberplants  
    Optional too. Create a police Drugs check point. (if player cross that check point with drugs police gonna remove it)
    You will need create the map addon.. i just give you the code for remove drugs.
     
  3. Like
    gernika reacted to BigEgg in [Release] Restrict Building - ** Updated for 1.0.6.2 **   
    Restrict Building is part of Epoch 1.0.7.1 now.
     
    While there may be some extra features built in to 1.0.6.1 that restrict building, I needed more options.
     
    What this does:
    Allows server owners to restrict entire zones of the map (for example - no building within 1,000 meters of Balota). Allows server owners to restrict building near certain buildings, and allows them to define the distance and name of each building they are restricting.  
    Step 1:
    In your init.sqf find:
    // EPOCH CONFIG VARIABLES END // Directly under it, add:
    // Restrict building near specific buildings BlacklistedBuildings = [ // ["What text will say", "Class name of building you want to block", Distance around that building to block (radius in meters)] ["Fire Station", "Land_a_stationhouse", 250] ]; // Restrict building near map areas RestrictedBuildingZones = [ // ["What text will say", [Choords of place to block], Distance around that area to block (radius in meters)] ["Balota Airfield", [5158.72, 2518.75, 0], 600] ];  
    Step 2:
    In your custom compiles.sqf add (NOTE: CHANGE THE FILE PATH TO FIT YOUR NEEDS):
    dze_buildChecks = compile preprocessFileLineNumbers "FILE\PATH\HERE\dze_buildChecks.sqf"; into the if (!isDedicated) code block. Example:
    if (!isDedicated) then { dze_buildChecks = compile preprocessFileLineNumbers "FILE\PATH\HERE\dze_buildChecks.sqf"; };  
    Step 3:
    Create an SQF file, in the path you have designated above, and name it dze_buildChecks.sqf.
     
    Step 4:
    Paste the following code into dze_buildChecks.sqf and save the file.
     
    Done!
     
    Be sure to configure the settings in your init.sqf to your liking.
  4. Like
    gernika reacted to ebayShopper in [Release] ESSV3 - Enhanced Spawn Selection [Updated for 1.0.7.1+]   
    Updated for Epoch 1.0.7.1+:
    https://github.com/AirwavesMan/ESSV3
    Old 1.0.6.2
    https://github.com/ebayShopper/ESSV3
  5. Like
    gernika reacted to juandayz in 1.6 Safezone   
    I JUST LEAVE THIS ONE CUZ I KNOW YOU GUYS GONNA NEED IT..
     
    The very old safezone script by infistar... i was using it in 1.0.5.1  and made some changes to use in 1.6.
    Instructions:
        1. Copy paste the code of below into a file called 16_safezone.sqf - save the file.
        2. Paste this 16_safezone.sqf into mpmissioms\instance_11.chernarus\custom\
        3. Open your init.sqf
        4. At the very bottom of the file add this line:  [] execVM "custom\16_safezone.sqf";
        5. Save the init.sqf and restart your server.
        6-WARNING!!! if ure using some kind of mod that allow vehicles with GodMode out of safezones..  then you will need in 16_safezone.sqf change the path for veh_handleDam.sqf by the path that youre using your custom veh_handleDam.sqf
    this line:  fnc_veh_handleDam = compile preprocessFileLineNumbers '\z\addons\dayz_code\compile\veh_handleDam.sqf';
        16_safezone.sqf
     
    OPTIONAL:
    @BetterDeadThanZed here you got.
    REMOVE LOOT FROM TRADER CITIES AND PLOT POLES. (should removes zeds from trader places and poles too)
     
     
  6. Like
    gernika reacted to juandayz in [Outdated][1.6.1 RELEASE] WORKSHOP UPDATED   
    Fully rewrited. (So if u have it installed.. remove everything).
    1-Open your custom fn_selfactions.sqf
    2-Open custom variables.sqf
    3-Open server_monitor.sqf
     
    4.INFISTAR USERS
    5-BE Filters. If u have some issues with battleyes open createvehicle.txt
    6.OPTIONAL (add workshop objects to the sql damageonage function)
     
     
    Download from here:http://www.mediafire.com/file/zzbv97adzdl2pex/workshopLITTLE2.rar
    and place the "workshop" folder into mpmissions\your instance\scripts\
    OPTIONAL : add electrify fences. (needs deploy anything)
    If u dont wanna use this optional step remove the "optional" folder into workshop folder.
     
    Contain:
     
×
×
  • Create New...