Advertisement
Guest User

Untitled

a guest
Jul 16th, 2017
479
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
SQF 14.89 KB | None | 0 0
  1. /*
  2.     File: config.cpp
  3.     Author: B4v4r!4n_Str!k3r (julianbauer@cationstudio.com)
  4.     Licence: THIS FILE AND EXTRACTS OF IT IS THE MINDSET OF CATIONSTUDIO
  5.              AND ONLY AUTHORIZED PEOPLE/SERVERS ARE ALLOWED TO USE IT.
  6.     Description: Master config for crafting system.
  7. */
  8. #include "dialog\craft.hpp"
  9. class Cation_Crafting {
  10.  
  11.     version_4_4 = 1; // version 3.x - 4.3 -> 0 | version 4.4+ -> 1
  12.     duration = 0.3; //Dauer im Craftingvorgang für 1% in s (Mögliche Werte zwischen 0.1 und 10)
  13.  
  14.     HeadlessSupport = 0; //Enable/Disable Headless client support. Default: 1 (1 = Enabled / 0 = Disabled)
  15.    
  16.     //Texte
  17.     Craftingmenu = "Baumenü";
  18.     CraftStats = "Sachen zum Bauen";
  19.     CraftingMaterials = "Benötigte Sachen";
  20.     CraftButton = "";
  21.     Close = "Schließen";
  22.     Craft = "Baue";
  23.     NoMaterial = "Du hast nicht alle Baumaterialien!";
  24.     Process = "Du hast folgendes hergestellt:";
  25.     Process_Stay = "Du musst innerhalb von 10m bleiben, um craften zu können.";
  26.     NotificationBackpack = "Du hast bereits einen Rucksack! Pack den alten erstmal weg.";
  27.     NotificationVest = "Du hast bereits eine Weste! Pack die alte erst einmal weg.";
  28.     NotificationUnifrom = "Du hast bereits Kleidung an! Mach dich nackt und versuch es nochmal.";
  29.     NotificationAttachments = "Du hast bereits etwas an! Mach dich nackt und versuch es nochmal.";
  30.     SelectItemFirst = "Du musst zuerst einen Gegenstand auswählen!";
  31.     NothingNeeded = "Es wird nichts benötigt!";
  32.     NoRoom = "Du hast nicht genug Platz für den Gegenstand.";
  33.     Veh_Block = "Ein Fahrzeug blockiert gerade den Spawnpunkt!";
  34.     Veh_Craft = "Du bist nicht in der Nähe einer Craftingzone!";
  35.     Veh_No = "Du kannst das so nicht bauen!";
  36.     NoSpawnpoint = "Kein Spawnpoint verfügbar";
  37.     Color = "Farbe";
  38.  
  39.     category[] = { //Kategorien
  40.         {
  41.             "landvehicle", //Variable (HINWEIS: BITTE KEINE ANDERE VARIABLE FÜR LANDFAHRZEUGE VERWENDEN)
  42.             "Bodenfahrzeuge", //Text
  43.             {"C_SUV_01_F","",{"copper_refined",1,"diamond_cut",2},"Dark Red","civ",0} //{Fahrzeug,Bedingung (default: ""),{benötigtes Item1, benötigte Anzahl des Item1, benötigtes Item2, benötigte Anzahl des Item2},"Skinname","Skinseite",0 (für vItem | 1 für alle anderen Items)}
  44.         },
  45.         {
  46.             "airvehicle", // (HINWEIS: BITTE KEINE ANDERE VARIABLE FÜR LUFTFAHRZEUGE VERWENDEN)
  47.             "Luftfahrzeuge",
  48.             {"C_Heli_Light_01_civil_F","",{"copper_refined",1},"Civ Blue","civ",0} //{Fahrzeug,Bedingung (default: ""),{benötigtes Item1, benötigte Anzahl des Item1, benötigtes Item2, benötigte Anzahl des Item2},"Skinname","Skinseite",0 (für vItem | 1 für alle anderen Items)}
  49.         },
  50.         {
  51.             "watervehicle",// (HINWEIS: BITTE KEINE ANDERE VARIABLE FÜR WASSERFAHRZEUGE VERWENDEN)
  52.             "Wasserfahrzeuge",                              // Bei Fahrzeugen ohne Skin:
  53.             {"C_Rubberboat","",{"copper_refined",1},"","",0}  //{Fahrzeug,Bedingung (default: ""),{benötigtes Item1, benötigte Anzahl des Item1, benötigtes Item2, benötigte Anzahl des Item2},"","",0 (für vItem | 1 für alle anderen Items)}
  54.         },
  55.         {
  56.             "weapon", //Variable
  57.             "Waffen", //Text
  58.             {"srifle_GM6_F","",{"bp_lynx",1,"plastic",4,"iron_refined",20,"calciumcarbid",10,"lanthanum",5,"craftingtool",1},"",""},
  59.             {"launch_RPG32_F","",{"bp_launch_rpg32",1,"plastic",4,"iron_refined",15,"calciumcarbid",4,"lanthanum",4,"craftingtool",1},"",""},
  60.             {"srifle_DMR_02_sniper_F","",{"bp_dmr_02",1,"plastic",4,"iron_refined",6,"calciumcarbid",2,"lanthanum",2,"craftingtool",1},"",""},
  61.             {"LMG_Zafir_F","",{"bp_zafir",1,"plastic",4,"iron_refined",4,"calciumcarbid",3,"lanthanum",2,"craftingtool",1},"",""},
  62.             {"arifle_AK12_F","",{"bp_ak12",1,"plastic",3,"iron_refined",3,"calciumcarbid",2,"lanthanum",1,"craftingtool",1},"",""},
  63.             {"srifle_EBR_F","",{"bp_ebr",1,"plastic",3,"iron_refined",4,"calciumcarbid",2,"lanthanum",1,"craftingtool",1},"",""},
  64.             {"srifle_DMR_06_olive_F","",{"bp_dmr_06_olive",1,"plastic",3,"iron_refined",4,"calciumcarbid",2,"lanthanum",1,"craftingtool",1},"",""},
  65.             {"srifle_DMR_03_tan_F","",{"bp_dmr_03",1,"plastic",3,"iron_refined",4,"calciumcarbid",2,"lanthanum",1,"craftingtool",1},"",""},
  66.             {"LMG_Mk200_F","",{"bp_mk200",1,"plastic",4,"iron_refined",4,"calciumcarbid",2,"lanthanum",2,"craftingtool",1},"",""},
  67.             {"LMG_03_F","",{"bp_lim",1,"plastic",4,"iron_refined",4,"calciumcarbid",2,"lanthanum",1,"craftingtool",1},"",""},
  68.             {"srifle_DMR_01_F","",{"bp_rahim",1,"plastic",4,"iron_refined",4,"calciumcarbid",2,"craftingtool",1},"",""},
  69.             {"arifle_AKM_F","",{"bp_akm",1,"iron_refined",5,"plastic",5,"calciumcarbid",2,"craftingtool",1},"",""},
  70.             {"arifle_MXM_F","",{"bp_mxm_e",1,"iron_refined",5,"plastic",8,"calciumcarbid",5,"craftingtool",1},"",""},
  71.             {"arifle_MXM_Black_F","",{"bp_mxm",1,"iron_refined",5,"plastic",8,"calciumcarbid",3,"craftingtool",1},"",""},
  72.             {"arifle_MX_F","",{"bp_mx_e",1,"iron_refined",5,"plastic",5,"calciumcarbid",1,"craftingtool",1},"",""},
  73.             {"arifle_MX_Black_F","",{"bp_mx",1,"iron_refined",5,"plastic",5,"calciumcarbid",1,"craftingtool",1},"",""},
  74.             {"arifle_MXC_F","",{"bp_mxc",1,"iron_refined",5,"plastic",5,"calciumcarbid",1,"craftingtool",1},"",""},
  75.             {"arifle_Katiba_GL_F","",{"bp_katiba",1,"iron_refined",5,"plastic",10,"calciumcarbid",1,"craftingtool",1},"",""},
  76.             {"arifle_Katiba_F","",{"bp_katiba",1,"iron_refined",5,"plastic",5,"calciumcarbid",1,"craftingtool",1},"",""},
  77.             {"SMG_01_F","",{"bp_vermin",1,"copper_refined",5,"plastic",2,"craftingtool",1},"",""},
  78.             {"SMG_02_F","",{"bp_sting",1,"copper_refined",5,"plastic",2,"craftingtool",1},"",""},
  79.             {"hgun_P07_snds_F","",{"bp_tazer",1,"copper_refined",5,"calciumcarbid",5,"craftingtool",1},"",""}
  80.         },
  81.         {
  82.             "magazine",
  83.             "Magazine",
  84.             {"RPG32_F","",{"bp_rpg32",1,"iron_refined",15,"gunpowder",10,"lanthanum",2,"craftingtool",1},"",""},
  85.             {"5Rnd_127x108_Mag","",{"iron_refined",15,"craftingtool",1},"",""},
  86.             {"10Rnd_338_Mag","",{"iron_refined",7,"craftingtool",1},"",""},
  87.             {"150Rnd_762x51_Box_Tracer","",{"iron_refined",12,"craftingtool",1},"",""},
  88.             {"20Rnd_762x51_Mag","",{"iron_refined",5,"craftingtool",1},"",""},
  89.             {"200Rnd_65x39_cased_Box_Tracer","",{"iron_refined",10,"craftingtool",1},"",""},
  90.             {"200Rnd_556x45_Box_Tracer_F","",{"iron_refined",8,"craftingtool",1},"",""},
  91.             {"10Rnd_762x54_Mag","",{"iron_refined",3,"craftingtool",1},"",""},
  92.             {"30Rnd_762x39_Mag_F","",{"iron_refined",5,"craftingtool",1},"",""},
  93.             {"30Rnd_65x39_caseless_mag","",{"iron_refined",3,"craftingtool",1},"",""},
  94.             {"30Rnd_65x39_caseless_green","",{"iron_refined",3,"craftingtool",1},"",""},
  95.             {"30Rnd_45ACP_Mag_SMG_01","",{"iron_refined",2,"craftingtool",1},"",""},
  96.             {"30Rnd_9x21_Mag_SMG_02","",{"iron_refined",2,"craftingtool",1},"",""},
  97.             {"16Rnd_9x21_Mag","",{"iron_refined",1,"craftingtool",1},"",""},
  98.             {"SmokeShell","",{"phosphor",2,"craftingtool",1},"",""},
  99.             {"SmokeShellYellow","",{"phosphor",2,"craftingtool",1},"",""},
  100.             {"SmokeShellGreen","",{"phosphor",2,"craftingtool",1},"",""},
  101.             {"SmokeShellRed","",{"phosphor",2,"craftingtool",1},"",""},
  102.             {"SmokeShellPurple","",{"phosphor",2,"craftingtool",1},"",""},
  103.             {"SmokeShellOrange","",{"phosphor",2,"craftingtool",1},"",""},
  104.             {"1Rnd_Smoke_Grenade_shell","",{"phosphor",5,"craftingtool",1},"",""},
  105.             {"1Rnd_SmokeOrange_Grenade_shell","",{"phosphor",5,"craftingtool",1},"",""},
  106.             {"1Rnd_SmokePurple_Grenade_shell","",{"phosphor",5,"craftingtool",1},"",""},
  107.             {"1Rnd_SmokeYellow_Grenade_shell","",{"phosphor",5,"craftingtool",1},"",""},
  108.             {"1Rnd_SmokeGreen_Grenade_shell","",{"phosphor",5,"craftingtool",1},"",""},
  109.             {"1Rnd_SmokeRed_Grenade_shell","",{"phosphor",5,"craftingtool",1},"",""},
  110.         },     
  111.         {
  112.             "uniform",
  113.             "Uniformen",
  114.             {"U_B_FullGhillie_sard","",{"bp_ghilie",1,"leather",4,"textile",10,"craftingtool",1},"",""},
  115.             {"U_B_FullGhillie_lsh","",{"bp_ghilie",1,"leather",4,"textile",10,"craftingtool",1},"",""},
  116.             {"U_B_FullGhillie_ard","",{"bp_ghilie",1,"leather",4,"textile",10,"craftingtool",1},"",""},
  117.             {"U_B_CTRG_Soldier_urb_3_F","",{"leather",2,"textile",5,"craftingtool",1},"",""},
  118.             {"U_B_CTRG_Soldier_urb_2_F","",{"leather",2,"textile",5,"craftingtool",1},"",""},
  119.             {"U_B_CTRG_Soldier_2_F","",{"leather",2,"textile",5,"craftingtool",1},"",""},
  120.             {"U_B_T_Soldier_F","",{"leather",2,"textile",5,"craftingtool",1},"",""},
  121.             {"U_BG_Guerrilla_6_1","",{"leather",2,"textile",5,"craftingtool",1},"",""},
  122.             {"U_B_CTRG_Soldier_F","",{"leather",2,"textile",5,"craftingtool",1},"",""},
  123.             {"U_O_OfficerUniform_ocamo","",{"leather",2,"textile",5,"craftingtool",1},"",""}
  124.         },
  125.         {
  126.             "headgear",
  127.             "Kopfbedeckung",
  128.             {"H_HelmetB_plain_blk","",{"iron_refined",5,"plastic",3,"craftingtool",1},"",""},
  129.             {"H_HelmetSpecB_blk","",{"iron_refined",10,"plastic",5,"craftingtool",1},"",""}
  130.         },
  131.         {
  132.             "goggles",
  133.             "Accessoire",
  134.             {"G_Bandanna_tan","",{"textile",2,"craftingtool",1},"",""},
  135.             {"G_Bandanna_beast","",{"textile",2,"craftingtool",1},"",""},
  136.             {"G_Balaclava_oli","",{"textile",2,"leather",1,"craftingtool",1},"",""},
  137.             {"G_Balaclava_blk","",{"textile",2,"leather",1,"craftingtool",1},"",""},
  138.             {"G_Balaclava_TI_blk_F","",{"textile",2,"leather",1,"craftingtool",1},"",""}
  139.         },     
  140.         {
  141.             "vest",
  142.             "Westen",
  143.             {"V_BandollierB_khk","",{"leather",2,"textile",1,"craftingtool",1},"",""},
  144.             {"V_Chestrig_khk","",{"leather",2,"textile",1,"craftingtool",1},"",""},
  145.             {"V_TacVest_khk","",{"leather",2,"textile",1,"craftingtool",1},"",""},
  146.             {"V_HarnessO_brn","",{"leather",2,"textile",1,"craftingtool",1},"",""},
  147.             {"V_PlateCarrierSpec_mtp","",{"bp_vest_mtp",1,"leather",10,"textile",5,"aramid",3,"craftingtool",1},"",""},
  148.             {"V_PlateCarrier2_rgr","",{"bp_vest_rgr",1,"leather",5,"textile",2,"aramid",1,"craftingtool",1},"",""},
  149.             {"V_PlateCarrier2_blk","",{"bp_vest_blk",1,"leather",5,"textile",2,"aramid",1,"craftingtool",1},"",""},
  150.             {"V_PlateCarrierH_CTRG","",{"bp_vest_CTRGH",1,"leather",5,"textile",2,"aramid",1,"craftingtool",1},"",""},
  151.             {"V_PlateCarrierL_CTRG","",{"bp_vest_CTRGL",1,"leather",4,"textile",2,"aramid",1,"craftingtool",1},"",""},
  152.             {"V_PlateCarrierIA2_dgtl","",{"bp_vest_dgtl2",1,"leather",5,"textile",2,"aramid",1,"craftingtool",1},"",""},
  153.             {"V_PlateCarrierIA1_dgtl","",{"bp_vest_dgtl1",1,"leather",4,"textile",2,"aramid",1,"craftingtool",1},"",""}
  154.         },
  155.         {
  156.             "backpack",
  157.             "Rucksäcke",
  158.             {"B_Carryall_oli","",{"textile",5,"leather",2,"craftingtool",1},"",""},
  159.             {"B_Bergen_dgtl_F","",{"textile",10,"leather",5,"craftingtool",1},"",""},
  160.             {"B_Bergen_hex_F","",{"textile",10,"leather",5,"craftingtool",1},"",""},
  161.             {"B_Bergen_mcamo_F","",{"textile",10,"leather",5,"craftingtool",1},"",""},
  162.             {"B_Bergen_tna_F","",{"textile",10,"leather",5,"craftingtool",1},"",""},
  163.             {"B_ViperHarness_blk_F","",{"textile",6,"leather",2,"craftingtool",1},"",""},
  164.             {"B_ViperHarness_khk_F","",{"textile",6,"leather",2,"craftingtool",1},"",""},  
  165.             {"B_ViperHarness_oli_F","",{"textile",6,"leather",2,"craftingtool",1},"",""},
  166.             {"B_ViperLightHarness_blk_F","",{"textile",6,"leather",1,"craftingtool",1},"",""},
  167.             {"B_ViperLightHarness_khk_F","",{"textile",6,"leather",1,"craftingtool",1},"",""},
  168.             {"B_ViperLightHarness_oli_F","",{"textile",6,"leather",1,"craftingtool",1},"",""}          
  169.         },
  170.         {
  171.             "attachments",
  172.             "Zubehör",
  173.             {"NVGoggles","",{"bp_nvgoogles",1,"glass",8,"iron_refined",5,"cable",1,"craftingtool",1},"",""},
  174.             {"muzzle_snds_338_sand","",{"bp_muzzle_338",1,"calciumcarbid",3,"iron_refined",2,"craftingtool",1},"",""},
  175.             {"muzzle_snds_B","",{"bp_muzzle_b",1,"calciumcarbid",2,"iron_refined",2,"craftingtool",1},"",""},
  176.             {"muzzle_snds_H","",{"bp_muzzle_h",1,"calciumcarbid",1,"iron_refined",2,"craftingtool",1},"",""},
  177.             {"muzzle_snds_M","",{"bp_muzzle_m",1,"calciumcarbid",1,"iron_refined",2,"craftingtool",1},"",""},
  178.             {"muzzle_snds_L","",{"bp_muzzle_L",1,"calciumcarbid",1,"iron_refined",2,"craftingtool",1},"",""},
  179.             {"optic_LRPS","",{"bp_snipervisier",1,"glass",8,"iron_refined",3,"calciumcarbid",1,"craftingtool",1},"",""},
  180.             {"optic_KHS_blk","",{"bp_snipervisier",1,"glass",8,"iron_refined",3,"calciumcarbid",1,"craftingtool",1},"",""},
  181.             {"optic_AMS_snd","",{"bp_snipervisier",1,"glass",8,"iron_refined",3,"calciumcarbid",1,"craftingtool",1},"",""},
  182.             {"optic_DMS","",{"bp_snipervisier",1,"glass",8,"iron_refined",3,"calciumcarbid",1,"craftingtool",1},"",""},
  183.             {"bipod_01_F_blk","",{"bp_bipod",1,"iron_refined",6,"rubber",2,"craftingtool",1},"",""},
  184.             {"bipod_01_F_snd","",{"bp_bipod",1,"iron_refined",6,"rubber",2,"craftingtool",1},"",""}
  185.         },
  186.         {
  187.             "item",
  188.             "Items",
  189.             {"bs_humm_civ","",{"iron_refined",10,"plastic",5,"calciumcarbid",2,"craftingtool",1},"",""},
  190.             {"bs_offroad","",{"iron_refined",5,"light_controller",1,"car_key",2,"craftingtool",1},"",""},
  191.             {"bs_suv","",{"iron_refined",10,"light_controller",5,"car_key",2,"craftingtool",1},"",""},
  192.             {"maldenflush","",{"heroin_unprocessed",3,"cannabis",3,"cocaine_unprocessed",3,"glas_bottle",1,"craftingtool",1},"",""},
  193.             {"joint","",{"tabaco",5,"marijuana",1,"paper",1,"craftingtool",1},"",""},
  194.             {"bread","",{"flour",10,"water",1},"",""},
  195.             {"olive_bread","",{"olive",1,"flour",1,"water",1},"",""},
  196.             {"glass_olives","",{"olive",4},"",""},
  197.             {"adlerholz","",{"boards",4,"craftingtool",1},"",""},
  198.             {"leather","",{"rohleather",3},"",""},
  199.             {"rohleather","",{"fell",3},"",""},
  200.             {"phosphor","",{"rock",10},"",""},
  201.             {"calciumcarbid","",{"kohlenstoff",4},"",""},
  202.             {"plastic","",{"oil_processed",3},"",""},
  203.             {"zipties","",{"plastic",2},"",""},
  204.             {"lockpick","",{"iron_refined",5},"",""},
  205.             {"redgull","",{"olive",1,"waterBottle",1},"",""},
  206.             {"gpstracker","",{"iron_refined",2,"craftingtool",1},"",""},
  207.             {"storagebig","",{"iron_refined",25,"calciumcarbid",10,"leather",10,"aramid",10,"lanthanum",5,"craftingtool",1},"",""}
  208.            
  209.  
  210.         }
  211.     };
  212.  
  213.     craftingStations[] = { //verfügbare Kategorien an verschiedenen Crafting Stationen
  214.         {
  215.             "craftingItems", //Variablenname
  216.             "craftingItemsMarker", //Name des Spawnmarkers auf der Map (muss in der mission.sqm vorhanden seinen)
  217.             {"item","weapon"} //Variablennamen der verfügbaren Kategorien
  218.         }, //Komma
  219.         {
  220.             "craftingClothes", //Variablenname
  221.             "craftingClothesMarker", //Name des Spawnmarkers auf der Map (muss in der mission.sqm vorhanden seinen)
  222.             {"uniform","backpack","vest"} //Variablennamen der verfügbaren Kategorien
  223.         },
  224.         {
  225.             "craftingVehicles", //Variablenname
  226.             "craftingVehiclessMarker", //Name des Spawnmarkers auf der Map (muss in der mission.sqm vorhanden seinen)
  227.             {"landvehicle","airvehicle","watervehicle"} //Variablennamen der verfügbaren Kategorien
  228.         } //Kein Komma bei letzten
  229.     };
  230. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement