В данной теме вы можете задавать любые вопросы касательно S.T.A.L.K.E.R. моддинга
• Не флудить • Предварительно просматривайте раздел, ведь ответ на ваш вопрос может быть там • В своем вопросе указывайте платформу моддинга — Тень Чернобыля, Чистое небо или Зов Припяти
1. Какая стоит игра, с каким патчем? 2. Какой мод, версия мода? 3. Что правили своими ручками? 4. Лог вылета и последние 25 строк (помещать под спойлер).
Структура папок и файлов в корневом каталоге игры:
...\S.T.A.L.K.E.R\gamedata\anims – папка содержит исполнительные файлы эффектов (например от ПНВ).
...\S.T.A.L.K.E.R\gamedata\config – папка содержит основные конфигурационные файлы (т. е. большинство настроек игры)
...\S.T.A.L.K.E.R\gamedata\meshes – содержит модели игровых предметов и персонажей...
...\S.T.A.L.K.E.R\gamedata\scripts – папка со скриптами (рабочими файлами содержащими в себе наборы функций) – основная папка, отвечающая за ответные действия игры и действия производимых игроком в игре.
...\S.T.A.L.K.E.R\gamedata\shaders – папка содержит в себе конфигурационные файлы шейдеров.
...\S.T.A.L.K.E.R\gamedata\sounds – здесь находятся все звуки игры (разложены по своим каталогам и папкам)
...\S.T.A.L.K.E.R\gamedata\spawns – содержит файл спавна – очень важный файл – не трогать без нужды!!!
...\S.T.A.L.K.E.R\gamedata\textures – содержит разложенные по каталогам и папкам текстуры используемые в игре.
Теперь разберем папки в каталоге «config»
...\S.T.A.L.K.E.R\gamedata\config\creatures - содержит массу конфигурационных файлов, в основном отвечающих за взаимодействие Главного героя игры (в дальнейшем ГГ) и прочего окружения в игре и ТТХ самого ГГ.
...\S.T.A.L.K.E.R\gamedata\config\gameplay – содержит конфиг. файлы персонажей игры (НПС) отвечающие за внешний вид, статус, снаряжение. Файлы: character_desc_ххх (где ххх – название локации) и character_desc_general (отвечает за зомбированного персонажа). Также содержит файлы диалогов и профилей НПС.
…\S.T.A.L.K.E.R\gamedata\config\misc – конфиг.файлы торговцев (папки с именами торговцев), артефактов, брони, квестовых предметов, уникальных предметов, файл отвечающий за награды за автозадания, файл эффектов (алкоголизма, ранения, ПНВ и прочих)...
…\S.T.A.L.K.E.R\gamedata\config\mp – среди прочих содержит важный файл mp_ranks – отвечающий за выпадение оружия и патронов из рук ГГ и НПС – без прописывания добавляемого в игру оружия в этот файл при выпадении нового оружия из рук ГГ\НПС будут следовать вылеты.
…\S.T.A.L.K.E.R\gamedata\config\text\rus – содержит файлы описаний всего и вся находящегося в игре (брони, артефактов, оружия, предметов и прочего).
…\S.T.A.L.K.E.R\gamedata\config\weapons – содержит конфиг.файлы оружия и боеприпасов используемых в игре.
…\S.T.A.L.K.E.R\gamedata\config\weathers – содержит конфиг.файлы настройки погоды на локациях.
Теперь немного подробнее о файлах.
...\S.T.A.L.K.E.R\gamedata\config\misc:
Папка shop_ххх (ххх – имя торговца) – содержит конфиг.файлы ассортимента торговца.
outfits – содержит секции конфигов костюмов.
artefacts - содержит секции конфигов артефактов.
items - содержит секции конфигов предметов.
monster_items - содержит секции конфигов частей монстров
postprocess - содержит секции конфигов пост. процессов (например: ПНВ).
quest_items - содержит секции конфигов квестовых предметов.
task_manager - содержит секции наград за автоквесты.
unique_items - содержит секции конфигов уникального оружия и костюмов.
Склеил все уровни графпоитами и переходами, переместил\удалил спавн элементы находящиеся не на AI сетке. Короче, исправил всё что было в логах компилятоа.
* New phase started: Adding interconnection points Level l01_escape with id 1 has VALID connection point l01_escape_graph_point_0, which references to graph point garbage_old_graph_point_4164 on the level garbage_old with id 39
Level l01_escape with id 1 has VALID connection point l01_escape_graph_point_208, which references to graph point garbage_old_graph_point_4187 on the level garbage_old with id 39
Level l01_escape with id 1 has VALID connection point l01_escape_graph_point_67, which references to graph point marsh_graph_point_3581 on the level marsh with id 30
Level l01_escape with id 1 has VALID connection point l01_escape_graph_point_6701, which references to graph point predbannik_graph_point_3870 on the level predbannik with id 38
Level l01_escape with id 1 has VALID connection point l01_escape_graph_point_6702, which references to graph point garbage_old_graph_point_0112 on the level garbage_old with id 39
Level l01_escape with id 1 has VALID connection point l01_escape_graph_point_6703, which references to graph point cs_agroprom_underground_graph_point on the level cs_agroprom_underground with id 37
Level l02_garbage with id 2 has VALID connection point l02_garbage_graph_point_252, which references to graph point garbage_old_graph_point_4238 on the level garbage_old with id 39
Level l02_garbage with id 2 has VALID connection point l02_garbage_graph_point_253, which references to graph point l03_agroprom_graph_point_703 on the level l03_agroprom with id 3
Level l02_garbage with id 2 has VALID connection point l02_garbage_graph_point_256, which references to graph point l04_darkvalley_graph_point_861 on the level l04_darkvalley with id 5
Level l02_garbage with id 2 has VALID connection point l02_garbage_graph_point_368, which references to graph point aver_graph_point_2910 on the level aver with id 22
Level l02_garbage with id 2 has VALID connection point l02_garbage_graph_point_415, which references to graph point l05_bar_graph_point_1308 on the level l05_bar with id 7
Level l03_agroprom with id 3 has VALID connection point l03_agroprom_graph_point_415, which references to graph point cs_agroprom_underground_graph_point_3857 on the level cs_agroprom_underground with id 37
Level l03_agroprom with id 3 has VALID connection point l03_agroprom_graph_point_450, which references to graph point marsh_graph_point_3483 on the level marsh with id 30
Level l03_agroprom with id 3 has VALID connection point l03_agroprom_graph_point_568, which references to graph point garbage_old_graph_point_4067 on the level garbage_old with id 39
Level l03_agroprom with id 3 has VALID connection point l03_agroprom_graph_point_654, which references to graph point l03u_agr_underground_graph_point_718 on the level l03u_agr_underground with id 4
Level l03_agroprom with id 3 has VALID connection point l03_agroprom_graph_point_703, which references to graph point l02_garbage_graph_point_253 on the level l02_garbage with id 2
Level l03u_agr_underground with id 4 has VALID connection point l03u_agr_underground_graph_point_718, which references to graph point l03_agroprom_graph_point_654 on the level l03_agroprom with id 3
Level l04_darkvalley with id 5 has VALID connection point l04_darkvalley_graph_point_811, which references to graph point l04u_labx18_graph_point_1167 on the level l04u_labx18 with id 6
Level l04_darkvalley with id 5 has VALID connection point l04_darkvalley_graph_point_861, which references to graph point l02_garbage_graph_point_256 on the level l02_garbage with id 2
Level l04_darkvalley with id 5 has VALID connection point level_prefix_graph_point, which references to graph point aver_graph_point_2909 on the level aver with id 22
Level l04u_labx18 with id 6 has VALID connection point l04u_labx18_graph_point_1167, which references to graph point l04_darkvalley_graph_point_811 on the level l04_darkvalley with id 5
Level l05_bar with id 7 has VALID connection point l05_bar_graph_point_1308, which references to graph point l02_garbage_graph_point_415 on the level l02_garbage with id 2
Level l05_bar with id 7 has VALID connection point l05_bar_graph_point_1309, which references to graph point l06_rostok_graph_point_1438 on the level l06_rostok with id 8
Level l05_bar with id 7 has VALID connection point l05_bar_graph_point_1310, which references to graph point l07_military_graph_point_1863 on the level l07_military with id 11
Level l06_rostok with id 8 has VALID connection point l06_rostok_graph_point_1438, which references to graph point l05_bar_graph_point_1309 on the level l05_bar with id 7
Level l06_rostok with id 8 has VALID connection point l06_rostok_graph_point_1439, which references to graph point l08_yantar_graph_point_1529 on the level l08_yantar with id 9
Level l08_yantar with id 9 has VALID connection point l08_yantar_graph_point_1461, which references to graph point l08u_brainlab_graph_point_1540 on the level l08u_brainlab with id 10
Level l08_yantar with id 9 has VALID connection point l08_yantar_graph_point_1528, which references to graph point l10_radar_graph_point_2116 on the level l10_radar with id 12
Level l08_yantar with id 9 has VALID connection point l08_yantar_graph_point_1529, which references to graph point l06_rostok_graph_point_1439 on the level l06_rostok with id 8
Level l08_yantar with id 9 has VALID connection point l08_yantar_graph_point_1530, which references to graph point av_peshera_graph_point_2988 on the level av_peshera with id 23
Level l08_yantar with id 9 has VALID connection point l08_yantar_graph_point_1531, which references to graph point dead_city_graph_point_3589 on the level dead_city with id 31
Level l08u_brainlab with id 10 has VALID connection point l08u_brainlab_graph_point_1540, which references to graph point l08_yantar_graph_point_1461 on the level l08_yantar with id 9
Level l07_military with id 11 has VALID connection point l07_military_graph_point_1547, which references to graph point l10_radar_graph_point_1867 on the level l10_radar with id 12
Level l07_military with id 11 has VALID connection point l07_military_graph_point_1811, which references to graph point yantar_old_graph_point_4339 on the level yantar_old with id 40
Level l07_military with id 11 has VALID connection point l07_military_graph_point_1849, which references to graph point lost_village_graph_point_3336 on the level lost_village with id 29
Level l07_military with id 11 has VALID connection point l07_military_graph_point_1863, which references to graph point l05_bar_graph_point_1310 on the level l05_bar with id 7
Level l10_radar with id 12 has VALID connection point l10_radar_graph_point_1865, which references to graph point l11_pripyat_graph_point_2271 on the level l11_pripyat with id 13
Level l10_radar with id 12 has VALID connection point l10_radar_graph_point_1867, which references to graph point l07_military_graph_point_1547 on the level l07_military with id 11
Level l10_radar with id 12 has VALID connection point l10_radar_graph_point_1977, which references to graph point graph_point_101 on the level l10u_bunker with id 18
Level l10_radar with id 12 has VALID connection point l10_radar_graph_point_2116, which references to graph point l08_yantar_graph_point_1528 on the level l08_yantar with id 9
Level l11_pripyat with id 13 has VALID connection point l11_pripyat_graph_point_2271, which references to graph point l10_radar_graph_point_1865 on the level l10_radar with id 12
Level l11_pripyat with id 13 has VALID connection point l11_pripyat_graph_point_2273, which references to graph point pripyat_graph_point_3773 on the level pripyat with id 34
Level l11_pripyat with id 13 has VALID connection point l11_pripyat_graph_point_2274, which references to graph point l12_stancia_graph_point_2400 on the level l12_stancia with id 14
Level l12_stancia with id 14 has VALID connection point l12_stancia_graph_point_2363, which references to graph point generators_graph_point_3121 on the level generators with id 26
Level l12_stancia with id 14 has VALID connection point l12_stancia_graph_point_2400, which references to graph point l11_pripyat_graph_point_2274 on the level l11_pripyat with id 13
Level l12_stancia with id 14 has VALID connection point l12_stancia_graph_point_2401, which references to graph point l12u_sarcofag_graph_point_2466 on the level l12u_sarcofag with id 15
Level l12u_sarcofag with id 15 has VALID connection point l12u_sarcofag_graph_point_2466, which references to graph point l12_stancia_graph_point_2401 on the level l12_stancia with id 14
Level l12u_sarcofag with id 15 has VALID connection point l12u_sarcofag_graph_point_2467, which references to graph point l12u_control_monolith_graph_point_2467 on the level l12u_control_monolith with id 16
Level l12u_control_monolith with id 16 has VALID connection point l12u_control_monolith_graph_point_2467, which references to graph point l12u_sarcofag_graph_point_2467 on the level l12u_sarcofag with id 15
Level l12u_control_monolith with id 16 has VALID connection point l12u_control_monolith_graph_point_2470, which references to graph point l12_stancia_2_graph_point_2660 on the level l12_stancia_2 with id 17
Level l12_stancia_2 with id 17 has VALID connection point l12_stancia_2_graph_point_2660, which references to graph point l12u_control_monolith_graph_point_2470 on the level l12u_control_monolith with id 16
Level l10u_bunker with id 18 has VALID connection point graph_point_101, which references to graph point l10_radar_graph_point_1977 on the level l10_radar with id 12
Level atp_for_test22 with id 19 has VALID connection point atp_for_test22_graph_point_2809, which references to graph point dead_city_graph_point_3650 on the level dead_city with id 31
Level atp_for_test22 with id 19 has VALID connection point atp_for_test22_graph_point_2852, which references to graph point lost_village_graph_point_3329 on the level lost_village with id 29
Level peshera with id 20 has VALID connection point peshera_graph_point_2880, which references to graph point red_forest_graph_point_3325 on the level red_forest with id 28
Level puzir with id 21 has VALID connection point puzir_graph_point_2880, which references to graph point red_forest_graph_point_3275 on the level red_forest with id 28
Level aver with id 22 has VALID connection point aver_graph_point_2905, which references to graph point yantar_old_graph_point_4338 on the level yantar_old with id 40
Level aver with id 22 has VALID connection point aver_graph_point_2909, which references to graph point l04_darkvalley_graph_point_1000 on the level l04_darkvalley with id 5
Level aver with id 22 has VALID connection point aver_graph_point_2910, which references to graph point l02_garbage_graph_point_368 on the level l02_garbage with id 2
Level av_peshera with id 23 has VALID connection point av_peshera_graph_point_2988, which references to graph point l08_yantar_graph_point_1530 on the level l08_yantar with id 9
Level limansk with id 24 has VALID connection point limansk_graph_point_2994, which references to graph point dead_city_graph_point_3598 on the level dead_city with id 31
Level limansk with id 24 has VALID connection point limansk_graph_point_3009, which references to graph point red_forest_graph_point_3238 on the level red_forest with id 28
Level limansk with id 24 has VALID connection point limansk_graph_point_3027, which references to graph point hospital_graph_point_3066 on the level hospital with id 25
Level hospital with id 25 has VALID connection point hospital_graph_point_3065, which references to graph point generators_graph_point_3118 on the level generators with id 26
Level hospital with id 25 has VALID connection point hospital_graph_point_3066, which references to graph point limansk_graph_point_3027 on the level limansk with id 24
Level generators with id 26 has VALID connection point generators_graph_point_3118, which references to graph point hospital_graph_point_3065 on the level hospital with id 25
Level generators with id 26 has VALID connection point generators_graph_point_3121, which references to graph point l12_stancia_graph_point_2363 on the level l12_stancia with id 14
Level generators with id 26 has VALID connection point generators_graph_point_3142, which references to graph point warlab_graph_point_3223 on the level warlab with id 27
Level warlab with id 27 has VALID connection point warlab_graph_point_3223, which references to graph point generators_graph_point_3142 on the level generators with id 26
Level red_forest with id 28 has VALID connection point red_forest_graph_point_3238, which references to graph point limansk_graph_point_3009 on the level limansk with id 24
Level red_forest with id 28 has VALID connection point red_forest_graph_point_3270, which references to graph point lost_village_graph_point_3324 on the level lost_village with id 29
Level red_forest with id 28 has VALID connection point red_forest_graph_point_3275, which references to graph point puzir_graph_point_2880 on the level puzir with id 21
Level red_forest with id 28 has VALID connection point red_forest_graph_point_3325, which references to graph point peshera_graph_point_2880 on the level peshera with id 20
Level lost_village with id 29 has VALID connection point lost_village_graph_point_3324, which references to graph point red_forest_graph_point_3270 on the level red_forest with id 28
Level lost_village with id 29 has VALID connection point lost_village_graph_point_3329, which references to graph point atp_for_test22_graph_point_2852 on the level atp_for_test22 with id 19
Level lost_village with id 29 has VALID connection point lost_village_graph_point_3336, which references to graph point l07_military_graph_point_1849 on the level l07_military with id 11
Level marsh with id 30 has VALID connection point marsh_graph_point_3436, which references to graph point swamp_old_graph_point_0001 on the level swamp_old with id 41
Level marsh with id 30 has VALID connection point marsh_graph_point_3483, which references to graph point l03_agroprom_graph_point_450 on the level l03_agroprom with id 3
Level marsh with id 30 has VALID connection point marsh_graph_point_3581, which references to graph point l01_escape_graph_point_67 on the level l01_escape with id 1
Level dead_city with id 31 has VALID connection point dead_city_graph_point_3589, which references to graph point l08_yantar_graph_point_1531 on the level l08_yantar with id 9
Level dead_city with id 31 has VALID connection point dead_city_graph_point_3598, which references to graph point limansk_graph_point_2994 on the level limansk with id 24
Level dead_city with id 31 has VALID connection point dead_city_graph_point_3650, which references to graph point atp_for_test22_graph_point_2809 on the level atp_for_test22 with id 19
Level zaton with id 32 has VALID connection point zaton_graph_point_3660, which references to graph point jupiter_graph_point_3700 on the level jupiter with id 33
Level jupiter with id 33 has VALID connection point jupiter_graph_point_3700, which references to graph point zaton_graph_point_3660 on the level zaton with id 32
Level jupiter with id 33 has VALID connection point jupiter_graph_point_3747, which references to graph point jupiter_underground_graph_point_3772 on the level jupiter_underground with id 35
Level pripyat with id 34 has VALID connection point pripyat_graph_point_3756, which references to graph point pripyat_underground_graph_point on the level jupiter_underground with id 35
Level pripyat with id 34 has VALID connection point pripyat_graph_point_3762, which references to graph point labx8_graph_point_3847 on the level labx8 with id 36
Level pripyat with id 34 has VALID connection point pripyat_graph_point_3773, which references to graph point l11_pripyat_graph_point_2273 on the level l11_pripyat with id 13
Level jupiter_underground with id 35 has VALID connection point jupiter_underground_graph_point_3772, which references to graph point jupiter_graph_point_3747 on the level jupiter with id 33
Level jupiter_underground with id 35 has VALID connection point pripyat_underground_graph_point, which references to graph point pripyat_graph_point_3756 on the level pripyat with id 34
Level labx8 with id 36 has VALID connection point labx8_graph_point_3847, which references to graph point pripyat_graph_point_3762 on the level pripyat with id 34
Level cs_agroprom_underground with id 37 has VALID connection point cs_agroprom_underground_graph_point, which references to graph point l01_escape_graph_point_6703 on the level l01_escape with id 1
Level cs_agroprom_underground with id 37 has VALID connection point cs_agroprom_underground_graph_point_3857, which references to graph point l03_agroprom_graph_point_415 on the level l03_agroprom with id 3
Level predbannik with id 38 has VALID connection point predbannik_graph_point_3870, which references to graph point l01_escape_graph_point_6701 on the level l01_escape with id 1
Level garbage_old with id 39 has VALID connection point garbage_old_graph_point_4067, which references to graph point l03_agroprom_graph_point_568 on the level l03_agroprom with id 3
Level garbage_old with id 39 has VALID connection point garbage_old_graph_point_4164, which references to graph point l01_escape_graph_point_0 on the level l01_escape with id 1
Level garbage_old with id 39 has VALID connection point garbage_old_graph_point_4187, which references to graph point l01_escape_graph_point_208 on the level l01_escape with id 1
Level garbage_old with id 39 has VALID connection point garbage_old_graph_point_4238, which references to graph point l02_garbage_graph_point_252 on the level l02_garbage with id 2
Level yantar_old with id 40 has VALID connection point yantar_old_graph_point_4338, which references to graph point aver_graph_point_2905 on the level aver with id 22
Level yantar_old with id 40 has VALID connection point yantar_old_graph_point_4339, which references to graph point l07_military_graph_point_1811 on the level l07_military with id 11
Level swamp_old with id 41 has VALID connection point swamp_old_graph_point_0001, which references to graph point marsh_graph_point_3436 on the level marsh with id 30
* New phase started: Saving graph being merged
* New phase started: Freeing resources being allocated
Закинул game.graph, all.spawn (на выходе компилятора он был predbannik.spawn) в мод. И игра крешится без лога в момент создания новой игры. А точнее через мгновение после выбора сложности.
Потом добавил все уровни из сдк в геймдату мода. Ситуация не изменилась. Подскажите, в чём может быть причина, и приблизительный алгоритм выявления\исправления данной проблемы.
П.С. Могу предположить, где могут быть ошибки? Но предполагаю, что они не критичны: 1) При сборке AI сетки, на некоторых локах в логе выскакивало:
Код
* New phase started: Verifying level graph AI-map is NOT valid : Node 168035[387.099976][1.280500][33.600006] cannot be reached from the node 0[-72.099998][-0.002344][-244.299988]
Опция компилятора no_separator_check отменяет эту проверку в принципе.
При родном se_zones.script в конце лога сборки спавна добавляются строчки:
Код
! [LUA] 0 : [C] [C](-1) : ! [LUA] 1 : [Lua] gamedata\scripts\se_zones.script(7) : is_single_player_game ! [LUA] 2 : [Lua] gamedata\scripts\se_zones.script(53) : * trying to access variable alife, which doesn't exist, or to load script alife.script, which doesn't exist too
Сейчас сборка спавна проходит только с изменённой ф-ей:
Код
function is_single_player_game () if not editor() then -- add if (_G.alife == nil) then return (true) end if (alife() ~= nil) then return (true) end if (_G.IsGameTypeSingle == nil) then return (true) end if (IsGameTypeSingle() == true) then return (true) end return (false) end -- add end
Сообщение отредактировал ins33 - Среда, 02.11.2016, 17:00
Привет. Вопрос есть такой вот. У меня есть модели .оgf и текстуры оружия, мне нужно создать иконки. Через что мне их зделать? (на ум приходит только через СДК, но может быть есть что-то другое)
Stagirit, вполне удобно через милку + Paint NET. Проблем не будет. Просто грузишь в милку модель, зумишь поближе, скринишь, скрин грузишь в Paint NET, потом всё это дело за полминуты обрезаешь, копируешь в файл с иконками, а там подогнать ничего не стоит, для меня это, пожалуй, самый удобный и быстрый способ.
Добавлено (03.11.2016, 19:45) --------------------------------------------- Еще вопрос по поводу SDK 0.7, на какие параметры ставить галочки при экспорте моделей оружия в .ogf и тот же вопрос при экспорте рук в .ogf ?
Добавлено (03.11.2016, 19:47) --------------------------------------------- я работал около года назад с моделями и вообще в SDK, но память подводит
function give_pda_dolg_leader_for_freedom(first_speaker, second_speaker) dialogs.relocate_item_section_from_actor(first_speaker, second_speaker, "pda_dolg_leader_for_freedom") end
function give_wpn_rg-6(first_speaker, second_speaker) dialogs.relocate_item_section_from_actor(first_speaker, second_speaker, "wpn_rg-6") end
function has_pda_dolg_leader_for_freedom() if db.actor: object("has_pda_dolg_leader_for_freedom") then return true end return false end
function has_wpn_rg-6() if db.actor: object("wpn_rg-6") then return true end return false end
Получаю ! [ERROR] --- Failed to load script dialogs_mlr_two в логе и молчание всех функций. Но я эти функции использовал не один раз и всё было нормально, а тут он мне мозги решил потрепать. Собсна возможно ли вообще такое? А то ошибок я тут не вижу, уберёшь все эти функции - скриптовый файл заработает, даже если останется одна - нихрена, вообще не нашёл я "проблемную", да и нет её. Что за дерьмо вообще, лимит на функции? В другой скриптовый файл копипастил - та же песня, но уже с ним. А вообще бред это, но я скоро в макаронного монстра верить буду.
___________________________________________ Отбой. Символ "-" в названии функции просто не переваривал. Ну что за идиотизм...
Сообщение отредактировал Spitfire--- - Пятница, 04.11.2016, 02:05
Spitfire---, это не идиотизм, а особенности языка. Я вообще не помню языка где можно использовать " - " в названиях функций) Fazan, прочитайте предыдущие страницы - такой вопрос задают чуть ли не каждые 5-10 страниц)
Сообщение отредактировал Mortan - Пятница, 04.11.2016, 15:24
Подскажите, что надо прописать в логике спейс_рестриктора вот в этой строчке on_actor_inside = {-adsa} nil %=kill_actor% Что бы если на ГГ надет определённый шлем он не умирал
function helmet_on_actor(actor, npc, p) local helm = db.actor:item_in_slot(12) if p and p[1] then if helm:section() == p[1] then return true end end return false end
И в логике проверяй =helmet_on_actor(имя_секции_шлема)
Сообщение отредактировал _S_k_i_F_ - Суббота, 05.11.2016, 00:08