It is currently 19. Aug 2019 02:10  


  User Information

Guest Avatar




Facebook, Google Login
Registration

  Hot Links



  Board Categories








Post new topic Reply to topic  [ 1 post ] 
FollowersFollowers: 0
BookmarksBookmarks: 0
Views: 996

 [Arma 2 OA] Waffenkisten für Sector 
AuthorMessage
FkP Moderator
User avatar

Joined: 03.2014
Posts: 123
Gender: Male
Highscores: 2
Post [Arma 2 OA] Waffenkisten für Sector
5 Waffenkisten die wir für unseren Sector benutzt haben (Napf/Suhrefeld).

Code:
if (isServer) then {



//Weapons Crate
_vehicle_103769 = objNull;
if (true) then
{
  _this = createVehicle ["TKVehicleBox_EP1", [16445.746, 18425.242, 0], [], 0, "CAN_COLLIDE"];
  _vehicle_103769 = _this;
  _this setDir -182.5;
    //Clear Cargo   
  clearweaponcargoGlobal _this;
  clearmagazinecargoGlobal _this;
  //Add Cargo
  _this addWeaponCargoGlobal ["M9SD",2];
  _this addWeaponCargoGlobal ["DMR_DZ",2];
  _this addWeaponCargoGlobal ["M4A1_AIM_SD_camo",2];
  _this addWeaponCargoGlobal ["FN_FAL",2];
  _this addWeaponCargoGlobal ["M249_DZ",2];
  _this addWeaponCargoGlobal ["M14_EP1",2];
  _this addWeaponCargoGlobal ["Mk_48_DZ",2];
  _this addWeaponCargoGlobal ["BAF_L85A2_RIS_SUSAT",2];
  _this addWeaponCargoGlobal ["BAF_L85A2_RIS_Holo",2];
  _this addWeaponCargoGlobal ["G36K_camo",2];
  _this addWeaponCargoGlobal ["NVGoggles",1];
  _this addWeaponCargoGlobal ["Binocular_Vector",1];
  _this addWeaponCargoGlobal ["ItemGPS",1];

  _this addmagazineCargoGlobal ["20Rnd_762x51_DMR",20];
  _this addmagazineCargoGlobal ["30Rnd_556x45_StanagSD",20];
  _this addmagazineCargoGlobal ["20Rnd_762x51_FNFAL",10];
  _this addmagazineCargoGlobal ["100Rnd_762x51_M240",10];
  _this addmagazineCargoGlobal ["200Rnd_556x45_M249",10];
  _this addmagazineCargoGlobal ["30Rnd_556x45_G36",10];
  _this addmagazineCargoGlobal ["30Rnd_556x45_Stanag",30];
  _this addmagazineCargoGlobal ["15Rnd_9x19_M9SD",10];
  _this addmagazineCargoGlobal ["ItemHeatPack",15];
  _this addmagazineCargoGlobal ["ItemPainkiller",5];
  _this addmagazineCargoGlobal ["ItemMorphine",5];
  _this addmagazineCargoGlobal ["ItemBloodBag",5];
  _this addmagazineCargoGlobal ["ItemAntibiotic",5];

  _this addbackpackCargoGlobal ["DZ_Backpack_EP1",2];
  _this setPos [16445.746, 18425.242, 0];
};




//Vehicle Part Crate
_vehicle_103770 = objNull;
if (true) then
{
  _this = createVehicle ["TKVehicleBox_EP1", [16592.846, 18537.719, 0], [], 0, "CAN_COLLIDE"];
  _vehicle_103770 = _this;
    //Clear Cargo   
  clearweaponcargoGlobal _this;
  clearmagazinecargoGlobal _this;
  //Add Cargo
  _this addWeaponCargoGlobal ["NVGoggles",1];
  _this addWeaponCargoGlobal ["ItemGPS",1];
  _this addWeaponCargoGlobal ["ItemToolbox",5];

  _this addmagazineCargoGlobal ["PartEngine",15];
  _this addmagazineCargoGlobal ["PartGeneric",15];
  _this addmagazineCargoGlobal ["PartVRotor",5];
  _this addmagazineCargoGlobal ["PartWheel",20];
  _this addmagazineCargoGlobal ["PartFueltank",15];
  _this addmagazineCargoGlobal ["PartGlass",30];
  _this addmagazineCargoGlobal ["ItemJerrycan",20];

  _this addbackpackCargoGlobal ["DZ_Backpack_EP1",1];
  _this setPos [16592.846, 18537.719, 0];
};




//Food and Drink Crate
_vehicle_103771 = objNull;
if (true) then
{
  _this = createVehicle ["TKVehicleBox_EP1", [16103.279, 18752.27, 0], [], 0, "CAN_COLLIDE"];
  _vehicle_103771 = _this;
  _this setDir -178.83;
  //Clear Cargo   
  clearweaponcargoGlobal _this;
  clearmagazinecargoGlobal _this;
  //Add Cargo
  _this addWeaponCargoGlobal ["NVGoggles",1];
  _this addWeaponCargoGlobal ["ItemGPS",1];

  _this addmagazineCargoGlobal ["FoodCanBadguy",10];
  _this addmagazineCargoGlobal ["FoodCanBoneboy",10];
  _this addmagazineCargoGlobal ["FoodCanCorn",10];
  _this addmagazineCargoGlobal ["FoodCanCurgon",10];
  _this addmagazineCargoGlobal ["FoodCanDemon",10];
  _this addmagazineCargoGlobal ["FoodCanFraggleos",10];
  _this addmagazineCargoGlobal ["FoodCanHerpy",10];
  _this addmagazineCargoGlobal ["FoodCanDerpy",10];
  _this addmagazineCargoGlobal ["FoodCanTylers",10];
  _this addmagazineCargoGlobal ["ItemSodaMtngreen",10];
  _this addmagazineCargoGlobal ["ItemSodaR4z0r",10];
  _this addmagazineCargoGlobal ["ItemSodaClays",10];
  _this addmagazineCargoGlobal ["ItemSodaSmasht",10];
  _this addmagazineCargoGlobal ["ItemSodaDrwaste",10];
  _this addmagazineCargoGlobal ["ItemSodaLemonade",10];
  _this addmagazineCargoGlobal ["ItemSodaLvg",10];
  _this addmagazineCargoGlobal ["ItemSodaMzly",10];
  _this addmagazineCargoGlobal ["ItemSodaRabbit",10];

  _this addbackpackCargoGlobal ["DZ_Backpack_EP1",1];
  _this setPos [16103.279, 18752.27, 0];
};




//Medical Crate
_vehicle_103772 = objNull;
if (true) then
{
  _this = createVehicle ["TKVehicleBox_EP1", [16578.938, 18223.861], [], 0, "CAN_COLLIDE"];
  _vehicle_103772 = _this;
  _this setDir 90.560677;
  //Clear Cargo   
  clearweaponcargoGlobal _this;
  clearmagazinecargoGlobal _this;
  //Add Cargo
  _this addWeaponCargoGlobal ["NVGoggles",1];
  _this addWeaponCargoGlobal ["ItemGPS",1];

  _this addmagazineCargoGlobal ["ItemBandage",30];
  _this addmagazineCargoGlobal ["ItemPainkiller",30];
  _this addmagazineCargoGlobal ["ItemMorphine",30];
  _this addmagazineCargoGlobal ["ItemBloodBag",30];
  _this addmagazineCargoGlobal ["ItemEpinephrine",15];
  _this addmagazineCargoGlobal ["ItemAntibiotic",30];

  _this addbackpackCargoGlobal ["DZ_Backpack_EP1",1];
  _this setPos [16578.938, 18223.861];
};




//BaseBuilding Crate
_vehicle_103773 = objNull;
if (true) then
{
  _this = createVehicle ["TKVehicleBox_EP1", [16365.411, 18390.359], [], 0, "CAN_COLLIDE"];
  _vehicle_103773 = _this;
  //Clear Cargo   
  clearweaponcargoGlobal _this;
  clearmagazinecargoGlobal _this;
  //Add Cargo
  _this addWeaponCargoGlobal ["ItemEtool",5];
  _this addWeaponCargoGlobal ["ItemToolbox",5];
  _this addWeaponCargoGlobal ["NVGoggles",1];
  _this addWeaponCargoGlobal ["ItemGPS",1];

  _this addmagazineCargoGlobal ["ItemGoldBar10oz",10];
  _this addmagazineCargoGlobal ["ItemSandbag",30];
  _this addmagazineCargoGlobal ["ItemTankTrap",30];
  _this addmagazineCargoGlobal ["ItemWire",10];
  _this addmagazineCargoGlobal ["ItemCitrine",5];
  _this addmagazineCargoGlobal ["PartGeneric",20];
  _this addmagazineCargoGlobal ["ItemRuby",10];

  _this addbackpackCargoGlobal ["DZ_Backpack_EP1",1];
  _this setPos [16365.411, 18390.359];
};
};


Beachtet das die Koords für jede Kiste doppelt eingetragen werden muss (Anfang und Ende).
Kann kopiert und per sqf. ausgeführt werden.

_________________
Image
Image
Image


25. Mar 2015 13:49
Profile Visit website
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
© phpBB® Forum Software | designed by Vjacheslav Trushkin for Free Forums 3 & Free Forums/DivisionCore.
phpBB3 free Forum by UserBoard.org | All Rights Reserved.