Jump to content

gabba

Member
  • Posts

    4
  • Joined

  • Last visited

Reputation Activity

  1. Like
    gabba reacted to gunnar in Zone Alpha   
    A small example for loot:
    if (isServer) then { _vehicle_999991 = objNull; if (true) then { _this = createVehicle ["TKVehicleBox_EP1", [7909.4,13691.2], [], 0, "CAN_COLLIDE"]; _vehicle_999991 = _this; _this setDir 20; clearweaponcargoGlobal _this; clearmagazinecargoGlobal _this; _this addWeaponCargoGlobal ["NVGoggles",2]; _this addWeaponCargoGlobal ["Binocular_Vector",2]; _this addWeaponCargoGlobal ["ItemGPS",2]; _this addWeaponCargoGlobal ["ItemEtool", 2]; _this addWeaponCargoGlobal ["ItemFlashlightRed", 2]; _this addMagazineCargoGlobal ["Skin_Camo1_DZ", 2]; GunRandomizerA=floor(random 4); if (GunRandomizerA == 0) then { _this addWeaponCargoGlobal ["MakarovSD", 2]; _this addMagazineCargoGlobal ["8Rnd_9x18_MakarovSD", 25]; _this addWeaponCargoGlobal ["FN_FAL",2]; _this addmagazineCargoGlobal ["20Rnd_762x51_FNFAL",20]; _this addWeaponCargoGlobal ["DMR_DZ",2]; _this addmagazineCargoGlobal ["20Rnd_762x51_DMR",20]; _this addWeaponCargoGlobal ["M4A1_HWS_GL", 2]; _this addMagazineCargoGlobal ["30Rnd_556x45_Stanag", 30]; _this addWeaponCargoGlobal ["AK_107_kobra", 1]; _this addMagazineCargoGlobal ["30Rnd_545x39_AK", 30]; _this addWeaponCargoGlobal ["M4A1_AIM_SD_camo",2]; _this addMagazineCargoGlobal ["30Rnd_556x45_StanagSD", 30]; _this addWeaponCargoGlobal ["BAF_L85A2_RIS_SUSAT",2]; }; if (GunRandomizerA == 1) then { _this addWeaponCargoGlobal ["M9SD", 1]; _this addMagazineCargoGlobal ["15Rnd_9x19_M9SD", 25]; _this addWeaponCargoGlobal ["SVD_CAMO",2]; _this addmagazineCargoGlobal ["10Rnd_762x54_SVD",20]; _this addWeaponCargoGlobal ["M107_DZ",2]; _this addmagazineCargoGlobal ["10Rnd_127x99_m107",20]; _this addWeaponCargoGlobal ["G36K_camo",2]; _this addmagazineCargoGlobal ["30Rnd_556x45_G36",30]; _this addWeaponCargoGlobal ["M4A1_HWS_GL_SD_camo",2]; _this addMagazineCargoGlobal ["30Rnd_556x45_StanagSD", 30]; _this addWeaponCargoGlobal ["AKS_74_U", 1]; _this addMagazineCargoGlobal ["30Rnd_545x39_AK", 30]; _this addWeaponCargoGlobal ["BAF_L85A2_RIS_SUSAT",2]; }; if (GunRandomizerA == 2) then { _this addWeaponCargoGlobal ["UZI_SD_EP1", 1]; _this addMagazineCargoGlobal ["30Rnd_9x19_UZI_SD", 25]; _this addWeaponCargoGlobal ["BAF_AS50_TWS",1]; _this addmagazineCargoGlobal ["5Rnd_127x99_as50",20]; _this addWeaponCargoGlobal ["SCAR_H_LNG_Sniper_SD",2]; _this addmagazineCargoGlobal ["20Rnd_762x51_SB_SCAR",20]; _this addWeaponCargoGlobal ["M4A1_AIM_SD_camo", 2]; _this addMagazineCargoGlobal ["30Rnd_556x45_Stanag", 30]; _this addWeaponCargoGlobal ["RPK_74", 2]; _this addMagazineCargoGlobal ["75Rnd_545x39_RPK", 25]; _this addWeaponCargoGlobal ["AK_74_GL", 2]; _this addMagazineCargoGlobal ["30Rnd_545x39_AK", 30]; _this addWeaponCargoGlobal ["BAF_L85A2_RIS_Holo",2]; }; if (GunRandomizerA == 3) then { _this addWeaponCargoGlobal ["MakarovSD", 2]; _this addMagazineCargoGlobal ["8Rnd_9x18_MakarovSD", 25]; _this addWeaponCargoGlobal ["VSS_vintorez",1]; _this addmagazineCargoGlobal ["20Rnd_9x39_SP5_VSS",20]; _this addWeaponCargoGlobal ["M40A3",2]; _this addmagazineCargoGlobal ["5Rnd_762x51_M24",20]; _this addWeaponCargoGlobal ["SVD", 2]; _this addMagazineCargoGlobal ["10Rnd_762x54_SVD", 20]; _this addWeaponCargoGlobal ["FN_FAL", 2]; _this addMagazineCargoGlobal ["20Rnd_762x51_FNFAL", 30]; _this addWeaponCargoGlobal ["MP5A5", 2]; _this addMagazineCargoGlobal ["30rnd_9x19_MP5", 30]; _this addWeaponCargoGlobal ["M240_DZ", 2]; _this addMagazineCargoGlobal ["100Rnd_762x51_M240", 25]; }; _this addbackpackCargoGlobal ["DZ_LargeGunBag_EP1",5]; _this setPos [7909.4,13691.2]; }; _vehicle_999992 = objNull; if (true) then { _this = createVehicle ["USVehicleBox", [8020.13,13633.4], [], 0, "CAN_COLLIDE"]; _vehicle_999992 = _this; _this setDir 130; clearweaponcargoGlobal _this; clearmagazinecargoGlobal _this; _this addmagazineCargoGlobal ["PartEngine",2]; _this addmagazineCargoGlobal ["PartGeneric",4]; _this addmagazineCargoGlobal ["PartVRotor",2]; _this addmagazineCargoGlobal ["PartWheel",5]; _this addmagazineCargoGlobal ["PartFueltank",2]; _this addmagazineCargoGlobal ["PartGlass",5]; _this addmagazineCargoGlobal ["ItemJerrycan",2]; _this addmagazineCargoGlobal ["50Rnd_127x107_DSHKM",5]; _this addmagazineCargoGlobal ["100Rnd_127x99_M2",5]; _this addmagazineCargoGlobal ["4000Rnd_762x51_M134",5]; _this addmagazineCargoGlobal ["100Rnd_762x51_M240",5]; GunCrateSRandomizer=floor(random 3); if (GunCrateSRandomizer == 0) then { _this addmagazineCargoGlobal ["ItemGoldBar10oz",6]; }; if (GunCrateSRandomizer == 1) then { _this addmagazineCargoGlobal ["ItemSilverBar10oz",12]; }; if (GunCrateSRandomizer == 2) then { _this addmagazineCargoGlobal ["ItemBriefcase10oz",1]; }; _this setPos [8020.13,13633.4]; }; _vehicle_999993= objNull; if (true) then { _this = createVehicle ["TKVehicleBox_EP1", [8007.18,13638.1], [], 0, "CAN_COLLIDE"]; _vehicle_999993 = _this; _this setDir 90.560677; clearweaponcargoGlobal _this; clearmagazinecargoGlobal _this; _this addWeaponCargoGlobal ["NVGoggles",1]; _this addWeaponCargoGlobal ["ItemGPS",1]; _this addmagazineCargoGlobal ["ItemBandage",10]; _this addmagazineCargoGlobal ["ItemPainkiller",10]; _this addmagazineCargoGlobal ["ItemMorphine",10]; _this addmagazineCargoGlobal ["ItemBloodBag",10]; _this addmagazineCargoGlobal ["ItemEpinephrine",10]; _this addmagazineCargoGlobal ["ItemAntibiotic",10]; _this addbackpackCargoGlobal ["DZ_LargeGunBag_EP1",2]; _this setPos [8007.18,13638.1]; }; }; rename this to zonealpha_loot.sqf
    and add to you init.sqf the following line
     
    [] ExecVM "zonealpha_loot.sqf";  
     
    this will be executed on every server start. Ive a much more complex script, but some errors with weapons, this script should work fine for you. If you want add a marker for this base, add these lines on the top in the same file
    _marker = createMarker ["zoneAlpha", [8050,13550]]; _marker setMarkerColor "ColorBlack"; _marker setMarkerShape "ELLIPSE"; _marker setMarkerBrush "Grid"; _marker setMarkerAlpha 0.25; _marker setMarkerSize [500,500]; marker = _zoneAlpha; with this you have a marker on your map
  2. Like
    gabba reacted to gunnar in Zone Alpha   
    Download this file (if this is a .txt extension, rename to .sqf), put this into MPMissions\DayZ_Epoch_11.Chernarus Folder, then add these line below into the end of your init.sqf (located in the same folder) and restart your server.
    [] ExecVM "zonealpha.sqf";
  3. Like
    gabba reacted to gunnar in Zone Alpha   
    Hi,
     
    i did this Base for good loot spawn, on my server this base is heavily protected by Sarge Ai Bandits (~40 Units + 3 Helicopters). Its impossible to kill these Bandits with sniper from outside the base (only some of them). Have fun.
     
     
    Before:

     
    After:

     
    Location:

     
    some more Screenshots:









     
     
    http://pastebin.com/0v6nNKhm
     
    https://mega.co.nz/#!Rk5wgSpB!XkdLAA9D0knzVI2BEJ8a6VSxYrkewZdw3LZJClTp6-o
     
     
    sry for bad english.
×
×
  • Create New...