Uuuuuups ähm ja ich bin dumm
Beiträge von niclasbuerger
-
-
Nun ja die Brücke ist fertig allerdings ohne Stützpfeiler.
Weiss einfach nicht wie die heißen
Zufrieden bin ich noch nicht ganz.
Werde die Brücke dann von Zeit zur Zeit updaten.Hier gehts zum Download hier
-
Gut ich habe den Ordner da rein gepackt sieht jetzt so aus:
Allerdings verstehe ich das ganze mit dem .pbo noch nicht ganzIch benutze "BinPBO Personal Edition"
allerdings kann ich dort nur Ordner in .pbo´s umwandeln nicht einzelne Dateien
-
ich muss das ganze in @life_server packen ?
tut mir leid ich steh grade komplett auf Schlauch -
ok , ich habe das Script in die Life Server gepackt und das: [] execVM "spawns\turtleShop.sqf" in die Init der life_server gepackt.
Allerdings bekomme ich jetzt die Meldung das er das Script nicht findet.
-
Ok
wie muss dann der Programm Pfad aussehen ?@life_server\addons\life_server\spwans\turtleShop.sqf
das script ist in dem Ordner welcher oben angeben ist.
[] execVM "@life_server\addons\life_server\spwans\turtleShop.sqf"
-
Also pack ich einfach nul = execVM "spawns\turtleShop.sqf"; in die Init von life_server ?
-
Danke @blackfisch
Nur wie führe ich das ganze dann auf dem Server aus ?Ich habe eine GameLogik erstellt in der nul = execVM "spawns\turtleShop.sqf"; steht.
Nun werde ich aber aus dem Spiel entfernt wenn ich auf den Server joine.
-
Ok werde ich mal versuchen
-
Danke aber ich habe keine initSurvival ich habe eine fn_survival. Dort kann ich habe so wie ich es gesehen habe nicht einstellen wie groß die Backpacks sind
-
Hi,
ich habe 2 kleine Fragen:- Wo kann ich Backpack Größen einstellen ? Ich möchte die neuen Rucksäcke von Apex einführen jedoch möchte ich das sie mehr platz bieten als die anderen.
- Ich möchte gerne eine Schildkröte Spawnen lassen die ein Shop ist. Wie könnte man das machen ?
Ich hoffe ihr könnt mir helfen
Freue mich über jede Antwort.
Mfg StitZle
-
Ok danke werde ich mir merken
-
Achso dann mach ich den Umlaut raus
-
In welchen Shops ?
ja steht in der Stringtable
-
Ich habe mal wieder eine Fehlermeldung bekommen.
Habe schon versucht den Fehler selber zu finden, aber finde ihn einfach nichtDas ist die Fehlermeldung.:
CodeWarning Message: File mpmissions\Altis_Life.Tanoa\Config_vItems.hpp, line 145: /VirtualShops/: '?' encountered instead of '{' 14:20:22 Warning Message: Config : some input after EndOfFile. 14:20:22 Mission Altis_Life.Tanoa: Missing 'description.ext::Header'
Hier die File:Code
Alles anzeigen/* * Format: * level: ARRAY (This is for limiting items to certain things) * 0: Variable to read from * 1: Variable Value Type (SCALAR / BOOL / EQUAL) * 2: What to compare to (-1 = Check Disabled) * 3: Custom exit message (Optional) */ class VirtualShops { //Virtual Shops class market { name = "STR_Shops_Market"; side = "civ"; license = ""; level[] = { "", "", -1, "" }; items[] = { "waterBottle", "rabbit", "apple", "redgull", "tbacon", "lockpick", "pickaxe","axe", "fuelFull", "peach", "boltcutter", "storagesmall", "storagebig","reisp" }; }; class rebel { name = "STR_Shops_Rebel"; side = "civ"; license = "rebel"; level[] = { "", "", -1, "" }; items[] = { "waterBottle", "rabbit", "apple", "redgull", "tbacon", "lockpick", "pickaxe", "fuelFull", "peach", "boltcutter", "blastingcharge" }; }; class gang { name = "STR_Shops_Gang"; side = "civ"; license = ""; level[] = { "", "", -1, "" }; items[] = { "waterBottle", "rabbit", "apple", "redgull", "tbacon", "lockpick", "pickaxe", "fuelFull", "peach", "boltcutter", "blastingcharge" }; }; class wongs { name = "STR_Shops_Wongs"; side = "civ"; license = ""; level[] = { "", "", -1, "" }; items[] = { "turtle_soup", "turtle_raw" }; }; class coffee { name = "STR_Shops_Coffee"; side = "civ"; license = ""; level[] = { "", "", -1, "" }; items[] = { "coffee", "donuts" }; }; class f_station_coffee { name = "STR_Shop_Station_Coffee"; side = ""; license = ""; level[] = { "", "", -1, "" }; items[] = { "coffee", "donuts", "redgull", "fuelFull"}; }; class drugdealer { name = "STR_Shops_DrugDealer"; side = "civ"; license = ""; level[] = { "", "", -1, "" }; items[] = { "cocaine_processed", "heroin_processed", "marijuana" }; }; class oil { name = "STR_Shops_Oil"; side = "civ"; license = ""; level[] = { "", "", -1, "" }; items[] = { "oil_processed", "pickaxe", "fuelFull" }; }; class fishmarket { name = "STR_Shops_FishMarket"; side = "civ"; license = ""; level[] = { "", "", -1, "" }; items[] = { "salema_raw", "salema", "ornate_raw", "ornate", "mackerel_raw", "mackerel", "tuna_raw", "tuna", "mullet_raw", "mullet", "catshark_raw", "catshark" }; }; class glass { name = "STR_Shops_Glass"; side = "civ"; license = ""; level[] = { "", "", -1, "" }; items[] = { "glass" }; }; class iron { name = "STR_Shops_Minerals"; side = "civ"; license = ""; level[] = { "", "", -1, "" }; items[] = { "iron_refined", "copper_refined" }; }; class diamond { name = "STR_Shops_Diamond"; side = "civ"; license = ""; level[] = { "", "", -1, "" }; items[] = { "diamond_uncut", "diamond_cut" }; }; class cement { name = "STR_Shops_Cement"; side = "civ"; license = ""; level[] = { "", "", -1, "" }; items[] = { "cement" }; }; class gold { name = "STR_Shops_Gold"; side = "civ"; license = ""; level[] = { "", "", -1, "" }; items[] = { "goldbar" }; }; class cop { name = "STR_Shops_Cop"; side = "cop"; license = ""; level[] = { "", "", -1, "" }; items[] = { "donuts", "coffee", "spikeStrip", "waterBottle", "rabbit", "apple", "redgull", "fuelFull", "defusekit" }; }; class Pakete { name = "STR_Shops_Frachtzentrum"; side = "civ"; license = ""; level[] = { "", "", -1, "" }; items[] = { "Pakete"}; }; class holz { name = "STR_Shops_Holzankauf"; side = "civ"; license = ""; level[] = { "", "", -1, "" }; items[] = { "holzp"}; }; class sternenstaub { name = "STR_Shops_Sternenstaub"; side = "civ"; license = ""; level[] = { "", "", -1, "" }; items[] = { "sternenstaub"}; }; class delikatessenhändler { name = "STR_Shops_Delikatessenhändler "; side = "civ"; license = ""; level[] = { "", "", -1, "" }; items[] = { "salt_refined"}; }; }; /* * CLASS: * variable = Variable Name * displayName = Item Name * weight = Item Weight * buyPrice = Item Buy Price * sellPrice = Item Sell Price * illegal = Illegal Item * edible = Item Edible (-1 = Disabled) * icon = Item Icon * processedItem = Processed Item */ class VirtualItems { //Virtual Items //Misc class pickaxe { variable = "pickaxe"; displayName = "STR_Item_Pickaxe"; weight = 2; buyPrice = 750; sellPrice = 350; illegal = false; edible = -1; icon = ""; }; class fuelEmpty { variable = "fuelEmpty"; displayName = "STR_Item_FuelE"; weight = 2; buyPrice = -1; sellPrice = -1; illegal = false; edible = -1; icon = "icons\ico_fuelempty.paa"; }; class fuelFull { variable = "fuelFull"; displayName = "STR_Item_FuelF"; weight = 5; buyPrice = 850; sellPrice = 500; illegal = false; edible = -1; icon = ""; }; class spikeStrip { variable = "spikeStrip"; displayName = "STR_Item_SpikeStrip"; weight = 15; buyPrice = 2500; sellPrice = 1200; illegal = false; edible = -1; icon = ""; }; class lockpick { variable = "lockpick"; displayName = "STR_Item_Lockpick"; weight = 1; buyPrice = 150; sellPrice = 75; illegal = false; edible = -1; icon = ""; }; class goldbar { variable = "goldBar"; displayName = "STR_Item_GoldBar"; weight = 12; buyPrice = -1; sellPrice = 95000; illegal = false; edible = -1; icon = ""; }; class blastingcharge { variable = "blastingCharge"; displayName = "STR_Item_BCharge"; weight = 15; buyPrice = 35000; sellPrice = 10000; illegal = true; edible = -1; icon = ""; }; class boltcutter { variable = "boltCutter"; displayName = "STR_Item_BCutter"; weight = 5; buyPrice = 7500; sellPrice = 1000; illegal = true; edible = -1; icon = ""; }; class defusekit { variable = "defuseKit"; displayName = "STR_Item_DefuseKit"; weight = 2; buyPrice = 2500; sellPrice = -1; illegal = false; edible = -1; icon = ""; }; class storagesmall { variable = "storageSmall"; displayName = "STR_Item_StorageBS"; weight = 5; buyPrice = 75000; sellPrice = -1; illegal = false; edible = -1; icon = ""; }; class storagebig { variable = "storageBig"; displayName = "STR_Item_StorageBL"; weight = 10; buyPrice = 150000; sellPrice = -1; illegal = false; edible = -1; icon = ""; }; class axe { variable = "axe"; displayName = "STR_Item_axe"; weight = 2; buyPrice = 750; sellPrice = 350; illegal = false; edible = -1; icon = ""; }; //Mined Items class oil_unprocessed { variable = "oilUnprocessed"; displayName = "STR_Item_OilU"; weight = 7; buyPrice = -1; sellPrice = -1; illegal = false; edible = -1; icon = ""; }; class oil_processed { variable = "oilProcessed"; displayName = "STR_Item_OilP"; weight = 6; buyPrice = -1; sellPrice = 3200; illegal = false; edible = -1; icon = ""; }; class copper_unrefined { variable = "copperUnrefined"; displayName = "STR_Item_CopperOre"; weight = 4; buyPrice = -1; sellPrice = -1; illegal = false; edible = -1; icon = ""; }; class copper_refined { variable = "copperRefined"; displayName = "STR_Item_CopperIngot"; weight = 3; buyPrice = -1; sellPrice = 1500; illegal = false; edible = -1; icon = ""; }; class iron_unrefined { variable = "ironUnrefined"; displayName = "STR_Item_IronOre"; weight = 5; buyPrice = -1; sellPrice = -1; illegal = false; edible = -1; icon = ""; }; class iron_refined { variable = "ironRefined"; displayName = "STR_Item_IronIngot"; weight = 3; buyPrice = -1; sellPrice = 3200; illegal = false; edible = -1; icon = ""; }; class salt_unrefined { variable = "saltUnrefined"; displayName = "STR_Item_Salt"; weight = 3; buyPrice = -1; sellPrice = -1; illegal = false; edible = -1; icon = ""; }; class salt_refined { variable = "saltRefined"; displayName = "STR_Item_SaltR"; weight = 1; buyPrice = 1600; sellPrice = 1450; illegal = false; edible = -1; icon = ""; }; class sand { variable = "sand"; displayName = "STR_Item_Sand"; weight = 3; buyPrice = -1; sellPrice = -1; illegal = false; edible = -1; icon = ""; }; class glass { variable = "glass"; displayName = "STR_Item_Glass"; weight = 1; buyPrice = -1; sellPrice = 1450; illegal = false; edible = -1; icon = ""; }; class diamond_uncut { variable = "diamondUncut"; displayName = "STR_Item_DiamondU"; weight = 4; buyPrice = -1; sellPrice = 750; illegal = false; edible = -1; icon = ""; }; class diamond_cut { variable = "diamondCut"; displayName = "STR_Item_DiamondC"; weight = 2; buyPrice = -1; sellPrice = 2000; illegal = false; edible = -1; icon = ""; }; class rock { variable = "rock"; displayName = "STR_Item_Rock"; weight = 6; buyPrice = -1; sellPrice = -1; illegal = false; edible = -1; icon = ""; }; class cement { variable = "cement"; displayName = "STR_Item_CementBag"; weight = 5; buyPrice = -1; sellPrice = 1950; illegal = false; edible = -1; icon = ""; }; class Pakete { variable = "Pakete"; displayName = "STR_Item_Pakete"; weight = 25; buyPrice = -1; sellPrice = 400; illegal = false; edible = -1; icon = ""; }; class holzu { variable = "holzu"; displayName = "STR_Item_Holzu"; weight = 7; buyPrice = -1; sellPrice = -1; illegal = false; edible = -1; icon = ""; }; class holzp { variable = "holzp"; displayName = "STR_Item_Holzp"; weight = 5; buyPrice = -1; sellPrice = 4000; illegal = false; edible = -1; icon = ""; }; class sternenstaub { variable = "sternenstaub"; displayName = "STR_Item_Sternenstaub"; weight = 100; buyPrice = -1; sellPrice = -45000; illegal = true; edible = -1; icon = ""; }; class reisu { variable = "reisu"; displayName = "STR_Item_reisu"; weight = 2; buyPrice = -1; sellPrice = -1; illegal = false; edible = -1; icon = ""; }; class reisp { variable = "resip"; displayName = "STR_Item_reisp"; weight = 1; buyPrice = 2000; sellPrice = 1000; illegal = false; edible = 25; icon = ""; }; //Drugs class heroin_unprocessed { variable = "heroinUnprocessed"; displayName = "STR_Item_HeroinU"; weight = 6; buyPrice = -1; sellPrice = -1; illegal = true; edible = -1; icon = ""; processedItem = "heroin_processed"; }; class heroin_processed { variable = "heroinProcessed"; displayName = "STR_Item_HeroinP"; weight = 4; buyPrice = 3500; sellPrice = 2560; illegal = true; edible = -1; icon = ""; }; class cannabis { variable = "cannabis"; displayName = "STR_Item_Cannabis"; weight = 4; buyPrice = -1; sellPrice = -1; illegal = true; edible = -1; icon = ""; processedItem = "marijuana"; }; class marijuana { variable = "marijuana"; displayName = "STR_Item_Marijuana"; weight = 3; buyPrice = 2800; sellPrice = 2350; illegal = true; edible = -1; icon = ""; }; class cocaine_unprocessed { variable = "cocaineUnprocessed"; displayName = "STR_Item_CocaineU"; weight = 6; buyPrice = -1; sellPrice = -1; illegal = true; edible = -1; icon = ""; processedItem = "cocaine_processed"; }; class cocaine_processed { variable = "cocaineProcessed"; displayName = "STR_Item_CocaineP"; weight = 4; buyPrice = -1; sellPrice = 5000; illegal = true; edible = -1; icon = ""; }; //Drink class redgull { variable = "redgull"; displayName = "STR_Item_RedGull"; weight = 1; buyPrice = 1500; sellPrice = 200; illegal = false; edible = 100; icon = ""; }; class coffee { variable = "coffee"; displayName = "STR_Item_Coffee"; weight = 1; buyPrice = 10; sellPrice = 5; illegal = false; edible = 100; icon = ""; }; class waterBottle { variable = "waterBottle"; displayName = "STR_Item_WaterBottle"; weight = 1; buyPrice = 10; sellPrice = 5; illegal = false; edible = 100; icon = ""; }; //Food class apple { variable = "apple"; displayName = "STR_Item_Apple"; weight = 1; buyPrice = 65; sellPrice = 50; illegal = false; edible = 10; icon = ""; }; class peach { variable = "peach"; displayName = "STR_Item_Peach"; weight = 1; buyPrice = 68; sellPrice = 55; illegal = false; edible = 10; icon = ""; }; class tbacon { variable = "tbacon"; displayName = "STR_Item_TBacon"; weight = 1; buyPrice = 75; sellPrice = 25; illegal = false; edible = 40; icon = ""; }; class donuts { variable = "donuts"; displayName = "STR_Item_Donuts"; weight = 1; buyPrice = 120; sellPrice = 60; illegal = false; edible = 30; icon = ""; }; class rabbit_raw { variable = "rabbitRaw"; displayName = "STR_Item_RabbitRaw"; weight = 2; buyPrice = -1; sellPrice = 95; illegal = false; edible = -1; icon = ""; }; class rabbit { variable = "rabbit"; displayName = "STR_Item_Rabbit"; weight = 1; buyPrice = 150; sellPrice = 115; illegal = false; edible = 20; icon = ""; }; class salema_raw { variable = "salemaRaw"; displayName = "STR_Item_SalemaRaw"; weight = 2; buyPrice = -1; sellPrice = 45; illegal = false; edible = -1; icon = "icons\ico_meat.paa"; }; class salema { variable = "salema"; displayName = "STR_Item_Salema"; weight = 1; buyPrice = 75; sellPrice = 55; illegal = false; edible = 30; icon = ""; }; class ornate_raw { variable = "ornateRaw"; displayName = "STR_Item_OrnateRaw"; weight = 2; buyPrice = -1; sellPrice = 40; illegal = false; edible = -1; icon = ""; }; class ornate { variable = "ornate"; displayName = "STR_Item_Ornate"; weight = 1; buyPrice = 175; sellPrice = 150; illegal = false; edible = 25; icon = ""; }; class mackerel_raw { variable = "mackerelRaw"; displayName = "STR_Item_MackerelRaw"; weight = 4; buyPrice = -1; sellPrice = 175; illegal = false; edible = -1; icon = ""; }; class mackerel { variable = "mackerel"; displayName = "STR_Item_Mackerel"; weight = 2; buyPrice = 250; sellPrice = 200; illegal = false; edible = 30; icon = ""; }; class tuna_raw { variable = "tunaRaw"; displayName = "STR_Item_TunaRaw"; weight = 6; buyPrice = -1; sellPrice = 700; illegal = false; edible = -1; icon = ""; }; class tuna { variable = "tuna"; displayName = "STR_Item_Tuna"; weight = 3; buyPrice = 1250; sellPrice = 1000; illegal = false; edible = 100; icon = ""; }; class mullet_raw { variable = "mulletRaw"; displayName = "STR_Item_MulletRaw"; weight = 4; buyPrice = -1; sellPrice = 250; illegal = false; edible = -1; icon = ""; }; class mullet { variable = "mullet"; displayName = "STR_Item_Mullet"; weight = 2; buyPrice = 600; sellPrice = 400; illegal = false; edible = 80; icon = ""; }; class catshark_raw { variable = "catsharkRaw"; displayName = "STR_Item_CatSharkRaw"; weight = 6; buyPrice = -1; sellPrice = 300; illegal = false; edible = -1; icon = ""; }; class catshark { variable = "catshark"; displayName = "STR_Item_CatShark"; weight = 3; buyPrice = 750; sellPrice = 500; illegal = false; edible = 100; icon = ""; }; class turtle_raw { variable = "turtleRaw"; displayName = "STR_Item_TurtleRaw"; weight = 6; buyPrice = -1; sellPrice = 3000; illegal = true; edible = -1; icon = ""; }; class turtle_soup { variable = "turtleSoup"; displayName = "STR_Item_TurtleSoup"; weight = 2; buyPrice = 1000; sellPrice = 750; illegal = false; edible = 100; icon = ""; }; class hen_raw { variable = "henRaw"; displayName = "STR_Item_HenRaw"; weight = 1; buyPrice = -1; sellPrice = 65; illegal = false; edible = -1; icon = ""; }; class hen { variable = "hen"; displayName = "STR_Item_Hen"; weight = 1; buyPrice = 115; sellPrice = 85; illegal = false; edible = 65; icon = ""; }; class rooster_raw { variable = "roosterRaw"; displayName = "STR_Item_RoosterRaw"; weight = 1; buyPrice = -1; sellPrice = 65; illegal = false; edible = -1; icon = ""; }; class rooster { variable = "rooster"; displayName = "STR_Item_Rooster"; weight = 115; buyPrice = 90; sellPrice = 85; illegal = false; edible = 45; icon = ""; }; class sheep_raw { variable = "sheepRaw"; displayName = "STR_Item_SheepRaw"; weight = 2; buyPrice = -1; sellPrice = 95; illegal = false; edible = -1; icon = ""; }; class sheep { variable = "sheep"; displayName = "STR_Item_Sheep"; weight = 2; buyPrice = 155; sellPrice = 115; illegal = false; edible = 100; icon = ""; }; class goat_raw { variable = "goatRaw"; displayName = "STR_Item_GoatRaw"; weight = 2; buyPrice = -1; sellPrice = 115; illegal = false; edible = -1; icon = ""; }; class goat { variable = "goat"; displayName = "STR_Item_Goat"; weight = 2; buyPrice = 175; sellPrice = 135; illegal = false; edible = 100; icon = ""; }; };
Hoffe ihr könnt mir helfen.
Bin irgendwie zu Dumm solche Fehler zu findenMfg StitZle
-
Wenn du meinst wie viele man bekommt pro einmal die "Farmtaste" drücken, dann kannst du das ganz einfach in der fn_pickaxeUse tun.
Code
Alles anzeigen#include "..\..\script_macros.hpp" /* File: fn_pickaxeUse.sqf Author: Bryan "Tonic" Boardwine Description: Main functionality for pickaxe in mining. */ closeDialog 0; private["_mine","_itemWeight","_diff","_itemName"]; _mine = ""; switch (true) do { case (player distance (getMarkerPos "copper_mine") < 30): {_mine = ["copper_unrefined",2];}; case (player distance (getMarkerPos "iron_mine") < 30): {_mine = ["iron_unrefined",2];}; case (player distance (getMarkerPos "sand_mine") < 75) : {_mine = ["sand",5];}; case (player distance (getMarkerPos "diamond_mine") < 50): {_mine = ["diamond_uncut",1];}; case (player distance (getMarkerPos "oil_field_1") < 40) : {_mine = ["oil_unprocessed",1];}; case (player distance (getMarkerPos "oil_field_2") < 40) : {_mine = ["oil_unprocessed",1];}; case (player distance (getMarkerPos "rock_quarry") < 50): {_mine = ["rock",2];}; case (player distance (getMarkerPos "sternenstaub") < 50): {_mine = ["sternenstaub",1];}; default {""}; }; //Mine check if(EQUAL(_mine,"")) exitWith {hint localize "STR_ISTR_Pick_NotNear"}; if(vehicle player != player) exitWith {hint localize "STR_ISTR_Pick_MineVeh";}; _diff = [SEL(_mine,0),SEL(_mine,1),life_carryWeight,life_maxWeight] call life_fnc_calWeightDiff; if(EQUAL(_diff,0)) exitWith {hint localize "STR_NOTF_InvFull"}; life_action_inUse = true; for "_i" from 0 to 2 do { player playMove "AinvPercMstpSnonWnonDnon_Putdown_AmovPercMstpSnonWnonDnon"; waitUntil{animationState player != "AinvPercMstpSnonWnonDnon_Putdown_AmovPercMstpSnonWnonDnon";}; sleep 2.5; }; if(([true,SEL(_mine,0),_diff] call life_fnc_handleInv)) then { _itemName = M_CONFIG(getText,"VirtualItems",SEL(_mine,0),"displayName"); titleText[format[localize "STR_ISTR_Pick_Success",(localize _itemName),_diff],"PLAIN"]; }; life_action_inUse = false;
Dort:
case (player distance (getMarkerPos "sternenstaub") < 50): {_mine = ["sternenstaub",1];};
die "1" am ende bestimmt die Menge -
Geht das ganze noch für die 4.4 ?
Hat jemand Erfahrungen damit mit gemacht in der Version ? -
Hallo,
ich habe grade eben in der Config_Weapons.hpp
eine Neue Waffe hinzugefügt. Alles kein Problem aber wenn ich ein Magazin einfüge und dies kaufen möchte bekomme ich immer eine Error Meldung: Sie wurden aus dem Spiel entfernt. (BattlEye: AddMagazineCargo Restriction #1)
Und werde danach aus dem Spiel gekickt.Hier mal meine Config_Weapons.hpp
Code
Alles anzeigen/* * Format: * level: ARRAY (This is for limiting items to certain things) * 0: Variable to read from * 1: Variable Value Type (SCALAR / BOOL / EQUAL) * 2: What to compare to (-1 = Check Disabled) * 3: Custom exit message (Optional) * * items: { Classname, Itemname, BuyPrice, SellPrice } * * Itemname only needs to be filled if you want to rename the original object name. * * Weapon classnames can be found here: https://community.bistudio.com/wiki/Arma_3_CfgWeapons_Weapons * Item classnames can be found here: https://community.bistudio.com/wiki/Arma_3_CfgWeapons_Items * */ class WeaponShops { //Armory Shops class gun { name = "Billy Joe's Firearms"; side = "civ"; license = "gun"; level[] = { "", "", -1, "" }; items[] = { { "hgun_Rook40_F", "", 6500, 500 }, { "hgun_Pistol_heavy_02_F", "", 9850, -1 }, { "hgun_ACPC2_F", "", 11500, -1 }, { "hgun_PDW2000_F", "", 20000, -1 }, { "optic_ACO_grn_smg", "", 2500, 250 }, { "SMG_05_F","",10000,5000 } }; mags[] = { { "16Rnd_9x21_Mag", "", 25 }, { "6Rnd_45ACP_Cylinder", "", 50 }, { "9Rnd_45ACP_Mag", "", 45 }, { "30Rnd_9x21_Mag", "", 75 }, {"30Rnd_9x21_Mag_SMG_02","",100 } }; }; class rebel { name = "Mohammed's Jihadi Shop"; side = "civ"; license = "rebel"; level[] = { "", "", -1, "" }; items[] = { { "arifle_TRG20_F", "", 25000, 2500 }, { "arifle_Katiba_F", "", 30000, 5000 }, { "srifle_DMR_01_F", "", 50000, -1 }, { "arifle_SDAR_F", "", 20000, 7500 }, { "optic_ACO_grn", "", 3500, 350 }, { "optic_Holosight", "", 3600, 275 }, { "optic_Hamr", "", 7500, -1 }, { "acc_flashlight", "", 1000, 100 } }; mags[] = { { "30Rnd_556x45_Stanag", "", 300 }, { "30Rnd_65x39_caseless_green", "", 275 }, { "10Rnd_762x54_Mag", "", 500 }, { "20Rnd_556x45_UW_mag", "", 125 } }; }; class gang { name = "Hideout Armament"; side = "civ"; license = ""; level[] = { "", "", -1, "" }; items[] = { { "hgun_Rook40_F", "", 1500, 500 }, { "hgun_Pistol_heavy_02_F", "", 2500, -1 }, { "hgun_ACPC2_F", "", 4500, -1 }, { "hgun_PDW2000_F", "", 9500, -1 }, { "optic_ACO_grn_smg", "", 950, 250 } }; mags[] = { { "16Rnd_9x21_Mag", "", 25 }, { "6Rnd_45ACP_Cylinder", "", 50 }, { "9Rnd_45ACP_Mag", "", 45 }, { "30Rnd_9x21_Mag", "", 75 } }; }; //Basic Shops class genstore { name = "Altis General Store"; side = "civ"; license = ""; level[] = { "", "", -1, "" }; items[] = { { "Binocular", "", 150, -1 }, { "ItemGPS", "", 100, 45 }, { "ItemMap", "", 50, 35 }, { "ItemCompass", "", 50, 25 }, { "ItemWatch", "", 50, -1 }, { "ToolKit", "", 250, 75 }, { "FirstAidKit", "", 150, 65 }, { "NVGoggles", "", 2000, 980 }, { "Chemlight_red", "", 300, -1 }, { "Chemlight_yellow", "", 300, 50 }, { "Chemlight_green", "", 300, 50 }, { "Chemlight_blue", "", 300, 50 } }; mags[] = {}; }; class f_station_store { name = "Altis Fuel Station Store"; side = ""; license = ""; level[] = { "", "", -1, "" }; items[] = { { "Binocular", "", 750, -1 }, { "ItemGPS", "", 500, 45 }, { "ItemMap", "", 250, 35 }, { "ItemCompass", "", 250, 25 }, { "ItemWatch", "", 250, -1 }, { "ToolKit", "", 1250, 75 }, { "FirstAidKit", "", 750, 65 }, { "NVGoggles", "", 10000, 980 }, { "Chemlight_red", "", 1500, -1 }, { "Chemlight_yellow", "", 1500, 50 }, { "Chemlight_green", "", 1500, 50 }, { "Chemlight_blue", "", 1500, 50 } }; mags[] = {}; }; //Cop Shops class cop_basic { name = "Altis Cop Shop"; side = "cop"; license = ""; level[] = { "", "", -1, "" }; items[] = { { "arifle_sdar_F", "Taser Rifle", 20000, 7500 }, { "hgun_P07_snds_F", "Stun Pistol", 2000, 650 }, { "hgun_P07_F", "", 7500, 1500 }, { "HandGrenade_Stone", "Flashbang", 1700, -1 }, { "Binocular", "", 150, -1 }, { "ItemGPS", "", 100, 45 }, { "ToolKit", "", 250, 75 }, { "muzzle_snds_L", "", 650, -1 }, { "FirstAidKit", "", 150, 65 }, { "Medikit", "", 1000, 450 }, { "NVGoggles", "", 2000, 980 } }; mags[] = { { "16Rnd_9x21_Mag", "", 25 }, { "20Rnd_556x45_UW_mag", "Taser Rifle Magazine", 45 } }; }; class cop_patrol { name = "Altis Patrol Officer Shop"; side = "cop"; license = ""; level[] = { "life_coplevel", "SCALAR", 2, "You must be a Patrol Officer Rank!" }; items[] = { { "arifle_MX_F", "", 35000, 7500 }, { "SMG_02_ACO_F", "", 30000, -1 }, { "HandGrenade_Stone", "Flashbang", 1700, -1 }, { "MineDetector", "", 1000, 500 }, { "acc_flashlight", "", 750, 100 }, { "optic_Holosight", "", 1200, 275 }, { "optic_Arco", "", 2500, -1 }, { "muzzle_snds_H", "", 2750, -1 } }; mags[] = { { "30Rnd_65x39_caseless_mag", "", 130 }, { "30Rnd_9x21_Mag", "", 250 } }; }; class cop_sergeant { name = "Altis Sergeant Officer Shop"; side = "cop"; license = ""; level[] = { "life_coplevel", "SCALAR", 3, "You must be a Sergeant Rank!" }; items[] = { { "hgun_ACPC2_F", "", 17500, -1 }, { "SMG_02_ACO_F", "", 15000, -1 }, { "arifle_MXC_F", "", 30000, 5000 }, { "HandGrenade_Stone", "Flashbang", 1700, -1 }, { "optic_Arco", "", 2500, -1 }, { "muzzle_snds_H", "", 2750, -1 } }; mags[] = { { "9Rnd_45ACP_Mag", "", 200 }, { "30Rnd_9x21_Mag", "", 60 }, { "30Rnd_65x39_caseless_mag", "", 100, -1 } }; }; //Medic Shops class med_basic { name = "store"; side = "med"; license = ""; level[] = { "", "", -1, "" }; items[] = { { "ItemGPS", "", 100, 45 }, { "Binocular", "", 150, -1 }, { "ToolKit", "", 250, 75 }, { "FirstAidKit", "", 150, 65 }, { "Medikit", "", 500, 450 }, { "NVGoggles", "", 1200, 980 } }; mags[] = {}; }; };
Hinzu gefügt habe ich { "SMG_05_F","",10000,5000 } sowie das Magazin dazu {"30Rnd_9x21_Mag_SMG_02","",100 }
Freue mich über jede Hilfe.
Mfg StitZle
-
Danke und das Pack ich in die selber Datei ?
-