Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- File: config.cpp
- Author: B4v4r!4n_Str!k3r (julianbauer@cationstudio.com)
- Licence: THIS FILE AND EXTRACTS OF IT IS THE MINDSET OF CATIONSTUDIO
- AND ONLY AUTHORIZED PEOPLE/SERVERS ARE ALLOWED TO USE IT.
- Description: Master config for crafting system.
- */
- #include "dialog\craft.hpp"
- class Cation_Crafting {
- version_4_4 = 1; // version 3.x - 4.3 -> 0 | version 4.4+ -> 1
- duration = 0.3; //Dauer im Craftingvorgang für 1% in s (Mögliche Werte zwischen 0.1 und 10)
- HeadlessSupport = 0; //Enable/Disable Headless client support. Default: 1 (1 = Enabled / 0 = Disabled)
- //Texte
- Craftingmenu = "Baumenü";
- CraftStats = "Sachen zum Bauen";
- CraftingMaterials = "Benötigte Sachen";
- CraftButton = "";
- Close = "Schließen";
- Craft = "Baue";
- NoMaterial = "Du hast nicht alle Baumaterialien!";
- Process = "Du hast folgendes hergestellt:";
- Process_Stay = "Du musst innerhalb von 10m bleiben, um craften zu können.";
- NotificationBackpack = "Du hast bereits einen Rucksack! Pack den alten erstmal weg.";
- NotificationVest = "Du hast bereits eine Weste! Pack die alte erst einmal weg.";
- NotificationUnifrom = "Du hast bereits Kleidung an! Mach dich nackt und versuch es nochmal.";
- NotificationAttachments = "Du hast bereits etwas an! Mach dich nackt und versuch es nochmal.";
- SelectItemFirst = "Du musst zuerst einen Gegenstand auswählen!";
- NothingNeeded = "Es wird nichts benötigt!";
- NoRoom = "Du hast nicht genug Platz für den Gegenstand.";
- Veh_Block = "Ein Fahrzeug blockiert gerade den Spawnpunkt!";
- Veh_Craft = "Du bist nicht in der Nähe einer Craftingzone!";
- Veh_No = "Du kannst das so nicht bauen!";
- NoSpawnpoint = "Kein Spawnpoint verfügbar";
- Color = "Farbe";
- category[] = { //Kategorien
- {
- "landvehicle", //Variable (HINWEIS: BITTE KEINE ANDERE VARIABLE FÜR LANDFAHRZEUGE VERWENDEN)
- "Bodenfahrzeuge", //Text
- {"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)}
- },
- {
- "airvehicle", // (HINWEIS: BITTE KEINE ANDERE VARIABLE FÜR LUFTFAHRZEUGE VERWENDEN)
- "Luftfahrzeuge",
- {"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)}
- },
- {
- "watervehicle",// (HINWEIS: BITTE KEINE ANDERE VARIABLE FÜR WASSERFAHRZEUGE VERWENDEN)
- "Wasserfahrzeuge", // Bei Fahrzeugen ohne Skin:
- {"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)}
- },
- {
- "weapon", //Variable
- "Waffen", //Text
- {"srifle_GM6_F","",{"bp_lynx",1,"plastic",4,"iron_refined",20,"calciumcarbid",10,"lanthanum",5,"craftingtool",1},"",""},
- {"launch_RPG32_F","",{"bp_launch_rpg32",1,"plastic",4,"iron_refined",15,"calciumcarbid",4,"lanthanum",4,"craftingtool",1},"",""},
- {"srifle_DMR_02_sniper_F","",{"bp_dmr_02",1,"plastic",4,"iron_refined",6,"calciumcarbid",2,"lanthanum",2,"craftingtool",1},"",""},
- {"LMG_Zafir_F","",{"bp_zafir",1,"plastic",4,"iron_refined",4,"calciumcarbid",3,"lanthanum",2,"craftingtool",1},"",""},
- {"arifle_AK12_F","",{"bp_ak12",1,"plastic",3,"iron_refined",3,"calciumcarbid",2,"lanthanum",1,"craftingtool",1},"",""},
- {"srifle_EBR_F","",{"bp_ebr",1,"plastic",3,"iron_refined",4,"calciumcarbid",2,"lanthanum",1,"craftingtool",1},"",""},
- {"srifle_DMR_06_olive_F","",{"bp_dmr_06_olive",1,"plastic",3,"iron_refined",4,"calciumcarbid",2,"lanthanum",1,"craftingtool",1},"",""},
- {"srifle_DMR_03_tan_F","",{"bp_dmr_03",1,"plastic",3,"iron_refined",4,"calciumcarbid",2,"lanthanum",1,"craftingtool",1},"",""},
- {"LMG_Mk200_F","",{"bp_mk200",1,"plastic",4,"iron_refined",4,"calciumcarbid",2,"lanthanum",2,"craftingtool",1},"",""},
- {"LMG_03_F","",{"bp_lim",1,"plastic",4,"iron_refined",4,"calciumcarbid",2,"lanthanum",1,"craftingtool",1},"",""},
- {"srifle_DMR_01_F","",{"bp_rahim",1,"plastic",4,"iron_refined",4,"calciumcarbid",2,"craftingtool",1},"",""},
- {"arifle_AKM_F","",{"bp_akm",1,"iron_refined",5,"plastic",5,"calciumcarbid",2,"craftingtool",1},"",""},
- {"arifle_MXM_F","",{"bp_mxm_e",1,"iron_refined",5,"plastic",8,"calciumcarbid",5,"craftingtool",1},"",""},
- {"arifle_MXM_Black_F","",{"bp_mxm",1,"iron_refined",5,"plastic",8,"calciumcarbid",3,"craftingtool",1},"",""},
- {"arifle_MX_F","",{"bp_mx_e",1,"iron_refined",5,"plastic",5,"calciumcarbid",1,"craftingtool",1},"",""},
- {"arifle_MX_Black_F","",{"bp_mx",1,"iron_refined",5,"plastic",5,"calciumcarbid",1,"craftingtool",1},"",""},
- {"arifle_MXC_F","",{"bp_mxc",1,"iron_refined",5,"plastic",5,"calciumcarbid",1,"craftingtool",1},"",""},
- {"arifle_Katiba_GL_F","",{"bp_katiba",1,"iron_refined",5,"plastic",10,"calciumcarbid",1,"craftingtool",1},"",""},
- {"arifle_Katiba_F","",{"bp_katiba",1,"iron_refined",5,"plastic",5,"calciumcarbid",1,"craftingtool",1},"",""},
- {"SMG_01_F","",{"bp_vermin",1,"copper_refined",5,"plastic",2,"craftingtool",1},"",""},
- {"SMG_02_F","",{"bp_sting",1,"copper_refined",5,"plastic",2,"craftingtool",1},"",""},
- {"hgun_P07_snds_F","",{"bp_tazer",1,"copper_refined",5,"calciumcarbid",5,"craftingtool",1},"",""}
- },
- {
- "magazine",
- "Magazine",
- {"RPG32_F","",{"bp_rpg32",1,"iron_refined",15,"gunpowder",10,"lanthanum",2,"craftingtool",1},"",""},
- {"5Rnd_127x108_Mag","",{"iron_refined",15,"craftingtool",1},"",""},
- {"10Rnd_338_Mag","",{"iron_refined",7,"craftingtool",1},"",""},
- {"150Rnd_762x51_Box_Tracer","",{"iron_refined",12,"craftingtool",1},"",""},
- {"20Rnd_762x51_Mag","",{"iron_refined",5,"craftingtool",1},"",""},
- {"200Rnd_65x39_cased_Box_Tracer","",{"iron_refined",10,"craftingtool",1},"",""},
- {"200Rnd_556x45_Box_Tracer_F","",{"iron_refined",8,"craftingtool",1},"",""},
- {"10Rnd_762x54_Mag","",{"iron_refined",3,"craftingtool",1},"",""},
- {"30Rnd_762x39_Mag_F","",{"iron_refined",5,"craftingtool",1},"",""},
- {"30Rnd_65x39_caseless_mag","",{"iron_refined",3,"craftingtool",1},"",""},
- {"30Rnd_65x39_caseless_green","",{"iron_refined",3,"craftingtool",1},"",""},
- {"30Rnd_45ACP_Mag_SMG_01","",{"iron_refined",2,"craftingtool",1},"",""},
- {"30Rnd_9x21_Mag_SMG_02","",{"iron_refined",2,"craftingtool",1},"",""},
- {"16Rnd_9x21_Mag","",{"iron_refined",1,"craftingtool",1},"",""},
- {"SmokeShell","",{"phosphor",2,"craftingtool",1},"",""},
- {"SmokeShellYellow","",{"phosphor",2,"craftingtool",1},"",""},
- {"SmokeShellGreen","",{"phosphor",2,"craftingtool",1},"",""},
- {"SmokeShellRed","",{"phosphor",2,"craftingtool",1},"",""},
- {"SmokeShellPurple","",{"phosphor",2,"craftingtool",1},"",""},
- {"SmokeShellOrange","",{"phosphor",2,"craftingtool",1},"",""},
- {"1Rnd_Smoke_Grenade_shell","",{"phosphor",5,"craftingtool",1},"",""},
- {"1Rnd_SmokeOrange_Grenade_shell","",{"phosphor",5,"craftingtool",1},"",""},
- {"1Rnd_SmokePurple_Grenade_shell","",{"phosphor",5,"craftingtool",1},"",""},
- {"1Rnd_SmokeYellow_Grenade_shell","",{"phosphor",5,"craftingtool",1},"",""},
- {"1Rnd_SmokeGreen_Grenade_shell","",{"phosphor",5,"craftingtool",1},"",""},
- {"1Rnd_SmokeRed_Grenade_shell","",{"phosphor",5,"craftingtool",1},"",""},
- },
- {
- "uniform",
- "Uniformen",
- {"U_B_FullGhillie_sard","",{"bp_ghilie",1,"leather",4,"textile",10,"craftingtool",1},"",""},
- {"U_B_FullGhillie_lsh","",{"bp_ghilie",1,"leather",4,"textile",10,"craftingtool",1},"",""},
- {"U_B_FullGhillie_ard","",{"bp_ghilie",1,"leather",4,"textile",10,"craftingtool",1},"",""},
- {"U_B_CTRG_Soldier_urb_3_F","",{"leather",2,"textile",5,"craftingtool",1},"",""},
- {"U_B_CTRG_Soldier_urb_2_F","",{"leather",2,"textile",5,"craftingtool",1},"",""},
- {"U_B_CTRG_Soldier_2_F","",{"leather",2,"textile",5,"craftingtool",1},"",""},
- {"U_B_T_Soldier_F","",{"leather",2,"textile",5,"craftingtool",1},"",""},
- {"U_BG_Guerrilla_6_1","",{"leather",2,"textile",5,"craftingtool",1},"",""},
- {"U_B_CTRG_Soldier_F","",{"leather",2,"textile",5,"craftingtool",1},"",""},
- {"U_O_OfficerUniform_ocamo","",{"leather",2,"textile",5,"craftingtool",1},"",""}
- },
- {
- "headgear",
- "Kopfbedeckung",
- {"H_HelmetB_plain_blk","",{"iron_refined",5,"plastic",3,"craftingtool",1},"",""},
- {"H_HelmetSpecB_blk","",{"iron_refined",10,"plastic",5,"craftingtool",1},"",""}
- },
- {
- "goggles",
- "Accessoire",
- {"G_Bandanna_tan","",{"textile",2,"craftingtool",1},"",""},
- {"G_Bandanna_beast","",{"textile",2,"craftingtool",1},"",""},
- {"G_Balaclava_oli","",{"textile",2,"leather",1,"craftingtool",1},"",""},
- {"G_Balaclava_blk","",{"textile",2,"leather",1,"craftingtool",1},"",""},
- {"G_Balaclava_TI_blk_F","",{"textile",2,"leather",1,"craftingtool",1},"",""}
- },
- {
- "vest",
- "Westen",
- {"V_BandollierB_khk","",{"leather",2,"textile",1,"craftingtool",1},"",""},
- {"V_Chestrig_khk","",{"leather",2,"textile",1,"craftingtool",1},"",""},
- {"V_TacVest_khk","",{"leather",2,"textile",1,"craftingtool",1},"",""},
- {"V_HarnessO_brn","",{"leather",2,"textile",1,"craftingtool",1},"",""},
- {"V_PlateCarrierSpec_mtp","",{"bp_vest_mtp",1,"leather",10,"textile",5,"aramid",3,"craftingtool",1},"",""},
- {"V_PlateCarrier2_rgr","",{"bp_vest_rgr",1,"leather",5,"textile",2,"aramid",1,"craftingtool",1},"",""},
- {"V_PlateCarrier2_blk","",{"bp_vest_blk",1,"leather",5,"textile",2,"aramid",1,"craftingtool",1},"",""},
- {"V_PlateCarrierH_CTRG","",{"bp_vest_CTRGH",1,"leather",5,"textile",2,"aramid",1,"craftingtool",1},"",""},
- {"V_PlateCarrierL_CTRG","",{"bp_vest_CTRGL",1,"leather",4,"textile",2,"aramid",1,"craftingtool",1},"",""},
- {"V_PlateCarrierIA2_dgtl","",{"bp_vest_dgtl2",1,"leather",5,"textile",2,"aramid",1,"craftingtool",1},"",""},
- {"V_PlateCarrierIA1_dgtl","",{"bp_vest_dgtl1",1,"leather",4,"textile",2,"aramid",1,"craftingtool",1},"",""}
- },
- {
- "backpack",
- "Rucksäcke",
- {"B_Carryall_oli","",{"textile",5,"leather",2,"craftingtool",1},"",""},
- {"B_Bergen_dgtl_F","",{"textile",10,"leather",5,"craftingtool",1},"",""},
- {"B_Bergen_hex_F","",{"textile",10,"leather",5,"craftingtool",1},"",""},
- {"B_Bergen_mcamo_F","",{"textile",10,"leather",5,"craftingtool",1},"",""},
- {"B_Bergen_tna_F","",{"textile",10,"leather",5,"craftingtool",1},"",""},
- {"B_ViperHarness_blk_F","",{"textile",6,"leather",2,"craftingtool",1},"",""},
- {"B_ViperHarness_khk_F","",{"textile",6,"leather",2,"craftingtool",1},"",""},
- {"B_ViperHarness_oli_F","",{"textile",6,"leather",2,"craftingtool",1},"",""},
- {"B_ViperLightHarness_blk_F","",{"textile",6,"leather",1,"craftingtool",1},"",""},
- {"B_ViperLightHarness_khk_F","",{"textile",6,"leather",1,"craftingtool",1},"",""},
- {"B_ViperLightHarness_oli_F","",{"textile",6,"leather",1,"craftingtool",1},"",""}
- },
- {
- "attachments",
- "Zubehör",
- {"NVGoggles","",{"bp_nvgoogles",1,"glass",8,"iron_refined",5,"cable",1,"craftingtool",1},"",""},
- {"muzzle_snds_338_sand","",{"bp_muzzle_338",1,"calciumcarbid",3,"iron_refined",2,"craftingtool",1},"",""},
- {"muzzle_snds_B","",{"bp_muzzle_b",1,"calciumcarbid",2,"iron_refined",2,"craftingtool",1},"",""},
- {"muzzle_snds_H","",{"bp_muzzle_h",1,"calciumcarbid",1,"iron_refined",2,"craftingtool",1},"",""},
- {"muzzle_snds_M","",{"bp_muzzle_m",1,"calciumcarbid",1,"iron_refined",2,"craftingtool",1},"",""},
- {"muzzle_snds_L","",{"bp_muzzle_L",1,"calciumcarbid",1,"iron_refined",2,"craftingtool",1},"",""},
- {"optic_LRPS","",{"bp_snipervisier",1,"glass",8,"iron_refined",3,"calciumcarbid",1,"craftingtool",1},"",""},
- {"optic_KHS_blk","",{"bp_snipervisier",1,"glass",8,"iron_refined",3,"calciumcarbid",1,"craftingtool",1},"",""},
- {"optic_AMS_snd","",{"bp_snipervisier",1,"glass",8,"iron_refined",3,"calciumcarbid",1,"craftingtool",1},"",""},
- {"optic_DMS","",{"bp_snipervisier",1,"glass",8,"iron_refined",3,"calciumcarbid",1,"craftingtool",1},"",""},
- {"bipod_01_F_blk","",{"bp_bipod",1,"iron_refined",6,"rubber",2,"craftingtool",1},"",""},
- {"bipod_01_F_snd","",{"bp_bipod",1,"iron_refined",6,"rubber",2,"craftingtool",1},"",""}
- },
- {
- "item",
- "Items",
- {"bs_humm_civ","",{"iron_refined",10,"plastic",5,"calciumcarbid",2,"craftingtool",1},"",""},
- {"bs_offroad","",{"iron_refined",5,"light_controller",1,"car_key",2,"craftingtool",1},"",""},
- {"bs_suv","",{"iron_refined",10,"light_controller",5,"car_key",2,"craftingtool",1},"",""},
- {"maldenflush","",{"heroin_unprocessed",3,"cannabis",3,"cocaine_unprocessed",3,"glas_bottle",1,"craftingtool",1},"",""},
- {"joint","",{"tabaco",5,"marijuana",1,"paper",1,"craftingtool",1},"",""},
- {"bread","",{"flour",10,"water",1},"",""},
- {"olive_bread","",{"olive",1,"flour",1,"water",1},"",""},
- {"glass_olives","",{"olive",4},"",""},
- {"adlerholz","",{"boards",4,"craftingtool",1},"",""},
- {"leather","",{"rohleather",3},"",""},
- {"rohleather","",{"fell",3},"",""},
- {"phosphor","",{"rock",10},"",""},
- {"calciumcarbid","",{"kohlenstoff",4},"",""},
- {"plastic","",{"oil_processed",3},"",""},
- {"zipties","",{"plastic",2},"",""},
- {"lockpick","",{"iron_refined",5},"",""},
- {"redgull","",{"olive",1,"waterBottle",1},"",""},
- {"gpstracker","",{"iron_refined",2,"craftingtool",1},"",""},
- {"storagebig","",{"iron_refined",25,"calciumcarbid",10,"leather",10,"aramid",10,"lanthanum",5,"craftingtool",1},"",""}
- }
- };
- craftingStations[] = { //verfügbare Kategorien an verschiedenen Crafting Stationen
- {
- "craftingItems", //Variablenname
- "craftingItemsMarker", //Name des Spawnmarkers auf der Map (muss in der mission.sqm vorhanden seinen)
- {"item","weapon"} //Variablennamen der verfügbaren Kategorien
- }, //Komma
- {
- "craftingClothes", //Variablenname
- "craftingClothesMarker", //Name des Spawnmarkers auf der Map (muss in der mission.sqm vorhanden seinen)
- {"uniform","backpack","vest"} //Variablennamen der verfügbaren Kategorien
- },
- {
- "craftingVehicles", //Variablenname
- "craftingVehiclessMarker", //Name des Spawnmarkers auf der Map (muss in der mission.sqm vorhanden seinen)
- {"landvehicle","airvehicle","watervehicle"} //Variablennamen der verfügbaren Kategorien
- } //Kein Komma bei letzten
- };
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement