How do make it that the str_item isn't in the name of items to be created and how do you fix this craft<null>
using V5.0
i would say you must add the Variable an not the DisplayName
Schön, dass du den Weg zu NodeZone.net gefunden hast! Aktuell bist du nicht angemeldet und kannst deshalb nur eingeschränkt auf unsere Community zugreifen. Um alle Funktionen freizuschalten, spannende Inhalte zu entdecken und dich aktiv einzubringen, registriere dich jetzt kostenlos oder melde dich mit deinem Account an.
How do make it that the str_item isn't in the name of items to be created and how do you fix this craft<null>
using V5.0
i would say you must add the Variable an not the DisplayName
That is the Variable that is init only dose it with items
and also in the stringables
That is the Variable that is init only dose it with items
and also in the stringables
why init? you have to edit only the <misson>/cation/crafting/config.cpp for the items and stuff
its not in the init file only in the config.cpp
its not in the init file only in the config.cpp
yes:
Alle anderen Einstellungen und Texte werden in <misson>/cation/crafting/config.cpp geändert
in englich: All other settings and texts are to change in <misson>/cation/crafting/config.cpp
the autor of the tut had written:
ZitatAll other settings and texts are to change in <misson>/cation/crafting/config.cpp
with other words you need only the config.cpp and not the init of the subject
"Brewery",
"Brewery",
{"CraftBeer","",{"hops",3,"Sugar",3,"yeast",1,"waterBottle",2},"","",1},
{"applecider","",{"apple",6,"Sugar",3,"waterBottle",4},"","",1},
{"peachcider","",{"peach",4,"Sugar",3,"waterBottle",4},"","",1},
{"peachschnapps","",{"peach",3,"Sugar",2,"waterBottle",3},"","",1},
{"appleschnapps","",{"apple",4,"Sugar",2,"waterBottle",3},"","",1},
{"strawberrywine","",{"strawberry",10,"Sugar",3,"yeast",1,"waterBottle",5},"","",1},
{"vodka","",{"potato",5,"Sugar",3,"yeast",1,"waterBottle",5},"","",1}
this is what mine looks like
Could you please include your whole config?
also try changing to this:
"item",
"Brewery",
{"CraftBeer","",{"hops",3,"Sugar",3,"yeast",1,"waterBottle",2},"","",1},
{"applecider","",{"apple",6,"Sugar",3,"waterBottle",4},"","",1},
{"peachcider","",{"peach",4,"Sugar",3,"waterBottle",4},"","",1},
{"peachschnapps","",{"peach",3,"Sugar",2,"waterBottle",3},"","",1},
{"appleschnapps","",{"apple",4,"Sugar",2,"waterBottle",3},"","",1},
{"strawberrywine","",{"strawberry",10,"Sugar",3,"yeast",1,"waterBottle",5},"","",1},
{"vodka","",{"potato",5,"Sugar",3,"yeast",1,"waterBottle",5},"","",1}
also, please check your variable naming
I will when am home but it even dose it with the examples any of the vitems to craft shows up str_item but the required items are fine
I will when am home but it even dose it with the examples any of the vitems to craft shows up str_item but the required items are fine
the Iteams you want do Craft are in the Conig_vitems.hpp?
yeah every thing works fine if i take the str_item out the name in the vitems config it show up fine but u can see it when you press i
also they are all in the stringables file and all fine
class peachcider {
variable = "peachcider";
displayName = "STR_Item_Peach_Cider";
weight = 1;
buyPrice = 65;
sellPrice = 50;
illegal = false;
edible = -1;
icon = "icons\ico_peachcider.paa";
};
class applecider {
variable = "appplecider";
displayName = "STR_Item_Apple_Cider";
weight = 1;
buyPrice = 65;
sellPrice = 50;
illegal = false;
edible = -1;
icon = "icons\ico_peachcider.paa";
};
class strawberrywine {
variable = "strawberrywine1";
displayName = "STR_Item_Strawberry_Wine";
weight = 1;
buyPrice = 65;
sellPrice = 50;
illegal = false;
edible = -1;
icon = "icons\ico_strawberrywine.paa";
};
class peachschnapps {
variable = "peachschnapps";
displayName = "STR_Item_Peach_Schnapps";
weight = 1;
buyPrice = 65;
sellPrice = 50;
illegal = false;
edible = -1;
icon = "icons\ico_peachschnapps.paa";
};
class appleschnapps {
variable = "appleschnapps";
displayName = "STR_Item_Apple_Schnapps";
weight = 1;
buyPrice = 65;
sellPrice = 50;
illegal = false;
edible = -1;
icon = "icons\ico_appleschnapps.paa";
};
class CraftBeer {
variable = "CraftBeer";
displayName = "STR_Item_Craft_Beer";
weight = 1;
buyPrice = 65;
sellPrice = 50;
illegal = false;
edible = -1;
icon = "icons\ico_Beer.paa";
};
<img src="https://native-network.net/attachment/10664-151162383423774872791-jpg/?thumbnail=1" class="woltlabAttachment" data-attachment-id="10664" id="wcfImgAttachment1">8{
"Brewery",
"Brewery",
{"CraftBeer","",{"hops",3,"Sugar",3,"yeast",1,"waterBottle",2},"","",1},
{"applecider","",{"apple",6,"Sugar",3,"waterBottle",4},"","",1},
{"peachcider","",{"peach",4,"Sugar",3,"waterBottle",4},"","",1},
{"peachschnapps","",{"peach",3,"Sugar",2,"waterBottle",3},"","",1},
{"appleschnapps","",{"apple",4,"Sugar",2,"waterBottle",3},"","",1},
{"strawberrywine","",{"strawberry",10,"Sugar",3,"yeast",1,"waterBottle",5},"","",1},
{"vodka","",{"potato",5,"Sugar",3,"yeast",1,"waterBottle",5},"","",1}
},
then this
{
"craftingBrewery", //Variablenname
"craftingBreweryMarker", //Name of the spawn marker on the map (must be present in the mission.sqm)
{"Brewery"} //Variables of available categories
}, //comma
Alles anzeigen
Hat jemand das System mal so ausgebaut, das man am auch definieren kann "wie viele" Items man raus bekommt? Beispiel: Das man statt 1 direkt 2,3 oder 4 Magazine bauen kann?
Hat jemand das System mal so ausgebaut, das man am auch definieren kann "wie viele" Items man raus bekommt? Beispiel: Das man statt 1 direkt 2,3 oder 4 Magazine bauen kann?
wenn ich das richtig verstehe kannst du dort:
am ende also die letzte zahl ,1}, die menge einstellen wie viel man macht wenn du es in während dem craften angeben möchtest also wie beim z inv wie viel du jemanden geben möchtest dann musst du dich mit dialogen auseinander setzen
Ist die 1 am ende (oder 0) nicht für die unterscheidung ob es ein "virtuelles item" oder "normales item" ist?
Laut config:
{"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)}
Ist die 1 am ende (oder 0) nicht für die unterscheidung ob es ein "virtuelles item" oder "normales item" ist?
Laut config:
{"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)}
richtig.
Willst du die Möglichkeit mehrere Items auf einmal zu craften, wirst du wohl oder übel das Script umschreiben müssen
richtig.
Willst du die Möglichkeit mehrere Items auf einmal zu craften, wirst du wohl oder übel das Script umschreiben müssen
ja, das hatte ich bereits "befürchtet" und hatte mich daher direkt mal dran gesetzt. Mal schauen, wie es funktioniert