Hey^^
Ich habe momentan das Problem, dass sich Items nicht craften lassen beziehungsweise die Felder einfach leer sind (bis auf das I-Toolkit).
Ich hänge einmal meine Config.cpp an. Wer mehr Infos braucht, gerne melden
C
/*
File: config.cpp
Author: B4v4r!4n_Str!k3r ([email protected])
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 = 5; // version 3.x -> 3 | 4.0 - 4.3 -> 4 | version 4.4+ -> 5
duration = 0.3; //Dauer im Craftingvorgang für 1% in s (Mögliche Werte zwischen 0.1 und 10)
//Texte
Craftingmenu = "Crafting-Menü";
CraftStats = "Herstellbare Dinge";
CraftingMaterials = "Benötigte Materialien";
CraftButton = "Craft it!";
Close = "Schließen";
Craft = "Craft";
NoMaterial = "Dir fehlen die Materialien!";
Process = "Du hast folgendes hergestellt:";
Process_Stay = "Bleibe im Radius von 10 Metern!";
NotificationBackpack = "Du besitzt schon einen Rucksack.";
NotificationVest = "Du besitzt bereits eine Weste!";
NotificationUnifrom = "Du trägst schon Kleidung!";
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";
NoSpawnpoint = "Kein Spawnpoint verfügbar";
Color = "Farbe";
category[] = { //Kategorien
{
"lmg", //Variable
"Maschinengewehre", //Text
{"arifle_MX_SW_F","",{"ovs",1,"iron_refined",40},"","",0},
{"arifle_MX_SW_khk_F","",{"ovs",1,"iron_refined",40},"","",0}
}, //Komma
{
"pistol", //Variable
"Pistolen", //Text
{"hgun_ACPC2_F","",{"iron_refined",25},"","",0},
{"hgun_P07_khk_F","",{"iron_refined",30},"","",0},
{"hgun_P07_F","",{"iron_refined",30},"","",0},
{"hgun_Pistol_heavy_01_F","",{"iron_refined",35},"","",0},
{"hgun_Pistol_heavy_02_F","",{"iron_refined",35},"","",0},
{"hgun_Pistol_01_F","",{"iron_refined",25},"","",0},
{"hgun_Rook40_F","",{"iron_refined",25},"","",0}
}, //Komma
{
"ar", //Variable
"Sturmgewehre", //Text
{"arifle_Katiba_F","",{"ovs",125},"","",0},
{"arifle_Mk20_F","",{"ovs",125},"","",0},
{"arifle_Mk20C_F","",{"ovs",125},"","",0},
{"arifle_MXC_F","",{"ovs",125},"","",0},
{"arifle_MX_F","",{"ovs",125},"","",0},
{"arifle_MX_SW_F","",{"ovs",125},"","",0},
{"arifle_MXM_F","",{"ovs",125},"","",0},
{"arifle_MXC_Black_F","",{"ovs",125},"","",0},
{"arifle_MX_Black_F","",{"ovs",125},"","",0},
{"arifle_MXM_Black_F","",{"ovs",125},"","",0},
{"arifle_SDAR_F","",{"ovs",125},"","",0},
{"arifle_TRG21_F","",{"ovs",125},"","",0},
{"arifle_TRG20_F","",{"ovs",125},"","",0},
{"arifle_AK12_F","",{"ovs",125},"","",0},
{"arifle_AK12_GL_F","",{"ovs",125},"","",0},
{"arifle_AKM_F","",{"ovs",125},"","",0},
{"arifle_AKM_FL_F","",{"ovs",125},"","",0},
{"arifle_AKS_F","",{"ovs",125},"","",0},
{"arifle_ARX_blk_F","",{"ovs",125},"","",0},
{"arifle_ARX_ghex_F","",{"ovs",125},"","",0},
{"arifle_ARX_hex_F","",{"ovs",125},"","",0},
{"arifle_CTAR_blk_F","",{"ovs",125},"","",0},
{"arifle_CTAR_hex_F","",{"ovs",125},"","",0},
{"arifle_CTAR_ghex_F","",{"ovs",125},"","",0},
{"arifle_CTAR_GL_blk_F","",{"ovs",125},"","",0},
{"arifle_CTAR_GL_hex_F","",{"ovs",125},"","",0},
{"arifle_CTAR_GL_ghex_F","",{"ovs",125},"","",0},
{"arifle_CTARS_blk_F","",{"ovs",125},"","",0},
{"arifle_CTARS_hex_F","",{"ovs",125},"","",0},
{"arifle_CTARS_ghex_F","",{"ovs",125},"","",0},
{"arifle_SPAR_01_blk_F","",{"ovs",125},"","",0},
{"arifle_SPAR_01_khk_F","",{"ovs",125},"","",0},
{"arifle_SPAR_01_snd_F","",{"ovs",125},"","",0},
{"arifle_SPAR_01_GL_blk_F","",{"ovs",125},"","",0},
{"arifle_SPAR_01_GL_khk_F","",{"ovs",125},"","",0},
{"arifle_SPAR_01_GL_snd_F","",{"ovs",125},"","",0},
{"arifle_SPAR_02_blk_F","",{"ovs",125},"","",0},
{"arifle_SPAR_02_khk_F","",{"ovs",125},"","",0},
{"arifle_SPAR_02_snd_F","",{"ovs",125},"","",0}
}, //Komma
{
"mp", //Variable
"Maschinenpistolen", //Text
{"hgun_PDW2000_F","",{"ovs",125},"","",0},
{"SMG_01_F","",{"ovs",125},"","",0},
{"SMG_02_F","",{"ovs",125},"","",0},
{"SMG_05_F","",{"ovs",125},"","",0}
},
{
"uniform",// Kommen noch mehr keine angst also bitte hier nix ändern
"Uniformen",
{"U_B_GhillieSuit","",{"ovs",125},"","",0},
{"U_O_GhillieSuit","",{"ovs",125},"","",0},
{"U_I_GhillieSuit","",{"ovs",125},"","",0},
{"U_B_FullGhillie_lsh","",{"ovs",145},"","",0},
{"U_B_FullGhillie_sard","",{"ovs",145},"","",0},
{"U_B_FullGhillie_ard","",{"ovs",145},"","",0},
{"U_O_FullGhillie_lsh","",{"ovs",145},"","",0},
{"U_O_FullGhillie_sard","",{"ovs",145},"","",0},
{"U_O_FullGhillie_ard","",{"ovs",145},"","",0},
{"U_I_FullGhillie_lsh","",{"ovs",145},"","",0},
{"U_I_FullGhillie_sard","",{"ovs",145},"","",0},
{"U_I_FullGhillie_ard","",{"ovs",145},"","",0},
{"U_I_Wetsuit","",{"ovs",145},"","",0}
},
{
"backpack",// Kommen noch mehr keine angst
"Rucksäcke",
{"B_Bergen_tna_F","",{"ovs",145},"","",0}
},
{
"vest",// Kommen noch mehr keine angst
"Vesten",
{"V_TacVestIR_blk","",{"ovs",145},"","",0}
},
{
"scope",// Alle Scope die ich gefunden habe sind dabei
"Scope",
{"optic_Arco","",{"ovs",1},"","",1},
{"optic_Hamr","",{"ovs",1},"","",1},
{"optic_Aco","",{"ovs",1},"","",1},
{"optic_ACO_grn","",{"ovs",1},"","",1},
{"optic_Aco_smg","",{"ovs",1},"","",1},
{"optic_ACO_grn_smg","",{"ovs",1},"","",1},
{"optic_Holosight","",{"ovs",1},"","",1},
{"optic_Holosight_smg","",{"ovs",1},"","",1},
{"optic_SOS","",{"ovs",1},"","",1},
{"optic_MRCO","",{"ovs",1},"","",1},
{"optic_NVS","",{"ovs",1},"","",1},
{"optic_Nightstalker","",{"ovs",1},"","",1},
{"optic_tws","",{"ovs",1},"","",1},
{"optic_tws_mg","",{"ovs",1},"","",1},
{"optic_DMS","",{"ovs",1},"","",1},
{"optic_Yorris","",{"ovs",1},"","",1},
{"optic_MRD","",{"ovs",1},"","",1},
{"optic_LRPS","",{"ovs",1},"","",1},
{"optic_AMS","",{"ovs",1},"","",1},
{"optic_AMS_khk","",{"ovs",1},"","",1},
{"optic_AMS_snd","",{"ovs",1},"","",1},
{"optic_KHS_blk","",{"ovs",1},"","",1},
{"optic_KHS_hex","",{"ovs",1},"","",1},
{"optic_KHS_old","",{"ovs",1},"","",1},
{"optic_KHS_tan","",{"ovs",1},"","",1},
{"optic_Arco_blk_F","",{"ovs",1},"","",1},
{"optic_Arco_ghex_F","",{"ovs",1},"","",1},
{"optic_DMS_ghex_F","",{"ovs",1},"","",1},
{"optic_Hamr_khk_F","",{"ovs",1},"","",1},
{"optic_ERCO_blk_F","",{"ovs",1},"","",1},
{"optic_ERCO_khk_F","",{"ovs",1},"","",1},
{"optic_ERCO_snd_F","",{"ovs",1},"","",1},
{"optic_SOS_khk_F","",{"ovs",1},"","",1},
{"optic_LRPS_tna_F","",{"ovs",1},"","",1},
{"optic_LRPS_ghex_F","",{"ovs",1},"","",1},
{"optic_Holosight_blk_F","",{"ovs",1},"","",1},
{"optic_Holosight_khk_F","",{"ovs",1},"","",1},
{"optic_Holosight_smg_blk_F","",{"ovs",1},"","",1},
{"optic_Holosight_smg_khk_F","",{"ovs",1},"","",1}
},
{
"flashlight", // Alle flashlight die ich gefunden habe sind dabei
"Flashlight",
{"acc_flashlight","",{"ovs",1},"","",1},
{"acc_flashlight_smg_01","",{"ovs",1},"","",1},
{"acc_flashlight_pistol","",{"ovs",1},"","",1}
},
{
"laser", // Alle laser die ich gefunden habe sind dabei
"Laser",
{"acc_pointer_IR","",{"ovs",1},"","",1}
},
{
"schalldaempfer", // Alle schalldaempfer die ich gefunden habe sind dabei
"Schalldämpfer",
{"muzzle_snds_H","",{"ovs",1},"","",1},
{"muzzle_snds_L","",{"ovs",1},"","",1},
{"muzzle_snds_M","",{"ovs",1},"","",1},
{"muzzle_snds_B","",{"ovs",1},"","",1},
{"muzzle_snds_H_MG","",{"ovs",1},"","",1},
{"muzzle_snds_acp","",{"ovs",1},"","",1},
{"muzzle_snds_H_SW","",{"ovs",1},"","",1},
{"muzzle_snds_338_black","",{"ovs",1},"","",1},
{"muzzle_snds_338_green","",{"ovs",1},"","",1},
{"muzzle_snds_338_sand","",{"ovs",1},"","",1},
{"muzzle_snds_93mmg","",{"ovs",1},"","",1},
{"muzzle_snds_93mmg_tan","",{"ovs",1},"","",1},
{"muzzle_snds_H_khk_F","",{"ovs",1},"","",1},
{"muzzle_snds_H_snd_F","",{"ovs",1},"","",1},
{"muzzle_snds_m_khk_F","",{"ovs",1},"","",1},
{"muzzle_snds_m_snd_F","",{"ovs",1},"","",1},
{"muzzle_snds_58_blk_F","",{"ovs",1},"","",1},
{"muzzle_snds_58_wdm_F","",{"ovs",1},"","",1},
{"muzzle_snds_58_ghex_F","",{"ovs",1},"","",1},
{"muzzle_snds_58_hex_F","",{"ovs",1},"","",1},
{"muzzle_snds_B_khk_F","",{"ovs",1},"","",1},
{"muzzle_snds_B_snd_F","",{"ovs",1},"","",1},
{"muzzle_snds_65_TI_blk_F","",{"ovs",1},"","",1},
{"muzzle_snds_65_TI_hex_F","",{"ovs",1},"","",1},
{"muzzle_snds_65_TI_ghex_F","",{"ovs",1},"","",1},
{"muzzle_snds_H_MG_blk_F","",{"ovs",1},"","",1},
{" muzzle_snds_H_MG_khk_F","",{"ovs",1},"","",1}
},
{
"testkiste", // will gern testen ob man die auf den lkw laden kann
"Testkiste",
{"C_supplyCrate_F","",{"ovs",1},"","",1},
{"CargoNet_01_box_F","",{"ovs",1},"","",1},
{"I_CargoNet_01_ammo_F","",{"ovs",1},"","",1}
},
{
"item", // bitte preise lassen für ein tag ps den minedetector weiß nicht ob wir bei rebellen minen einfügen wollen
"Items",
{"ItemWatch","",{"ovs",1},"","",1},
{"ItemCompass","",{"ovs",1},"","",1},
{"ItemGPS","",{"ovs",1},"","",1},
{"ItemRadio","",{"ovs",1},"","",1},
{"ItemMap","",{"ovs",1},"","",1},
{"C_UavTerminal","",{"ovs",1},"","",1},
{"Binocular","",{"ovs",1},"","",1},
{"Rangefinder","",{"ovs",1},"","",1},
{"NVGoggles","",{"ovs",1},"","",1},
{"NVGoggles_OPFOR","",{"ovs",1},"","",1},
{"NVGoggles_INDEP","",{"ovs",1},"","",1},
{"Integrated_NVG_F","",{"ovs",1},"","",1},
{"Integrated_NVG_TI_0_F","",{"ovs",1},"","",1},
{"Integrated_NVG_TI_1_F","",{"ovs",1},"","",1},
{"FirstAidKit","",{"ovs",1},"","",1},
{"ToolKit","",{"ovs",1},"","",1}
} //Kein Komma bei letzten
};
craftingStations[] = { //verfügbare Kategorien an verschiedenen Crafting Stationen
{
"craftingWeapons", //Variablenname
"craftPointWeapon", //Name des Spawnmarkers auf der Map (muss in der mission.sqm vorhanden seinen)
{"pistol", "mp", "ar", "lmg", "sr", "item"} //Variablennamen der verfügbaren Kategorien
}, //Komma
{
"craftingItems", //Variablenname
"craftPointWeapon", //Name des Spawnmarkers auf der Map (muss in der mission.sqm vorhanden seinen)
{"item", "uniform", "backpack"} //Variablennamen der verfügbaren Kategorien
},
{
"craftingClothes", //Variablenname
"craftingClothesMarker", //Name des Spawnmarkers auf der Map (muss in der mission.sqm vorhanden seinen)
{"uniform","backpack","vest"} //Variablennamen der verfügbaren Kategorien
} //Kein Komma bei letzten
};
};
Alles anzeigen