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

Department/Division Leadership
  • Content Count

    9
  • Joined

  • Last visited

Community Reputation

0 Neutral

About ZKB1325

Profile Information

  • Location
    United States
  • Steam ID
    https://steamcommunity.com/id/zkb1325/

Recent Profile Visitors

23 profile views
  1. ZKB1325

    Admin Config

    Zargabad Life framework offers a basic admin menu but with a lot of functionality. All the configuration can be done in AdminCommandConfig.hpp found in "Configs\AdminCommandConfig.hpp". To add a player to the list of admins you can do so here. class Admins { class playerUID {adminLevel = level;}; class 7656123456789 {adminLevel = 5;}; }; Zargabad Life framework offers a few commands for admins with more to come. You can add more commands as you want but note it can be tricky if it requires a UI. class AdminAbility //Unique command class { //Name in the list/command name displayName = "Name in list"; //Description that is displayed as a tooltip description = ""; //required admin level to see in list. Acts as minimum level so level 4 can see if required level is 2. All players are at least 0 reqAdminLevel = 5; //Function to run when option is selected. function is called. Passes selected player object (_this select 0) List control (_this select 1) and command index from the list menu (_this select 2). function = ""; //IDC's of menu. This is important so it can hide and show the correct menu's. -1, 50001, and 50002 are reserved. menuIDC[] = {}; //Additional condition on top of needing reqAdminLevel condition = ""; }; All default commands
  2. ZKB1325

    Factories

    The Factories.sqf file found in "Configs\Factories.sqf" is where you can find everything needed to set up Factories. //Cost to buy each worker ZKB_WorkerCost = 3000; //Max number of workers ZKB_MaxWorkers = 15; //True/False if when exporting an item from the factory to a shop if you are allowed to export items with unlimited stock ZKB_IgnoreUnlimitedStock = true; //Array of virtual items allowed to be added to factories storage ZKB_FactoryResources = ["Iron","Copper","Coal","Silicon","DiamondRock","Platinum","Silver","Gold","Oil","Sand","Sulfer","Steel","BlackPowder","Glass","Plastic","ElectronicComponents"]; //List of items allowed to be put into the factory storage //Default variable for factories owned by a player, should be ignored ZKB_OwnedFactories = []; Near the top of the file you will notice variables like the one below, this is to help organize the items in factories. _ResourceFactory = [ "Steel", "BlackPowder", "Glass", "Plastic", "ElectronicComponents" ]; //Array of factories ZKB_FactoryDefines = [ [factory_object, "Factory Name", factorycost, Box_For_Gear_To_Spawn, GameLogic_For_Vehicles_To_Spawn, [Item Array], "Variable"] ]; factory_object: The map object for the factory "Factory Name": The name of the factory factorycost: How much the factory cost to buy Box_For_Gear_To_Spawn: Where created gear will spawn use objNull for no weapon crate and gear will be created at players feet GameLogic_For_Vehicles_To_Spawn: Where created vehicles will spawn, use objNull for no vehicle spawn [Item Array]: Array of items defined in Item_Config.hpp to appear for production in the factory "Variable": Base Variable used for factory variables (queue,workers,storage) At the bottom of the file is where the factories are set up and map markers are created. You can add a factory object to the following to prevent a map marker from being created. if !(_facobject in [TerrorGearFactory,TerrorVehicleFactory])then
  3. ZKB1325

    Shops

    The Shops.sqf file found in "Configs\Shops.sqf" is where you can find everything needed to set up shops. Near the top of the file you will notice variables like the one below, this is to help organize the items in shops. _StationShop = [ "Bread", "SiphonFuelKit", "RefuelCan", "RepairKit" ]; [Station1Shop, "STR_Shop_Station1Shop", objNull, objNull, _StationShop, _StationShop, true, "true", _StationShop apply {-1}, _StationShop apply {-1}, true, 0], You might also notice (_StationShop apply {-1}) This is to quickly set the stock of each item in the shop. What it's doing is for every item in the _StationShop array it's setting it to a -1. So it will end up with [-1,-1,-1,-1] //Array of shops ZKB_ShopDefines = [ [shop_Object, "Shop Name", Box_For_Gear_To_Spawn, GameLogic_For_Vehicles_To_Spawn, [buyables array], [sellables array], CheckForLicense, "allowed to use condition", [array of starting stock], [array of max stock], ExportTo, stockBleedRate] ]; shop_Object: The map object for the shop "Shop Name": The name of the shop Box_For_Gear_To_Spawn: The gear box gear will go into when gear is bought use objNull for no gear box GameLogic_For_Vehicles_To_Spawn: The location a bought vehicle will spawn use objNull for no vehicle spawn [buyables array]: List of buyable items that are defined in the Item_Config.hpp [sellables array]: List of sellable items that are defined in the Item_Config.hpp CheckForLicense: True or False if buying an item from the shop requires any licenses "allowed to use condition": Condition in order to access shop, should at least be "true" [array of starting stock]: Array of numbers defining the starting stock for the shop items, MUST be a number for each item that is in the buy array use -1 for unlimited stock. If there is no items to buy then sell array is used. [array of max stock]: Array of numbers defining the max stock an item can have in the shop, MUST be a number for each item that is in the buy array use -1 for unlimited stock. If there is no items to buy then sell array is used. ExportTo: True/False If the player is allowed to export items from a factory to the shop stockBleedRate: How often in minutes 1 stock is removed from each item in the shop if item has limited stock. 0 = no bleed Below where you set up the shop data you will find an array of shops that will not be affected by Taxes. This is mainly used for gang and terror shops. //Array of shops that wont have tax calculated when buying an item ZKB_NonTaxedShops = [GangArea1,GangArea2,GangArea3,TerrorGearShop,TerrorVehicleShop]; At the very bottom of the file is where the markers are created for each shop. There you can add exceptions for markers to not be created for a shop or the marker color. //Put shop objects in array to not auto create marker if !((_x select 0) in [MainBank,CopShop,CopPatrolShop,CopResponseShop,CopSobrShop,GangArea1,GangArea2,GangArea3,TerrorGearShop,TerrorVehicleShop]) then //Red marker color if ((_x select 0) in [CocaineShop,MarijuanaShop,LSDShop,HeroinShop]) then
  4. ZKB1325

    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},...} };
  5. ZKB1325

    Variables

    The variables file found in "Configs\Variables.sqf" contains additional configuration that's not found in the Setting.hpp File along with predefined variables needed for the framework. //Array of string where each string is a new line in the intro menu ZKB_IntroMessage = ["Intro menu text"]; //Array of content for the rules category. ZKB_Rules = [["Category","Content"],...]; //Cop base loadout array in getUnitLoadout format https://community.bistudio.com/wiki/Unit_Loadout_Array ZKB_RespawnLoadOut = [[],[],["CUP_hgun_Makarov","","","",["CUP_8Rnd_9x18_MakarovSD_M",8],[],""],["CUP_U_B_USArmy_Base",[["CUP_8Rnd_9x18_MakarovSD_M",5,8],["SmokeShellYellow",2,1]]],[],[],"CUP_H_CDF_OfficerCap_UN","",["Binocular","","","",[],[],""],["ItemMap","ItemGPS","ItemRadio","ItemCompass","ItemWatch",""]]; //True/False if the dynamic text along the left side of the screen should appear along with group chat messages or if just the group chat messages. The player can change this in settings ZKB_EnableDynamicText = true;
  6. ZKB1325

    Settings

    The settings file found in "Configs\Settings.hpp" Is where you can easily configure the main aspects of the Zargabad Life mission. //True/False if stats should save over restarts Default: false //Required the server to be running INIDBI2 ZKB_StatSaveEnabled = false; //True/False if the players position should be saved so they login where they last were Default: true ZKB_SavePlayerPos = true; //Start date (servers local timezone) for stat wipes. All future stat wipes will be based off this date as well the first stat wipe will not happen until this date ZKB_StatWipeStartDate[] = {2018,12,1,24,0}; //Delay between each stat wipe {years,months,days,hours,minutes} ZKB_StatWipeDelay[] = {0,0,7,0,0}; //Time acceleration during the day Default: 7 ZKB_DayTimeAcc = 7; //Time acceleration during the night Default: 15 ZKB_NightTimeAcc = 15; //True/False if cops will only lose weapons on respawn Default: true ZKB_CopsOnlyLoseWeapons = true; //True/False if cops lose no gear when killed. ZKB_CopsOnlyLoseWeapons must equal false in order for cops to lose nothing Default: false ZKB_CopsLoseNothing = false; //Array of head gear/helmet/hat classNames the player could start with as civ ZKB_StartingHeadGear[] = {"className"}; //Array of uniform classNames the player could start with as civ ZKB_StartingUniforms[] = {"className"}; //Array of gear classNames that the player starts with as civ (NVG, Map, GPS, Watch, radio) ZKB_StartingGear[] = {"ItemMap","ItemWatch","ItemCompass","ItemRadio"}; //Starting inventory for new players ZKB_StartingInventory[] = {{"KeyChain",1}}; //Default max amount of weight a player can hold for virtual items Default: 60 ZKB_MaxINVWeight = 60; //Array of ATM's Should be an array of string object names from the 3D editor ZKB_ATMArray[] = {"CopBaseATM","CivSpawnATM","TerrorATM","ATM_1","ATM_2","ATM_3","ATM_4","ATM_5"}; //How much new players start with in their bank account Default: 25000 ZKB_StartingBankAccount = 25000; //Cop base paycheck Default: 5000 ZKB_CopPayCheck = 5000; //Police chief paycheck bonus Default: 15000 ZKB_ChiefPayCheck = 15000; //Civs base paycheck Default: 2500 ZKB_CivPayCheck = 2500; //Mayor paycheck bonus Default: 10000 ZKB_MayorPayCheck = 10000; //Max amount of money a player can have in their account Default: 5000000 ZKB_MaxBankAccount = 5000000; //Max amount that can be robbed from a gas station Default: 25000 ZKB_MaxStationMoney = 25000; //Max amount that can be robbed from a bank vault Default: 300000 ZKB_MaxVaultMoney = 300000; //Minimum number of votes needed to be considered for mayor Default: 1 ZKB_MinMayorVotes = 1; //Minimum number of votes needed to be considered for police chief Default: 1 ZKB_MinChiefVotes = 1; //Base/min respawn time a cop gets before punishments added. Players respawn time resets to this + ZKB_SuicidePenalty once the player dies. Default: 15 ZKB_CopRespawnTimeBase = 15; //Base/min respawn time a civ gets before punishments added. Players respawn time resets to this + ZKB_SuicidePenalty once the player dies. Default: 25 ZKB_CivRespawnTimeBase = 25; //Time added to respawn time for killing a cop Default 20 ZKB_KillCopPenalty = 20; //Time added to respawn time for killing a civ Default: 10 ZKB_KillCivPenalty = 10; //Time added to respawn time for suicide Default: 60 ZKB_SuicidePenalty = 60; //Max respawn time Default: 300 ZKB_MaxRespawnTime = 300; //Penalty for cop killing a fellow cop money removed from killers bank account Default: 20000 ZKB_CopKillCopPenalty = 20000; //Amount of money a player gets for patrolling where the pay is this * distance in meters. Default: 5 ZKB_PatrolPointBonus = 5; //Amount of money a player gets per second for being in a workplace, money added to account when player gets paycheck. Default: 10 ZKB_InWorkPlaceBonus = 10; //Array of workplaces {{"WorkplaceAreaMarker",buyCost,PaycheckBonus},...} ZKB_WorkPlaces[] = {{"WorkPlace_1",75000,3000},{"WorkPlace_2",100000,4500},{"WorkPlace_3",150000,6000}}; //Cost to buy a slave Default: 50000 ZKB_SlaveCost = 50000; //Max number of slaves a player can own Default: 3 ZKB_MaxSlaves = 3; //How much the slave makes per minute Default: 5000 ZKB_SlaveBonus = 5000; //How much the player (Cop) gets for freeing a slave Default: 15000 ZKB_SlaveFreeReward = 15000; //Unit className to spawn as the slave unit ZKB_SlaveClass = "CUP_C_TK_Man_02"; //Array of delivery point objects, objects should be in array as a string ZKB_DeliveryPoints[] = {"DP_1","DP_2","DP_3","DP_4","DP_5","DP_6","DP_7","DP_8","DP_9","DP_10","DP_11","DP_12"}; //Amount of money a player gets for delivery the package. this * distance = pay. Default: 3.5; ZKB_DeliveryBonus = 3.5; //Cost to create a gang from players inventory Default: 100000 ZKB_GangCreateCost = 100000; //Paycheck bonus for each gang area the players gang owns. The paycheck bonus is this multiplied number of gang areas owned divided by number of gang members online Default: 5000 ZKB_GangAreaBonus = 5000; //Array of gang areas. Should be string of the gangArea object ZKB_GangAreas[] = {"GangArea1","GangArea2","GangArea3"}; //Cost to unImpound a vehicle Default: 2500 ZKB_UnImpoundCost = 2500; //Array of virtual items not allowed in vehicle trunk ZKB_VehicleTrunkBlacklist[] = {"Money"}; //{"LicenseName", "LicenseDisplayName", Cost, {AddAction_Objects (objects to add the license action to)}, "condition for the action to show"} //The AddAction_Objects should be a string of the map object Variable ZKB_LicenseArray[] = { {"Car_License", "Car License", 3000, {"CivSpawnATM"}, "IsCiv"}, {"Truck_License", "Truck License", 20000, {"CivSpawnATM"}, "IsCiv"}, {"Air_License", "Air License", 100000, {"CivSpawnATM"}, "IsCiv"}, {"Oil_Processors_License", "Oil Processor's License", 30000, {"MiningShop"}, "IsCiv"}, {"GA1_Cocaine_Drug_Processors_License", "GA1 Cocaine Drug Processor's License", 20000, {"GangArea1"}, "IsCiv"}, {"GA1_LSD_Drug_Processors_License", "GA1 LSD Drug Processor's License", 35000, {"GangArea1"}, "IsCiv"}, {"GA2_Heroin_Drug_Processors_License", "GA2 Heroin Drug Processor's License", 30000, {"GangArea2"}, "IsCiv"}, {"GA2_LSD_Drug_Processors_License", "GA2 LSD Drug Processor's License", 35000, {"GangArea2"}, "IsCiv"}, {"GA3_Heroin_Drug_Processors_License", "GA3 Heroin Drug Processor's License", 30000, {"GangArea3"}, "IsCiv"}, {"GA3_Marijuana_Drug_Processors_License", "GA3 Marijuana Drug Processor's License", 15000, {"GangArea3"}, "IsCiv"}, {"Pistol_License", "Pistol License", 12000, {"GunShop"}, "IsCiv"}, {"Rifle_License", "Rifle License", 22000, {"GunShop"}, "IsCiv"}, //{"Engineer_License", "Engineer License", 25000, {"CivSpawnATM"}, "IsCiv"}, //Not used currently because speed upgrades are removed {"Terror_Training", "Terror Training", 850000, {"TerrorATM"}, "IsCiv"}, {"Civ_Shop_License", "Civ Shop License", 10000, {"CopBaseATM"}, "IsCop"}, {"Patrol_Officer_Training", "Patrol-Officer Training", 15000, {"CopBaseATM"}, "IsCop"}, {"Armed_Response_Officer_Training", "Armed Response-Officer Training", 150000, {"CopBaseATM"}, "IsCop"}, {"SOBR_Training", "SOBR Training", 300000, {"CopBaseATM"}, "IsCop"}, {"Air_Support_Officer_Training", "Air Support-Officer Training", 250000, {"CopBaseATM"}, "IsCop"} }; //Required number of cops online to rob a gas station Default: 0 ZKB_StationRobReqCops = 0; //Required number of cops online to rob the bank Default: 5 ZKB_BankRobReqCops = 5; //Array of game logic for the government convoy and Assassin mission to spawn at, should be array of stringed object names ZKB_MissionStartPositions[] = {"GovConvoySpawn_1","GovConvoySpawn_2","GovConvoySpawn_3","GovConvoySpawn_4"}; //Required number of cops that need to be online in order for the government convoy to start Default: 2 ZKB_GovConvoyReqCops = 2; //Time in minutes between the government convoy Default: 45 ZKB_GovConvoyLoopTime = 45; //Reward cops get when government convoy makes it to PD Default: 40000 ZKB_GovConvoyCopReward = 40000; //Reward for the civ that steals the money. The reward is multiplied by the number of cops online Default: 20000 ZKB_GovConvoyStealReward = 20000; //Required number of cops that need to be online in order for the vip mission to start Default: 2 ZKB_VipReqCops = 2; //Time in minutes between the assassin/VIP mission Default: 55 ZKB_VipLoopTime = 55; //Reward cops get when the VIP makes it to PD Default: 50000 ZKB_VipReward = 50000; //Reward for the civ that kills the vip. The reward is multiplied by the number of cops online Default: 20000 ZKB_VipKilledReward = 20000; //Required number of cops online to take a hostage Default: 5 ZKB_HostageReqCops = 5; //Time in minutes the hostage taker has to defend the hostage Default: 20 ZKB_HostageTime = 20; //Reward cops get when the hostage is freed or the hostage taker fails Default: 100000 ZKB_HostageSafeReward = 100000; //Reward to the civ that took the hostage and held it for the required amount of time Default: 350000 ZKB_HostageCivReward = 350000; //How much does each Cop lose if the hostage was killed Default: 15000 ZKB_HostageKilledLoss = 15000; //How much does the civ that kills the hostage get wanted for, the amount is this multiplied by the number of cops online Default: 20000 ZKB_HostageKilledBounty = 20000;
  7. Version 1.0.0

    3 downloads

    INIDBI2 Stat Save addon used to save stats in Zargabad Life
  8. Version 1.0.0

    10 downloads

    Release Version of Zargabad Life Framework for Arma 3 Included Files: ZargabadLife.zargabad Included Folders: ZargabadLife.zargabad
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.

×