Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
  • Need help?

    Create a topic in the appropriate section
    Don't write everything in the chat!
  • Take a look at the marketplace

    There you can buy
    everything related to game servers
  • Don't want a ban?

    Please read our rules
    Don't disturb the order!
  • Sell or buy?

    Use services of the guarantor
    We will make your deal safe
  • 0
Skobo4ka

настройка миссий WAI

народ помогите настроить лут в коробках на миссиях ваи 2.1 где еще минные поля есть. проблема состоит в том что по завершению миссии в коробке появляются и М107 с тпв и рпг18 и тд. как их убрать и сделать количество лута меньше? иногда выпадает по 80 РГО!

Заранее Благодарю за помощь!

Share this post


Link to post
Share on other sites

7 answers to this question

Recommended Posts

  • 0

народ помогите настроить лут в коробках на миссиях ваи 2.1 где еще минные поля есть. проблема состоит в том что по завершению миссии в коробке появляются и М107 с тпв и рпг18 и тд. как их убрать и сделать количество лута меньше? иногда выпадает по 80 РГО!

Заранее Благодарю за помощь!

Ты темой ошибся,снайпер. Тебе в "Помощь",а не в "Гайды"...

Share this post


Link to post
Share on other sites







  • 0

Правило 3.7

Создание темы в несоответствующем разделе.
Тема перенесена.
Предупреждение выдано.

Share this post


Link to post
Share on other sites
  • 0

черт действительно( извиняюсь за такую оплошность, больше не повторится! 

насчет настройки , обьясните что куда дописать , есть настройка динамического лута

 

// Dynamic box array
        crates_large                = ["USVehicleBox","RUVehicleBox","TKVehicleBox_EP1"];
        crates_medium                = ["USBasicWeaponsBox","RUBasicWeaponsBox","USSpecialWeaponsBox","USSpecialWeapons_EP1","RUSpecialWeaponsBox","SpecialWeaponsBox","TKSpecialWeapons_EP1","CZBasicWeapons_EP1","UNBasicWeapons_EP1"];
        crates_small                = ["GuerillaCacheBox","RULaunchersBox","RUBasicAmmunitionBox","RUOrdnanceBox","USBasicAmmunitionBox","USLaunchersBox","USOrdnanceBox","USOrdnanceBox_EP1","USLaunchers_EP1","USBasicWeapons_EP1","USBasicAmmunitionBox_EP1","UNBasicAmmunitionBox_EP1","TKOrdnanceBox_EP1","TKLaunchers_EP1","TKBasicAmmunitionBox_EP1","GuerillaCacheBox_EP1","GERBasicWeapons_EP1"];


        crate_weapons_buildables    = [["ChainSaw","ItemJerryMixed"],["ChainSawB","ItemJerryMixed"],["ChainSawG","ItemJerryMixed"],["ChainSawP","ItemJerryMixed"],["ChainSawR","ItemJerryMixed"]];
        
        crate_tools                    = ["ItemKeyKit","Binocular","Binocular_Vector","ItemCompass","ItemCrowbar","ItemEtool","ItemFishingPole","ItemFlashlightRed","ItemGPS","ItemHatchet_DZE","ItemKnife","ItemMachete","ItemMatchbox_DZE","ItemToolbox","NVGoggles"];
        crate_tools_buildable        = ["ItemToolbox","ItemEtool","ItemCrowbar","ItemKnife"];
        crate_tools_sniper            = ["ItemCompass","Binocular","Binocular_Vector","NVGoggles","ItemGPS"];


        crate_items                    = ["FoodNutmix","FoodPistachio","FoodMRE","ItemSodaOrangeSherbet","ItemSodaRbull","ItemSodaR4z0r","ItemSodaMdew","ItemSodaPepsi","ItemBandage","ItemSodaCoke","FoodbaconCooked","FoodCanBakedBeans","FoodCanFrankBeans","FoodCanPasta","FoodCanSardines","FoodchickenCooked","FoodmuttonCooked","FoodrabbitCooked","ItemTroutCooked","ItemTunaCooked","ItemSeaBassCooked","ItemAntibiotic","ItemBloodbag","ItemEpinephrine","ItemHeatPack","ItemMorphine","ItemGoldBar","ItemGoldBar10oz","CinderBlocks","ItemCanvas","ItemComboLock","ItemLightBulb","ItemLockbox","ItemSandbag","ItemTankTrap","ItemWire","MortarBucket","PartEngine","PartFueltank","PartGeneric","PartGlass","PartPlankPack","PartVRotor","PartWheel","PartWoodPile"];
        crate_items_high_value        = ["ItemBriefcase100oz","ItemVault","30m_plot_kit"];
        crate_items_food            = ["ItemWaterbottle","FoodNutmix","FoodPistachio","FoodMRE","ItemSodaOrangeSherbet","ItemSodaRbull","ItemSodaR4z0r","ItemSodaMdew","ItemSodaPepsi","ItemSodaCoke","FoodbaconCooked","FoodCanBakedBeans","FoodCanFrankBeans","FoodCanPasta","FoodCanSardines","FoodchickenCooked","FoodmuttonCooked","FoodrabbitCooked","ItemTroutCooked","ItemTunaCooked","ItemSeaBassCooked"];
        crate_items_buildables        = ["forest_large_net_kit","cinder_garage_kit",["PartPlywoodPack",5],"ItemSandbagExLarge5X","park_bench_kit","ItemComboLock",["CinderBlocks",10],"ItemCanvas","ItemComboLock",["ItemLightBulb",5],"ItemLockbox",["ItemSandbag",10],["ItemTankTrap",10],["ItemWire",10],["MortarBucket",10],["PartPlankPack",5],"PartWoodPile"];
        crate_items_vehicle_repair    = ["PartEngine","PartFueltank","PartGeneric","PartGlass","PartVRotor","PartWheel"];
        crate_items_medical            = ["ItemWaterbottle","ItemAntibiotic","ItemBloodbag","ItemEpinephrine","ItemHeatPack","ItemMorphine","ItemBandage","FoodCanFrankBeans","FoodCanPasta"];
        crate_items_chainbullets    = ["2000Rnd_762x51_M134","200Rnd_762x51_M240","100Rnd_127x99_M2","150Rnd_127x107_DSHKM"];
        crate_items_sniper            = [["ItemPainkiller",5],"Skin_Sniper1_DZ","Skin_CZ_Soldier_Sniper_EP1_DZ","Skin_GUE_Soldier_Sniper_DZ"];
        crate_items_president        = ["ItemDocument","ItemGoldBar10oz"];


        crate_backpacks_all            = ["DZ_Patrol_Pack_EP1","DZ_Assault_Pack_EP1","DZ_Czech_Vest_Puch","DZ_TerminalPack_EP1","DZ_ALICE_Pack_EP1","DZ_TK_Assault_Pack_EP1","DZ_CompactPack_EP1","DZ_British_ACU","DZ_GunBag_EP1","DZ_CivilBackpack_EP1","DZ_Backpack_EP1","DZ_LargeGunBag_EP1"];
        crate_backpacks_large        = ["DZ_GunBag_EP1","DZ_Backpack_EP1","DZ_LargeGunBag_EP1","DZ_CivilBackpack_EP1"];


        crate_random                = [crate_items,crate_items_food,crate_items_buildables,crate_items_vehicle_repair,crate_items_medical,crate_items_chainbullets];
 

 

 
а предметы не указаны, можно ли что нибуть дописать чтоб лут спавнился только тот который вписан?

Share this post


Link to post
Share on other sites
  • 0

 

черт действительно( извиняюсь за такую оплошность, больше не повторится! 

насчет настройки , обьясните что куда дописать , есть настройка динамического лута

 

// Dynamic box array
        crates_large                = ["USVehicleBox","RUVehicleBox","TKVehicleBox_EP1"];
        crates_medium                = ["USBasicWeaponsBox","RUBasicWeaponsBox","USSpecialWeaponsBox","USSpecialWeapons_EP1","RUSpecialWeaponsBox","SpecialWeaponsBox","TKSpecialWeapons_EP1","CZBasicWeapons_EP1","UNBasicWeapons_EP1"];
        crates_small                = ["GuerillaCacheBox","RULaunchersBox","RUBasicAmmunitionBox","RUOrdnanceBox","USBasicAmmunitionBox","USLaunchersBox","USOrdnanceBox","USOrdnanceBox_EP1","USLaunchers_EP1","USBasicWeapons_EP1","USBasicAmmunitionBox_EP1","UNBasicAmmunitionBox_EP1","TKOrdnanceBox_EP1","TKLaunchers_EP1","TKBasicAmmunitionBox_EP1","GuerillaCacheBox_EP1","GERBasicWeapons_EP1"];


        crate_weapons_buildables    = [["ChainSaw","ItemJerryMixed"],["ChainSawB","ItemJerryMixed"],["ChainSawG","ItemJerryMixed"],["ChainSawP","ItemJerryMixed"],["ChainSawR","ItemJerryMixed"]];
        
        crate_tools                    = ["ItemKeyKit","Binocular","Binocular_Vector","ItemCompass","ItemCrowbar","ItemEtool","ItemFishingPole","ItemFlashlightRed","ItemGPS","ItemHatchet_DZE","ItemKnife","ItemMachete","ItemMatchbox_DZE","ItemToolbox","NVGoggles"];
        crate_tools_buildable        = ["ItemToolbox","ItemEtool","ItemCrowbar","ItemKnife"];
        crate_tools_sniper            = ["ItemCompass","Binocular","Binocular_Vector","NVGoggles","ItemGPS"];


        crate_items                    = ["FoodNutmix","FoodPistachio","FoodMRE","ItemSodaOrangeSherbet","ItemSodaRbull","ItemSodaR4z0r","ItemSodaMdew","ItemSodaPepsi","ItemBandage","ItemSodaCoke","FoodbaconCooked","FoodCanBakedBeans","FoodCanFrankBeans","FoodCanPasta","FoodCanSardines","FoodchickenCooked","FoodmuttonCooked","FoodrabbitCooked","ItemTroutCooked","ItemTunaCooked","ItemSeaBassCooked","ItemAntibiotic","ItemBloodbag","ItemEpinephrine","ItemHeatPack","ItemMorphine","ItemGoldBar","ItemGoldBar10oz","CinderBlocks","ItemCanvas","ItemComboLock","ItemLightBulb","ItemLockbox","ItemSandbag","ItemTankTrap","ItemWire","MortarBucket","PartEngine","PartFueltank","PartGeneric","PartGlass","PartPlankPack","PartVRotor","PartWheel","PartWoodPile"];
        crate_items_high_value        = ["ItemBriefcase100oz","ItemVault","30m_plot_kit"];
        crate_items_food            = ["ItemWaterbottle","FoodNutmix","FoodPistachio","FoodMRE","ItemSodaOrangeSherbet","ItemSodaRbull","ItemSodaR4z0r","ItemSodaMdew","ItemSodaPepsi","ItemSodaCoke","FoodbaconCooked","FoodCanBakedBeans","FoodCanFrankBeans","FoodCanPasta","FoodCanSardines","FoodchickenCooked","FoodmuttonCooked","FoodrabbitCooked","ItemTroutCooked","ItemTunaCooked","ItemSeaBassCooked"];
        crate_items_buildables        = ["forest_large_net_kit","cinder_garage_kit",["PartPlywoodPack",5],"ItemSandbagExLarge5X","park_bench_kit","ItemComboLock",["CinderBlocks",10],"ItemCanvas","ItemComboLock",["ItemLightBulb",5],"ItemLockbox",["ItemSandbag",10],["ItemTankTrap",10],["ItemWire",10],["MortarBucket",10],["PartPlankPack",5],"PartWoodPile"];
        crate_items_vehicle_repair    = ["PartEngine","PartFueltank","PartGeneric","PartGlass","PartVRotor","PartWheel"];
        crate_items_medical            = ["ItemWaterbottle","ItemAntibiotic","ItemBloodbag","ItemEpinephrine","ItemHeatPack","ItemMorphine","ItemBandage","FoodCanFrankBeans","FoodCanPasta"];
        crate_items_chainbullets    = ["2000Rnd_762x51_M134","200Rnd_762x51_M240","100Rnd_127x99_M2","150Rnd_127x107_DSHKM"];
        crate_items_sniper            = [["ItemPainkiller",5],"Skin_Sniper1_DZ","Skin_CZ_Soldier_Sniper_EP1_DZ","Skin_GUE_Soldier_Sniper_DZ"];
        crate_items_president        = ["ItemDocument","ItemGoldBar10oz"];


        crate_backpacks_all            = ["DZ_Patrol_Pack_EP1","DZ_Assault_Pack_EP1","DZ_Czech_Vest_Puch","DZ_TerminalPack_EP1","DZ_ALICE_Pack_EP1","DZ_TK_Assault_Pack_EP1","DZ_CompactPack_EP1","DZ_British_ACU","DZ_GunBag_EP1","DZ_CivilBackpack_EP1","DZ_Backpack_EP1","DZ_LargeGunBag_EP1"];
        crate_backpacks_large        = ["DZ_GunBag_EP1","DZ_Backpack_EP1","DZ_LargeGunBag_EP1","DZ_CivilBackpack_EP1"];


        crate_random                = [crate_items,crate_items_food,crate_items_buildables,crate_items_vehicle_repair,crate_items_medical,crate_items_chainbullets];
 

 

 
а предметы не указаны, можно ли что нибуть дописать чтоб лут спавнился только тот который вписан?

Создай свой ящик. Подключи к миссии. Вуаля, ответ на вопрос.

Share this post


Link to post
Share on other sites
  • 0

Создай свой ящик. Подключи к миссии. Вуаля, ответ на вопрос.

печалька в том что я полный рак в этом, а решать проблемы приходится одному.

для меня две таких с первого взгляда неочемные вещи это долгая работа)

Share this post


Link to post
Share on other sites
  • 0

Учиться никогда не поздно :)

 

Попробуйте открыть миссию любую. Потом пример миссии. Потом конфиг файл. Посмотрите что и как подключается. Сделайте пометки для себя. Может что подкорректируете род сервер и дело пойдёт :)

Share this post


Link to post
Share on other sites
  • 0

 

private ["_tool","_crate","_weapon","_item","_backpack","_num_tools","_num_items","_num_backpacks","_num_weapons","_weapons_array","_tool_array","_item_array","_backpack_array"];

 
_crate = _this select 0;
 
if(typeName (_this select 1) == "ARRAY") then {
    _num_weapons    = (_this select 1) select 0;
    _weapons_array    = (_this select 1) select 1;
} else {
    _num_weapons    = _this select 1;
    _weapons_array    = ai_wep_random call BIS_fnc_selectRandom;;
};
 
if(typeName (_this select 2) == "ARRAY") then {
    _num_tools    = (_this select 2) select 0;
    _tool_array = (_this select 2) select 1;
} else {
    _num_tools    = _this select 2;
    _tool_array = crate_tools;
};
 
if(typeName (_this select 3) == "ARRAY") then {
    _num_items    = (_this select 3) select 0;
    _item_array    = (_this select 3) select 1;
} else {
    _num_items    = _this select 3;
    _item_array    = crate_items;
};
 
if(typeName (_this select 4) == "ARRAY") then {
    _num_backpacks    = (_this select 4) select 0;
    _backpack_array = (_this select 4) select 1;
} else {
    _num_backpacks = _this select 4;
    _backpack_array = crate_backpacks_all;
};
 
if(debug_mode) then {
    diag_log format["WAI: Spawning in a dynamic crate with %1 guns, %2 tools, %3 items and %4 backpacks",_num_weapons,_num_tools,_num_items,_num_backpacks];
};
 
PVDZE_serverObjectMonitor set [count PVDZE_serverObjectMonitor,_crate];
 
clearWeaponCargoGlobal _crate;
clearMagazineCargoGlobal _crate;
 
if(_num_weapons > 0) then {
 
    _num_weapons = (ceil((_num_weapons) / 2) + floor(random (_num_weapons / 2)));
 
    for "_i" from 1 to _num_weapons do {
        _weapon = _weapons_array call BIS_fnc_selectRandom;
        _crate addWeaponCargoGlobal [(_weapon select 0),1];
        _crate addMagazineCargoGlobal [(_weapon select 1), (1 + floor(random 5))];
    };
 
};
 
if(_num_tools > 0) then {
 
    _num_tools    = (ceil((_num_tools) / 2) + floor(random (_num_tools / 2)));
 
    for "_i" from 1 to _num_tools do {
        _tool = _tool_array call BIS_fnc_selectRandom;
 
        if(typeName (_tool) == "ARRAY") then {
            _crate addWeaponCargoGlobal [_tool select 0,_tool select 1];
        } else {
            _crate addWeaponCargoGlobal [_tool,1];
        };
    };
 
};
 
