Experienced Elementalist
- Joined
- Mar 10, 2015
- Messages
- 264
- Reaction score
- 33
Hi to all, today we gonna to add new items in loot spawns.
Open server_data,pbo with PBO Manager
Open config.cpp (if no config.cpp use UnRap to convert config.bin to config.cpp)This config work with, all of loot, zombies and animals spawns.
We can add new items or guns in loot spawn from here.
Example:
I don't have in loot spawns my new model "GuyFawkesMask" (It's a class name)
I found an building, for example that is "Land_Mil_ControlTower" i found that building in file and than i can add there my new loot:
Added new loot:
and in and of that all i added my mask: "GuyFawkesMask" than i delete old config.cpp or config.bin and add my new config.cpp.
After adding new config, we gonna to re-create an proxyexport.bin file,
to do that we need open servers init.sqf (for old versions, in new you need to find that line for yourself) "//exportProxies [_position,200000];" than we need uncomment line like "exportProxies [_position,200000];", save and start the server, after several minutes (15-20 mins) we need to close server, comment line "//exportProxies [_position,200000];", start server go to that building and find my mask.
Open server_data,pbo with PBO Manager

Open config.cpp (if no config.cpp use UnRap to convert config.bin to config.cpp)This config work with, all of loot, zombies and animals spawns.
We can add new items or guns in loot spawn from here.
Example:
I don't have in loot spawns my new model "GuyFawkesMask" (It's a class name)
I found an building, for example that is "Land_Mil_ControlTower" i found that building in file and than i can add there my new loot:

