Jump to content

Arma 3 Zargabad Life

Welcome back to Zargabad. Go back in time and relive the glory days of the fast-paced environment of Zargabad. With minimal rules you chose how you play.

Connect today using CUP mods (except CWA) - play as a civilian or as a UN peacekeeper.

Arma 3 DayZ Exile

It is the year 2018; the world has just experienced a devastating zombie apocalypse. It is the result of an intense American invasion of the Russian territory of Napf.

Two years earlier, you were exiled to the island after committing crimes against the Russian Government. Because of this, you were freed by the Americans from state prison after the invasion. The fallout from the war has mutated and irradiated most people beyond recognition... You must attempt to rebuild and restore old world values. Good luck survivor.

  • ZKB1325
    Sign in to follow this  

    Item Configs

    The Item configs can be found in file "Configs\Item_Config.hpp". There you can find all the item configuration for shops, factories, and inventories. You might also notice some includes files that are used to help sort the item config.

    #include "ItemConfig_Weapons.hpp"
    #include "ItemConfig_Magazines.hpp"
    #include "ItemConfig_Attachments.hpp"
    #include "ItemConfig_Uniforms.hpp"
    #include "ItemConfig_Gear.hpp"
    #include "ItemConfig_Vehicles.hpp"

    Every item that is in a shop, factory, or that can appear in the players virtual inventory needs to be defined.

    class className //className used for shops and factories
    	className = "className used for spawning weapons/gear/vehicles";
    		Note: class className AND className = ""; should ALWWAYS be the same for virtual items. Gear and Vehicles can be different but not recommended.
    	dropClass = ""; //For virtual items only will be the physical object the drops on the ground
    	Condition = ""; //Condition that must return true in order to buy the item. Leave "" or don't define to always return true. This is checked every time someone tries to buy the item.
    	displayName = "item name";
    	picture = ""; //File path to an image.paa for virtual items only
    	itemType = "item type for tax"; //"Item", "Vehicle", "Magazine", "Weapon" or "" for not affected by tax
    	Function = "function for usable item" //"" for not usable
    	buyPrice = buy price, Set to -1 to add up the buy price of all the required materials to make in a factory. Be careful of loops for example. Item1 requires Item2 and Item3 to make but Item3 requires Item1
    	sellPrice = sell price -1 for half of buy price
    	Weight = item weight for inventory and trunkSpace
    	turnkSpace = how much trunk space for vehicles
    	civLicense = "needed license as civ"
    	copLicense = "needed license as cop"
    	sharedLicense = "needed license for any side"
    	canDrop = true/false if item can be dropped
    	canGive = true/false if item can be given
    	isIllegal = true/false if the item is illegal
    	Description = "Item description can be localized string";
    	reqResources[] = {array of required resources to make in factory {"item1",amount},{"item2",amount},...}


    Sign in to follow this  

    User Feedback

    Recommended Comments

    There are no comments to display.

    You are commenting as a guest. If you have an account, please sign in.
    Add a comment...

    ×   Pasted as rich text.   Paste as plain text instead

      Only 75 emoji are allowed.

    ×   Your link has been automatically embedded.   Display as a link instead

    ×   Your previous content has been restored.   Clear editor

    ×   You cannot paste images directly. Upload or insert images from URL.

Our Logo

Welcome to the International Gamers Federation! We are a growing community of gamers coming together from all over the globe. Founded in 2018, IGF Gaming prides itself on openness, transparency, providing an unparalleled experience, and most importantly, putting our players first.