if(_num_items > 0) then {
 
    _num_items    = (ceil((_num_items) / 2) + floor(random (_num_items / 2)));
 
    for "_i" from 1 to _num_items do {
        _item = _item_array call BIS_fnc_selectRandom;
 
        if(typeName (_item) == "ARRAY") then {
            _crate addMagazineCargoGlobal [_item select 0,_item select 1];
        } else {
            _crate addMagazineCargoGlobal [_item,1];
        };
    };
 
};
 
if(_num_backpacks > 0) then {
 
    _num_backpacks    = (ceil((_num_backpacks) / 2) + floor(random (_num_backpacks / 2)));
 
    for "_i" from 1 to _num_backpacks do {
        _backpack = _backpack_array call BIS_fnc_selectRandom;
 
        if(typeName (_backpack) == "ARRAY") then {
            _crate addBackpackCargoGlobal [_backpack select 0,_backpack select 1];
        } else {
            _crate addBackpackCargoGlobal [_backpack,1];
        };
    };
 
};
 
if(wai_high_value) then {
 
    if(random 100 < wai_high_value_chance) then {
 
        _item = crate_items_high_value call BIS_fnc_selectRandom;
        _crate addMagazineCargoGlobal [_item,1];
    };
 
};

вроде это конфиг динамического ящика, есть вопрос вот по этой строчке -  _weapons_array    = ai_wep_random call BIS_fnc_selectRandom;; сдесь надо указывать оружие?

или можно этот конфиг переписать так, чтобы он только мои ящики спавнил?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Similar Content

    • By ZigoFrend
      Что делать если машины с миссий не хотят продаваться ??


    • By Akie
      Никак не могу разобраться как заставить ВАИ выводить миникарту при старте миссии, скрипт есть, просто как заставить его выводить её не могу понять, подскажите пожалуйста господа. Знаю что сообщения выводятся через mission_winorfail.sqf, но как оттуда сделать вызов вариабла сообщения я не знаю.
    • By Gromillla
      Доброго времени суток дамы и господа, и сразу к вопросу, в миссиях 2.2.5 версии, если боты "бандиты", то они скин игрока видят и реагируют на него, а если миссии с ботами "героями", то они скин игрока не видят. Скин  "RUS_Soldier_Marksman". Как соответственно решить эту проблему? Ошибок в РПТ нет.
    • By Alex39
      [EXO] Mod

       
      Этот [EXO] Mod Pack позволяет нам предоставлять игрокам на  серверах возможность загружать только меньший файл миссии и при этом иметь много дополнительных на наших серверах, таких как: высококачественные текстуры для нашего сценария Base Painting, Awesome скины транспортных средств, Custom Audio файлы и так далее ... В будущем мы будем добавлять все больше и больше в этот пакет дополнений! 
       
      Всего 412 текстур в 2048x2048 для BasePainting, множество высококачественных скинов для Strider (HMG), Ifrit (HMG), Hunter (HMG), SUV, Offroad (Armed), 4WD (Open & Closed)
       
      https://steamcommunity.com/sharedfiles/filedetails/?id=778466491&searchtext=
       

    • By Шапокляк
      Как сделать чтоб Боты агрелись на Игрока с расстояния   1000-1500 метров. Темы вродибы есть но решений нет.
      ai_share_info = true; // AI share info on player position ai_share_distance = 2000; // distance from killed AI for AI to share your rough position ai_skill_extreme = [["aimingAccuracy",1.00],["aimingShake",1.00],["aimingSpeed",1.00],["endurance",1.00],["spotDistance",3.99],["spotTime",1.00],["courage",1.00],["reloadSpeed",1.00],["commanding",1.00],["general",1.00]]; // Extreme ai_skill_hard = [["aimingAccuracy",1.00],["aimingShake",1.00],["aimingSpeed",1.00],["endurance",1.00],["spotDistance",3.99],["spotTime",1.00],["courage",1.00],["reloadSpeed",1.00],["commanding",1.00],["general",1.00]]; // Hard менял все не помогает.!!!
  • Our picks

×
×
  • Create New...

Important Information

By using this site, you automaticly agree to our Guidelines and Privacy Policy.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.