Added new loot:
Code:
class [B]Land_Mil_ControlTower[/B] : HouseDefault {
class Spawns : Spawns {
class MilitaryMix {
locations[] = { { "pointUnderStairs", 1 }, { "pointGroundFloor", 2 }, { "pointMezanin", 1 }, { "pointOnTables", 2 }, { "pointControlRoomFloor", 2 }, { "pointRoof", 2 }, { "point1stFloor", 1 }, { "point2ndFloorBalcony", 1 }, { "pointOnLockers", 1 } };
items[] = { { "Ammo_9mm", 0.03 }, { "Ammo_45FMJ", 0.018 }, { "Ammo_9x39_20Rnd", 0.01 }, { "Glasses_Round", 0.012 }, { "Ammo_556", 0.03 }, { "Ammo_762x39", 0.03 }, { "Ammo_9mm_25rnd", 0.0156 }, { "Ammo_45acp_25rnd", 0.0156 }, { "Ammo_556_20Rnd", 0.0156 }, { "Ammo_762x39_20Rnd", 0.0156 }, { "Ammo_545_20Rnd", 0.0156 }, { "Tool_WeaponCleaningKit", 0.002 }, { "Att_Compensator_Mosin", 0.105 }, { "Att_Bipod_Atlas", 0.045 }, { "M_IJ70_8Rnd", 0.2 }, { "BoonieHat_DPM", 0.0051 }, { "BoonieHat_flecktran", 0.0068 }, { "BoonieHat_dubok", 0.0051 }, { "PilotHelmet_ZSh3", 0.0085 }, { "PilotkaCap", 0.0034 }, { "BallisticHelmet_Green", 0.0068 }, { "BallisticHelmet_Black", 0.0068 }, { "BallisticHelmet_UN", 0.0034 }, { "MilitaryBeretNZ", 0.0008925 }, { "MilitaryBeretChDKZ", 0.0008925 }, { "MilitaryBeretCDF", 0.000765 }, { "OfficerHat", 0.00085 }, { "MilitaryBeret", 0.00085 }, { "MilitaryBeretUN", 0.00085 }, { "TacticalShirtGrey", 0.00425 }, { "TacticalShirtBlack", 0.00425 }, { "TacticalShirtOlive", 0.00425 }, { "TacticalShirtTan", 0.00425 }, { "UKAssVest_Black", 0.00425 }, { "UKAssVest_Camo", 0.00425 }, { "UKAssVest_Khaki", 0.00425 }, { "UKAssVest_Olive", 0.00425 }, { "Gorka_up_summer", 0.0034 }, { "Gorka_up_autumn", 0.00085 }, { "Gorka_up_flat", 0.0034 }, { "Gorka_up_PautRev", 0.00085 }, { "Container_CarrierPouches", 0.00255 }, { "CarrierHolsterSolo", 0.0017 }, { "PlateCarrierBlank", 0.00425 }, { "Gorka_pants_summer", 0.0068 }, { "Gorka_pants_autumn", 0.0017 }, { "Gorka_pants_flat", 0.0068 }, { "Gorka_pants_PautRev", 0.0017 }, { "GorkaHelmet_Green", 0.0595 }, { "GorkaHelmet_visor", 0.0255 }, { "CargoPants_Beige", 0.0017 }, { "CargoPants_Blue", 0.0017 }, { "CargoPants_Black", 0.0017 }, { "CargoPants_Green", 0.0017 }, { "CargoPants_Grey", 0.0017 }, { "HunterPants_Autumn", 0.0017 }, { "HunterPants_Brown", 0.0017 }, { "HunterPants_Spring", 0.0051 }, { "HunterPants_Summer", 0.0051 }, { "HunterPants_Winter", 0.0034 }, { "ttsko_pants_Beige", 0.00425 }, { "TTsKO_Jacket_Camo", 0.00425 }, { "WorkingGloves_Beige", 0.00085 }, { "WorkingGloves_Black", 0.00085 }, { "WorkingGloves_Brown", 0.00085 }, { "WorkingGloves_Yellow", 0.00085 }, { "RocketAviators", 0.000255 }, { "Glasses_Designer", 0.000255 }, { "Glasses_ThickFrames", 0.00051 }, { "Glasses_ThinFrames", 0.00068 }, { "Optics_Binoculars", 0.00119 }, { "Optics_Rangefinder", 0.00051 }, { "ChestHolster", 0.0017 }, { "JungleBoots_Beige", 0.002 }, { "JungleBoots_Black", 0.008 }, { "JungleBoots_Brown", 0.004 }, { "JungleBoots_Green", 0.004 }, { "JungleBoots_Olive", 0.002 }, { "MilitaryBoots_Beige", 0.006 }, { "MilitaryBoots_Black", 0.012 }, { "MilitaryBoots_Bluerock", 0.008 }, { "MilitaryBoots_Brown", 0.012 }, { "MilitaryBoots_Redpunk", 0.002 }, { "CombatBoots_Beige", 0.008 }, { "CombatBoots_Black", 0.008 }, { "CombatBoots_Brown", 0.008 }, { "CombatBoots_Green", 0.008 }, { "CombatBoots_Grey", 0.008 }, { "RocketAviators", 0.00225 }, { "Glasses_Designer", 0.00225 }, { "Glasses_ThickFrames", 0.0045 }, { "Glasses_ThinFrames", 0.006 }, { "PilotHelmet_ZSh3", 0.014 }, { "MilitaryBeretNZ", 0.00525 }, { "MilitaryBeretChDKZ", 0.00525 }, { "MilitaryBeretCDF", 0.0045 }, { "MilitaryBeret", 0.0075 }, { "MilitaryBeretUN", 0.0075 }, { "BoonieHat_DPM", 0.003 }, { "BoonieHat_flecktran", 0.004 }, { "BoonieHat_dubok", 0.003 }, { [B]"GuyFawkesMask"[/B], 0.0005 }, { "BallisticHelmet_Green", 0.006 }, { "BallisticHelmet_Black", 0.006 }, { "BallisticHelmet_UN", 0.003 }, { "TankerHelmet", 0.005 }, { "BalaclavaMask_Green", 0.01 }, { "GP5GasMask", 0.00015 }, { "GasMask", 0.00015 }, { "DallasMask", 5e-005 }, { "HoxtonMask", 5e-005 }, { "WolfMask", 5e-005 }, { [B]"GuyFawkesMask"[/B], 0.000495 }, { "WeldingMask", 5e-006 }, { "magnum", 0.006 }, { "P1", 0.006 }, { CZ75, 0.0084 }, { "LongHorn", 0.0003 }, { 1911, 0.006 }, { "1911_Engraved", 0.0003 }, { "Derringer_Black", 0.014985 }, { [B]"GuyFawkesMask"[/B], 3e-005 }, { "GuyFawkesMask", 0.014985 }, { [B]"GuyFawkesMask"[/B], 0.05 } };
};
and in and of that all i added my mask: "GuyFawkesMask" than i delete old config.cpp or config.bin and add my new config.cpp.
After adding new config, we gonna to re-create an proxyexport.bin file,

to do that we need open servers init.sqf (for old versions, in new you need to find that line for yourself) "//exportProxies [_position,200000];" than we need uncomment line like "exportProxies [_position,200000];", save and start the server, after several minutes (15-20 mins) we need to close server, comment line "//exportProxies [_position,200000];", start server go to that building and find my mask.
Last edited: