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