Adding new loot to spawning

Results 1 to 11 of 11
  1. #1
    Account Upgraded | Title Enabled! 2fed is offline
    True MemberRank
    Mar 2015 Join Date
    UzbekistanLocation
    241Posts

    config Adding new loot to spawning

    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:
    Code:
        class Land_Mil_ControlTower : 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 }, { "GuyFawkesMask", 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 }, { "GuyFawkesMask", 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 }, { "GuyFawkesMask", 3e-005 }, { "GuyFawkesMask", 0.014985 }, { "GuyFawkesMask", 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 by 2fed; 18-02-16 at 04:47 AM. Reason: Added screenshots
    And keep in mind: Together we can fix very big amount of bug’s.
    I have only one thing – Do Dayz SA better for all. Not steal, and only create!


  2. #2
    Hardcore Member Bacon Tatico is offline
    MemberRank
    Mar 2016 Join Date
    101Posts

    Re: Adding new loot to spawning

    OK, very good ! but what would be the 0.05 mascara that you spawn?
    { "GuyFawkesMask", 0,05} --> 0,05

  3. #3
    Account Upgraded | Title Enabled! 2fed is offline
    True MemberRank
    Mar 2015 Join Date
    UzbekistanLocation
    241Posts

    Re: Adding new loot to spawning

    Quote Originally Posted by Bacon Tatico View Post
    OK, very good ! but what would be the 0.05 mascara that you spawn?
    { "GuyFawkesMask", 0,05} --> 0,05
    That value i don't understand, i think it's like percent of spawning, like if you increase value that must be spawned at there. but if you decrease value it's be like "exclusive spawn" 1-2 times be founded only.
    And keep in mind: Together we can fix very big amount of bug’s.
    I have only one thing – Do Dayz SA better for all. Not steal, and only create!

  4. #4
    Registered Alunogen is offline
    MemberRank
    Aug 2017 Join Date
    United StatesLocation
    16Posts

    Re: Adding new loot to spawning

    I do this but every time I try to join the server it says waiting for host then shows me a random area of the map, any help?

  5. #5
    Registered lonewulf is offline
    MemberRank
    Dec 2017 Join Date
    14Posts

    Re: Adding new loot to spawning

    i dont have this "exportProxies [_position,200000];" in my mission init i want to re add loot to the camo buldings on the airfeild and vyborg mill base how do i do this please here is what ive done so far i think its correct but no loot spawns :(


    class Land_Mil_House : HouseDefault {
    class Spawns : Spawns {
    class BigClothes {
    locations[] = {{"lootBigClothes", 23}};
    lootCategory[] = {"Tops", "Pants", "Headgear"};
    lootTag[] = {"Military_east", "Military_west", "Tents", "Camping"};
    };

    class SmallClothes {
    locations[] = {{"lootSmallClothes", 50}};
    lootCategory[] = {"Food", "Feet", "Tools", "Headgear"};
    lootTag[] = {"Military_east", "Military_west", "Tents", "Camping"};
    };

    class Books {
    locations[] = {{"lootBookCase", 6}};
    lootCategory[] = {"Books"};
    lootTag[] = {"Military_east", "Military_west", "Tents", "Camping"};
    };

    class Medical {
    locations[] = {{"lootMedical", 17}};
    lootCategory[] = {"Medical"};
    lootTag[] = {"Military_east", "Military_west", "Tents", "Camping"};
    };

    class Weapons {
    locations[] = {{"lootWeapons", 21}};
    lootCategory[] = {"Pistols"};
    lootTag[] = {"Military_east", "Military_west", "Tents", "Camping"};
    };

    class Ammo {
    locations[] = {{"lootAmmoAndAttachments", 25}};
    lootCategory[] = {"Ammo", "Magazines", "Explosives"};
    lootTag[] = {"Military_east", "Military_west", "Tents", "Camping"};
    };

    class OutsideShed {
    locations[] = {{"lootShed", 20}};
    lootCategory[] = {"Tools", "Materials"};
    lootTag[] = {"Military_east", "Military_west", "Tents", "Camping"};
    };

    class MilitaryRifles {
    locations[] = {{"lootProxyWeapons", 123}};
    lootCategory[] = {"Rifles"};
    lootTag[] = {"Military_east", "Military_west", "Tents", "Camping"};
    };

    class MilitaryBackpacks {
    locations[] = {{"lootProxyBackpacks", 66}};
    lootCategory[] = {"Bags"};
    lootTag[] = {"Military_east", "Military_west", "Tents", "Camping"};
    };

    class MeleeWeapons {
    locations[] = {{"lootProxyMeleeWeapons", 31}};
    lootCategory[] = {"Tools"};
    lootTag[] = {"Military_east", "Military_west", "Tents", "Camping"};
    };
    };
    };

  6. #6
    Account Upgraded | Title Enabled! 2fed is offline
    True MemberRank
    Mar 2015 Join Date
    UzbekistanLocation
    241Posts

    Re: Adding new loot to spawning

    This tutorial only for old builds, not for 0.60 or 0.61-0.62
    And keep in mind: Together we can fix very big amount of bug’s.
    I have only one thing – Do Dayz SA better for all. Not steal, and only create!

  7. #7
    Registered lonewulf is offline
    MemberRank
    Dec 2017 Join Date
    14Posts

    Re: Adding new loot to spawning

    ahh ok i was using 61 as there is no 62 files anywhere i have to use 61. i was hopeing i could get this to work on 61

  8. #8
    Account Upgraded | Title Enabled! 2fed is offline
    True MemberRank
    Mar 2015 Join Date
    UzbekistanLocation
    241Posts

    Re: Adding new loot to spawning

    Do this in .61 is problem. Big problem. I added, but when i spawned new item, server crashes.
    And keep in mind: Together we can fix very big amount of bug’s.
    I have only one thing – Do Dayz SA better for all. Not steal, and only create!

  9. #9
    Registered JediKing1937 is offline
    MemberRank
    May 2018 Join Date
    11Posts

    Re: Adding new loot to spawning

    how to create a new .bin file???

  10. #10
    Registered JediKing1937 is offline
    MemberRank
    May 2018 Join Date
    11Posts

    Re: Adding new loot to spawning

    Quote Originally Posted by 2fed View Post
    Do this in .61 is problem. Big problem. I added, but when i spawned new item, server crashes.

    need help pls,

  11. #11
    Registered JediKing1937 is offline
    MemberRank
    May 2018 Join Date
    11Posts

    Re: Adding new loot to spawning

    Quote Originally Posted by 2fed View Post
    Do this in .61 is problem. Big problem. I added, but when i spawned new item, server crashes.

    Bro pls...i need you



Advertisement