_ХоЗаР_ 47 Опубликовано 8 Декабря 2018 Поделиться Опубликовано 8 Декабря 2018 (изменено) Скрытый текст https://youtu.be/bFkHdA6sEG0 Здравствуйте! Кто может сказать с чем данный баг связан, И как енто можно решить? Спасибо! Изменено 8 Декабря 2018 пользователем _ХоЗаР_ Скрытый текст 6 ГБ ОЗУ DDR3 1098 мГц (Разносорт) Процессор Intel Xeon E5420 4/4 2.5 ГГц Видеокарта Gigabyte GeForce GT 240 512 МБ GDDR5 (Samsung) DirectX v10.1 Ссылка на комментарий
naxac 2 447 Опубликовано 10 Декабря 2018 Поделиться Опубликовано 10 Декабря 2018 (изменено) @_ХоЗаР_, попробуй кодировку скрипта поменяй на windows-1251, и xml тоже. Изменено 10 Декабря 2018 пользователем naxac 2 Аддон для ОП-2.09.2: Яндекс/Google/GitHub Ссылка на комментарий
WaltTheVolt 2 Опубликовано 10 Декабря 2018 Поделиться Опубликовано 10 Декабря 2018 Писал об этом на ап-про. Пока там не ответили напишу еще и сюда. В OGSE 0.6.9.3. есть интересная фича с монтируемым экзоскелетом: Скрытый текст https://radikal.ru/video/XOjvlX3Bc1r Насколько я знаю, это еще планировали ввести на стадии разработки билдов ТЧ. Из файлов смог найти вот эти предметы в config/misc: Скрытый текст [antir_f]:identity_immunities ;то, что ГГ может использовать GroupControlSection = spawn_group discovery_dependency = cform = skeleton class = II_ANTIR ; eatable item eat_health = 0 eat_satiety = 0 eat_power = 0 eat_radiation = 0 eat_alcohol = 0 wounds_heal_perc = 0 eat_portions_num = 1 ; food item animation_slot = 4 ;hud item hud = wpn_vodka_hud ;----------Это шаблон для экзоскелета------------ ;--------------------------------------------------------------------------------------------- ;Секции МОНТИРУЕМОГО ЭКЗОКАРКАСА ;--------------------------------------------------------------------------------------------- ; ЛЁГКАЯ ЭКЗА ;--------------------------------------------------------------------------------------------- [exo1]:antir_f $spawn = "devices\exo1" visual = equipments\exoskelet radius = 1 inv_name = exo1_outfit_name inv_name_short = exo1_outfit_name description = exo1_outfit_description inv_weight = 20 inv_grid_width = 2 inv_grid_height = 3 inv_grid_x = 20 inv_grid_y = 17 cost = 75000 exoskeleton_type = exo1 jump_speed_dif = -3.0 sprint_koef_dif = -0.6 run_coef_dif = -0.2 run_back_coef_dif = -0.2 ;--------------------------------------------------------------------------------------------- ; ЭКЗА МАСТЕРА ;--------------------------------------------------------------------------------------------- [exo2]:exo1 $spawn = "devices\exo2" inv_name = exo2_outfit_name inv_name_short = exo2_outfit_name description = exo2_outfit_description inv_weight = 32 inv_grid_width = 2 inv_grid_height = 3 inv_grid_x = 22 inv_grid_y = 17 cost = 120000 exoskeleton_type = exo2 jump_speed_dif = -1.5 sprint_koef_dif = -0.3 run_coef_dif = -0.1 run_back_coef_dif = -0.1 ;--------------------------------------------------------------------------------------------- ; ????? НЕ ИСПОЛЬЗУЕТСЯ ;--------------------------------------------------------------------------------------------- [exo3]:exo1 $spawn = "devices\exo3" inv_name = inv_name_short = description = inv_weight = 0 inv_grid_width = 3 inv_grid_height = 4 inv_grid_x = 23 inv_grid_y = 17 cost = 0 exoskeleton_type = jump_speed_dif = -1.5 sprint_koef_dif = -0.25 run_coef_dif = -0.07 run_back_coef_dif = -0.07 Скрытый текст --------------------------------------------------------------------------------------------- ; КОСТЮМ НЕЙТРАЛЬНОГО СТАЛКЕРА ;--------------------------------------------------------------------------------------------- [stalker_outfit]:outfit_base $spawn = "outfit\stalker_outfit" visual = equipments\stalker_suit actor_visual = actors\hero\stalker_hood.ogf ef_equipment_type = 3 inv_name = stalker_outfit_name inv_name_short = stalker_outfit_name description = stalker_outfit_description inv_weight = 5.0 inv_grid_width = 2 inv_grid_height = 3 inv_grid_x = 41 inv_grid_y = 21 full_icon_name = npc_icon_stalker_outfit cost = 28400 immunities_sect = sect_stalker_outfit_immunities ; RESISTANCE bones_koeff_protection = armor_2_0_1 burn_protection = 0.40 shock_protection = 0.15 chemical_burn_protection = 0.25 radiation_protection = 0.20 telepatic_protection = 0.00 strike_protection = 0.25 wound_protection = 0.35 explosion_protection = 0.25 power_loss = 1.15 ; Параметры для ремонта tech_complication = 500 repair_compatibility = heavy_outfit ; Параметры для экзоскелетов exo1 = stalker_outfit_exo1 exo2 = stalker_outfit_exo2 [sect_stalker_outfit_immunities] burn_immunity = 0.09 ;коэффициенты иммунитета самого костюма strike_immunity = 0.01 shock_immunity = 0.03 wound_immunity = 0.03 radiation_immunity = 0.00 telepatic_immunity = 0.00 chemical_burn_immunity = 0.20 explosion_immunity = 0.03 fire_wound_immunity = 0.015 [stalker_outfit_repair] tech_complication = 500 repair_compatibility = heavy_outfit[stalker_outfit_exo1]:stalker_outfit,light_exo_visual_base $spawn = "outfit\stalker_outfit_exo1" visual = equipments\exoskelet ef_equipment_type = 5 inv_weight = 25.0 inv_grid_x = 43 inv_grid_y = 21 inv_name = stalker_outfit_exo1_name inv_name_short = stalker_outfit_exo1_name description = stalker_outfit_exo1_description full_icon_name = npc_icon_stalker_outfit_exo1 cost = 40400 ; RESISTANCE strike_protection = 0.27 wound_protection = 0.37 explosion_protection = 0.27 ; Параметры для ремонта tech_complication = 500 repair_compatibility = heavy_outfit power_loss = 0.17 additional_inventory_weight = 50 additional_inventory_weight2 = 60 without_exoskeleton = stalker_outfit ;формат записи параметра: without_exoskeleton = секция костюма, получаемого при демонтаже экзокаркаса exo_section = exo1 ;формат записи параметра: exo_section = секция демонтируемого экзокаркаса [stalker_outfit_exo1_repair]:stalker_outfit_repair [stalker_outfit_exo2]:stalker_outfit_exo1,heavy_exo_visual_base $spawn = "outfit\stalker_outfit_exo2" inv_weight = 37.0 inv_grid_x = 45 inv_grid_y = 21 inv_name = stalker_outfit_exo2_name inv_name_short = stalker_outfit_exo2_name description = stalker_outfit_exo2_description full_icon_name = npc_icon_stalker_outfit_exo2 cost = 51400 bones_koeff_protection = armor_5_4_1 ; RESISTANCE burn_protection = 0.43 shock_protection = -0.13 chemical_burn_protection = 0.30 radiation_protection = 0.40 telepatic_protection = 0.30 strike_protection = 0.57 wound_protection = 0.73 explosion_protection = 0.50 ; Параметры для ремонта tech_complication = 500 repair_compatibility = heavy_outfit additional_inventory_weight = 70 additional_inventory_weight2 = 80 without_exoskeleton = stalker_outfit ;формат записи параметра: without_exoskeleton = секция костюма, получаемого при демонтаже экзокаркаса exo_section = exo2 ;формат записи параметра: exo_section = секция демонтируемого экзокаркаса [stalker_outfit_exo2_repair]:stalker_outfit_repair А также сам скрипт: Скрытый текст --/ ui_ogse_exo_control.script /-- --/ Exoskeleton control module /-- --/ OGS Evolution Team 2010 /-- --/ version 1.9 (27/03/2011) /-- --/ Модуль монтируемых экзоскелетов /-- local sys_ini = system_ini() local sim = alife() local exo_condition = 1.0 local outfit_condition = 1.0 -- Функции function use_exo(use_object) if use_object == nil or alife():object(use_object:id()) == nil then return end local use_obj_section = use_object:section() if sys_ini:line_exist(use_obj_section, "exoskeleton_type") then local exoskeleton_type = sys_ini:r_string(use_obj_section, "exoskeleton_type") if exoskeleton_type then local outfit_item = db.actor:item_in_slot(6) if outfit_item and sim:object(outfit_item:id()) and not sys_ini:line_exist(outfit_item:section(), "without_exoskeleton") and sys_ini:line_exist(outfit_item:section(), exoskeleton_type) then local outfit_with_exo_section = sys_ini:r_string(outfit_item:section(), exoskeleton_type) if outfit_with_exo_section then -- уф, прошли все проверки - конвертим convert_outfit(outfit_item, outfit_with_exo_section) exo_condition = use_object:condition() outfit_condition = outfit_item:condition() return end end end -- а если не получается сконвертировать, то вертаем броньку взад ogse.spawn_item_in_inv(use_obj_section, db.actor) end end exo_to_rust = nil exo_to_rust_condition = nil function detach_exo() local outfit_item = db.actor:item_in_slot(6) if outfit_item and sim:object(outfit_item:id()) then local outfit_sec = outfit_item:section() if sys_ini:line_exist(outfit_sec, "without_exoskeleton") and sys_ini:line_exist(outfit_sec, "exo_section") then local outfit_without_exo_section = sys_ini:r_string(outfit_sec, "without_exoskeleton") local exo_section = sys_ini:r_string(outfit_sec, "exo_section") if outfit_without_exo_section and exo_section and can_detach_exo(outfit_sec) then local s_exo = ogse.spawn_item_in_inv(exo_section, db.actor) local c_exo = level.object_by_id(s_exo.id) local exo_rusting = outfit_item:condition() / outfit_condition if c_exo then -- c_exo:set_condition(exo_condition * exo_rusting) -- учтем, что состояние броньки уже было не идеальное, да еще мы попортили exo_to_rust = s_exo.id exo_to_rust_condition = exo_condition * exo_rusting ogse.start_timer("ex1",1) end convert_outfit(outfit_item, outfit_without_exo_section) end end end end function convert_outfit(outfit, new_outfit_section) local sobj = sim:object(outfit:id()) if sobj then local outfit_condition = outfit:condition() ogse_night_vision.set_exo_convert_flag(true) db.actor:move_to_ruck(outfit) sim:release(sobj, true) local s_new_outfit = ogse.spawn_item_in_inv(new_outfit_section, db.actor) outfit_spawn_watcher(s_new_outfit.id, outfit_condition):start() end end class "outfit_spawn_watcher" (ogse_qt.quick_timer) function outfit_spawn_watcher:__init(id, condition_to_set) super() self.id = id self.cond = condition_to_set end function outfit_spawn_watcher:condition() self.obj = level.object_by_id(self.id) return (self.obj ~= nil) end function outfit_spawn_watcher:action() self.obj:set_condition(self.cond) ogse_night_vision.set_exo_convert_flag(false) end -- Открытие/закрытие инвентаря. function on_inventory_info(info_id) if info_id == "ui_inventory" then on_show() end if info_id == "no_net_signal" or info_id == "net_signal" then set_actor_parameters() end end function save() ogse.save_variable("exo_condition", exo_condition) ogse.save_variable("outfit_condition", outfit_condition) end function load() exo_condition = tonumber(ogse.load_variable("exo_condition", 1.0)) outfit_condition = tonumber(ogse.load_variable("outfit_condition", 1.0)) end class "exo_control" (CUIScriptWnd) function exo_control:__init() super() local xml = CScriptXmlInit() xml:ParseFile("ui_ogse_exo_control.xml") self:Init(880, 264,32,32) -- само скриптовое окно размещаем там, где должна быть кнопка self.btn = xml:Init3tButton("ui_ogse_exo_control", self) -- кнопка, ради которой всё и делается self:Register(self.btn,"btn_exo_control") self:AddCallback("btn_exo_control", ui_events.BUTTON_CLICKED, self.btn_action, self) self:Show(true) -- без этого не увидим end function exo_control:AttachToInventory(inventory_window) self.inv = inventory_window inventory_window:AttachChild(self) end function exo_control:__finalize() self.inv:DetachChild(self) end function exo_control:btn_action() detach_exo() end local rec_wnd = exo_control() -- создаём один раз function on_show() if not rec_wnd.inv then rec_wnd:AttachToInventory(level.main_input_receiver()) end chek_button_accessibility() end function can_detach_exo(outfit_sec) local can_be_detached = true if sys_ini:line_exist(outfit_sec, "can_detach_exo") then can_be_detached = sys_ini:r_bool(outfit_sec, "can_detach_exo") end return can_be_detached end function chek_button_accessibility() local outfit_item = db.actor:item_in_slot(6) local enabled = outfit_item and sim:object(outfit_item:id()) and sys_ini:line_exist(outfit_item:section(), "without_exoskeleton") and sys_ini:line_exist(outfit_item:section(), "exo_section") and can_detach_exo(outfit_item:section()) rec_wnd.btn:Enable(enabled) end function set_actor_parameters() if db.actor and db.actor:alive() then local jump_speed = sys_ini:r_float("actor", "jump_speed") local sprint_koef = sys_ini:r_float("actor", "sprint_koef") local run_coef = sys_ini:r_float("actor", "run_coef") local run_back_coef = sys_ini:r_float("actor", "run_back_coef") local outfit_item = db.actor:item_in_slot(6) local max_weight = sys_ini:r_float("inventory", "max_weight") local max_walk_weight = sys_ini:r_float("actor_condition", "max_walk_weight") local exo_used = outfit_item and sim:object(outfit_item:id()) and sys_ini:line_exist(outfit_item:section(), "exo_section") -- local condition_for_weight_calc if outfit_item then -- проверка нужна на время переодевания костюма if exo_used then local exo_section = sys_ini:r_string(outfit_item:section(), "exo_section") if sys_ini:line_exist(exo_section, "jump_speed_dif") then local jump_speed_dif = sys_ini:r_float(exo_section, "jump_speed_dif") jump_speed = jump_speed+jump_speed_dif if db.actor:has_info("no_net_signal") then jump_speed = jump_speed*0.1 end end if sys_ini:line_exist(exo_section, "sprint_koef_dif") then local sprint_koef_dif = sys_ini:r_float(exo_section, "sprint_koef_dif") sprint_koef = sprint_koef+sprint_koef_dif if db.actor:has_info("no_net_signal") then sprint_koef = sprint_koef*0.9 end end if sys_ini:line_exist(exo_section, "run_coef_dif") then local run_coef_dif = sys_ini:r_float(exo_section, "run_coef_dif") run_coef = run_coef+run_coef_dif if db.actor:has_info("no_net_signal") then run_coef = run_coef*0.9 end end if sys_ini:line_exist(exo_section, "run_back_coef_dif") then local run_back_coef_dif = sys_ini:r_float(exo_section, "run_back_coef_dif") run_back_coef = run_back_coef+run_back_coef_dif if db.actor:has_info("no_net_signal") then run_back_coef = run_back_coef*0.9 end end --[[ condition_for_weight_calc = exo_condition else condition_for_weight_calc = outfit_item:condition()]] end -- KD: отключено, т.к. неудобно в геймплейном плане. --[[ local sect = outfit_item:section() -- это хе*ня, что добавляемый вес не зависит от состояния экзы. исправим. if sys_ini:line_exist(sect, "additional_inventory_weight") then local walk_weight = sys_ini:r_float(sect, "additional_inventory_weight") max_walk_weight = max_walk_weight+walk_weight*(condition_for_weight_calc - 1) -- движок тоже прибавляет вес, так что учтем это end if sys_ini:line_exist(sect, "additional_inventory_weight2") then local weight = sys_ini:r_float(sect, "additional_inventory_weight2") max_weight = max_weight+weight*(condition_for_weight_calc - 1) -- движок тоже прибавляет вес, так что учтем это end ]] end set_jump_speed(jump_speed) set_sprint_factor(sprint_koef) set_run_factor(run_coef) set_run_back_factor(run_back_coef) db.actor:set_actor_max_weight(max_weight) db.actor:set_actor_max_walk_weight(max_walk_weight) end end Ну и связанные с ним xml файлы: Скрытый текст <?xml version="1.0" encoding="windows-1251" ?> <wnd> <ui_ogse_exo_control x="0" y="0" width="32" height="32" hint="exo_control_btn_hint"> <texture_d>ui_ogse_exo_detach_btn_d</texture_d> <texture_e>ui_ogse_exo_detach_btn_e</texture_e> <texture_t>ui_ogse_exo_detach_btn_t</texture_t> <texture_h>ui_ogse_exo_detach_btn_h</texture_h> <text align="c" font="letterica16" r="227" g="199" b="178"></text> </ui_ogse_exo_control> </wnd> Скрытый текст <ui_texture> <file_name>ui\ui_ogse_exo_control</file_name> <texture id="ui_ogse_exo_detach_btn_e" x="0" y="1" width="32" height="28" /> <texture id="ui_ogse_exo_detach_btn_h" x="32" y="1" width="32" height="28" /> <texture id="ui_ogse_exo_detach_btn_t" x="64" y="1" width="32" height="28" /> <texture id="ui_ogse_exo_detach_btn_d" x="96" y="1" width="32" height="28" /> </ui_texture> Текстуры я таки не смог найти. Как я понимаю, здесь все работает так: при нажатии функции "использовать" экзоскелета, он вместе с надетым костюмом заменяется на другой предмет - якобы мы "прикрепляем" этот каркас к костюму и отдельной иконочкой мы его демонтируем. Очень хочется перенести эту фичу в CoC, ну или хотя бы для начала в оригинальный ТЧ, вот только нужно знать, что кроме скрипта еще нужно для работы этой фичи (движковые ли правки?). Не могли бы вы мне помочь в этом деле? Ссылка на комментарий
Stalex 4 Опубликовано 10 Декабря 2018 Поделиться Опубликовано 10 Декабря 2018 Привет всем! Решил стащить из СоС мод на многоразовое использование предметов! Нашел этот скрипт bind_item. Скрытый текст function bind(obj) obj:bind_object(item_binder(obj)) end -------------------------------------------------------------------------------- -- Class "item_binder" -------------------------------------------------------------------------------- class "item_binder" (object_binder) -- Class constructor function item_binder:__init(obj) super(obj) end -- Class update function item_binder:update(delta) object_binder.update(self, delta) end -- Reload object function item_binder:reload(section) object_binder.reload(self, section) end -- Reinitialize object function item_binder:reinit() object_binder.reinit(self) end -- Net spawn function item_binder:net_spawn(sobject) if not(object_binder.net_spawn(self, sobject)) then return false end if (sobject.remaining_uses and sobject.remaining_uses > 0 and sobject.remaining_uses <= self.object:get_max_uses()) then --printf("set remaining_uses on net spawn %s",sobject.remaining_uses) self.object:set_remaining_uses(tonumber(sobject.remaining_uses) or 1) end return true end -- Net destroy function item_binder:net_destroy() object_binder.net_destroy(self) end -- Save function item_binder:save(stpk) object_binder.save(self, stpk) end -- Load function item_binder:load(stpk) object_binder.load(self, stpk) end Подскажите то ли это? И куда ее пихать? Ставил в bind_stalker ловил вылет при юзании Скрытый текст Expression : !m_error_code Function : raii_guard::~raii_guard File : ..\xrServerEntities\script_storage.cpp Line : 748 Description : ...ker Cia I?eiyoe\gamedata\scripts\bind_stalker.script:194: attempt to index global 'bind_item' (a nil value) Ссылка на комментарий
IhaveBadFeel'inAboutThis 1 Опубликовано 11 Декабря 2018 Поделиться Опубликовано 11 Декабря 2018 Добрый вечер,видел много решений,связанных с этим скриптом но не нашёл решения,связанного конкретно со строчкой данного случая: З.ы.я тут новичок,если что-то выкладываю не так,не туда или не то,то поправьте,буду благодарен Скрытый текст Expression : fatal error Function : CScriptEngine::lua_error File : E:\stalker\sources\trunk\xr_3da\xrGame\script_engine.cpp Line : 73 Description : <no expression> Arguments : LUA error: ...od 1.3 patch i\gamedata\scripts\death_manager.script:144: attempt to index field '?' (a nil value) пы.сы. использую такой дед менеджер: Скрытый текст --' Ключем является группировка персонажа. Значением является таблица, содержашая имена секций предметов. local item_by_community = {} --' Зависимости в спауне предметов. Предмет спауниться только если есть хотя бы один из зависимых. local item_dependence = {} --' Множители и минимаксы для выпадения вещей в зависимости от уровня local mul_by_level = {} local count_by_level = {} --' Предметы, которые нельзя удалять (квестовые например) local always_keep_item = {} --' Предметы, относящиеся к патронам. Их надо спаунить другим методом. local ammo_sections = {} local death_ini = ini_file("misc\\death_generic.ltx") function init_drop_settings() local community_list = {"trader", "stalker", "dolg", "freedom", "bandit", "military", "zombied", "ecolog", "killer", "monolith", "arena_enemy", "actor_dolg", "stranger", "csky", "dark_stalker", "dark_stalker_enemy"} for k,v in pairs(community_list) do --' Необходимо заполнить таблицу item_by_community[v] = {} if death_ini:section_exist(v) then local n = death_ini:line_count(v) local id, value = "", "" for i=0,n-1 do result, id, value = death_ini:r_line(v,i,"","") item_by_community[v][id] = 100*tonumber(value) end end end --' Заполняем таблицу зависимостей local n = death_ini:line_count("item_dependence") local id, value = "", "" for i=0,n-1 do result, id, value = death_ini:r_line("item_dependence",i,"","") item_dependence[id] = {} local vvv = parse_names(value) for k,v in pairs(vvv) do item_dependence[id][v] = true end end --' Множители и минимаксы для выпадения вещей в зависимости от уровня local level_name = level.name() if not death_ini:section_exist(level_name) then level_name = "default" end local n = death_ini:line_count(level_name) local id, value = "", "" for i=0,n-1 do result, id, value = death_ini:r_line(level_name,i,"","") mul_by_level[id] = tonumber(value) end local item_count_section = "item_count_" .. level.get_game_difficulty() local n = death_ini:line_count(item_count_section) for i=0,n-1 do result, id, value = death_ini:r_line(item_count_section,i,"","") --' Нужно распарсить value в два значения local t = parse_nums(value) if t[1] == nil then abort("Error on [death_ini] declaration. Section [%s], line [%s]", item_count_section, tostring(id)) end local min = t[1] local max = t[2] if max == nil then max = min end if mul_by_level[id] == nil then mul_by_level[id] = 0 end min = tonumber(min) * mul_by_level[id] max = tonumber(max) * mul_by_level[id] count_by_level[id] = {min = min, max = max} end --' Предметы, которые нельзя удалять (квестовые например) local n = death_ini:line_count("keep_items") for i=0,n-1 do result, id, value = death_ini:r_line("keep_items",i,"","") if value == "true" then always_keep_item[id] = true end end --' Предметы, относящиеся к патронам. Их надо спаунить другим методом. ammo_sections = {} local n = death_ini:line_count("ammo_sections") local id, value = "", "" for i=0,n-1 do result, id, value = death_ini:r_line("ammo_sections",i,"","") ammo_sections[id] = true end end class "drop_manager" function drop_manager:__init(npc) self.npc = npc end function drop_manager:create_release_item() local otf local sect --' Спрашиваем у серверного объекта генерились ли предметы local se_obj = alife():object(self.npc:id()) if se_obj.death_droped == true then return end se_obj.death_droped = true --' Запускаем итератор на удаление предметов self.npc:iterate_inventory(keep_item, self.npc) --' Проверка на отсутствие спауна лута local ini = self.npc:spawn_ini() if ini and ini:section_exist("dont_spawn_loot") then return end --' Доспавниваем необходимое количество итемов: --' Необходимо составить список объектов которые могут быть заспавнены для персонажа local spawn_items = item_by_community[self.npc:character_community()] for k,v in pairs(spawn_items) do --' По каждому объекту необходимо получить зависимости if check_item_dependence(self.npc, k) == true then --' По каждому объекту необходимо получить количество local number = math.ceil(math.random(count_by_level[k].min, count_by_level[k].max)) --' Необходимо заспавнить нужное количество. if not string.find(self.npc:section(),"arena") and not string.find(self.npc:section(),"aem") and self.npc:character_community()~="arena_enemy" then create_items(self.npc, k, number, v) end end end if string.find(self.npc:name(),"ecolog_wound_bunker") then db.actor:give_info_portion("ucen_talk_est") end if self.npc:character_community()=="stalker" then if self.npc:character_rank()>=0 and self.npc:character_rank()<300 then sect = "novice_outfit" end if self.npc:character_rank()>=300 and self.npc:character_rank()<600 then sect = "stalker_outfit" end if self.npc:character_rank()>=600 and self.npc:character_rank()<900 then sect = "scientific_outfit" end if self.npc:character_rank()>=900 then sect = "exo_outfit" end end if self.npc:character_community()=="bandit" then if self.npc:character_rank()>=0 and self.npc:character_rank()<600 then sect = "bandit_outfit" end if self.npc:character_rank()>=600 and self.npc:character_rank()<900 then sect = "bandit_veteran_outfit" end if self.npc:character_rank()>=900 then sect = "bandit_master_outfit" end end if self.npc:character_community()=="military" then if self.npc:character_rank()>=0 and self.npc:character_rank()<600 then sect = "soldier_outfit" end if self.npc:character_rank()>=600 and self.npc:character_rank()<900 then sect = "specops_outfit" end if self.npc:character_rank()>=900 then sect = "military_outfit" end end if self.npc:character_community()=="killer" then if self.npc:character_rank()>=0 and self.npc:character_rank()<600 then sect = "killer_outfit" end if self.npc:character_rank()>=600 and self.npc:character_rank()<900 then sect = "merc_scientific_outfit" end if self.npc:character_rank()>=900 then sect = "killer_blue_exoskeleton" end end if self.npc:character_community()=="dolg" then if self.npc:character_rank()>=0 and self.npc:character_rank()<300 then sect = "dolg_outfit" end if self.npc:character_rank()>=300 and self.npc:character_rank()<600 then sect = "dolg_heavy_outfit" end if self.npc:character_rank()>=600 and self.npc:character_rank()<900 then sect = "dolg_scientific_outfit" end if self.npc:character_rank()>=900 then sect = "dolg_black_exoskeleton" end end if self.npc:character_community()=="freedom" then if self.npc:character_rank()>=0 and self.npc:character_rank()<300 then sect = "svoboda_light_outfit" end if self.npc:character_rank()>=300 and self.npc:character_rank()<600 then sect = "svoboda_heavy_outfit" end if self.npc:character_rank()>=600 and self.npc:character_rank()<900 then sect = "freedom_scientific_outfit" end if self.npc:character_rank()>=900 then sect = "svoboda_exoskeleton" end end if self.npc:character_community()=="monolith" then if self.npc:character_rank()>=0 and self.npc:character_rank()<600 then sect = "monolit_outfit" end if self.npc:character_rank()>=600 and self.npc:character_rank()<900 then sect = "monolit_scientific_outfit" end if self.npc:character_rank()>=900 then sect = "monolit_exoskeleton" end end if self.npc:character_community()=="csky" then if self.npc:character_rank()>=0 and self.npc:character_rank()<900 then sect = "cs_light_outfit" end if self.npc:character_rank()>=900 then sect = "cs_heavy_outfit" end end if self.npc:character_community()=="ecolog" then if self.npc:character_rank()>=0 and self.npc:character_rank()<900 then sect = "ecolog_outfit" end if self.npc:character_rank()>=900 then sect = "protection_outfit" end end if sect~=nil and not string.find(self.npc:section(),"arena") and not string.find(self.npc:section(),"aem") and self.npc:character_community()~="arena_enemy" and self.npc:name()~="esc_novice_attacker1" and self.npc:name()~="esc_blokpost_commander" and self.npc:name()~="agr_ratcatcher" and self.npc:name()~="val_lager_bandits_borov" and not string.find(self.npc:name(),"gar_dm_bandit") and self.npc:name()~="gar_wounded_bandit" and self.npc:name()~="bar_dolg_leader" and self.npc:name()~="bar_dolg_petrenko" and self.npc:name()~="mil_freedom_member0012" and self.npc:name()~="mil_freedom_member0018" and self.npc:name()~="mil_stalker0012" and self.npc:name()~="mil_stalker0023" and self.npc:name()~="mil_ara" and self.npc:name()~="mil_blockpost_freedomstalker001" and self.npc:name()~="bar_ecolog_professor" and self.npc:name()~="yan_scientist_help" and self.npc:name()~="yan_specnaz_dead" and self.npc:name()~="x16_stalker_ghost" and self.npc:name()~="yantar_semenov" then otf = create_items(self.npc, sect, 1, 30) if otf~= nil then amk.start_timer("otf",1,otf.id) end end end --' Функция вызывается для каждого предмета, если вернет false то предмет удалится. function keep_item(npc, item) if item==nil or alife():object(item:id())==nil then return end local section = item:section() if section == "bolt" then return true end if always_keep_item[section] == true then return true end local item_id = item:id() local item_in_slot = npc:item_in_slot(1) if item_in_slot ~= nil and item_in_slot:id() == item_id then item:unload_magazine() --' Тут надо уменьшить кондишн оружия item:set_condition((math.random(15)+25)*item:condition()/100) return true end item_in_slot = npc:item_in_slot(2) if item_in_slot ~= nil and item_in_slot:id() == item_id then item:unload_magazine() --' Тут надо уменьшить кондишн оружия item:set_condition((math.random(15)+25)*item:condition()/100) return true end local obj = item and item:id()and alife():object(item:id()) if obj then alife():release( obj, true ) end end function set_weapon_drop_condition(item) local condition = (math.random(15)+25)/100 --printf("condition [%s]", tostring(condition)) item:set_condition(condition) end --' Функция спавнит необходимое число предметов function create_items(npc, section, number, rnd) --' printf("create %s of %s", tostring(number), tostring(section)) if ammo_sections[section] == true then if number > 0 then se_respawn.create_ammo(section, npc:position(), npc:level_vertex_id(), npc:game_vertex_id(), npc:id(), number) end else for i=1,number do --' Проверяем вероятность появить каждый объект в отдельности if math.random(100) <= rnd then return alife():create(section, npc:position(), npc:level_vertex_id(), npc:game_vertex_id(), npc:id()) end end end end --' Функция проверяет есть ли хоть один из зависимых объектов у персонажа function check_item_dependence(npc, section) if item_dependence[section] == nil then return true end local d_flag = true for k,v in pairs(item_dependence[section]) do local obj = npc:object(k) if obj ~= nil and npc:marked_dropped(obj) ~= true then return true end d_flag = false end return d_flag end Выложу файлы инклюдов в misc,связанных с этим скриптом: Скрытый текст #include "death_items_by_communities.ltx" #include "death_items_by_levels.ltx" #include "death_items_count.ltx" [item_dependence] ammo_9x18_fmj = wpn_pm, wpn_pb, wpn_fort, wpn_fort_m1, wpn_walther_m1, wpn_mp5_m1, wpn_mp7a3, wpn_ots33, wpn_bizon ammo_9x18_pmm = wpn_pm, wpn_pb, wpn_fort, wpn_fort_m1, wpn_walther_m1, wpn_mp5_m1, wpn_mp7a3, wpn_ots33, wpn_bizon ammo_9x19_pbp = wpn_hpsa, wpn_beretta, wpn_walther, wpn_mp5, wpn_walther_coll, wpn_beretta_m1, wpn_mp5_m2, wpn_smg_tmp, wpn_tec9 ammo_9x19_fmj = wpn_hpsa, wpn_beretta, wpn_walther, wpn_mp5, wpn_walther_coll, wpn_beretta_m1, wpn_mp5_m2, wpn_smg_tmp, wpn_tec9 ammo_11.43x23_hydro = wpn_sig220, wpn_colt1911, wpn_usp, wpn_desert_eagle, wpn_deserteagle_coll, wpn_colt_m1 ammo_11.43x23_fmj = wpn_sig220, wpn_colt1911, wpn_usp, wpn_desert_eagle, wpn_deserteagle_coll, wpn_colt_m1 ammo_12x70_buck = wpn_bm16, wpn_toz34, wpn_wincheaster1300, wpn_spas12, wpn_spas12_m1, wpn_winchester_m1, wpn_saiga12c, wpn_benelli_short, wpn_bm16_full, wpn_toz34_short ammo_12x76_dart = wpn_bm16, wpn_toz34, wpn_wincheaster1300, wpn_spas12, wpn_spas12_m1, wpn_winchester_m1, wpn_saiga12c, wpn_benelli_short, wpn_bm16_full, wpn_toz34_short ammo_12x76_zhekan = wpn_bm16, wpn_toz34, wpn_wincheaster1300, wpn_spas12, wpn_spas12_m1, wpn_winchester_m1, wpn_saiga12c, wpn_benelli_short, wpn_bm16_full, wpn_toz34_short ammo_5.45x39_ap = wpn_ak74u, wpn_ak74, wpn_abakan, wpn_abakan_m1, wpn_aksu_anom, wpn_ak74_m1, wpn_abakan_m2, wpn_groza_m1, wpn_ak74u_m1, wpn_rpk74_sk1 ammo_5.45x39_fmj = wpn_ak74u, wpn_ak74, wpn_abakan, wpn_abakan_m1, wpn_aksu_anom, wpn_ak74_m1, wpn_abakan_m2, wpn_groza_m1, wpn_ak74u_m1, wpn_kriss_super_v, wpn_rpk74_sk1 ammo_9x39_sp5 = wpn_groza, wpn_val, wpn_vintorez, wpn_groza_coll, wpn_vintorez_coll, wpn_val_m1, wpn_eagle_m1 ammo_9x39_ap = wpn_groza, wpn_val, wpn_vintorez, wpn_groza_coll, wpn_vintorez_coll, wpn_val_m1, wpn_eagle_m1 ammo_9x39_pab9 = wpn_groza, wpn_val, wpn_vintorez, wpn_groza_coll, wpn_vintorez_coll, wpn_val_m1, wpn_eagle_m1 ammo_5.56x45_ss190 = wpn_l85, wpn_lr300, wpn_sig550, wpn_fn2000, wpn_g36, wpn_l85_m1, wpn_lr300_m1, wpn_g36_m1, wpn_sig_m2, wpn_l85_m2, wpn_sig_m1, wpn_sg550sr_sk1, wpn_sg552_sk1, wpn_groza ammo_5.56x45_ap = wpn_l85, wpn_lr300, wpn_sig550, wpn_fn2000, wpn_g36, wpn_l85_m1, wpn_lr300_m1, wpn_g36_m1, wpn_sig_m2, wpn_l85_m2, wpn_sig_m1, wpn_sg550sr_sk1, wpn_sg552_sk1, wpn_groza ammo_7.62x39_fmj = wpn_ak74_m1, wpn_groza_m1, wpn_ak47_sk1, wpn_ak47_sk1_m1 ammo_7.62x39_ap = wpn_ak74_m1, wpn_groza_m1, wpn_ak47_sk1, wpn_ak47_sk1_m1 ammo_7.62x54_7h14 = wpn_svu, wpn_svd, wpn_svd_m1, wpn_svu_m1, wpn_eagle_m1 ammo_7.62x54_7h1 = wpn_svu, wpn_svd, wpn_svd_m1, wpn_svu_m1, wpn_eagle_m1 ammo_7.62x54_ap = wpn_svu, wpn_svd, wpn_svd_m1, wpn_svu_m1, wpn_eagle_m1 ammo_7.62x54r = wpn_pkm ammo_7.62x54rm = wpn_pkm ammo_og-7b = wpn_rpg7 ammo_gauss = wpn_gauss ammo_flame = wpn_flame ammo_vog-25p = wpn_groza, wpn_groza_m1, wpn_rg-6, wpn_abakan_m2, wpn_a91m ammo_vog-25 = wpn_groza, wpn_groza_m1, wpn_rg-6, wpn_abakan_m2, wpn_a91m ammo_m209 = wpn_fn2000, wpn_rg6_m1 ammo_m134 = wpn_m-134 [keep_items] af_blood_tutorial = true esc_wounded_flash = true quest_case_02 = true dar_document4 = true kruglov_flash = true lab_x16_documents = true good_psy_helmet = true bad_psy_helmet = true decoder = true dynamite = true quest_case_01 = true hunters_toz = true bar_ecolog_flash = true bar_tiran_pda = true bar_lucky_pda = true outfit_stalker_m1 = true wpn_fort_m1 = true outfit_specnaz_m1 = true wpn_lr300_m1 = true crazy_flash = true ;bread_cpp5 = true wpn_abakan_m2 = true outfit_bandit_m1 = true borov_flash = true val_key_to_underground = true val_sklad_door = true voen_document = true voen_pda = true bandranen_pda = true fraer_pda = true pda_priz = true siv_pda = true pavlik_pda = true ara_flash = true car_borov_key = true secret_card = true ucen_flash = true ucen_flash2 = true cit_killers_key = true cit_bandits_key = true ecolog_psevdo_flash = true val_zapiska_door = true dolg_arhive_documents = true bar_decoding_documents = true mil_svoboda_leader_pda = true dolg_pda = true svoboda_pda = true agr_deserter_pda = true quest_case_03 = true bar_sniper_pda = true bar_key_to_val_underground = true pri_lom_ak74 = true rad_jaw_zam_pda = true detector_advances_tutorial = true wpn_deserteagle_coll = true wpn_vintorez_coll = true outfit_monolith_m1 = true outfit_killer_m2 = true cit_doctors_key = true cit_leader_killer_pda = true cit_killers_documents = true cit_deadcity_maps = true cit_vp_pda = true war_final_door_key1 = true war_final_door_key2 = true war_final_door_key3 = true war_final_door_notebook = true fake_bolt = true [ammo_sections] ammo_9x18_fmj ammo_9x18_pmm ammo_9x19_pbp ammo_9x19_fmj ammo_11.43x23_hydro ammo_11.43x23_fmj ammo_12x70_buck ammo_12x76_dart ammo_12x76_zhekan ammo_5.45x39_ap ammo_5.45x39_fmj ammo_9x39_sp5 ammo_9x39_ap ammo_9x39_pab9 ammo_5.56x45_ss190 ammo_5.56x45_ap ammo_7.62x54_7h14 ammo_7.62x54_7h1 ammo_7.62x54_ap ammo_7.62x39_fmj ammo_7.62x39_ap ammo_7.62x54r ammo_7.62x54rm ammo_357_hp_mag ammo_flame ammo_gauss ammo_m134 Скрытый текст ; Модифицированно для малого колличества предметов [stalker] ;Указывается вероятность заспаунить или нет ;Артефакты af_medusa = 0.015 af_cristall_flower = 0.01 af_night_star = 0.005 af_vyvert = 0.015 af_gravi = 0.01 af_gold_fish = 0.005 af_blood = 0.015 af_mincer_meat = 0.01 af_soul = 0.005 af_electra_sparkler = 0.015 af_electra_flash = 0.01 af_electra_moonlight = 0.005 af_rusty_thorn = 0.015 af_rusty_kristall = 0.01 af_rusty_sea-urchin = 0.005 af_ameba_slime = 0.015 af_ameba_slug = 0.01 af_ameba_mica = 0.005 af_drops = 0.015 af_fireball = 0.01 af_cristall = 0.005 af_dummy_glassbeads = 0.005 af_dummy_pellicle = 0.005 af_dummy_battery = 0.005 af_dummy_dummy = 0.005 af_dummy_spring = 0.005 af_fuzz_kolobok = 0.005 ;Аммуниция ammo_9x18_fmj = 0.9 ammo_9x18_pmm = 0.9 ammo_9x19_pbp = 0.9 ammo_9x19_fmj = 0.9 ammo_11.43x23_hydro = 0.9 ammo_11.43x23_fmj = 0.9 ammo_12x70_buck = 0.9 ammo_12x76_dart = 0.9 ammo_12x76_zhekan = 0.9 ammo_5.45x39_ap = 0.9 ammo_5.45x39_fmj = 0.9 ammo_9x39_sp5 = 0.9 ammo_9x39_ap = 0.9 ammo_9x39_pab9 = 0.9 ammo_5.56x45_ss190 = 0.9 ammo_5.56x45_ap = 0.9 ammo_7.62x54_7h14 = 0.9 ammo_7.62x54_7h1 = 0.9 ammo_7.62x54_ap = 0.9 ammo_gauss = 0.3 ammo_og-7b = 0.9 ammo_vog-25p = 0.1 ammo_vog-25 = 0.1 grenade_f1 = 0.1 grenade_rgd5 = 0.1 ammo_m209 = 0.1 ;Медикаменты bandage = 0.15 medkit = 0.05 medkit_army = 0 medkit_scientic = 0.05 antirad = 0.05 ;Еда bread = 0.05 kolbasa = 0.05 conserva = 0.14 vodka = 0.1 energy_drink = 0.1 vodka_voda = 0.04 bread_cpp5 = 0.1 vakcina_vint = 0.01 vakcina_amph = 0.01 pivo = 0.01 antipoxmelin = 0.1 sub_kur = 0.1 sub_miaso = 0.1 sub_ovoshi = 0.1 tushenka = 0.1 conserva_oreh = 0.1 sigaret = 0.2 antirad_dop = 0.02 bread_good = 0 repair_kit = 0.03 [bandit]:stalker [killer]:stalker ;Еда bread = 0.09 kolbasa = 0.07 vodka = 0.1 energy_drink = 0.12 vakcina_amph = 0.05 vakcina_plot = 0.02 vodka_voda = 0.4 chocolad = 0.1 sub_miaso = 0.1 sub_ovoshi = 0.1 galeti = 0.1 tushenka = 0.1 sgysh = 0.02 conserva_oreh = 0.1 sigaret = 0.27 antirad_dop = 0.02 bread_good = 0.1 repair_kit = 0.03 [ecolog]:stalker ;Еда bread = 0.04 kolbasa = 0.02 conserva = 0.07 vodka = 0.03 energy_drink = 0.07 bread_cpp5 = 0.1 vodka_voda = 0.1 vakcina_plot = 0.07 chocolad = 0.2 antipoxmelin = 0.07 sub_kur = 0.1 sub_miaso = 0.1 sub_ovoshi = 0.1 irpb = 0.1 tushenka = 0.1 sgysh = 0.02 conserva_oreh = 0.1 antirad_dop = 0 bread_good = 0.07 vakcina_vint = 0 vakcina_amph = 0 ;Медикаменты medkit = 0 medkit_scientic = 0.05 antirad = 0.12 dix = 0.1 [military]:stalker af_medusa = 0.02 af_cristall_flower = 0 af_night_star = 0 af_vyvert = 0 af_gravi = 0 af_gold_fish = 0 af_blood = 0 af_mincer_meat = 0 af_soul = 0 af_electra_sparkler = 0 af_electra_flash = 0 af_electra_moonlight = 0 af_rusty_thorn = 0 af_rusty_kristall = 0 af_rusty_sea-urchin = 0 af_ameba_slime = 0 af_ameba_slug = 0 af_ameba_mica = 0 af_drops = 0 af_fireball = 0 af_cristall = 0 af_dummy_glassbeads = 0 af_dummy_pellicle = 0 af_dummy_battery = 0 af_dummy_dummy = 0 af_dummy_spring = 0 af_fuzz_kolobok = 0 ;Медикаменты bandage = 0.15 antirad = 0.12 medkit = 0 medkit_scientic = 0 medkit_army = 0.05 ;Еда bread = 0.05 kolbasa = 0.05 conserva = 0.12 vodka = 0.3 energy_drink = 0.2 bread_cpp5 = 0.1 antipoxmelin = 0.3 sub_kur = 0.1 sub_miaso = 0.1 galeti = 0.5 tushenka = 0.5 sgysh = 0.02 conserva_oreh = 0.2 sigaret = 0.7 antirad_dop = 0.01 bread_good = 0.01 vakcina_vint = 0 vakcina_amph = 0 repair_kit = 0.03 [dolg]:stalker ;Медикаменты medkit_army = 0.05 medkit_scientic = 0.05 vodka = 0 sub_kur = 0.1 sub_miaso = 0.1 sub_ovoshi = 0.08 galeti = 0.2 irpb = 0.1 tushenka = 0.3 dix = 0.03 conserva_oreh = 0.1 sigaret = 0.5 antirad_dop = 0.01 bread_good = 0.02 vakcina_vint = 0 vakcina_amph = 0 repair_kit = 0.03 bread_cpp5 = 0.2 vodka_voda = 0.4 [freedom]:stalker ;Еда vodka = 0.5 vodka_voda = 0.7 pivo = 0.7 chocolad = 0.07 coctail = 0.2 antipoxmelin = 0.1 sub_kur = 0.1 sub_miaso = 0.1 sub_ovoshi = 0.1 tushenka = 0.1 conserva_oreh = 0.1 sigaret = 0.8 antirad_dop = 0.04 bread_good = 0.02 vakcina_vint = 0 vakcina_amph = 0 repair_kit = 0.03 [zombied]:stalker af_medusa = 0 af_cristall_flower = 0 af_night_star = 0 af_vyvert = 0 af_gravi = 0 af_gold_fish = 0 af_blood = 0 af_mincer_meat = 0 af_soul = 0 af_electra_sparkler = 0 af_electra_flash = 0 af_electra_moonlight = 0 af_rusty_thorn = 0 af_rusty_kristall = 0 af_rusty_sea-urchin = 0 af_ameba_slime = 0 af_ameba_slug = 0 af_ameba_mica = 0 af_drops = 0 af_fireball = 0 af_cristall = 0 af_dummy_glassbeads = 0 af_dummy_pellicle = 0 af_dummy_battery = 0 af_dummy_dummy = 0 af_dummy_spring = 0 af_fuzz_kolobok = 0 ;Еда bread = 0 kolbasa = 0 conserva = 0 vodka = 0 energy_drink = 0 vodka_voda = 0 coctail = 0 antipoxmelin = 0 sub_kur = 0 sub_miaso = 0 sub_ovoshi = 0 irpb = 0 tushenka = 0 conserva_oreh = 0 sigaret = 0 vakcina_plot = 0.02 irpb = 0.05 antirad_dop = 0.02 bread_good = 0 bread_cpp5 = 0 pivo = 0 vakcina_vint = 0 vakcina_amph = 0 repair_kit = 0 [monolith]:stalker ;Артефакты af_medusa = 0 af_cristall_flower = 0 af_night_star = 0 af_vyvert = 0 af_gravi = 0 af_gold_fish = 0 af_blood = 0 af_mincer_meat = 0 af_soul = 0 af_electra_sparkler = 0 af_electra_flash = 0 af_electra_moonlight = 0 af_rusty_thorn = 0 af_rusty_kristall = 0 af_rusty_sea-urchin = 0 af_ameba_slime = 0 af_ameba_slug = 0 af_ameba_mica = 0 af_drops = 0 af_fireball = 0 af_cristall = 0 af_dummy_glassbeads = 0 af_dummy_pellicle = 0 af_dummy_battery = 0 af_dummy_dummy = 0 af_dummy_spring = 0 af_fuzz_kolobok = 0 ;Еда vodka = 0 bread_cpp5 = 0.4 vodka_voda = 0.4 vakcina_plot = 0.02 sub_kur = 0.1 sub_miaso = 0.1 sub_ovoshi = 0.1 galeti = 0.1 irpb = 0.1 tushenka = 0.1 antirad_dop = 0.02 bread_good = 0.02 vakcina_vint = 0 vakcina_amph = 0 repair_kit = 0.03 [arena_enemy] [actor_dolg] ;Медикаменты medkit_army = 0.05 medkit_scientic = 0.05 vodka = 0 [actor_freedom] [dark_stalker]:stalker ;Еда bread = 0.2 kolbasa = 0.7 conserva = 0.3 vodka = 0.2 energy_drink = 0.8 chocolad = 0.01 medkit = 0.7 medkit_scientic = 0.2 antirad = 0.3 vodka_voda = 0.5 vakcina_vint = 0.9 vakcina_amph = 0.9 pivo = 0.2 sub_kur = 0.1 sub_miaso = 0.1 tushenka = 0.1 irpb = 0.2 conserva_oreh = 0.1 sigaret = 0.5 antirad_dop = 0.02 bread_good = 0.02 bread_cpp5 = 0 repair_kit = 0 [dark_stalker_enemy]:stalker ;Еда bread = 0.2 kolbasa = 0.7 conserva = 0.3 vodka = 0.2 energy_drink = 0.8 medkit = 0.7 medkit_scientic = 0.2 antirad = 0.3 vodka_voda = 0.5 vakcina_vint = 0.7 vakcina_amph = 0.7 pivo = 0.2 sub_kur = 0.1 sub_miaso = 0.1 irpb = 0.1 tushenka = 0.1 conserva_oreh = 0.1 sigaret = 0.5 antirad_dop = 0.02 bread_good = 0.02 bread_cpp5 = 0 repair_kit = 0 [provodniki]: stalker bread = 0.2 kolbasa = 0 vodka = 0 energy_drink = 0.3 conserva = 0.9 vodka_voda = 0.5 sub_miaso = 0.1 sub_ovoshi = 0.1 tushenka = 0.1 sgysh = 0.02 conserva_oreh = 0.1 sigaret = 0.1 repair_kit = 0.03 [maraderi]: stalker ;Артефакты af_medusa = 0.015 af_cristall_flower = 0.01 af_night_star = 0.005 af_vyvert = 0.015 af_gravi = 0.01 af_gold_fish = 0.005 af_blood = 0.015 af_mincer_meat = 0.01 af_soul = 0.005 af_electra_sparkler = 0.015 af_electra_flash = 0.01 af_electra_moonlight = 0.005 af_rusty_thorn = 0.015 af_rusty_kristall = 0.01 af_rusty_sea-urchin = 0.005 af_ameba_slime = 0.015 af_ameba_slug = 0.01 af_ameba_mica = 0.005 af_drops = 0.015 af_fireball = 0.01 af_cristall = 0.005 af_dummy_glassbeads = 0.005 af_dummy_pellicle = 0.005 af_dummy_battery = 0.005 af_dummy_dummy = 0.005 af_dummy_spring = 0.005 af_fuzz_kolobok = 0.005 ;Медикаменты bandage = 0.15 medkit = 0.05 medkit_army = 0 medkit_scientic = 0.05 vakcina_vint = 0.7 vodka_voda = 0.3 pivo = 0.2 sub_kur = 0.1 sub_miaso = 0.1 tushenka = 0.1 sigaret = 0.5 antirad_dop = 0.02 bread_good = 0.02 [hunters]: stalker ;Медикаменты bandage = 0.15 medkit = 0.05 medkit_army = 0 medkit_scientic = 0.05 antirad = 0.05 ;Детали монстров mutant_flesh_eye = 0.15 mutant_dog_tail = 0.15 mutant_psevdodog_tail = 0.15 mutant_krovosos_jaw = 0.15 ;Еда bread = 0.05 kolbasa = 0.05 conserva = 0.1 vodka = 0.1 energy_drink = 0.1 vodka_voda = 0.8 coctail =0.02 antipoxmelin = 0.1 sub_kur = 0.1 sub_miaso = 0.1 sub_ovoshi = 0.1 irpb = 0.1 tushenka = 0.1 conserva_oreh = 0.1 sigaret = 0.7 antirad_dop = 0.02 bread_good = 0.05 Скрытый текст ; Модифицированно для малого колличества предметов [default] ;Артефакты af_medusa = 1 af_cristall_flower = 0 af_night_star = 0 af_vyvert = 1 af_gravi = 1 af_gold_fish = 0 af_blood = 1 af_mincer_meat = 1 af_soul = 0 af_electra_sparkler = 0 af_electra_flash = 0 af_electra_moonlight = 0 af_rusty_thorn = 0 af_rusty_kristall = 0 af_rusty_sea-urchin = 0 af_ameba_slime = 0 af_ameba_slug = 1 af_ameba_mica = 0 af_drops = 0 af_fireball = 0 af_cristall = 0 af_dummy_glassbeads = 0 af_dummy_pellicle = 0 af_dummy_battery = 0 af_dummy_dummy = 0 af_dummy_spring = 0 af_fuzz_kolobok = 0 ;Аммуниция ammo_9x18_fmj = 1 ammo_9x18_pmm = 0 ammo_9x19_pbp = 0 ammo_9x19_fmj = 1 ammo_11.43x23_hydro = 0 ammo_11.43x23_fmj = 1 ammo_12x70_buck = 1 ammo_12x76_dart = 0 ammo_12x76_zhekan = 0 ammo_5.45x39_ap = 0 ammo_5.45x39_fmj = 1 ammo_9x39_sp5 = 0 ammo_9x39_ap = 0 ammo_9x39_pab9 = 1 ammo_5.56x45_ss190 = 1 ammo_5.56x45_ap = 0 ammo_7.62x54_7h14 = 0 ammo_7.62x54_7h1 = 1 ammo_7.62x54_ap = 0 ammo_og-7b = 1 ammo_vog-25p = 1 ammo_vog-25 = 1 grenade_f1 = 1 grenade_rgd5 = 1 ammo_m209 = 1 ammo_gauss = 1 ;Медикаменты bandage = 1 medkit = 1 medkit_scientic = 1 medkit_army = 1 antirad = 1 vakcina_plot = 1 dix = 1 ;Детали монстров mutant_flesh_eye = 1 mutant_dog_tail = 1 mutant_psevdodog_tail = 1 mutant_krovosos_jaw = 1 ;Еда bread = 1 kolbasa = 1 conserva = 1 vodka = 1 energy_drink = 1 bread_cpp5 = 1 vodka_voda = 1 vakcina_vint = 1 vakcina_amph = 1 pivo = 1 chocolad = 1 coctail = 1 antipoxmelin = 1 sub_kur = 1 sub_miaso = 1 sub_ovoshi = 1 galeti = 1 irpb = 1 tushenka = 1 sgysh = 1 conserva_oreh = 1 sigaret = 1 antirad_dop = 1 bread_good = 1 repair_kit = 1 [l01_escape]:default ;Артефакты af_medusa = 0 af_cristall_flower = 0 af_night_star = 0 af_vyvert = 0 af_gravi = 0 af_gold_fish = 0 af_blood = 0 af_mincer_meat = 0 af_soul = 0 af_electra_sparkler = 0 af_electra_flash = 0 af_electra_moonlight = 0 af_rusty_thorn = 0 af_rusty_kristall = 0 af_rusty_sea-urchin = 0 af_ameba_slime = 0 af_ameba_slug = 0 af_ameba_mica = 0 af_drops = 0 af_fireball = 0 af_cristall = 0 af_dummy_glassbeads = 0 af_dummy_pellicle = 0 af_dummy_battery = 0 af_dummy_dummy = 0 af_dummy_spring = 0 af_fuzz_kolobok = 0 ;Аммуниция ammo_9x18_fmj = 1 ammo_9x18_pmm = 0 ammo_9x19_fmj = 1 ammo_9x19_pbp = 0 ammo_11.43x23_fmj = 0 ammo_11.43x23_hydro = 0 ammo_12x70_buck = 1 ammo_12x76_dart = 0 ammo_12x76_zhekan = 0 ammo_5.45x39_fmj = 1 ammo_5.45x39_ap = 0 ammo_9x39_sp5 = 0 ammo_9x39_ap = 0 ammo_9x39_pab9 = 0 ammo_5.56x45_ss190 = 0 ammo_5.56x45_ap = 0 ammo_7.62x54_7h1 = 0 ammo_7.62x54_ap = 0 ammo_7.62x54_7h14 = 0 ammo_og-7b = 0 ammo_vog-25 = 0 ammo_vog-25p = 0 grenade_f1 = 0 grenade_rgd5 = 1 ammo_m209 = 0 ammo_gauss = 0 ;Медикаменты medkit_scientic = 0 antirad = 0 [l02_garbage]:default ;Артефакты af_medusa = 1 af_cristall_flower = 0 af_night_star = 0 af_vyvert = 0 af_gravi = 0 af_gold_fish = 0 af_blood = 0 af_mincer_meat = 0 af_soul = 0 af_electra_sparkler = 0 af_electra_flash = 0 af_electra_moonlight = 0 af_rusty_thorn = 0 af_rusty_kristall = 0 af_rusty_sea-urchin = 0 af_ameba_slime = 0 af_ameba_slug = 0 af_ameba_mica = 0 af_drops = 0 af_fireball = 0 af_cristall = 0 af_dummy_glassbeads = 0 af_dummy_pellicle = 0 af_dummy_battery = 0 af_dummy_dummy = 0 af_dummy_spring = 0 af_fuzz_kolobok = 0 ;Аммуниция ammo_vog-25 = 0 ammo_vog-25p = 0 grenade_f1 = 0 grenade_rgd5 = 1 ammo_m209 = 0 ;Медикаменты medkit_scientic = 0 medkit_army = 1 [l03_agroprom]:default ;Артефакты af_medusa = 0 af_cristall_flower = 0 af_night_star = 0 af_vyvert = 0 af_gravi = 0 af_gold_fish = 0 af_blood = 0 af_mincer_meat = 0 af_soul = 0 af_electra_sparkler = 1 af_electra_flash = 0 af_electra_moonlight = 0 af_rusty_thorn = 0 af_rusty_kristall = 0 af_rusty_sea-urchin = 0 af_ameba_slime = 0 af_ameba_slug = 0 af_ameba_mica = 0 af_drops = 0 af_fireball = 0 af_cristall = 0 af_dummy_glassbeads = 0 af_dummy_pellicle = 0 af_dummy_battery = 0 af_dummy_dummy = 0 af_dummy_spring = 0 af_fuzz_kolobok = 0 ;Аммуниция ammo_vog-25 = 0 ammo_vog-25p = 0 grenade_f1 = 0 grenade_rgd5 = 1 ammo_m209 = 0 ;Медикаменты medkit_scientic = 0 [l03u_agr_underground]:default ;Артефакты af_medusa = 0 af_cristall_flower = 0 af_night_star = 0 af_vyvert = 0 af_gravi = 0 af_gold_fish = 0 af_blood = 1 af_mincer_meat = 0 af_soul = 0 af_electra_sparkler = 1 af_electra_flash = 0 af_electra_moonlight = 0 af_rusty_thorn = 1 af_rusty_kristall = 0 af_rusty_sea-urchin = 0 af_ameba_slime = 1 af_ameba_slug = 0 af_ameba_mica = 0 af_drops = 0 af_fireball = 0 af_cristall = 0 af_dummy_glassbeads = 0 af_dummy_pellicle = 0 af_dummy_battery = 0 af_dummy_dummy = 0 af_dummy_spring = 0 af_fuzz_kolobok = 0 ;Аммуниция ammo_vog-25 = 0 ammo_vog-25p = 0 grenade_f1 = 1 grenade_rgd5 = 1 ammo_m209 = 0 ;Медикаменты medkit_scientic = 1 [l04_darkvalley]:default ;Артефакты af_medusa = 0 af_cristall_flower = 1 af_night_star = 0 af_vyvert = 0 af_gravi = 0 af_gold_fish = 0 af_blood = 1 af_mincer_meat = 0 af_soul = 0 af_electra_sparkler = 0 af_electra_flash = 0 af_electra_moonlight = 0 af_rusty_thorn = 0 af_rusty_kristall = 0 af_rusty_sea-urchin = 0 af_ameba_slime = 0 af_ameba_slug = 0 af_ameba_mica = 0 af_drops = 0 af_fireball = 0 af_cristall = 0 af_dummy_glassbeads = 0 af_dummy_pellicle = 0 af_dummy_battery = 0 af_dummy_dummy = 0 af_dummy_spring = 0 af_fuzz_kolobok = 0 ;Аммуниция ammo_vog-25 = 0 ammo_vog-25p = 0 grenade_f1 = 0 grenade_rgd5 = 0 ammo_m209 = 1 ;Медикаменты medkit_scientic = 0 [l04u_labx18]:default ;Артефакты af_medusa = 0 af_cristall_flower = 0 af_night_star = 0 af_vyvert = 0 af_gravi = 0 af_gold_fish = 0 af_blood = 0 af_mincer_meat = 0 af_soul = 0 af_electra_sparkler = 0 af_electra_flash = 0 af_electra_moonlight = 0 af_rusty_thorn = 0 af_rusty_kristall = 0 af_rusty_sea-urchin = 0 af_ameba_slime = 0 af_ameba_slug = 0 af_ameba_mica = 0 af_drops = 0 af_fireball = 0 af_cristall = 0 af_dummy_glassbeads = 0 af_dummy_pellicle = 0 af_dummy_battery = 0 af_dummy_dummy = 0 af_dummy_spring = 0 af_fuzz_kolobok = 0 [l05_bar]:default ;Артефакты af_medusa = 0 af_cristall_flower = 0 af_night_star = 0 af_vyvert = 0 af_gravi = 0 af_gold_fish = 0 af_blood = 0 af_mincer_meat = 0 af_soul = 0 af_electra_sparkler = 0 af_electra_flash = 0 af_electra_moonlight = 0 af_rusty_thorn = 0 af_rusty_kristall = 0 af_rusty_sea-urchin = 0 af_ameba_slime = 0 af_ameba_slug = 0 af_ameba_mica = 0 af_drops = 0 af_fireball = 0 af_cristall = 0 af_dummy_glassbeads = 0 af_dummy_pellicle = 0 af_dummy_battery = 0 af_dummy_dummy = 0 af_dummy_spring = 0 af_fuzz_kolobok = 0 [l06_Rostok]:default ;Артефакты af_medusa = 0 af_cristall_flower = 0 af_night_star = 0 af_vyvert = 0 af_gravi = 1 af_gold_fish = 0 af_blood = 1 af_mincer_meat = 0 af_soul = 0 af_electra_sparkler = 0 af_electra_flash = 0 af_electra_moonlight = 0 af_rusty_thorn = 0 af_rusty_kristall = 0 af_rusty_sea-urchin = 0 af_ameba_slime = 0 af_ameba_slug = 0 af_ameba_mica = 0 af_drops = 1 af_fireball = 1 af_cristall = 0 af_dummy_glassbeads = 0 af_dummy_pellicle = 0 af_dummy_battery = 0 af_dummy_dummy = 0 af_dummy_spring = 0 af_fuzz_kolobok = 0 [l07_military]:default ;Артефакты af_medusa = 1 af_cristall_flower = 0 af_night_star = 0 af_vyvert = 1 af_gravi = 1 af_gold_fish = 0 af_blood = 1 af_mincer_meat = 1 af_soul = 0 af_electra_sparkler = 1 af_electra_flash = 0 af_electra_moonlight = 0 af_rusty_thorn = 1 af_rusty_kristall = 1 af_rusty_sea-urchin = 0 af_ameba_slime = 0 af_ameba_slug = 0 af_ameba_mica = 0 af_drops = 0 af_fireball = 0 af_cristall = 0 af_dummy_glassbeads = 0 af_dummy_pellicle = 0 af_dummy_battery = 0 af_dummy_dummy = 0 af_dummy_spring = 0 af_fuzz_kolobok = 0 [l08_yantar]:default ;Артефакты af_medusa = 0 af_cristall_flower = 0 af_night_star = 0 af_vyvert = 0 af_gravi = 0 af_gold_fish = 0 af_blood = 0 af_mincer_meat = 0 af_soul = 0 af_electra_sparkler = 1 af_electra_flash = 1 af_electra_moonlight = 0 af_rusty_thorn = 1 af_rusty_kristall = 1 af_rusty_sea-urchin = 0 af_ameba_slime = 1 af_ameba_slug = 1 af_ameba_mica = 0 af_drops = 0 af_fireball = 0 af_cristall = 0 af_dummy_glassbeads = 0 af_dummy_pellicle = 0 af_dummy_battery = 0 af_dummy_dummy = 0 af_dummy_spring = 0 af_fuzz_kolobok = 0 [l08u_brainlab]:default ;Артефакты af_medusa = 0 af_cristall_flower = 0 af_night_star = 0 af_vyvert = 0 af_gravi = 0 af_gold_fish = 0 af_blood = 0 af_mincer_meat = 0 af_soul = 0 af_electra_sparkler = 0 af_electra_flash = 0 af_electra_moonlight = 0 af_rusty_thorn = 1 af_rusty_kristall = 1 af_rusty_sea-urchin = 0 af_ameba_slime = 1 af_ameba_slug = 1 af_ameba_mica = 0 af_drops = 1 af_fireball = 0 af_cristall = 0 af_dummy_glassbeads = 0 af_dummy_pellicle = 0 af_dummy_battery = 0 af_dummy_dummy = 0 af_dummy_spring = 0 af_fuzz_kolobok = 0 [l10_radar]:default ;Артефакты af_medusa = 1 af_cristall_flower = 1 af_night_star = 1 af_vyvert = 1 af_gravi = 1 af_gold_fish = 1 af_blood = 1 af_mincer_meat = 1 af_soul = 1 af_electra_sparkler = 1 af_electra_flash = 1 af_electra_moonlight = 1 af_rusty_thorn = 1 af_rusty_kristall = 1 af_rusty_sea-urchin = 1 af_ameba_slime = 1 af_ameba_slug = 1 af_ameba_mica = 1 af_drops = 1 af_fireball = 1 af_cristall = 1 af_dummy_glassbeads = 1 af_dummy_pellicle = 1 af_dummy_battery = 1 af_dummy_dummy = 1 af_dummy_spring = 1 af_fuzz_kolobok = 1 [l10u_bunker]:default ;Артефакты af_medusa = 0 af_cristall_flower = 0 af_night_star = 0 af_vyvert = 0 af_gravi = 0 af_gold_fish = 0 af_blood = 0 af_mincer_meat = 0 af_soul = 0 af_electra_sparkler = 0 af_electra_flash = 0 af_electra_moonlight = 0 af_rusty_thorn = 0 af_rusty_kristall = 0 af_rusty_sea-urchin = 0 af_ameba_slime = 0 af_ameba_slug = 0 af_ameba_mica = 0 af_drops = 0 af_fireball = 0 af_cristall = 0 af_dummy_glassbeads = 0 af_dummy_pellicle = 0 af_dummy_battery = 0 af_dummy_dummy = 0 af_dummy_spring = 0 af_fuzz_kolobok = 0 [l11_Pripyat]:default [l12_stancia]:default ;Аммуниция ammo_9x18_fmj = 2 ammo_9x18_pmm = 0 ammo_9x19_fmj = 2 ammo_9x19_pbp = 0 ammo_11.43x23_fmj = 0 ammo_11.43x23_hydro = 0 ammo_12x70_buck = 2 ammo_12x76_dart = 0 ammo_12x76_zhekan = 0 ammo_5.45x39_fmj = 2 ammo_5.45x39_ap = 0 ammo_9x39_sp5 = 2 ammo_9x39_ap = 0 ammo_9x39_pab9 = 0 ammo_5.56x45_ss190 = 2 ammo_5.56x45_ap = 0 ammo_7.62x54_7h1 = 0 ammo_7.62x54_ap = 2 ammo_7.62x54_7h14 = 0 ammo_og-7b = 0 ammo_vog-25 = 0 ammo_vog-25p = 0 grenade_f1 = 2 grenade_rgd5 = 0 ammo_m209 = 0 ammo_gauss = 2 [l12u_sarcofag]:l12_stancia [l12u_control_monolith]:l12_stancia [l12_stancia_2]:l12_stancia [stohe_selo]:default [l06_rostok_demo]:l06_Rostok Скрытый текст ; Модифицированно для малого колличества предметов [item_count_0] ;Артефакты af_medusa = 1 af_cristall_flower = 1 af_night_star = 1 af_vyvert = 1 af_gravi = 1 af_gold_fish = 1 af_blood = 1 af_mincer_meat = 1 af_soul = 1 af_electra_sparkler = 1 af_electra_flash = 1 af_electra_moonlight = 1 af_rusty_thorn = 1 af_rusty_kristall = 1 af_rusty_sea-urchin = 1 af_ameba_slime = 1 af_ameba_slug = 1 af_ameba_mica = 1 af_drops = 1 af_fireball = 1 af_cristall = 1 af_dummy_glassbeads = 1 af_dummy_pellicle = 1 af_dummy_battery = 1 af_dummy_dummy = 1 af_dummy_spring = 1 af_fuzz_kolobok = 1 ;Аммуниция ammo_9x18_fmj = 5, 20 ammo_9x18_pmm = 5, 20 ammo_9x19_pbp = 5, 20 ammo_9x19_fmj = 5, 20 ammo_11.43x23_hydro = 5, 20 ammo_11.43x23_fmj = 5, 20 ammo_12x70_buck = 5, 18 ammo_12x76_dart = 5, 18 ammo_12x76_zhekan = 5, 18 ammo_5.45x39_ap = 5, 20 ammo_5.45x39_fmj = 5, 20 ammo_9x39_sp5 = 5, 20 ammo_9x39_ap = 5, 20 ammo_9x39_pab9 = 5, 20 ammo_5.56x45_ss190 = 5, 20 ammo_5.56x45_ap = 5, 20 ammo_7.62x54_7h14 = 5, 9 ammo_7.62x54_7h1 = 5, 9 ammo_7.62x54_ap = 5, 9 ammo_og-7b = 1 ammo_vog-14p = 2 ammo_vog-14 = 2 grenade_f1 = 1 grenade_rgd5 = 1 ammo_m59 = 2 ammo_gauss = 5, 7 ;Медикаменты bandage = 1 medkit = 1 medkit_scientic = 1 medkit_army = 1 antirad = 1 vakcina_plot = 1, 2 antipoxmelin = 1, 2 dix = 1, 2 ;Детали монстров mutant_flesh_eye = 1 mutant_dog_tail = 1 mutant_psevdodog_tail = 1 mutant_krovosos_jaw = 1 ;Еда bread = 1 kolbasa = 1 conserva = 1 vodka = 1 energy_drink = 1 bread_cpp5 = 1 vodka_voda = 1 vakcina_vint = 1 vakcina_amph = 1 pivo = 1 chocolad = 1 coctail = 1 sub_kur = 1 sub_miaso = 1 sub_ovoshi = 1 galeti = 1 irpb = 1 tushenka = 1 sgysh = 1 conserva_oreh = 1 sigaret = 1 antirad_dop = 1 bread_good = 1 repair_kit = 1 [item_count_1]:item_count_0 ;Аммуниция ammo_9x18_fmj = 5, 14 ammo_9x18_pmm = 5, 14 ammo_9x19_pbp = 5, 14 ammo_9x19_fmj = 5, 14 ammo_11.43x23_hydro = 5, 14 ammo_11.43x23_fmj = 5, 14 ammo_12x70_buck = 7, 15 ammo_12x76_dart = 7, 15 ammo_12x76_zhekan = 7, 15 ammo_5.45x39_ap = 5, 14 ammo_5.45x39_fmj = 5, 14 ammo_9x39_sp5 = 5, 14 ammo_9x39_ap = 5, 14 ammo_9x39_pab9 = 5, 14 ammo_5.56x45_ss190 = 5, 14 ammo_5.56x45_ap = 5, 14 ammo_7.62x54_7h14 = 4, 6 ammo_7.62x54_7h1 = 4, 6 ammo_7.62x54_ap = 4, 6 ammo_og-7b = 1 ammo_vog-14p = 1 ammo_vog-14 = 1 grenade_f1 = 1 grenade_rgd5 = 1 ammo_m59 = 1 ammo_gauss = 4, 6 ;Медикаменты bandage = 1 medkit = 1 medkit_scientic = 1 medkit_army = 1 antirad = 1 vakcina_plot = 1, 2 antipoxmelin = 1, 2 dix = 1, 2 ;Детали монстров mutant_flesh_eye = 1 mutant_dog_tail = 1 mutant_psevdodog_tail = 1 mutant_krovosos_jaw = 1 ;Еда bread_cpp5 = 1 vodka_voda = 1 vakcina_vint = 1 vakcina_amph = 1 pivo = 1 chocolad = 1 coctail = 1 sub_kur = 1 sub_miaso = 1 sub_ovoshi = 1 galeti = 1 irpb = 1 tushenka = 1 sgysh = 1 conserva_oreh = 1 sigaret = 1 antirad_dop = 1 bread_good = 1 repair_kit = 1 [item_count_2]:item_count_0 ;Аммуниция ammo_9x18_fmj = 6, 14 ammo_9x18_pmm = 6, 14 ammo_9x19_pbp = 6, 14 ammo_9x19_fmj = 6, 14 ammo_11.43x23_hydro = 6, 14 ammo_11.43x23_fmj = 6, 14 ammo_12x70_buck = 4, 12 ammo_12x76_dart = 4, 12 ammo_12x76_zhekan = 4, 12 ammo_5.45x39_ap = 6, 14 ammo_5.45x39_fmj = 6, 14 ammo_9x39_sp5 = 6, 14 ammo_9x39_ap = 6, 14 ammo_9x39_pab9 = 6, 14 ammo_5.56x45_ss190 = 6, 14 ammo_5.56x45_ap = 6, 14 ammo_7.62x54_7h14 = 3, 5 ammo_7.62x54_7h1 = 3, 5 ammo_7.62x54_ap = 3, 5 ammo_og-7b = 1 ammo_vog-14p = 1 ammo_vog-14 = 1 grenade_f1 = 1 grenade_rgd5 = 1 ammo_m59 = 1 ammo_gauss = 3, 5 ;Медикаменты bandage = 1 medkit = 1 medkit_scientic = 1 medkit_army = 1 antirad = 1 vakcina_plot = 1, 2 antipoxmelin = 1, 2 dix = 1, 2 ;Детали монстров mutant_flesh_eye = 1 mutant_dog_tail = 1 mutant_psevdodog_tail = 1 mutant_krovosos_jaw = 1 ;Еда bread_cpp5 = 1 vodka_voda = 1 vakcina_vint = 1 vakcina_amph = 1 pivo = 1 chocolad = 1 coctail = 1 sub_kur = 1 sub_miaso = 1 sub_ovoshi = 1 galeti = 1 irpb = 1 tushenka = 1 sgysh = 1 conserva_oreh = 1 sigaret = 1 antirad_dop = 1 bread_good = 1 repair_kit = 1 [item_count_3]:item_count_0 ;Аммуниция ammo_9x18_fmj = 3, 12 ammo_9x18_pmm = 3, 12 ammo_9x19_pbp = 3, 12 ammo_9x19_fmj = 3, 12 ammo_11.43x23_hydro = 3, 12 ammo_11.43x23_fmj = 3, 12 ammo_12x70_buck = 2, 6 ammo_12x76_dart = 2, 6 ammo_12x76_zhekan = 2, 6 ammo_5.45x39_ap = 3, 12 ammo_5.45x39_fmj = 3, 12 ammo_9x39_sp5 = 3, 12 ammo_9x39_ap = 3, 12 ammo_9x39_pab9 = 3, 12 ammo_5.56x45_ss190 = 3, 12 ammo_5.56x45_ap = 3, 12 ammo_7.62x54_7h14 = 2, 5 ammo_7.62x54_7h1 = 2, 5 ammo_7.62x54_ap = 2, 5 ammo_og-7b = 1 ammo_vog-14p = 1 ammo_vog-14 = 1 grenade_f1 = 1 grenade_rgd5 = 1 ammo_m59 = 1 ammo_gauss = 2, 5 ;Медикаменты bandage = 1 medkit = 1 medkit_scientic = 1 medkit_army = 1 antirad = 1 vakcina_plot = 1, 2 antipoxmelin = 1, 2 dix = 1, 2 ;Детали монстров mutant_flesh_eye = 1 mutant_dog_tail = 1 mutant_psevdodog_tail = 1 mutant_krovosos_jaw = 1 ;Еда bread_cpp5 = 1 vodka_voda = 1 vakcina_vint = 1 vakcina_amph = 1 pivo = 1 chocolad = 1 coctail = 1 sub_kur = 1 sub_miaso = 1 sub_ovoshi = 1 galeti = 1 irpb = 1 tushenka = 1 sgysh = 1 conserva_oreh = 1 sigaret = 1 antirad_dop = 1 bread_good = 1 repair_kit = 1 Ссылка на комментарий
IhaveBadFeel'inAboutThis 1 Опубликовано 11 Декабря 2018 Поделиться Опубликовано 11 Декабря 2018 8 минут назад, IhaveBadFeel'inAboutThis сказал: Добрый вечер,видел много решений,связанных с этим скриптом но не нашёл решения,связанного конкретно со строчкой данного случая: З.ы.я тут новичок,если что-то выкладываю не так,не туда или не то,то поправьте,буду благодарен лог вылета в death_manager (Показать) Expression : fatal error Function : CScriptEngine::lua_error File : E:\stalker\sources\trunk\xr_3da\xrGame\script_engine.cpp Line : 73 Description : <no expression> Arguments : LUA error: ...od 1.3 patch i\gamedata\scripts\death_manager.script:144: attempt to index field '?' (a nil value) пы.сы. использую такой дед менеджер: death_manager (Показать) --' Ключем является группировка персонажа. Значением является таблица, содержашая имена секций предметов. local item_by_community = {} --' Зависимости в спауне предметов. Предмет спауниться только если есть хотя бы один из зависимых. local item_dependence = {} --' Множители и минимаксы для выпадения вещей в зависимости от уровня local mul_by_level = {} local count_by_level = {} --' Предметы, которые нельзя удалять (квестовые например) local always_keep_item = {} --' Предметы, относящиеся к патронам. Их надо спаунить другим методом. local ammo_sections = {} local death_ini = ini_file("misc\\death_generic.ltx") function init_drop_settings() local community_list = {"trader", "stalker", "dolg", "freedom", "bandit", "military", "zombied", "ecolog", "killer", "monolith", "arena_enemy", "actor_dolg", "stranger", "csky", "dark_stalker", "dark_stalker_enemy"} for k,v in pairs(community_list) do --' Необходимо заполнить таблицу item_by_community[v] = {} if death_ini:section_exist(v) then local n = death_ini:line_count(v) local id, value = "", "" for i=0,n-1 do result, id, value = death_ini:r_line(v,i,"","") item_by_community[v][id] = 100*tonumber(value) end end end --' Заполняем таблицу зависимостей local n = death_ini:line_count("item_dependence") local id, value = "", "" for i=0,n-1 do result, id, value = death_ini:r_line("item_dependence",i,"","") item_dependence[id] = {} local vvv = parse_names(value) for k,v in pairs(vvv) do item_dependence[id][v] = true end end --' Множители и минимаксы для выпадения вещей в зависимости от уровня local level_name = level.name() if not death_ini:section_exist(level_name) then level_name = "default" end local n = death_ini:line_count(level_name) local id, value = "", "" for i=0,n-1 do result, id, value = death_ini:r_line(level_name,i,"","") mul_by_level[id] = tonumber(value) end local item_count_section = "item_count_" .. level.get_game_difficulty() local n = death_ini:line_count(item_count_section) for i=0,n-1 do result, id, value = death_ini:r_line(item_count_section,i,"","") --' Нужно распарсить value в два значения local t = parse_nums(value) if t[1] == nil then abort("Error on [death_ini] declaration. Section [%s], line [%s]", item_count_section, tostring(id)) end local min = t[1] local max = t[2] if max == nil then max = min end if mul_by_level[id] == nil then mul_by_level[id] = 0 end min = tonumber(min) * mul_by_level[id] max = tonumber(max) * mul_by_level[id] count_by_level[id] = {min = min, max = max} end --' Предметы, которые нельзя удалять (квестовые например) local n = death_ini:line_count("keep_items") for i=0,n-1 do result, id, value = death_ini:r_line("keep_items",i,"","") if value == "true" then always_keep_item[id] = true end end --' Предметы, относящиеся к патронам. Их надо спаунить другим методом. ammo_sections = {} local n = death_ini:line_count("ammo_sections") local id, value = "", "" for i=0,n-1 do result, id, value = death_ini:r_line("ammo_sections",i,"","") ammo_sections[id] = true end end class "drop_manager" function drop_manager:__init(npc) self.npc = npc end function drop_manager:create_release_item() local otf local sect --' Спрашиваем у серверного объекта генерились ли предметы local se_obj = alife():object(self.npc:id()) if se_obj.death_droped == true then return end se_obj.death_droped = true --' Запускаем итератор на удаление предметов self.npc:iterate_inventory(keep_item, self.npc) --' Проверка на отсутствие спауна лута local ini = self.npc:spawn_ini() if ini and ini:section_exist("dont_spawn_loot") then return end --' Доспавниваем необходимое количество итемов: --' Необходимо составить список объектов которые могут быть заспавнены для персонажа local spawn_items = item_by_community[self.npc:character_community()] for k,v in pairs(spawn_items) do --' По каждому объекту необходимо получить зависимости if check_item_dependence(self.npc, k) == true then --' По каждому объекту необходимо получить количество local number = math.ceil(math.random(count_by_level[k].min, count_by_level[k].max)) --' Необходимо заспавнить нужное количество. if not string.find(self.npc:section(),"arena") and not string.find(self.npc:section(),"aem") and self.npc:character_community()~="arena_enemy" then create_items(self.npc, k, number, v) end end end if string.find(self.npc:name(),"ecolog_wound_bunker") then db.actor:give_info_portion("ucen_talk_est") end if self.npc:character_community()=="stalker" then if self.npc:character_rank()>=0 and self.npc:character_rank()<300 then sect = "novice_outfit" end if self.npc:character_rank()>=300 and self.npc:character_rank()<600 then sect = "stalker_outfit" end if self.npc:character_rank()>=600 and self.npc:character_rank()<900 then sect = "scientific_outfit" end if self.npc:character_rank()>=900 then sect = "exo_outfit" end end if self.npc:character_community()=="bandit" then if self.npc:character_rank()>=0 and self.npc:character_rank()<600 then sect = "bandit_outfit" end if self.npc:character_rank()>=600 and self.npc:character_rank()<900 then sect = "bandit_veteran_outfit" end if self.npc:character_rank()>=900 then sect = "bandit_master_outfit" end end if self.npc:character_community()=="military" then if self.npc:character_rank()>=0 and self.npc:character_rank()<600 then sect = "soldier_outfit" end if self.npc:character_rank()>=600 and self.npc:character_rank()<900 then sect = "specops_outfit" end if self.npc:character_rank()>=900 then sect = "military_outfit" end end if self.npc:character_community()=="killer" then if self.npc:character_rank()>=0 and self.npc:character_rank()<600 then sect = "killer_outfit" end if self.npc:character_rank()>=600 and self.npc:character_rank()<900 then sect = "merc_scientific_outfit" end if self.npc:character_rank()>=900 then sect = "killer_blue_exoskeleton" end end if self.npc:character_community()=="dolg" then if self.npc:character_rank()>=0 and self.npc:character_rank()<300 then sect = "dolg_outfit" end if self.npc:character_rank()>=300 and self.npc:character_rank()<600 then sect = "dolg_heavy_outfit" end if self.npc:character_rank()>=600 and self.npc:character_rank()<900 then sect = "dolg_scientific_outfit" end if self.npc:character_rank()>=900 then sect = "dolg_black_exoskeleton" end end if self.npc:character_community()=="freedom" then if self.npc:character_rank()>=0 and self.npc:character_rank()<300 then sect = "svoboda_light_outfit" end if self.npc:character_rank()>=300 and self.npc:character_rank()<600 then sect = "svoboda_heavy_outfit" end if self.npc:character_rank()>=600 and self.npc:character_rank()<900 then sect = "freedom_scientific_outfit" end if self.npc:character_rank()>=900 then sect = "svoboda_exoskeleton" end end if self.npc:character_community()=="monolith" then if self.npc:character_rank()>=0 and self.npc:character_rank()<600 then sect = "monolit_outfit" end if self.npc:character_rank()>=600 and self.npc:character_rank()<900 then sect = "monolit_scientific_outfit" end if self.npc:character_rank()>=900 then sect = "monolit_exoskeleton" end end if self.npc:character_community()=="csky" then if self.npc:character_rank()>=0 and self.npc:character_rank()<900 then sect = "cs_light_outfit" end if self.npc:character_rank()>=900 then sect = "cs_heavy_outfit" end end if self.npc:character_community()=="ecolog" then if self.npc:character_rank()>=0 and self.npc:character_rank()<900 then sect = "ecolog_outfit" end if self.npc:character_rank()>=900 then sect = "protection_outfit" end end if sect~=nil and not string.find(self.npc:section(),"arena") and not string.find(self.npc:section(),"aem") and self.npc:character_community()~="arena_enemy" and self.npc:name()~="esc_novice_attacker1" and self.npc:name()~="esc_blokpost_commander" and self.npc:name()~="agr_ratcatcher" and self.npc:name()~="val_lager_bandits_borov" and not string.find(self.npc:name(),"gar_dm_bandit") and self.npc:name()~="gar_wounded_bandit" and self.npc:name()~="bar_dolg_leader" and self.npc:name()~="bar_dolg_petrenko" and self.npc:name()~="mil_freedom_member0012" and self.npc:name()~="mil_freedom_member0018" and self.npc:name()~="mil_stalker0012" and self.npc:name()~="mil_stalker0023" and self.npc:name()~="mil_ara" and self.npc:name()~="mil_blockpost_freedomstalker001" and self.npc:name()~="bar_ecolog_professor" and self.npc:name()~="yan_scientist_help" and self.npc:name()~="yan_specnaz_dead" and self.npc:name()~="x16_stalker_ghost" and self.npc:name()~="yantar_semenov" then otf = create_items(self.npc, sect, 1, 30) if otf~= nil then amk.start_timer("otf",1,otf.id) end end end --' Функция вызывается для каждого предмета, если вернет false то предмет удалится. function keep_item(npc, item) if item==nil or alife():object(item:id())==nil then return end local section = item:section() if section == "bolt" then return true end if always_keep_item[section] == true then return true end local item_id = item:id() local item_in_slot = npc:item_in_slot(1) if item_in_slot ~= nil and item_in_slot:id() == item_id then item:unload_magazine() --' Тут надо уменьшить кондишн оружия item:set_condition((math.random(15)+25)*item:condition()/100) return true end item_in_slot = npc:item_in_slot(2) if item_in_slot ~= nil and item_in_slot:id() == item_id then item:unload_magazine() --' Тут надо уменьшить кондишн оружия item:set_condition((math.random(15)+25)*item:condition()/100) return true end local obj = item and item:id()and alife():object(item:id()) if obj then alife():release( obj, true ) end end function set_weapon_drop_condition(item) local condition = (math.random(15)+25)/100 --printf("condition [%s]", tostring(condition)) item:set_condition(condition) end --' Функция спавнит необходимое число предметов function create_items(npc, section, number, rnd) --' printf("create %s of %s", tostring(number), tostring(section)) if ammo_sections[section] == true then if number > 0 then se_respawn.create_ammo(section, npc:position(), npc:level_vertex_id(), npc:game_vertex_id(), npc:id(), number) end else for i=1,number do --' Проверяем вероятность появить каждый объект в отдельности if math.random(100) <= rnd then return alife():create(section, npc:position(), npc:level_vertex_id(), npc:game_vertex_id(), npc:id()) end end end end --' Функция проверяет есть ли хоть один из зависимых объектов у персонажа function check_item_dependence(npc, section) if item_dependence[section] == nil then return true end local d_flag = true for k,v in pairs(item_dependence[section]) do local obj = npc:object(k) if obj ~= nil and npc:marked_dropped(obj) ~= true then return true end d_flag = false end return d_flag end Выложу файлы инклюдов в misc,связанных с этим скриптом: death_generic (Показать) #include "death_items_by_communities.ltx" #include "death_items_by_levels.ltx" #include "death_items_count.ltx" [item_dependence] ammo_9x18_fmj = wpn_pm, wpn_pb, wpn_fort, wpn_fort_m1, wpn_walther_m1, wpn_mp5_m1, wpn_mp7a3, wpn_ots33, wpn_bizon ammo_9x18_pmm = wpn_pm, wpn_pb, wpn_fort, wpn_fort_m1, wpn_walther_m1, wpn_mp5_m1, wpn_mp7a3, wpn_ots33, wpn_bizon ammo_9x19_pbp = wpn_hpsa, wpn_beretta, wpn_walther, wpn_mp5, wpn_walther_coll, wpn_beretta_m1, wpn_mp5_m2, wpn_smg_tmp, wpn_tec9 ammo_9x19_fmj = wpn_hpsa, wpn_beretta, wpn_walther, wpn_mp5, wpn_walther_coll, wpn_beretta_m1, wpn_mp5_m2, wpn_smg_tmp, wpn_tec9 ammo_11.43x23_hydro = wpn_sig220, wpn_colt1911, wpn_usp, wpn_desert_eagle, wpn_deserteagle_coll, wpn_colt_m1 ammo_11.43x23_fmj = wpn_sig220, wpn_colt1911, wpn_usp, wpn_desert_eagle, wpn_deserteagle_coll, wpn_colt_m1 ammo_12x70_buck = wpn_bm16, wpn_toz34, wpn_wincheaster1300, wpn_spas12, wpn_spas12_m1, wpn_winchester_m1, wpn_saiga12c, wpn_benelli_short, wpn_bm16_full, wpn_toz34_short ammo_12x76_dart = wpn_bm16, wpn_toz34, wpn_wincheaster1300, wpn_spas12, wpn_spas12_m1, wpn_winchester_m1, wpn_saiga12c, wpn_benelli_short, wpn_bm16_full, wpn_toz34_short ammo_12x76_zhekan = wpn_bm16, wpn_toz34, wpn_wincheaster1300, wpn_spas12, wpn_spas12_m1, wpn_winchester_m1, wpn_saiga12c, wpn_benelli_short, wpn_bm16_full, wpn_toz34_short ammo_5.45x39_ap = wpn_ak74u, wpn_ak74, wpn_abakan, wpn_abakan_m1, wpn_aksu_anom, wpn_ak74_m1, wpn_abakan_m2, wpn_groza_m1, wpn_ak74u_m1, wpn_rpk74_sk1 ammo_5.45x39_fmj = wpn_ak74u, wpn_ak74, wpn_abakan, wpn_abakan_m1, wpn_aksu_anom, wpn_ak74_m1, wpn_abakan_m2, wpn_groza_m1, wpn_ak74u_m1, wpn_kriss_super_v, wpn_rpk74_sk1 ammo_9x39_sp5 = wpn_groza, wpn_val, wpn_vintorez, wpn_groza_coll, wpn_vintorez_coll, wpn_val_m1, wpn_eagle_m1 ammo_9x39_ap = wpn_groza, wpn_val, wpn_vintorez, wpn_groza_coll, wpn_vintorez_coll, wpn_val_m1, wpn_eagle_m1 ammo_9x39_pab9 = wpn_groza, wpn_val, wpn_vintorez, wpn_groza_coll, wpn_vintorez_coll, wpn_val_m1, wpn_eagle_m1 ammo_5.56x45_ss190 = wpn_l85, wpn_lr300, wpn_sig550, wpn_fn2000, wpn_g36, wpn_l85_m1, wpn_lr300_m1, wpn_g36_m1, wpn_sig_m2, wpn_l85_m2, wpn_sig_m1, wpn_sg550sr_sk1, wpn_sg552_sk1, wpn_groza ammo_5.56x45_ap = wpn_l85, wpn_lr300, wpn_sig550, wpn_fn2000, wpn_g36, wpn_l85_m1, wpn_lr300_m1, wpn_g36_m1, wpn_sig_m2, wpn_l85_m2, wpn_sig_m1, wpn_sg550sr_sk1, wpn_sg552_sk1, wpn_groza ammo_7.62x39_fmj = wpn_ak74_m1, wpn_groza_m1, wpn_ak47_sk1, wpn_ak47_sk1_m1 ammo_7.62x39_ap = wpn_ak74_m1, wpn_groza_m1, wpn_ak47_sk1, wpn_ak47_sk1_m1 ammo_7.62x54_7h14 = wpn_svu, wpn_svd, wpn_svd_m1, wpn_svu_m1, wpn_eagle_m1 ammo_7.62x54_7h1 = wpn_svu, wpn_svd, wpn_svd_m1, wpn_svu_m1, wpn_eagle_m1 ammo_7.62x54_ap = wpn_svu, wpn_svd, wpn_svd_m1, wpn_svu_m1, wpn_eagle_m1 ammo_7.62x54r = wpn_pkm ammo_7.62x54rm = wpn_pkm ammo_og-7b = wpn_rpg7 ammo_gauss = wpn_gauss ammo_flame = wpn_flame ammo_vog-25p = wpn_groza, wpn_groza_m1, wpn_rg-6, wpn_abakan_m2, wpn_a91m ammo_vog-25 = wpn_groza, wpn_groza_m1, wpn_rg-6, wpn_abakan_m2, wpn_a91m ammo_m209 = wpn_fn2000, wpn_rg6_m1 ammo_m134 = wpn_m-134 [keep_items] af_blood_tutorial = true esc_wounded_flash = true quest_case_02 = true dar_document4 = true kruglov_flash = true lab_x16_documents = true good_psy_helmet = true bad_psy_helmet = true decoder = true dynamite = true quest_case_01 = true hunters_toz = true bar_ecolog_flash = true bar_tiran_pda = true bar_lucky_pda = true outfit_stalker_m1 = true wpn_fort_m1 = true outfit_specnaz_m1 = true wpn_lr300_m1 = true crazy_flash = true ;bread_cpp5 = true wpn_abakan_m2 = true outfit_bandit_m1 = true borov_flash = true val_key_to_underground = true val_sklad_door = true voen_document = true voen_pda = true bandranen_pda = true fraer_pda = true pda_priz = true siv_pda = true pavlik_pda = true ara_flash = true car_borov_key = true secret_card = true ucen_flash = true ucen_flash2 = true cit_killers_key = true cit_bandits_key = true ecolog_psevdo_flash = true val_zapiska_door = true dolg_arhive_documents = true bar_decoding_documents = true mil_svoboda_leader_pda = true dolg_pda = true svoboda_pda = true agr_deserter_pda = true quest_case_03 = true bar_sniper_pda = true bar_key_to_val_underground = true pri_lom_ak74 = true rad_jaw_zam_pda = true detector_advances_tutorial = true wpn_deserteagle_coll = true wpn_vintorez_coll = true outfit_monolith_m1 = true outfit_killer_m2 = true cit_doctors_key = true cit_leader_killer_pda = true cit_killers_documents = true cit_deadcity_maps = true cit_vp_pda = true war_final_door_key1 = true war_final_door_key2 = true war_final_door_key3 = true war_final_door_notebook = true fake_bolt = true [ammo_sections] ammo_9x18_fmj ammo_9x18_pmm ammo_9x19_pbp ammo_9x19_fmj ammo_11.43x23_hydro ammo_11.43x23_fmj ammo_12x70_buck ammo_12x76_dart ammo_12x76_zhekan ammo_5.45x39_ap ammo_5.45x39_fmj ammo_9x39_sp5 ammo_9x39_ap ammo_9x39_pab9 ammo_5.56x45_ss190 ammo_5.56x45_ap ammo_7.62x54_7h14 ammo_7.62x54_7h1 ammo_7.62x54_ap ammo_7.62x39_fmj ammo_7.62x39_ap ammo_7.62x54r ammo_7.62x54rm ammo_357_hp_mag ammo_flame ammo_gauss ammo_m134 death_items_by_communities (Показать) ; Модифицированно для малого колличества предметов [stalker] ;Указывается вероятность заспаунить или нет ;Артефакты af_medusa = 0.015 af_cristall_flower = 0.01 af_night_star = 0.005 af_vyvert = 0.015 af_gravi = 0.01 af_gold_fish = 0.005 af_blood = 0.015 af_mincer_meat = 0.01 af_soul = 0.005 af_electra_sparkler = 0.015 af_electra_flash = 0.01 af_electra_moonlight = 0.005 af_rusty_thorn = 0.015 af_rusty_kristall = 0.01 af_rusty_sea-urchin = 0.005 af_ameba_slime = 0.015 af_ameba_slug = 0.01 af_ameba_mica = 0.005 af_drops = 0.015 af_fireball = 0.01 af_cristall = 0.005 af_dummy_glassbeads = 0.005 af_dummy_pellicle = 0.005 af_dummy_battery = 0.005 af_dummy_dummy = 0.005 af_dummy_spring = 0.005 af_fuzz_kolobok = 0.005 ;Аммуниция ammo_9x18_fmj = 0.9 ammo_9x18_pmm = 0.9 ammo_9x19_pbp = 0.9 ammo_9x19_fmj = 0.9 ammo_11.43x23_hydro = 0.9 ammo_11.43x23_fmj = 0.9 ammo_12x70_buck = 0.9 ammo_12x76_dart = 0.9 ammo_12x76_zhekan = 0.9 ammo_5.45x39_ap = 0.9 ammo_5.45x39_fmj = 0.9 ammo_9x39_sp5 = 0.9 ammo_9x39_ap = 0.9 ammo_9x39_pab9 = 0.9 ammo_5.56x45_ss190 = 0.9 ammo_5.56x45_ap = 0.9 ammo_7.62x54_7h14 = 0.9 ammo_7.62x54_7h1 = 0.9 ammo_7.62x54_ap = 0.9 ammo_gauss = 0.3 ammo_og-7b = 0.9 ammo_vog-25p = 0.1 ammo_vog-25 = 0.1 grenade_f1 = 0.1 grenade_rgd5 = 0.1 ammo_m209 = 0.1 ;Медикаменты bandage = 0.15 medkit = 0.05 medkit_army = 0 medkit_scientic = 0.05 antirad = 0.05 ;Еда bread = 0.05 kolbasa = 0.05 conserva = 0.14 vodka = 0.1 energy_drink = 0.1 vodka_voda = 0.04 bread_cpp5 = 0.1 vakcina_vint = 0.01 vakcina_amph = 0.01 pivo = 0.01 antipoxmelin = 0.1 sub_kur = 0.1 sub_miaso = 0.1 sub_ovoshi = 0.1 tushenka = 0.1 conserva_oreh = 0.1 sigaret = 0.2 antirad_dop = 0.02 bread_good = 0 repair_kit = 0.03 [bandit]:stalker [killer]:stalker ;Еда bread = 0.09 kolbasa = 0.07 vodka = 0.1 energy_drink = 0.12 vakcina_amph = 0.05 vakcina_plot = 0.02 vodka_voda = 0.4 chocolad = 0.1 sub_miaso = 0.1 sub_ovoshi = 0.1 galeti = 0.1 tushenka = 0.1 sgysh = 0.02 conserva_oreh = 0.1 sigaret = 0.27 antirad_dop = 0.02 bread_good = 0.1 repair_kit = 0.03 [ecolog]:stalker ;Еда bread = 0.04 kolbasa = 0.02 conserva = 0.07 vodka = 0.03 energy_drink = 0.07 bread_cpp5 = 0.1 vodka_voda = 0.1 vakcina_plot = 0.07 chocolad = 0.2 antipoxmelin = 0.07 sub_kur = 0.1 sub_miaso = 0.1 sub_ovoshi = 0.1 irpb = 0.1 tushenka = 0.1 sgysh = 0.02 conserva_oreh = 0.1 antirad_dop = 0 bread_good = 0.07 vakcina_vint = 0 vakcina_amph = 0 ;Медикаменты medkit = 0 medkit_scientic = 0.05 antirad = 0.12 dix = 0.1 [military]:stalker af_medusa = 0.02 af_cristall_flower = 0 af_night_star = 0 af_vyvert = 0 af_gravi = 0 af_gold_fish = 0 af_blood = 0 af_mincer_meat = 0 af_soul = 0 af_electra_sparkler = 0 af_electra_flash = 0 af_electra_moonlight = 0 af_rusty_thorn = 0 af_rusty_kristall = 0 af_rusty_sea-urchin = 0 af_ameba_slime = 0 af_ameba_slug = 0 af_ameba_mica = 0 af_drops = 0 af_fireball = 0 af_cristall = 0 af_dummy_glassbeads = 0 af_dummy_pellicle = 0 af_dummy_battery = 0 af_dummy_dummy = 0 af_dummy_spring = 0 af_fuzz_kolobok = 0 ;Медикаменты bandage = 0.15 antirad = 0.12 medkit = 0 medkit_scientic = 0 medkit_army = 0.05 ;Еда bread = 0.05 kolbasa = 0.05 conserva = 0.12 vodka = 0.3 energy_drink = 0.2 bread_cpp5 = 0.1 antipoxmelin = 0.3 sub_kur = 0.1 sub_miaso = 0.1 galeti = 0.5 tushenka = 0.5 sgysh = 0.02 conserva_oreh = 0.2 sigaret = 0.7 antirad_dop = 0.01 bread_good = 0.01 vakcina_vint = 0 vakcina_amph = 0 repair_kit = 0.03 [dolg]:stalker ;Медикаменты medkit_army = 0.05 medkit_scientic = 0.05 vodka = 0 sub_kur = 0.1 sub_miaso = 0.1 sub_ovoshi = 0.08 galeti = 0.2 irpb = 0.1 tushenka = 0.3 dix = 0.03 conserva_oreh = 0.1 sigaret = 0.5 antirad_dop = 0.01 bread_good = 0.02 vakcina_vint = 0 vakcina_amph = 0 repair_kit = 0.03 bread_cpp5 = 0.2 vodka_voda = 0.4 [freedom]:stalker ;Еда vodka = 0.5 vodka_voda = 0.7 pivo = 0.7 chocolad = 0.07 coctail = 0.2 antipoxmelin = 0.1 sub_kur = 0.1 sub_miaso = 0.1 sub_ovoshi = 0.1 tushenka = 0.1 conserva_oreh = 0.1 sigaret = 0.8 antirad_dop = 0.04 bread_good = 0.02 vakcina_vint = 0 vakcina_amph = 0 repair_kit = 0.03 [zombied]:stalker af_medusa = 0 af_cristall_flower = 0 af_night_star = 0 af_vyvert = 0 af_gravi = 0 af_gold_fish = 0 af_blood = 0 af_mincer_meat = 0 af_soul = 0 af_electra_sparkler = 0 af_electra_flash = 0 af_electra_moonlight = 0 af_rusty_thorn = 0 af_rusty_kristall = 0 af_rusty_sea-urchin = 0 af_ameba_slime = 0 af_ameba_slug = 0 af_ameba_mica = 0 af_drops = 0 af_fireball = 0 af_cristall = 0 af_dummy_glassbeads = 0 af_dummy_pellicle = 0 af_dummy_battery = 0 af_dummy_dummy = 0 af_dummy_spring = 0 af_fuzz_kolobok = 0 ;Еда bread = 0 kolbasa = 0 conserva = 0 vodka = 0 energy_drink = 0 vodka_voda = 0 coctail = 0 antipoxmelin = 0 sub_kur = 0 sub_miaso = 0 sub_ovoshi = 0 irpb = 0 tushenka = 0 conserva_oreh = 0 sigaret = 0 vakcina_plot = 0.02 irpb = 0.05 antirad_dop = 0.02 bread_good = 0 bread_cpp5 = 0 pivo = 0 vakcina_vint = 0 vakcina_amph = 0 repair_kit = 0 [monolith]:stalker ;Артефакты af_medusa = 0 af_cristall_flower = 0 af_night_star = 0 af_vyvert = 0 af_gravi = 0 af_gold_fish = 0 af_blood = 0 af_mincer_meat = 0 af_soul = 0 af_electra_sparkler = 0 af_electra_flash = 0 af_electra_moonlight = 0 af_rusty_thorn = 0 af_rusty_kristall = 0 af_rusty_sea-urchin = 0 af_ameba_slime = 0 af_ameba_slug = 0 af_ameba_mica = 0 af_drops = 0 af_fireball = 0 af_cristall = 0 af_dummy_glassbeads = 0 af_dummy_pellicle = 0 af_dummy_battery = 0 af_dummy_dummy = 0 af_dummy_spring = 0 af_fuzz_kolobok = 0 ;Еда vodka = 0 bread_cpp5 = 0.4 vodka_voda = 0.4 vakcina_plot = 0.02 sub_kur = 0.1 sub_miaso = 0.1 sub_ovoshi = 0.1 galeti = 0.1 irpb = 0.1 tushenka = 0.1 antirad_dop = 0.02 bread_good = 0.02 vakcina_vint = 0 vakcina_amph = 0 repair_kit = 0.03 [arena_enemy] [actor_dolg] ;Медикаменты medkit_army = 0.05 medkit_scientic = 0.05 vodka = 0 [actor_freedom] [dark_stalker]:stalker ;Еда bread = 0.2 kolbasa = 0.7 conserva = 0.3 vodka = 0.2 energy_drink = 0.8 chocolad = 0.01 medkit = 0.7 medkit_scientic = 0.2 antirad = 0.3 vodka_voda = 0.5 vakcina_vint = 0.9 vakcina_amph = 0.9 pivo = 0.2 sub_kur = 0.1 sub_miaso = 0.1 tushenka = 0.1 irpb = 0.2 conserva_oreh = 0.1 sigaret = 0.5 antirad_dop = 0.02 bread_good = 0.02 bread_cpp5 = 0 repair_kit = 0 [dark_stalker_enemy]:stalker ;Еда bread = 0.2 kolbasa = 0.7 conserva = 0.3 vodka = 0.2 energy_drink = 0.8 medkit = 0.7 medkit_scientic = 0.2 antirad = 0.3 vodka_voda = 0.5 vakcina_vint = 0.7 vakcina_amph = 0.7 pivo = 0.2 sub_kur = 0.1 sub_miaso = 0.1 irpb = 0.1 tushenka = 0.1 conserva_oreh = 0.1 sigaret = 0.5 antirad_dop = 0.02 bread_good = 0.02 bread_cpp5 = 0 repair_kit = 0 [provodniki]: stalker bread = 0.2 kolbasa = 0 vodka = 0 energy_drink = 0.3 conserva = 0.9 vodka_voda = 0.5 sub_miaso = 0.1 sub_ovoshi = 0.1 tushenka = 0.1 sgysh = 0.02 conserva_oreh = 0.1 sigaret = 0.1 repair_kit = 0.03 [maraderi]: stalker ;Артефакты af_medusa = 0.015 af_cristall_flower = 0.01 af_night_star = 0.005 af_vyvert = 0.015 af_gravi = 0.01 af_gold_fish = 0.005 af_blood = 0.015 af_mincer_meat = 0.01 af_soul = 0.005 af_electra_sparkler = 0.015 af_electra_flash = 0.01 af_electra_moonlight = 0.005 af_rusty_thorn = 0.015 af_rusty_kristall = 0.01 af_rusty_sea-urchin = 0.005 af_ameba_slime = 0.015 af_ameba_slug = 0.01 af_ameba_mica = 0.005 af_drops = 0.015 af_fireball = 0.01 af_cristall = 0.005 af_dummy_glassbeads = 0.005 af_dummy_pellicle = 0.005 af_dummy_battery = 0.005 af_dummy_dummy = 0.005 af_dummy_spring = 0.005 af_fuzz_kolobok = 0.005 ;Медикаменты bandage = 0.15 medkit = 0.05 medkit_army = 0 medkit_scientic = 0.05 vakcina_vint = 0.7 vodka_voda = 0.3 pivo = 0.2 sub_kur = 0.1 sub_miaso = 0.1 tushenka = 0.1 sigaret = 0.5 antirad_dop = 0.02 bread_good = 0.02 [hunters]: stalker ;Медикаменты bandage = 0.15 medkit = 0.05 medkit_army = 0 medkit_scientic = 0.05 antirad = 0.05 ;Детали монстров mutant_flesh_eye = 0.15 mutant_dog_tail = 0.15 mutant_psevdodog_tail = 0.15 mutant_krovosos_jaw = 0.15 ;Еда bread = 0.05 kolbasa = 0.05 conserva = 0.1 vodka = 0.1 energy_drink = 0.1 vodka_voda = 0.8 coctail =0.02 antipoxmelin = 0.1 sub_kur = 0.1 sub_miaso = 0.1 sub_ovoshi = 0.1 irpb = 0.1 tushenka = 0.1 conserva_oreh = 0.1 sigaret = 0.7 antirad_dop = 0.02 bread_good = 0.05 death_items_by_levels (Показать) ; Модифицированно для малого колличества предметов [default] ;Артефакты af_medusa = 1 af_cristall_flower = 0 af_night_star = 0 af_vyvert = 1 af_gravi = 1 af_gold_fish = 0 af_blood = 1 af_mincer_meat = 1 af_soul = 0 af_electra_sparkler = 0 af_electra_flash = 0 af_electra_moonlight = 0 af_rusty_thorn = 0 af_rusty_kristall = 0 af_rusty_sea-urchin = 0 af_ameba_slime = 0 af_ameba_slug = 1 af_ameba_mica = 0 af_drops = 0 af_fireball = 0 af_cristall = 0 af_dummy_glassbeads = 0 af_dummy_pellicle = 0 af_dummy_battery = 0 af_dummy_dummy = 0 af_dummy_spring = 0 af_fuzz_kolobok = 0 ;Аммуниция ammo_9x18_fmj = 1 ammo_9x18_pmm = 0 ammo_9x19_pbp = 0 ammo_9x19_fmj = 1 ammo_11.43x23_hydro = 0 ammo_11.43x23_fmj = 1 ammo_12x70_buck = 1 ammo_12x76_dart = 0 ammo_12x76_zhekan = 0 ammo_5.45x39_ap = 0 ammo_5.45x39_fmj = 1 ammo_9x39_sp5 = 0 ammo_9x39_ap = 0 ammo_9x39_pab9 = 1 ammo_5.56x45_ss190 = 1 ammo_5.56x45_ap = 0 ammo_7.62x54_7h14 = 0 ammo_7.62x54_7h1 = 1 ammo_7.62x54_ap = 0 ammo_og-7b = 1 ammo_vog-25p = 1 ammo_vog-25 = 1 grenade_f1 = 1 grenade_rgd5 = 1 ammo_m209 = 1 ammo_gauss = 1 ;Медикаменты bandage = 1 medkit = 1 medkit_scientic = 1 medkit_army = 1 antirad = 1 vakcina_plot = 1 dix = 1 ;Детали монстров mutant_flesh_eye = 1 mutant_dog_tail = 1 mutant_psevdodog_tail = 1 mutant_krovosos_jaw = 1 ;Еда bread = 1 kolbasa = 1 conserva = 1 vodka = 1 energy_drink = 1 bread_cpp5 = 1 vodka_voda = 1 vakcina_vint = 1 vakcina_amph = 1 pivo = 1 chocolad = 1 coctail = 1 antipoxmelin = 1 sub_kur = 1 sub_miaso = 1 sub_ovoshi = 1 galeti = 1 irpb = 1 tushenka = 1 sgysh = 1 conserva_oreh = 1 sigaret = 1 antirad_dop = 1 bread_good = 1 repair_kit = 1 [l01_escape]:default ;Артефакты af_medusa = 0 af_cristall_flower = 0 af_night_star = 0 af_vyvert = 0 af_gravi = 0 af_gold_fish = 0 af_blood = 0 af_mincer_meat = 0 af_soul = 0 af_electra_sparkler = 0 af_electra_flash = 0 af_electra_moonlight = 0 af_rusty_thorn = 0 af_rusty_kristall = 0 af_rusty_sea-urchin = 0 af_ameba_slime = 0 af_ameba_slug = 0 af_ameba_mica = 0 af_drops = 0 af_fireball = 0 af_cristall = 0 af_dummy_glassbeads = 0 af_dummy_pellicle = 0 af_dummy_battery = 0 af_dummy_dummy = 0 af_dummy_spring = 0 af_fuzz_kolobok = 0 ;Аммуниция ammo_9x18_fmj = 1 ammo_9x18_pmm = 0 ammo_9x19_fmj = 1 ammo_9x19_pbp = 0 ammo_11.43x23_fmj = 0 ammo_11.43x23_hydro = 0 ammo_12x70_buck = 1 ammo_12x76_dart = 0 ammo_12x76_zhekan = 0 ammo_5.45x39_fmj = 1 ammo_5.45x39_ap = 0 ammo_9x39_sp5 = 0 ammo_9x39_ap = 0 ammo_9x39_pab9 = 0 ammo_5.56x45_ss190 = 0 ammo_5.56x45_ap = 0 ammo_7.62x54_7h1 = 0 ammo_7.62x54_ap = 0 ammo_7.62x54_7h14 = 0 ammo_og-7b = 0 ammo_vog-25 = 0 ammo_vog-25p = 0 grenade_f1 = 0 grenade_rgd5 = 1 ammo_m209 = 0 ammo_gauss = 0 ;Медикаменты medkit_scientic = 0 antirad = 0 [l02_garbage]:default ;Артефакты af_medusa = 1 af_cristall_flower = 0 af_night_star = 0 af_vyvert = 0 af_gravi = 0 af_gold_fish = 0 af_blood = 0 af_mincer_meat = 0 af_soul = 0 af_electra_sparkler = 0 af_electra_flash = 0 af_electra_moonlight = 0 af_rusty_thorn = 0 af_rusty_kristall = 0 af_rusty_sea-urchin = 0 af_ameba_slime = 0 af_ameba_slug = 0 af_ameba_mica = 0 af_drops = 0 af_fireball = 0 af_cristall = 0 af_dummy_glassbeads = 0 af_dummy_pellicle = 0 af_dummy_battery = 0 af_dummy_dummy = 0 af_dummy_spring = 0 af_fuzz_kolobok = 0 ;Аммуниция ammo_vog-25 = 0 ammo_vog-25p = 0 grenade_f1 = 0 grenade_rgd5 = 1 ammo_m209 = 0 ;Медикаменты medkit_scientic = 0 medkit_army = 1 [l03_agroprom]:default ;Артефакты af_medusa = 0 af_cristall_flower = 0 af_night_star = 0 af_vyvert = 0 af_gravi = 0 af_gold_fish = 0 af_blood = 0 af_mincer_meat = 0 af_soul = 0 af_electra_sparkler = 1 af_electra_flash = 0 af_electra_moonlight = 0 af_rusty_thorn = 0 af_rusty_kristall = 0 af_rusty_sea-urchin = 0 af_ameba_slime = 0 af_ameba_slug = 0 af_ameba_mica = 0 af_drops = 0 af_fireball = 0 af_cristall = 0 af_dummy_glassbeads = 0 af_dummy_pellicle = 0 af_dummy_battery = 0 af_dummy_dummy = 0 af_dummy_spring = 0 af_fuzz_kolobok = 0 ;Аммуниция ammo_vog-25 = 0 ammo_vog-25p = 0 grenade_f1 = 0 grenade_rgd5 = 1 ammo_m209 = 0 ;Медикаменты medkit_scientic = 0 [l03u_agr_underground]:default ;Артефакты af_medusa = 0 af_cristall_flower = 0 af_night_star = 0 af_vyvert = 0 af_gravi = 0 af_gold_fish = 0 af_blood = 1 af_mincer_meat = 0 af_soul = 0 af_electra_sparkler = 1 af_electra_flash = 0 af_electra_moonlight = 0 af_rusty_thorn = 1 af_rusty_kristall = 0 af_rusty_sea-urchin = 0 af_ameba_slime = 1 af_ameba_slug = 0 af_ameba_mica = 0 af_drops = 0 af_fireball = 0 af_cristall = 0 af_dummy_glassbeads = 0 af_dummy_pellicle = 0 af_dummy_battery = 0 af_dummy_dummy = 0 af_dummy_spring = 0 af_fuzz_kolobok = 0 ;Аммуниция ammo_vog-25 = 0 ammo_vog-25p = 0 grenade_f1 = 1 grenade_rgd5 = 1 ammo_m209 = 0 ;Медикаменты medkit_scientic = 1 [l04_darkvalley]:default ;Артефакты af_medusa = 0 af_cristall_flower = 1 af_night_star = 0 af_vyvert = 0 af_gravi = 0 af_gold_fish = 0 af_blood = 1 af_mincer_meat = 0 af_soul = 0 af_electra_sparkler = 0 af_electra_flash = 0 af_electra_moonlight = 0 af_rusty_thorn = 0 af_rusty_kristall = 0 af_rusty_sea-urchin = 0 af_ameba_slime = 0 af_ameba_slug = 0 af_ameba_mica = 0 af_drops = 0 af_fireball = 0 af_cristall = 0 af_dummy_glassbeads = 0 af_dummy_pellicle = 0 af_dummy_battery = 0 af_dummy_dummy = 0 af_dummy_spring = 0 af_fuzz_kolobok = 0 ;Аммуниция ammo_vog-25 = 0 ammo_vog-25p = 0 grenade_f1 = 0 grenade_rgd5 = 0 ammo_m209 = 1 ;Медикаменты medkit_scientic = 0 [l04u_labx18]:default ;Артефакты af_medusa = 0 af_cristall_flower = 0 af_night_star = 0 af_vyvert = 0 af_gravi = 0 af_gold_fish = 0 af_blood = 0 af_mincer_meat = 0 af_soul = 0 af_electra_sparkler = 0 af_electra_flash = 0 af_electra_moonlight = 0 af_rusty_thorn = 0 af_rusty_kristall = 0 af_rusty_sea-urchin = 0 af_ameba_slime = 0 af_ameba_slug = 0 af_ameba_mica = 0 af_drops = 0 af_fireball = 0 af_cristall = 0 af_dummy_glassbeads = 0 af_dummy_pellicle = 0 af_dummy_battery = 0 af_dummy_dummy = 0 af_dummy_spring = 0 af_fuzz_kolobok = 0 [l05_bar]:default ;Артефакты af_medusa = 0 af_cristall_flower = 0 af_night_star = 0 af_vyvert = 0 af_gravi = 0 af_gold_fish = 0 af_blood = 0 af_mincer_meat = 0 af_soul = 0 af_electra_sparkler = 0 af_electra_flash = 0 af_electra_moonlight = 0 af_rusty_thorn = 0 af_rusty_kristall = 0 af_rusty_sea-urchin = 0 af_ameba_slime = 0 af_ameba_slug = 0 af_ameba_mica = 0 af_drops = 0 af_fireball = 0 af_cristall = 0 af_dummy_glassbeads = 0 af_dummy_pellicle = 0 af_dummy_battery = 0 af_dummy_dummy = 0 af_dummy_spring = 0 af_fuzz_kolobok = 0 [l06_Rostok]:default ;Артефакты af_medusa = 0 af_cristall_flower = 0 af_night_star = 0 af_vyvert = 0 af_gravi = 1 af_gold_fish = 0 af_blood = 1 af_mincer_meat = 0 af_soul = 0 af_electra_sparkler = 0 af_electra_flash = 0 af_electra_moonlight = 0 af_rusty_thorn = 0 af_rusty_kristall = 0 af_rusty_sea-urchin = 0 af_ameba_slime = 0 af_ameba_slug = 0 af_ameba_mica = 0 af_drops = 1 af_fireball = 1 af_cristall = 0 af_dummy_glassbeads = 0 af_dummy_pellicle = 0 af_dummy_battery = 0 af_dummy_dummy = 0 af_dummy_spring = 0 af_fuzz_kolobok = 0 [l07_military]:default ;Артефакты af_medusa = 1 af_cristall_flower = 0 af_night_star = 0 af_vyvert = 1 af_gravi = 1 af_gold_fish = 0 af_blood = 1 af_mincer_meat = 1 af_soul = 0 af_electra_sparkler = 1 af_electra_flash = 0 af_electra_moonlight = 0 af_rusty_thorn = 1 af_rusty_kristall = 1 af_rusty_sea-urchin = 0 af_ameba_slime = 0 af_ameba_slug = 0 af_ameba_mica = 0 af_drops = 0 af_fireball = 0 af_cristall = 0 af_dummy_glassbeads = 0 af_dummy_pellicle = 0 af_dummy_battery = 0 af_dummy_dummy = 0 af_dummy_spring = 0 af_fuzz_kolobok = 0 [l08_yantar]:default ;Артефакты af_medusa = 0 af_cristall_flower = 0 af_night_star = 0 af_vyvert = 0 af_gravi = 0 af_gold_fish = 0 af_blood = 0 af_mincer_meat = 0 af_soul = 0 af_electra_sparkler = 1 af_electra_flash = 1 af_electra_moonlight = 0 af_rusty_thorn = 1 af_rusty_kristall = 1 af_rusty_sea-urchin = 0 af_ameba_slime = 1 af_ameba_slug = 1 af_ameba_mica = 0 af_drops = 0 af_fireball = 0 af_cristall = 0 af_dummy_glassbeads = 0 af_dummy_pellicle = 0 af_dummy_battery = 0 af_dummy_dummy = 0 af_dummy_spring = 0 af_fuzz_kolobok = 0 [l08u_brainlab]:default ;Артефакты af_medusa = 0 af_cristall_flower = 0 af_night_star = 0 af_vyvert = 0 af_gravi = 0 af_gold_fish = 0 af_blood = 0 af_mincer_meat = 0 af_soul = 0 af_electra_sparkler = 0 af_electra_flash = 0 af_electra_moonlight = 0 af_rusty_thorn = 1 af_rusty_kristall = 1 af_rusty_sea-urchin = 0 af_ameba_slime = 1 af_ameba_slug = 1 af_ameba_mica = 0 af_drops = 1 af_fireball = 0 af_cristall = 0 af_dummy_glassbeads = 0 af_dummy_pellicle = 0 af_dummy_battery = 0 af_dummy_dummy = 0 af_dummy_spring = 0 af_fuzz_kolobok = 0 [l10_radar]:default ;Артефакты af_medusa = 1 af_cristall_flower = 1 af_night_star = 1 af_vyvert = 1 af_gravi = 1 af_gold_fish = 1 af_blood = 1 af_mincer_meat = 1 af_soul = 1 af_electra_sparkler = 1 af_electra_flash = 1 af_electra_moonlight = 1 af_rusty_thorn = 1 af_rusty_kristall = 1 af_rusty_sea-urchin = 1 af_ameba_slime = 1 af_ameba_slug = 1 af_ameba_mica = 1 af_drops = 1 af_fireball = 1 af_cristall = 1 af_dummy_glassbeads = 1 af_dummy_pellicle = 1 af_dummy_battery = 1 af_dummy_dummy = 1 af_dummy_spring = 1 af_fuzz_kolobok = 1 [l10u_bunker]:default ;Артефакты af_medusa = 0 af_cristall_flower = 0 af_night_star = 0 af_vyvert = 0 af_gravi = 0 af_gold_fish = 0 af_blood = 0 af_mincer_meat = 0 af_soul = 0 af_electra_sparkler = 0 af_electra_flash = 0 af_electra_moonlight = 0 af_rusty_thorn = 0 af_rusty_kristall = 0 af_rusty_sea-urchin = 0 af_ameba_slime = 0 af_ameba_slug = 0 af_ameba_mica = 0 af_drops = 0 af_fireball = 0 af_cristall = 0 af_dummy_glassbeads = 0 af_dummy_pellicle = 0 af_dummy_battery = 0 af_dummy_dummy = 0 af_dummy_spring = 0 af_fuzz_kolobok = 0 [l11_Pripyat]:default [l12_stancia]:default ;Аммуниция ammo_9x18_fmj = 2 ammo_9x18_pmm = 0 ammo_9x19_fmj = 2 ammo_9x19_pbp = 0 ammo_11.43x23_fmj = 0 ammo_11.43x23_hydro = 0 ammo_12x70_buck = 2 ammo_12x76_dart = 0 ammo_12x76_zhekan = 0 ammo_5.45x39_fmj = 2 ammo_5.45x39_ap = 0 ammo_9x39_sp5 = 2 ammo_9x39_ap = 0 ammo_9x39_pab9 = 0 ammo_5.56x45_ss190 = 2 ammo_5.56x45_ap = 0 ammo_7.62x54_7h1 = 0 ammo_7.62x54_ap = 2 ammo_7.62x54_7h14 = 0 ammo_og-7b = 0 ammo_vog-25 = 0 ammo_vog-25p = 0 grenade_f1 = 2 grenade_rgd5 = 0 ammo_m209 = 0 ammo_gauss = 2 [l12u_sarcofag]:l12_stancia [l12u_control_monolith]:l12_stancia [l12_stancia_2]:l12_stancia [stohe_selo]:default [l06_rostok_demo]:l06_Rostok death_items_count (Показать) ; Модифицированно для малого колличества предметов [item_count_0] ;Артефакты af_medusa = 1 af_cristall_flower = 1 af_night_star = 1 af_vyvert = 1 af_gravi = 1 af_gold_fish = 1 af_blood = 1 af_mincer_meat = 1 af_soul = 1 af_electra_sparkler = 1 af_electra_flash = 1 af_electra_moonlight = 1 af_rusty_thorn = 1 af_rusty_kristall = 1 af_rusty_sea-urchin = 1 af_ameba_slime = 1 af_ameba_slug = 1 af_ameba_mica = 1 af_drops = 1 af_fireball = 1 af_cristall = 1 af_dummy_glassbeads = 1 af_dummy_pellicle = 1 af_dummy_battery = 1 af_dummy_dummy = 1 af_dummy_spring = 1 af_fuzz_kolobok = 1 ;Аммуниция ammo_9x18_fmj = 5, 20 ammo_9x18_pmm = 5, 20 ammo_9x19_pbp = 5, 20 ammo_9x19_fmj = 5, 20 ammo_11.43x23_hydro = 5, 20 ammo_11.43x23_fmj = 5, 20 ammo_12x70_buck = 5, 18 ammo_12x76_dart = 5, 18 ammo_12x76_zhekan = 5, 18 ammo_5.45x39_ap = 5, 20 ammo_5.45x39_fmj = 5, 20 ammo_9x39_sp5 = 5, 20 ammo_9x39_ap = 5, 20 ammo_9x39_pab9 = 5, 20 ammo_5.56x45_ss190 = 5, 20 ammo_5.56x45_ap = 5, 20 ammo_7.62x54_7h14 = 5, 9 ammo_7.62x54_7h1 = 5, 9 ammo_7.62x54_ap = 5, 9 ammo_og-7b = 1 ammo_vog-14p = 2 ammo_vog-14 = 2 grenade_f1 = 1 grenade_rgd5 = 1 ammo_m59 = 2 ammo_gauss = 5, 7 ;Медикаменты bandage = 1 medkit = 1 medkit_scientic = 1 medkit_army = 1 antirad = 1 vakcina_plot = 1, 2 antipoxmelin = 1, 2 dix = 1, 2 ;Детали монстров mutant_flesh_eye = 1 mutant_dog_tail = 1 mutant_psevdodog_tail = 1 mutant_krovosos_jaw = 1 ;Еда bread = 1 kolbasa = 1 conserva = 1 vodka = 1 energy_drink = 1 bread_cpp5 = 1 vodka_voda = 1 vakcina_vint = 1 vakcina_amph = 1 pivo = 1 chocolad = 1 coctail = 1 sub_kur = 1 sub_miaso = 1 sub_ovoshi = 1 galeti = 1 irpb = 1 tushenka = 1 sgysh = 1 conserva_oreh = 1 sigaret = 1 antirad_dop = 1 bread_good = 1 repair_kit = 1 [item_count_1]:item_count_0 ;Аммуниция ammo_9x18_fmj = 5, 14 ammo_9x18_pmm = 5, 14 ammo_9x19_pbp = 5, 14 ammo_9x19_fmj = 5, 14 ammo_11.43x23_hydro = 5, 14 ammo_11.43x23_fmj = 5, 14 ammo_12x70_buck = 7, 15 ammo_12x76_dart = 7, 15 ammo_12x76_zhekan = 7, 15 ammo_5.45x39_ap = 5, 14 ammo_5.45x39_fmj = 5, 14 ammo_9x39_sp5 = 5, 14 ammo_9x39_ap = 5, 14 ammo_9x39_pab9 = 5, 14 ammo_5.56x45_ss190 = 5, 14 ammo_5.56x45_ap = 5, 14 ammo_7.62x54_7h14 = 4, 6 ammo_7.62x54_7h1 = 4, 6 ammo_7.62x54_ap = 4, 6 ammo_og-7b = 1 ammo_vog-14p = 1 ammo_vog-14 = 1 grenade_f1 = 1 grenade_rgd5 = 1 ammo_m59 = 1 ammo_gauss = 4, 6 ;Медикаменты bandage = 1 medkit = 1 medkit_scientic = 1 medkit_army = 1 antirad = 1 vakcina_plot = 1, 2 antipoxmelin = 1, 2 dix = 1, 2 ;Детали монстров mutant_flesh_eye = 1 mutant_dog_tail = 1 mutant_psevdodog_tail = 1 mutant_krovosos_jaw = 1 ;Еда bread_cpp5 = 1 vodka_voda = 1 vakcina_vint = 1 vakcina_amph = 1 pivo = 1 chocolad = 1 coctail = 1 sub_kur = 1 sub_miaso = 1 sub_ovoshi = 1 galeti = 1 irpb = 1 tushenka = 1 sgysh = 1 conserva_oreh = 1 sigaret = 1 antirad_dop = 1 bread_good = 1 repair_kit = 1 [item_count_2]:item_count_0 ;Аммуниция ammo_9x18_fmj = 6, 14 ammo_9x18_pmm = 6, 14 ammo_9x19_pbp = 6, 14 ammo_9x19_fmj = 6, 14 ammo_11.43x23_hydro = 6, 14 ammo_11.43x23_fmj = 6, 14 ammo_12x70_buck = 4, 12 ammo_12x76_dart = 4, 12 ammo_12x76_zhekan = 4, 12 ammo_5.45x39_ap = 6, 14 ammo_5.45x39_fmj = 6, 14 ammo_9x39_sp5 = 6, 14 ammo_9x39_ap = 6, 14 ammo_9x39_pab9 = 6, 14 ammo_5.56x45_ss190 = 6, 14 ammo_5.56x45_ap = 6, 14 ammo_7.62x54_7h14 = 3, 5 ammo_7.62x54_7h1 = 3, 5 ammo_7.62x54_ap = 3, 5 ammo_og-7b = 1 ammo_vog-14p = 1 ammo_vog-14 = 1 grenade_f1 = 1 grenade_rgd5 = 1 ammo_m59 = 1 ammo_gauss = 3, 5 ;Медикаменты bandage = 1 medkit = 1 medkit_scientic = 1 medkit_army = 1 antirad = 1 vakcina_plot = 1, 2 antipoxmelin = 1, 2 dix = 1, 2 ;Детали монстров mutant_flesh_eye = 1 mutant_dog_tail = 1 mutant_psevdodog_tail = 1 mutant_krovosos_jaw = 1 ;Еда bread_cpp5 = 1 vodka_voda = 1 vakcina_vint = 1 vakcina_amph = 1 pivo = 1 chocolad = 1 coctail = 1 sub_kur = 1 sub_miaso = 1 sub_ovoshi = 1 galeti = 1 irpb = 1 tushenka = 1 sgysh = 1 conserva_oreh = 1 sigaret = 1 antirad_dop = 1 bread_good = 1 repair_kit = 1 [item_count_3]:item_count_0 ;Аммуниция ammo_9x18_fmj = 3, 12 ammo_9x18_pmm = 3, 12 ammo_9x19_pbp = 3, 12 ammo_9x19_fmj = 3, 12 ammo_11.43x23_hydro = 3, 12 ammo_11.43x23_fmj = 3, 12 ammo_12x70_buck = 2, 6 ammo_12x76_dart = 2, 6 ammo_12x76_zhekan = 2, 6 ammo_5.45x39_ap = 3, 12 ammo_5.45x39_fmj = 3, 12 ammo_9x39_sp5 = 3, 12 ammo_9x39_ap = 3, 12 ammo_9x39_pab9 = 3, 12 ammo_5.56x45_ss190 = 3, 12 ammo_5.56x45_ap = 3, 12 ammo_7.62x54_7h14 = 2, 5 ammo_7.62x54_7h1 = 2, 5 ammo_7.62x54_ap = 2, 5 ammo_og-7b = 1 ammo_vog-14p = 1 ammo_vog-14 = 1 grenade_f1 = 1 grenade_rgd5 = 1 ammo_m59 = 1 ammo_gauss = 2, 5 ;Медикаменты bandage = 1 medkit = 1 medkit_scientic = 1 medkit_army = 1 antirad = 1 vakcina_plot = 1, 2 antipoxmelin = 1, 2 dix = 1, 2 ;Детали монстров mutant_flesh_eye = 1 mutant_dog_tail = 1 mutant_psevdodog_tail = 1 mutant_krovosos_jaw = 1 ;Еда bread_cpp5 = 1 vodka_voda = 1 vakcina_vint = 1 vakcina_amph = 1 pivo = 1 chocolad = 1 coctail = 1 sub_kur = 1 sub_miaso = 1 sub_ovoshi = 1 galeti = 1 irpb = 1 tushenka = 1 sgysh = 1 conserva_oreh = 1 sigaret = 1 antirad_dop = 1 bread_good = 1 repair_kit = 1 этот вылет случается в связи со смертями редких нпс,например лог этого вылета сделан на локации радар при сходке отряда долга и свободы,и "виноват" оказался долговец именно с оружием "гроза",потому-что при убийстве других у кого другие винтовки,вылета не случалось...Поэтому может быть вылет связан как-то с самим оружием гроза ибо именно в ней патроны вместо 9x39 заменены 5x45,но это лишь догадка,сам пытался править строчку death_manager скрипта 144: Скрытый текст local number = math.ceil(math.random(count_by_level[k].min, count_by_level[k].max)) но это безуспешно,получалось - один вылет,порождал другой... P.S. я плохо разбираюсь в моддинге или тем более в скриптах,поэтому очень нуждаюсь в помощи тех кто понимает в этом...хотя-бы просто посмотрите,проверьте что может быть не так в этих файлах,если что выложу и другие файлы,которые бы потребовались для решения данной проблемы Добавлено Murarius, 12 Декабря 2018 Рекомендую ознакомиться с Правилами форума, в частности, с пп. 2.5 (правописание) и 2.6 (правила цитирования) Ссылка на комментарий
Fenrir02 199 Опубликовано 11 Декабря 2018 Поделиться Опубликовано 11 Декабря 2018 @Stalex Если этот биндер составлен правильно, нужно его подключать не в скриптах, а в конфиге самого предмета. К примеру, в секции [bread] необходимо прописать строку: script_binding = bind_item.init Таким способом можно на что угодно делать биндеры. Важнейшая задача цивилизации - научить человека мыслить. Ссылка на комментарий
Stalex 4 Опубликовано 12 Декабря 2018 Поделиться Опубликовано 12 Декабря 2018 (изменено) 15 часов назад, Fenrir02 сказал: @Stalex Если этот биндер составлен правильно, нужно его подключать не в скриптах, а в конфиге самого предмета. К примеру, в секции [bread] необходимо прописать строку: script_binding = bind_item.init Таким способом можно на что угодно делать биндеры. Спасибо! Вылета нет. Но, мод не работает( Я правда сделал маленько по другому. В конфиге прописал [booster_script]:booster class = S_FOOD script_binding = bind_item.bind Скрытый текст [medkit]:booster_script $spawn = "food and drugs\medkit" visual = dynamics\devices\dev_aptechka\dev_aptechka_low.ogf inv_name = st_medkit inv_name_short = st_medkit description = st_medkit_descr inv_weight = 0.1 inv_grid_width = 1 inv_grid_height = 1 inv_grid_x = 6 inv_grid_y = 14 cost = 500 boost_time = 5.0 boost_health_restore = 0.005 boost_radiation_restore = 0.0 boost_bleeding_restore = 0.005 use_condition = true max_uses = 2 remove_after_use = true empty_weight = 0.02 hide_time_wpn = 3 use_sound = interface\inv_medkit Изменено 12 Декабря 2018 пользователем Stalex Ссылка на комментарий
buffy 4 Опубликовано 13 Декабря 2018 Поделиться Опубликовано 13 Декабря 2018 (изменено) Последний luabind на текущий момент 0.7.1(2014 год) судя соурсфоржу и гиту. Проект в каком либо виде поддерживается на данный момент? Изменено 13 Декабря 2018 пользователем buffy Ссылка на комментарий
losiara 13 Опубликовано 14 Декабря 2018 Поделиться Опубликовано 14 Декабря 2018 (изменено) Подскажите, долговец "Пуля" в Темной долине который стоит над раненым бандитом и втирает ему там что то всегда активируется при заходе на локацию (начинает свой диалог и квест) или после прохождения каких то веток в игре??? А то зашел на локацию а он стоит и молчит, раздумываю где то накосячил в моде или так и должно быть... Изменено 14 Декабря 2018 пользователем losiara Жизнь следует измерять поступками, а не временем... Ссылка на комментарий
lordmuzer 743 Опубликовано 14 Декабря 2018 Поделиться Опубликовано 14 Декабря 2018 Должен сразу при заходе со стороны свалки. Ссылка на комментарий
Dimon12321 97 Опубликовано 15 Декабря 2018 Поделиться Опубликовано 15 Декабря 2018 В Зове Чернобыля скриптовые выводы сообщений (CusMsg, game.translate_string и local message) не распознают русские символы. Занимаюсь переводом одного мода на русский, в котором некоторые сообщения на ХУД выводятся с помощью файлов .script, а не .xml. Посмотрел на другие моды - там в скриптах такого нет (весь выводимый текст расположен в .xml, за исключением значений). Как-то можно "вставить" русский в скрипты? Ссылка на комментарий
Marafon6540 765 Опубликовано 15 Декабря 2018 Поделиться Опубликовано 15 Декабря 2018 15 минут назад, Dimon12321 сказал: там в скриптах такого нет Есть, но желательно, конечно все делать в xml. Но можно и прямо в скрипте: function from_system_2() news_manager.send_tip(db.actor, "%c[255,1,255,255]Мутанты уничтожены, можно запустить генератор и забрать ящик", nil, nil, 10000) end 1 Трилогия Апокалипсис. Упавшая звезда. Честь наемника. v. 1.2 УЗЧН v.1.3 + ОГСРх64 Последний сталкер v. 1.2 ПС v. 1.3 + ОГСРх64 Ссылка на комментарий
dPlayer 501 Опубликовано 15 Декабря 2018 Поделиться Опубликовано 15 Декабря 2018 Ф-ия удаляет обьекты по спавн_ид. Как в локал передать несколько значений (т.е. не 001, а скажем, 001, 002 и 006)? Чтобы удалить несколько объектов разом. function clear_all_spawn() local obj_spawn = alife():story_object(001) if obj_spawn then alife():release(obj_spawn, true) end end Ссылка на комментарий
AndreySol 215 Опубликовано 15 Декабря 2018 Поделиться Опубликовано 15 Декабря 2018 1 час назад, dPlayer сказал: удалить несколько объектов разом. Собрать нужные значения в таблицу, затем итерацией по таблице получать эти значения и использовать в ф-ции. Вот только я сомневаюсь, что ф-ция alife():release может принимать аргументом сам объект... Ссылка на комментарий
Graff46 598 Опубликовано 15 Декабря 2018 Поделиться Опубликовано 15 Декабря 2018 @AndreySol, Принимает серверный объект, вот строка из луа_хелп: function release(alife_simulator*, cse_abstract*, boolean); Ссылка на комментарий
Quick_Silver 0 Опубликовано 15 Декабря 2018 Поделиться Опубликовано 15 Декабря 2018 Как сделать,чтобы после юзания чего-то,сбрасывался уже поставленный таймер.У меня есть таймер на сообщение,оно приходит через 40 секунд,мне нужно,чтобы после юзания кое-чего таймер сбрасывался и начинал сначала...Можно ли так сделать? Ссылка на комментарий
Gorlomi 0 Опубликовано 16 Декабря 2018 Поделиться Опубликовано 16 Декабря 2018 Хочу адаптировать АМК 1.4.1 под таймфактор 15. Стоит ли делать правки выброса в amk_mod.script? А то я не совсем понимаю значение циферок в скобках, например amk.g_start_timer("blowout",0,0,3,2) Ещё интересует редактирование меток на миникарте. Где ковырять, если хочу изменить скрипт исчезновения меток НПС, когда они уходят из поля зрения (красные метки врагов сделать постоянными или метки нейтралов сделать исчезающими)? Ссылка на комментарий
dPlayer 501 Опубликовано 16 Декабря 2018 Поделиться Опубликовано 16 Декабря 2018 (изменено) @AndreySol, @AndreySol, сделал прям по уроку, что не так? Не вылетает. function clear_all_spawn() local t = {001, 002, 006} for i=1, table.getn( t ) do a = alife():story_object( i ) if a then alife():release( a, true ) end end end Изменено 16 Декабря 2018 пользователем dPlayer Ссылка на комментарий
WinCap 316 Опубликовано 16 Декабря 2018 Поделиться Опубликовано 16 Декабря 2018 @dPlayer, функция table.getn устарела, теперь нужно использовать оператор длины #. Так: for i=1, #t do a = alife():story_object(t[i]) или привычнее так: for k,v in pairs(t) do a = alife():story_object(v) 1 S.T.A.L.K.E.R. CoP Objects (upd 15.11.24) Ссылка на комментарий
Рекомендуемые сообщения
Создайте аккаунт или авторизуйтесь, чтобы оставить комментарий
Комментарии могут оставлять только зарегистрированные пользователи
Создать аккаунт
Зарегистрировать новый аккаунт в нашем сообществе. Это несложно!
Зарегистрировать новый аккаунтВойти
Есть аккаунт? Войти.
Войти