Aktuelle Zeit: 22. Jun 2018 14:55  


  User Information

Guest Avatar




Facebook, Google Login
Registrierung

  Hot Links



  Foren Kategorien








Ein neues Thema erstellen Auf das Thema antworten  [ 1 Beitrag ] 
AbonnentenAbonnenten: 0
LesezeichenLesezeichen: 0
Zugriffe: 759

 [Arma 2 OA] Waffenkisten für Sector 
AutorNachricht
FkP Moderator
Benutzeravatar

Registriert: 03.2014
Beiträge: 123
Geschlecht: männlich
Highscores: 2
Beitrag [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.

_________________
Bild
Bild
Bild


25. Mär 2015 13:49
Profil Besuche Website
Beiträge der letzten Zeit anzeigen:  Sortiere nach  
Ein neues Thema erstellen Auf das Thema antworten  [ 1 Beitrag ] 


Wer ist online?

Mitglieder in diesem Forum: 0 Mitglieder und 0 Gäste


Du darfst keine neuen Themen in diesem Forum erstellen.
Du darfst keine Antworten zu Themen in diesem Forum erstellen.
Du darfst deine Beiträge in diesem Forum nicht ändern.
Du darfst deine Beiträge in diesem Forum nicht löschen.
Du darfst keine Dateianhänge in diesem Forum erstellen.

Suche nach:
Gehe zu:  
cron
© phpBB® Forum Software | designed by Vjacheslav Trushkin for Free Forums 3 & Free Forums/DivisionCore.
phpBB3 Forum von phpBB8.de